Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Aug 2007, 06:37
Anbas Anbas is offline
 
Join Date: Aug 2006
Question about using of variables in "global_start"

Hi,

I want to code an if-condition in hook "global_start". It has to look somewhat like this

if ($groupid==15 AND $thread_is_sticky AND $userid==$creator_id_of_the_thread)

But I don't know which variables to use.
  • $userid (id of the user)
  • $groupid (groupid of the user)
  • $thread_is_sticky (is the actual opened thread a stick one?)
  • $creator_id_of_the_thread (id of the user who created the actual opened thread)

Thank You..
Reply With Quote
  #2  
Old 05 Aug 2007, 06:40
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson

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

__________________
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
  #3  
Old 06 Aug 2007, 05:49
Anbas Anbas is offline
 
Join Date: Aug 2006
thanx

Hi Dismounted,

You answered after 3 Minutes - and it works fine. Thank you very much.

Anbas
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 02:38.

Layout Options | Width: Wide Color: