The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
to take advantage of the postbit_display_complete I normally add a hook in the plugin section and now I make each post have a signature with the URL of my forum. I am wondering if its possible to edit a vbulletin php file to do the same thing instead of me adding a plugin.. let me know if its doable.. thanks |
|
#2
|
||||
|
||||
|
Why would you opt for editing the file instead of using the plugin?
You can easily just edit the file where that hook point is... |
|
#3
|
|||
|
|||
|
I totally understand that its recommended to just use the plugin system instead but I am wondering if its possible through php file and which file would that be..
|
|
#4
|
||||
|
||||
|
Yes, and I just told you how to find it
![]() You could also do this with a conditional in a template, chances are. |
|
#5
|
|||
|
|||
|
im not talking about the plugin php file im talking about the vbulletin php file
|
|
#6
|
|||
|
|||
|
The code that executes the postbit_display_complete hook code looks like this:
Code:
($hook = vBulletinHook::fetch_hook('postbit_display_complete')) ? eval($hook) : false;
and it's actually in two files: includes/class_postbit.php, and includes/class_postbit_alt.php. |
|
#7
|
||||
|
||||
|
You could have used the hook name to find it in the files
you're far too nice sometimes kh99.
|
|
#8
|
|||
|
|||
|
maybe sometimes 1 useful post means more than 3 useless posts..
thanks a lot kh99! |
|
#9
|
|||
|
|||
|
Maybe so.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|