The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm not sure if there's a hack out there or not but I want to change the post count for just the administrator account to actual letters and have it display that permanently. How would I go about doing that?
|
#2
|
||||
|
||||
![]()
Just put a condition around it in the postbit.
HTML Code:
<if condition="$post['userid'] == x"> LETTERS <else /> normal code from postbit </if> |
#3
|
|||
|
|||
![]() Quote:
Not sure that's what he meant Lynne... ------- There is no default way to change numbers to text in php - therefore have a look at this script --> http://www.gregmaclellan.com/php/numbertotext.phps Demo here --> http://www.gregmaclellan.com/php/numbertotext.php Then you'll have to integrate that into VB Basically, not an easy task if you're not familiar with php.... Unless of course you're simply wanting to take one value ... ie. Post Count = 1211 And PERMANENTLY display Post Count = One Thousand Two Hundred and Eleven but if you want the text to increment with each post count then the script I provided above is your only answer. |
#4
|
|||
|
|||
![]()
I meant simply like putting a word or two there with it never changing. Under post count it would say something like 'doesn't matter'.
|
#5
|
|||
|
|||
![]()
Oh well Lynne's solution is what you need.
Sorry Lynne ![]() |
#6
|
|||
|
|||
![]()
I'm fooling around in the postbit but I'm not sure exactly where to put this.
--------------- Added [DATE]1255710669[/DATE] at [TIME]1255710669[/TIME] --------------- If someone could point me in the right direction it would be appreciated. |
#7
|
|||
|
|||
![]()
I'm still having a bit of trouble with this. I'm not sure exactly where to add lynne's code at in the postbit. Am I supposed to edit the code you posted and enter my user id in the 'userid' part and then change my postcount to letters in the vbulletin users setup?
I haven't fooled around with vbulletin too much as you can see :P |
#8
|
|||
|
|||
![]()
I think theres a mod here that changes it to Roman Numerals, sounds cool.
|
#9
|
||||
|
||||
![]()
Find the area in the postbit (or postbit_legacy) that you want to modify, then replace with this:
HTML Code:
<if condition="$post['userid'] == x"> LETTERS <else /> normal code from postbit that you wanted to modify </if> |
#10
|
|||
|
|||
![]() HTML Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] </div> $template_hook[postbit_userinfo_right_after_posts] <if condition="$show['infraction']"> HTML Code:
<div> $vbphrase[posts]: $post[posts] </div> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|