The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Right way to install custom PHP code in the core vB PHP files
Hello everyone,
I've made a 'plugin' for my community (couple custom PHP files, some templates and tables) All is working great BUT. In order to use this plugin I need to add piece of code to the 'newthread.php' file, in this place (VB 4.1.12 PL3: Code:
271 else 272 { // something to do here 292 293 // ### NOT PREVIEW - ACTUAL POST ### 294 $threadinfo = fetch_threadinfo($newpost['threadid']); // need the forumread variable from this So, is there any easy way to install this code exactly in this place via some feature in Admin Panel? Or if there is no 'easy and nice way' to do this, tell me please if will it be any problem for vB when I leave this code there. (during installation/deinstallation of products? [i know about vB upgrades, when I need to fe. update the newthread.php file]) Thank you. /sorry for my english/ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|