Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Jan 2006, 18:47
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Forcing style on a usergroup

This should be an EASY one;

I am trying to write a plugin using the global_start hook to administer the above affect.

This is the code I'm using;

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

There must be some really simple reason why that's not working. Any pointers?
__________________
Sig

Last edited by Zelda-King; 29 Jan 2006 at 09:49.
Reply With Quote
  #2  
Old 28 Jan 2006, 19:04
filburt1 filburt1 is offline
 
Join Date: Feb 2002
The hook probably fires after the style is already selected, in which case you'd manually have to edit files (lame).

BTW, don't use quotes when working with numeric values. You're treating them as strings.
Reply With Quote
  #3  
Old 28 Jan 2006, 19:07
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Thanks, I didn't know either of those facts.

I have got this running. I simply needed to use the style_fetch hook instead.

I used the following code;

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

__________________
Sig

Last edited by Zelda-King; 29 Jan 2006 at 09:47. Reason: Automerged Doublepost
Reply With Quote
  #4  
Old 17 May 2006, 16:59
Capt. GannA Capt. GannA is offline
 
Join Date: Apr 2004
Originally Posted by Zelda-King
Thanks, I didn't know either of those facts.

I have got this running. I simply needed to use the style_fetch hook instead.

I used the following code;

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Where do I have to add this?

Nevermind, figured it out. Thanks

Last edited by Capt. GannA; 17 May 2006 at 17:11.
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:41.

Layout Options | Width: Wide Color: