![]() |
User's Ranks Help
So, Posted this on another site, and they directed me to come here, and now I am totally lost.
On this site, in their 'Edit Options" page, they have a "Ranks" option, look, http://iaza.com/work/110123C/iaza18195646303600.png How can I get that option, into my sites 'Edit Option" page? |
I would guess it is a Custom User Profile Field that is creating the option. But, then you would need to actually use the field in your code to only have that many rows.
|
I already know where the ranks show code in the postbit template, but how would I, like for each option, or in my case, yes or no. For the no option, I click "No" and it wouldnt show the tags.
|
You would put a condition around the code in the postibt template. If it's set to No, then you don't show it. Is that what you are asking?
|
Yes I am, can you show me?
|
HTML Code:
<vb:if condition="$post['fieldx'] != 'No'">show code</vb:if> |
And where do I put that, right below the rank code in the postbit template, or I put the rank in the "show code" part?
|
You said you knew where the rank code was in the postbit, no? So, put the condition around that code.
You really should just try it out and see. I assume you are doing this on a test site and not your live site. |
I put the
PHP Code:
PHP Code:
And this is the rank code, PHP Code:
BTW: On 3.8.6 vbulletin. Am I putting in the wrong way? |
Whoops, it should be $post['fieldx'] (with a single apostrophe on each side). Also, fieldx should be changed to the field number you have created. If it's field5, then you should have $post['field5'].
|
All times are GMT. The time now is 03:47 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:
|