![]() |
Quote:
So basically I would like the mod to update the style in postbit every time a user change style. Sorry for my horrible explanation. Hope you understand what I mean. |
You can just find quick chooser code and just write if statements. It should do it
I do not have access to your forum but that is what i would do .... An array might work but would be hard i think ..but not 100 percent sure on the array |
Sounds like a plan, but I really don't know how to do that. Would be nice if you could point me in the right direction :)
|
I would actually need to see how they coded the top part ..if it is javascript or just html to help more ..sorry ...I can read some of it but not sure ...if you want just PM me with admin access and i will do one and you can do the rest.
|
1 Attachment(s)
Update:
https://vborg.vbsupport.ru/ 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> This mod is now working with 4.0.2, but there is still a problem: I'm using Quick Style Chooser buttons on my forum and the mod above will only display the style used in postbit if a user change styles in the userCP. If they use the style buttons or dropdown at the bottom of the page the mod will think they are still using the default style listed in the userCP (or any other style they may have chosen there). http://www.digi-tech.org/images/dive...ylebuttons.png The code for the style buttons in the header: Code:
<ul> My coding skills are very limited so I hope someone would be kind enough to take on this task and make this mod work. I'm willing to pay $30 for this and you can of course share it with the rest of the vb.org community as well. I have attached the XML file from the original mod. |
Quote:
|
Quote:
Upload the plugin and try this: Code:
<vb:if condition="$post['styleid'] != 0">Layout: <a href="{$GLOBALS[vbulletin]->scriptpath}&styleid=$post[styleid]">{vb:raw post.styletitle}</a> |
Quote:
--------------- Added [DATE]1267730003[/DATE] at [TIME]1267730003[/TIME] --------------- I have Default Style only... Is it problem....? |
You have to have more than one style for it to work as to my understanding.
|
Quote:
Thanks.... |
All times are GMT. The time now is 08:30 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:
|