Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Aug 2007, 02:42
ssslippy's Avatar
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Having an issue using postbit hook

Im having an issue, im trying to make last seen online use a hook instead of having to edit the postbit_legacy template everytime. However this always fails to work. Anyone know why?


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

__________________
Immortal Guild - My Guilds Website
Reply With Quote
  #2  
Old 23 Aug 2007, 03:00
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
You would have to generate the compiled template code.
Reply With Quote
  #3  
Old 23 Aug 2007, 03:02
ssslippy's Avatar
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Argh that I have no clue, my editing is very basic.
__________________
Immortal Guild - My Guilds Website
Reply With Quote
  #4  
Old 23 Aug 2007, 03:08
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Actually my mistake. You can do it as is, but you can't use the <if> or variables since it is not evaluated.

Use the actual variables instead of single quoting the string, and for any ifs, use either the ternary operator or PHPs if().
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 04:20.

Layout Options | Width: Wide Color: