![]() |
Show Post Help
Okay, in order for a hack I'm working on (that I prolly won't release, as it's very specific to my forums) to work, I need the first post of every topic in 13 specific forums to use a different showpost template than every other post on the forums... how would I go about doing this?
|
Well, I tried something, but it hasn't worked...
$getpost=$DB_site->query_first("SELECT postid FROM post WHERE threadid=$thread[threadid] ORDER BY dateline LIMIT 1"); if ($getpost[postid]==$postid) { $isfirst=1; } else { $isfirst=0; } if($isfirst AND $forumid==13 || 14 || 15 || 16 || 17 || 18 || 19 || 20 || 21 || 22 || 23 || 24 || 25) { eval("dooutput(\"".gettemplate("showquest")."\");" ); } else { eval("dooutput(\"".gettemplate("showthread")."\"); "); } And I have the "showquest" template pointing to $questbits, but it's showing the same thing as $postbits, instead of what $questbits is supposed to show... |
Would there be anything else I have to change? I've been trying to fix this all night, and it's not going well...
Oh, and BTW- One of my friends registered, but he hasn't received the e-mail conformation... And I dunno why... any help on this would be appreciated. |
Check out my profile, I have released a hack that does just this. :)
|
All times are GMT. The time now is 12:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|