Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 04 Oct 2012, 06:21
ludachris ludachris is offline
 
Join Date: Feb 2002
Plugin help

I have the Edit Time Limit setting turned on but have an exemption set so that not all usergroups have to deal with it. Here's the code:

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

Can someone help me modify it so specific forum IDs are exempt as well?
Reply With Quote
  #2  
Old 04 Oct 2012, 09:11
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You could do this:


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


This will change the edit limit for everyone in forums 1, 2, and 3. If you wanted the limit changed only for certain usergroups in certain forums, then you'd change OR to AND.

Last edited by kh99; 04 Oct 2012 at 15:50. Reason: added missing paren
Reply With Quote
  #3  
Old 04 Oct 2012, 15:45
ludachris ludachris is offline
 
Join Date: Feb 2002
I get syntax errors up at the top of the page when I use that code. Maybe I should have mentioned this is for 3.8?
Reply With Quote
  #4  
Old 04 Oct 2012, 15:49
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I don't think the version is the issue. But which hook are you using?

Edit: actually I think I was just missing a closing paren, which I've now added to the code above. Sorry about that.
Reply With Quote
  #5  
Old 04 Oct 2012, 16:35
ludachris ludachris is offline
 
Join Date: Feb 2002
fetch_foruminfo

Should I change that?
Reply With Quote
  #6  
Old 04 Oct 2012, 16:44
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I'm not sure offhand. If it's worked for you so far then it's probably OK. But just in case you missed my edit above, I think the problem was a missing closing paren.
Reply With Quote
  #7  
Old 04 Oct 2012, 17:49
ludachris ludachris is offline
 
Join Date: Feb 2002
Yeah, that looked like the issue. Thanks for that, I probably could have looked closer and saw that myself. Much appreciated.
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:47.

Layout Options | Width: Wide Color: