![]() |
Show Style in Postbit
Updated post: https://vborg.vbsupport.ru/showthrea...58#post1995758
|
take a look here is this what you want ?
you can take a look at my default style and other style i uploaded quickly http://www.cg-hq.com/vb4/forum/ |
Quote:
@OP there is a template only mod in 3.8 that should be easy to update. |
No i have been moving for past month and just now got pc online lol ..i guess i will update ...thanks for pointing out. It is a test board ... lol ... I would never put my real board on vb 4 hahhahah
he wanted that mod to work and it is working fine once you use the xml file and then just make this edit ...I did this real quick but only tested on my forum. Here is the code used. I am unsure as I do not have an old board why the style was made a link but here is the code. You can put it in the appropriate place Code:
<vb:if condition="$post['styleid'] != 0"><div class="smallfont">Style: <a href="{$GLOBALS[vbulletin]->scriptpath}&styleid=$post[styleid]">{vb:raw post.styletitle}</a></div></vb:if> |
Quote:
Quote:
|
oops I forgot to check default . I will fix that here in a bit.
curious where is the template mod for vb 3.8 |
Sounds great mmoore5553! I can't wait :)
Btw, I need the mod to work based on the Quick Style Chooser --------------- Added [DATE]1267577922[/DATE] at [TIME]1267577922[/TIME] --------------- Quote:
I'm using 4.0.2 PL1 if that makes any difference :) |
well I just looked at mod and it works fine ..default shows nothing at all. If you have a theme other than default then it will show it ...
I forgot to edit where i was testing. So just use the code above. arch just PM me with what you have done and i will check it as it works on my forum there is something missing. Did you upload the xml file ? if you want add me to msn . Just PM me for that info |
Thanks a lot for taking time to convert this mod, mmoore5553! PM me your paypal address ;)
I played around with the code and figured out how to show if people are using default style as well. Code:
<vb:if condition="$post['styleid'] != 0"><div class="eti_postbit">Layout: <a href="{$GLOBALS[vbulletin]->scriptpath}&styleid=$post[styleid]">{vb:raw post.styletitle}</a></div> Only one more hurdle to overcome then.. How to make this work with quick style chooser? As it is now it will show default style in postbit even though the user have changed using the qsc. Any advice on how to fix that? I have added style buttons to the top of the forums, like the ones vb.org use and this little mod would be the icing on the cake :) |
No problem sorry just got home and had a look at it ...so you want it to work with quick chooser as in what ?
|
All times are GMT. The time now is 01:38 PM. |
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:
|