vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=329292

Finding THIS_SCRIPT value
by Hostboard
03 Aug 2022 21:10

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>


All times are GMT. The time now is 06:59.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.