![]() |
Where do I put this HOOK location so it works
I'm using this Side Bar modification and that is where I want the data to be shown. I used to have Ultimate Side Columns and it worked on there but i've forgotten what hook location to use.
This is my code I'm using which shows only the current staff members who are actively on my forum. But I don't know where the hook should be called from. Code:
// @@@@@@@ Lets See who is on @@@@@@@ --------------- Added [DATE]1232041991[/DATE] at [TIME]1232041991[/TIME] --------------- I get this error when: Product is: Right Side Column Hook Location is: global_start Obviously that is wrong lol Code:
Database error in vBulletin 3.8.0: |
Quote:
PHP Code:
|
Problem seems to be with your SQL queries and not where your plugin is located.
As Lynne pointed out you call $group but it doesn't seem to be defined anyways, I doubt it was stored globally, but I'm not sure. |
Quote:
Quote:
It worked when i put it on the Ultimate Site Columns, but doesn' work now. Hmm, i'm a begineerin with the ocde stuff, don't know anything lol. I might just have to remove it all. The only think is its usefull if the staff who are online are shown, but i guess they can be shown and are show in the whos online bit. |
Where did you get it from than ;)
Ask the maker of the code to ask why he did what. |
This is just a WOL except showing staff only (well meant to, anyway). As you have said, the WOL could possibly be "moulded" to do what you want.
|
All times are GMT. The time now is 03:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|