The Arcive of vBulletin Modifications Site. |
|
Show Post Help Details »»
|
|||||||||||||||||||||||||
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?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
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... |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
Check out my profile, I have released a hack that does just this.
|
![]() |
|
|