![]() |
|
Thread Tools |
#1
|
||||
|
||||
Finding THIS_SCRIPT value
Many addons have a section allowing you to display their stuff on various pages. In this case I am working with DB's Donations and am trying to figure out what the page is called when you take the forum and close it/take it offline.
The default settings are: index,forumdisplay,vbdonate <code> Show donation bar on the following locations. Enter the THIS_SCRIPT location (separated by commas) you want the donation bar to show. Leave blank to show on all pages. Note: This may have an impact on performance. To find a THIS_SCRIPT value: Open the php file (locally, not the webpage!) you're trying to link to and look for this line in the code: define('THIS_SCRIPT', 'ANYTEXTHERE'); Insert the ANYTEXTHERE into the text area to the right (without the quote marks). Generally THIS_SCRIPT is is the same as the script file name, but is not always 100% true. </code>
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5 PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 16:22.