TNX Support forums  

Go Back   TNX Support forums > Main Category > Setup Questions and Help > TNX Code Installation
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.

Reply
 
Thread Tools Display Modes
Old 27-10-2007, 06:15 PM   #1
tsenseless
Banned
 
Join Date: Oct 2007
Posts: 86

TNX ID: 119577073

Default TNX Wordpress Widget - Easily Configurable



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.
tsenseless is offline   Reply With Quote
Old 27-10-2007, 06:31 PM   #2
tsenseless
Banned
 
Join Date: Oct 2007
Posts: 86

TNX ID: 119577073

Default

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.
tsenseless is offline   Reply With Quote
Old 28-10-2007, 05:33 AM   #3
BONTB
Junior Member
 
BONTB's Avatar
 
Join Date: Oct 2007
Posts: 28

TNX ID: 119574634

Default

Awesome work, I also wrote tutorial how to install tnx on wordpress in 2 different ways
__________________
Bontb - How To Install TNX on Wordpress
BONTB is offline   Reply With Quote
Old 17-11-2007, 04:37 AM   #4
briangmu
Junior Member
 
Join Date: Nov 2007
Posts: 1

TNX ID: N/A

Default

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!
briangmu is offline   Reply With Quote
Old 18-11-2007, 06:18 AM   #5
tsenseless
Banned
 
Join Date: Oct 2007
Posts: 86

TNX ID: 119577073

Default

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.
tsenseless is offline   Reply With Quote
Old 04-12-2007, 06:00 AM   #6
MammaRose
Member
 
Join Date: Nov 2007
Posts: 32

TNX ID: 119582972

Default

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?
__________________

MammaRose is offline   Reply With Quote
Old 05-12-2007, 06:07 AM   #7
tsenseless
Banned
 
Join Date: Oct 2007
Posts: 86

TNX ID: 119577073

Default

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.
tsenseless is offline   Reply With Quote
Old 14-01-2008, 04:20 AM   #8
tsenseless
Banned
 
Join Date: Oct 2007
Posts: 86

TNX ID: 119577073

Default

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.




tsenseless is offline   Reply With Quote
Old 14-01-2008, 10:57 AM   #9
Helo
Junior Member
 
Join Date: Dec 2007
Posts: 6

TNX ID: 119584856

Default

Quote:
Originally Posted by tsenseless View Post
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.




Ahh, this obviously happen to me while admins were checking my sites (which got removed) .. while my intention clearly was not to remove tnx code, it got removed because of this I guess ...
Helo is offline   Reply With Quote
Old 17-01-2008, 06:35 PM   #10
tanalahy
Member
 
Join Date: Nov 2007
Posts: 36

TNX ID: n/a

Default ID given twice

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
tanalahy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +4. The time now is 12:53 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.