Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Jan 2009, 16:48
mcyates mcyates is offline
 
Join Date: Jan 2003
Real name: Michael C Yates
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.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thank In advance for any help.

--------------- Added 15 Jan 2009 at 16:53 ---------------

I get this error when:

Product is: Right Side Column
Hook Location is: global_start

Obviously that is wrong lol


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
MY FOOTBALL FORUM
World Wide Football Discussion Forum

Last edited by mcyates; 15 Jan 2009 at 16:53. Reason: Auto-Merged DoublePost
Reply With Quote
  #2  
Old 15 Jan 2009, 16:59
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by mcyates View Post

I get this error when:

Product is: Right Side Column
Hook Location is: global_start

Obviously that is wrong lol


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

where is $group defined?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 15 Jan 2009, 17:52
Bellardia Bellardia is offline
 
Join Date: Jul 2007
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.
Reply With Quote
  #4  
Old 15 Jan 2009, 22:51
mcyates mcyates is offline
 
Join Date: Jan 2003
Real name: Michael C Yates
Originally Posted by Lynne View Post
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

where is $group defined?
Originally Posted by Bellardia View Post
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.
I don't even know what that code means!!

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.
__________________
MY FOOTBALL FORUM
World Wide Football Discussion Forum
Reply With Quote
  #5  
Old 16 Jan 2009, 04:14
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Where did you get it from than
Ask the maker of the code to ask why he did what.
Reply With Quote
  #6  
Old 16 Jan 2009, 05:50
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
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.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:25.

Layout Options | Width: Wide Color: