I am trying to add extra links in the navbar if a user is inside vBTube by using
but it only works on the main page of vBTube, not inside video, category or anything.HTML Code:<if condition="THIS_SCRIPT == 'vbtube'">
I am trying to add extra links in the navbar if a user is inside vBTube by using
but it only works on the main page of vBTube, not inside video, category or anything.HTML Code:<if condition="THIS_SCRIPT == 'vbtube'">
I solved this by using:
However, that's not very clean. Why don't all vBTube php files have the same name? Can that be fixed in future version?HTML Code:<if condition="in_array(THIS_SCRIPT, array('vbtube', 'vbtube_action', 'vbtube_add', 'vbtube_admin', 'vbtube_admin', 'vbtube_browser', 'vbtube_cat', 'vbtube_comment', 'vbtube_favourites', 'vbtube_lastkey_admin', 'vbtube_mytubes', 'newreply', 'vbtube_report', 'vbtube_search', 'vbtube_sendfriend', 'vbtube_show', 'vbtube_toplist', 'vbtube_install', 'vbtube_youtubebrowser'))">
Ill change that in next Versions...
Kind Regards
Murat K. aka - s7v7n
Please use only original and licensed copies of vBTubePRO. Only legal installations will guarantee you support and updates.
You can always use it so it displays it perpage. Check the scripts to see if this is in the top of it.
define(THIS_SCRIPT, vbtube); if not it wont work if you type the if condition in yout templates.
Bookmarks