The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Gender In Postbit Details »» | |||||||||||||||||||||||||
The updated version of this release.
What's the difference? Better placement of the information, it looked very odd after a few amendments in the old version. How do I install? Download the attached zip and follow the enclosed instructions. Instructions for languages which do not use letters A-Z will be coming soon. Screenshots attached, just in case you like to see before you start. Show Your Support
|
Comments |
#172
|
||||
|
||||
Now that I updated from 3.6.8 to 3.7.3 only the text "Male" or "Female" will show up instead of the image.
|
#173
|
||||
|
||||
Figured it out: I right-clicked on the text, chose to "View Image", noticed that the location assigned the icons to the root directory, and so uploaded the icons to the root directory, and now it's working.
Odd that it would do that despite the code specifically instructing the images to be fetched from the images misc. directory, but it's fixed so whatever. |
#174
|
||||
|
||||
Hi Kerry-Anne,
I cannot get this to work on my forum. 3.6.8 Patch level 2. If I look at the registration form as if I were to register, There is no Gender option. However, when I look at add a new user in my ACP - the drop down box with the options are there. I would appreciate your help on this, Please. With your permission, I will PM you my details. Many Thanks, Welshy2008. |
#175
|
|||
|
|||
I have made my own image for this and this is how you do it
Code:
POSTBIT TEMPLATE EDIT ----------- POSTBIT OR POSTBIT_LEGACY ------- FIND <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> ADD BELOW <if condition="$post[fieldx]">$vbphrase[gender]: <img src="$stylevar[imgdir_misc]/$post[fieldx].png" alt="$post[fieldx]" /></if> Code:
In Template memberlist_resultsbit FIND <if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if> AFTER ADD <if condition="$userinfo[fieldx]"><div class="smallfont">$vbphrase[gender]<img src="$stylevar[imgdir_misc]/$userinfo[fieldx].png" alt="$userinfo[fieldx]" /></div></if> and to get it work on vb 3.7.2 in mini stats then you have to find <dd>$prepared[posts]</dd> and below add Code:
<if condition="$userinfo[fieldx]"><div class="smallfont"><img src="$stylevar[imgdir_misc]/$userinfo[fieldx].png" alt="$userinfo[fieldx]" /></div></if> but i hope you like my version of this |
#176
|
||||
|
||||
Quote:
Can anyone help me on this please? |
#177
|
||||
|
||||
No-one?
|
#178
|
||||
|
||||
Such a shame that I couldn't get any help with this - I wanted it too.
Oh well, UNINSTALL it, it is then. |
#179
|
||||
|
||||
installed working
3.7.3 (and yes, why isn't this default to vbulletin?) |
#180
|
|||
|
|||
work perfect on 3.73 thank you
|
#181
|
|||
|
|||
This hack is mod is working fine on vb 3.7 pl1.
But I like to place gender in a seperate row. If I add another column according to these instructions, the colors of all columns are not correct any more. I mean the alternating table cells (first col dark color, second col light color, third col dark color, etc). I have used this code in memberlist_resultsbit: Code:
<if condition="$userinfo[field5] AND exec_switch_bg()"><td class="$bgclass"><div class="smallfont"><img src="$stylevar[imgdir_misc]/$userinfo[field5].gif" alt="$userinfo[field5]" /></div></td> </if> <if condition="$userinfo[field6] AND exec_switch_bg()"><td class="$bgclass"><div class="smallfont"><img src="$stylevar[imgdir_misc]/$userinfo[field6].png" alt="$userinfo[field6]" /></div></td> </if> You can avoid missing columns by not using the if condition, but the alternating color problem remains. Hard coding the color (<td class="alt1"> and <td class="alt2") does not help either, because you will have the alternating color problem on the other custom profile fields. Do you have any solution for this problem? Problem fixed! I solved the problem. I also changed the order of other columns and that caused the problem. To avoid missing column cells when a user did not fill in that field, I just added <if condition="exec_switch_bg()"> to the code. For the gender field it looks like this: Code:
<if condition="exec_switch_bg()"><td class="$bgclass"><div class="smallfont"><img src="$stylevar[imgdir_misc]/$userinfo[field5].png" alt="$userinfo[field5]" /></div></td> </if> Code:
<td class="thead" nowrap="nowrap">$vbphrase[gender]</td> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|