The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Old hack "Staff Titles"
On my website we've used this hack: https://vborg.vbsupport.ru/showthread.php?t=71447 for years. We used it not as intended but to generate these "tags" that we get small amounts of revenue for (allowing us to pay for our server etc.).
With the 4.0x upgrade the old hack doesn't work. Can anyone suggest another way to do this, or help with upgrading the hack? Staff Titles: https://vborg.vbsupport.ru/showthread.php?t=71447 Here's what we use them for: http://www.parent-2-parent.com/fundraising/tagged.html All help is greatly appreciated!! Dawn |
#2
|
|||
|
|||
We use this and I've just got it working on vb4. Basically, all you need to do is enable product and edit your postbit template and you need the following modified code (as old original one wont work) (Paste before line {vb:raw template_hook.postbit_userinfo_left})
Code:
<!-- vB Staff Title --> <vb:if condition="$post['isstaffrank']"> <div class="smallfont"> <vb:if condition="$post['staffrank_opentag']">{vb:raw post.staffrank_opentag}</vb:if> <vb:if condition="$post['staffrank']">{vb:raw post.staffrank}</vb:if> <vb:if condition="$post['staffrank_closetag']">{vb:raw post.staffrank_closetag}</vb:if> </div> </vb:if> <!-- /vB Staff Title --> |
#3
|
|||
|
|||
Thanks!!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|