Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Aug 2022, 20:10
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
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
Reply With Quote
Reply



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

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

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


New To Site? Need Help?

All times are GMT. The time now is 12:14.

Layout Options | Width: Wide Color: