The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Postbit for Specific Members
Let me preface this by saying I don't know much at all about coding. So, please forgive me if my questions don't make sense, and I will appreciate any patience you can spare me. Apologies in advance if this gets a little long, but I want to be as clear and thorough as possible.
I want to customize the way an individual member's postbit looks like. I've got it setup currently so that reputation is displayed as the actual number underneath the post count, like so ― Instead of calling up the stored rep value for that particular member, I want the postbit to simply display to everyone some text of my choosing (the symbol for infinity, in this case). I was hoping I'd be able to stumble my way through the code and get what I wanted, but my efforts were met with frustration. I found the part of the postbit template for displaying rep, and it looked like this ― <span id="repdisplay_$post[postid]_$post[userid]"><b>Reputation:</b> $post[reputation]</span>My best guess to accomplish what I set out to do was to have two copies of that in an if/else deal, where the conditional was looking for the specific user and would display the infinity symbol if true or default to the original code if false. My attempt at that resulted in this code ― <if condition="$userid[14]">Nothing happened, hence this thread. If the above is laughable, remember that I don't know the first thing about coding and have pity. So, how can I get it to do what I want? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|