PDA

View Full Version : To the Side? hmm


lcryan
01-13-2005, 01:25 PM
See how this forum gives you the option of having the name and av on the side

<<< over there
Can someone help me out with finding that? :ermm:

Zachery
01-13-2005, 01:29 PM
AdminCP > vBulletin Options > Style & Language Settings > Use Legacy Postbit > Yes

all it takes is 2 seconds of searching ;)

lcryan
01-13-2005, 01:32 PM
AdminCP > vBulletin Options > Style & Language Settings > Use Legacy Postbit > Yes

all it takes is 2 seconds of searching ;)
yes but how do I give that option to my users? http://forums.gamebattles.com if you register there in options it gives you that option :)

p.s. thank you for that help tho :)

WetWired
01-13-2005, 04:24 PM
The simplest thing to do is to disable selection of your style, then create two selectable substyles labeled "Style Name- Stuff On Top" and "Style Name- Stuff On Left", then copy postbit_legacy to postbit in the Stuff On Left substyle. There are, of course, more elegant solutions, but this is the simplest and does not require a hack or any programming knowledge.

Andreas
01-13-2005, 04:40 PM
Or you can use this hack which gives the user the possibility to choose postbit style
https://vborg.vbsupport.ru/showthread.php?t=61086

WetWired
01-13-2005, 04:55 PM
Or you can use this hack which gives the user the possibility to choose postbit style
https://vborg.vbsupport.ru/showthread.php?t=61086
If you're going to use a profile field, why not just put a conditional in the postbit template and forgo additional templates and hacks altogether?
<if condition="$bbuserinfo['field999']=='Classic'">
(paste postbit_legacy here)
<else />
(leave original postbit here)
</if>

Andreas
01-13-2005, 05:01 PM
Well, this would require editing all postbits in all styles.
Now if you have a lot of styles this becomes a lot of work ...

Furthermore, this generates an additional if in every postbit.
Although this shouldn't hurt much (you woldn't even notice it), it does cost performance.

I think this hack is a more elegant solution.