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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-09-2007, 01:53 AM   #1
Alex
TNX.NET Support
 
Alex's Avatar
 
Join Date: Aug 2007
Posts: 3,111


Default TNX + vBulletin

If you are running a vBbulletin based forum, please use instructions on how to install TNX-Code below.

In your Admin panel go to Plugins & Products -> Add New Plugin

On the "Add New Plugin" in the "Hook Location" field choose "global_start", then give any title to your plugin.

In the "Plugin PHP Code" paste your STATIC TNX-Code, but before you place it there, make sure you delete few lines of code, described below:

Delete first and last lines of code:

Code:
<?php
?>
Delete:

Code:
echo $tnx->show_link(1); // first link
echo $tnx->show_link(1); // second link
echo $tnx->show_link(1); // third link
Replace:

Code:
echo $tnx->show_link(); // remaining links
with:

Code:
$tnx = $tnx->show_link();
Place the code into "Plugin PHP Code" field, set "Plugin is Active" field to YES and save new plugin.

Now you can put $tnx variable into any template of your forum (we suggest you put the variable in your 'footer' template).
Alex is offline   Reply With Quote
 


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 01:46 AM.


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