![]() |
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| TNX Code Installation Instructions on how to install the TNX-code on popular site engines. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Banned
Join Date: Oct 2007
Posts: 86
TNX ID: 119577073 |
WIDGET HAS BEEN REMOVED UNTIL FULLY WORKING VERSION IS DEVELOPED! NOTE: IF YOU UPGRADE WORDPRESS YOU WILL NEED TO REENTER YOUR INFORMATION INTO THE WORDPRESS WIDGET. I FOUND THIS OUT RECENTLY WHEN UPGRADING MY OWN WORDPRESS THAT WHEN THE DB UPGRADE HAPPENS IT CLEARS THE ENTRIES CREATED BY THE TNX WIDGET. WHICH CAUSES THE TNX WIDGET TO STOP FUNCTIONING. I made this today for you guys.. In creation I had to modify 3 lines of tnx code in order to get the code to pull from dynamic variables assigned in the wordpress widget configuration/management page. Lines modified: #1) function TNX_l() to function TNX_l($username) #2) added $this->_login = $username; below #1 #3) changed $tnx = new TNX_l(); to $tnx = new TNX_l($username); Installation Of Widget: 1) Decompress the attached .zip 2) Upload tnx-wordpress-widget.php into your wp-content/plugins directory 3) Go to plugin management in your wordpress admin page & activate TNX plugin 4) Go to presentation -> widgets and you will find your tnx widget. Simply drag and drop it where you want.. select the configuration button to the right of the widget after you place it and you can set the title of the window the links appear as well as your TNX username (NOT TNX ID) which is required for the code to work properly. If you have any questions or difficulties post them here and i'll try to help you out. |
|
|
|
|
|
#2 |
|
Banned
Join Date: Oct 2007
Posts: 86
TNX ID: 119577073 |
I thought I would go ahead and make a note that this widget will ONLY work on wordpress themes which are "widgetized" allowing for the use of widgets. If you attempt to use this on a theme which is not widgetized the code will not show up.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2007
Posts: 28
TNX ID: 119574634 |
Awesome work, I also wrote tutorial how to install tnx on wordpress in 2 different ways
__________________
Bontb - How To Install TNX on Wordpress |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Nov 2007
Posts: 1
TNX ID: N/A |
Hi, thanks for creating this. Is there a way I can make it not have a heading? For some reason it is defaulting to 'blogroll' if I try to leave it blank, although other widgets in my sidebar are allowed to stay blank. Any ideas?
Thanks! |
|
|
|
|
|
#5 |
|
Banned
Join Date: Oct 2007
Posts: 86
TNX ID: 119577073 |
I set a default in the code.. If you open the .php file in a text editor you will see the following line at line number 21:
$title = empty($options['title']) ? 'Blogroll' : $options['title']; Change that line to read $title = empty($options['title']) ? '' : $options['title']; and it will default to blank if there is no option set. |
|
|
|
|
|
#6 |
|
Member
Join Date: Nov 2007
Posts: 32
TNX ID: 119582972 |
Is it true that you can only FTP to wordpress blogs that are on your own domain name. ie, you cannot ftp to blahblah.wordpress.com?
|
|
|
|
|
|
#7 |
|
Banned
Join Date: Oct 2007
Posts: 86
TNX ID: 119577073 |
It just depends on if your host gives you ftp access or not. If they allow you to upload your own plugins, then yes, you can use this wordpress plugin. I do not think that wordpress.com themselves allow for uploading of plugins.
|
|
|
|
|
|
#8 |
|
Banned
Join Date: Oct 2007
Posts: 86
TNX ID: 119577073 |
If an admin could modify my original post and add this note..
NOTE: IF YOU UPGRADE WORDPRESS YOU WILL NEED TO REENTER YOUR INFORMATION INTO THE WORDPRESS WIDGET. I FOUND THIS OUT RECENTLY WHEN UPGRADING MY OWN WORDPRESS THAT WHEN THE DB UPGRADE HAPPENS IT CLEARS THE ENTRIES CREATED BY THE TNX WIDGET. WHICH CAUSES THE TNX WIDGET TO STOP FUNCTIONING. |
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Dec 2007
Posts: 6
TNX ID: 119584856 |
Quote:
|
|
|
|
|
|
|
#10 |
|
Member
Join Date: Nov 2007
Posts: 36
TNX ID: n/a |
Must I write my login Name into the php code tnx-wordpress-widget.php of the widget?
var $_login = 'mylogin'; // your TNX login Or should I leave that field blank? I don't understand why this information is given twice: 1) Code 2) Widget Options |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|