The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Multiple thread display like vBulletin.org
I noticed that vBulletin.org uses different template types for thread display in the "hacks" forums.
For example going here; https://vborg.vbsupport.ru/showthread.php?t=63140 you get a "normal" display, but if you go here; https://vborg.vbsupport.ru/showthread.php?t=71481 you get a different first post display template. My forum would make great use of something like these, but more of a car showcase that a hack forum. I searched and one hack came close but the description didn't seem to fit what I want to do properly. How would I go about doing this? Is there a release for the hack vBulletin.org uses or was it internal? |
#2
|
||||
|
||||
This is a Xenon's modification. He don't release this hack yet !!
Wait .... |
#3
|
||||
|
||||
Man I hate to wait.... LOL
I really like what he has done, nice job **waits for post** |
#4
|
||||
|
||||
the general thing is just a template condition
HTML Code:
<if condition="$threadinfo['forumid'] == hackforum"> $hackinfos <else /> normal stuff here </if> |
#5
|
|||
|
|||
I understand what you mean Xenon, but how would that change only the first post, and not all? I assume that's the part that hasn't been released yet ...
|
#6
|
||||
|
||||
I think its on vbulltintemplates but it uses conditionals as Xenon mentioned. You could also make that forum use a specific style which would have that code in it.
|
#7
|
||||
|
||||
Hmmm if someone should find it, would you please post the url here pls.
when will the merge start with vbtemplates into org? |
#8
|
||||
|
||||
well, that an easy condition as well:
HTML Code:
<if condition="$post['postid'] == $threadinfo['firstpostid']"> postbit for first post <else /> normal postbit </if> |
#9
|
|||
|
|||
So;
HTML Code:
<if condition="$threadinfo['6'] == Showroom"> <if condition="$post['postid'] == $threadinfo['firstpostid']"> postbit for first post </if> <else /> normal postbit </if> Would that be correct? But then there would be the question of getting 'new fields' to appear in the right places. Is there any chance you will release this hack? |
#10
|
||||
|
||||
not in the nearer future, i'm totally overworked with more important things currently..
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|