The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Small Hook Issue
An Add-on has this code:
PHP Code:
I have a plugin on the fetch_musername hook that changes the mark-up username. The mark-up username isn't being changed for this specific code, but it is everywhere else. Any ideas why? Add-on: Cyb - Visitors in Last X Hours. |
#2
|
|||
|
|||
I can see two possibilities - $vilxh_visitor['musername'] is already set when the function is called, in which case the hook code is never called, or else your hook code is called but for some reason doesn't change $user['musername']. You can narrow it down by temporarily sticking something like die("fetch_musername"); in your plugin code and see if it stops there. (Shouldn't affect the adminCP so you should be able to get back in to take it out of your plugin, but if I'm wrong about that, put define('DISABLE_HOOKS', true); in your config.php).
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|