Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Dec 2018, 19:04
kojay kojay is offline
 
Join Date: Apr 2018
Prompt

how do I make a gender icon on the right side of nick when the radio button is assigned in the additional profile fields?
Reply With Quote
  #2  
Old 10 Dec 2018, 21:03
iA1 iA1 is offline
 
Join Date: Jul 2018
Do you already have a gender field? If yes, then it is possible to use if-conditions in the postbit template and display an icon based on gender selection.

For example,

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x
Push notifications for new replies, likes and PM

Last edited by iA1; 10 Dec 2018 at 21:09.
Reply With Quote
  #3  
Old 11 Dec 2018, 06:53
kojay kojay is offline
 
Join Date: Apr 2018
Originally Posted by iA1 View Post

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
What I did as you wrote, did not help.
Reply With Quote
  #4  
Old 11 Dec 2018, 06:57
iA1 iA1 is offline
 
Join Date: Jul 2018
It is just an example code.
What is the field number for the gender userfield? Are you sure you have the same folder location as I wrote in example?
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x
Push notifications for new replies, likes and PM
Reply With Quote
  #5  
Old 11 Dec 2018, 07:11
kojay kojay is offline
 
Join Date: Apr 2018
Originally Posted by iA1 View Post
It is just an example code.
What is the field number for the gender userfield? Are you sure you have the same folder location as I wrote in example?
Field5, folder public_html/images/creativecreature/misc.
Reply With Quote
  #6  
Old 11 Dec 2018, 07:30
iA1 iA1 is offline
 
Join Date: Jul 2018

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Maybe you are using vertical postbit. Add the code in both the templates, postbit as well as postbit_legacy. Add it after the username.

Make sure to change the red parts in above code with actual values for your forum. They are case-sensitive.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x
Push notifications for new replies, likes and PM

Last edited by iA1; 11 Dec 2018 at 07:54.
Reply With Quote
  #7  
Old 11 Dec 2018, 08:07
kojay kojay is offline
 
Join Date: Apr 2018
Originally Posted by iA1 View Post
Add it after the username.
After a user name?
Reply With Quote
  #8  
Old 11 Dec 2018, 09:22
iA1 iA1 is offline
 
Join Date: Jul 2018
Add it before this line:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x
Push notifications for new replies, likes and PM
Reply With Quote
  #9  
Old 11 Dec 2018, 10:28
kojay kojay is offline
 
Join Date: Apr 2018
Originally Posted by iA1 View Post
Add it before this line:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
Did everything as you said, no change. ++++.

Last edited by kojay; 19 Dec 2018 at 09:24.
Reply With Quote
  #10  
Old 11 Dec 2018, 14:51
iA1 iA1 is offline
 
Join Date: Jul 2018
Can you post a link to your forum? and copy paste the parts from postbit_legacy template where you have added the code?
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x
Push notifications for new replies, likes and PM
Reply With Quote
  #11  
Old 14 Dec 2018, 10:22
kojay kojay is offline
 
Join Date: Apr 2018
Originally Posted by iA1 View Post
Can you post a link to your forum? and copy paste the parts from postbit_legacy template where you have added the code?
https://forum-mira.ru.
Attached Images
File Type: gif 1.gif (22.6 KB, 8 views)
Reply With Quote
  #12  
Old 19 Dec 2018, 09:17
kojay kojay is offline
 
Join Date: Apr 2018
iA1 you than the offended?
Reply With Quote
  #13  
Old 19 Dec 2018, 09:38
iA1 iA1 is offline
 
Join Date: Jul 2018
I checked your site but couldn't figure out why it does not display the icon. Is the code still there or have you removed it?
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x
Push notifications for new replies, likes and PM
Reply With Quote
  #14  
Old 19 Dec 2018, 12:03
kojay kojay is offline
 
Join Date: Apr 2018
Originally Posted by iA1 View Post
I checked your site but couldn't figure out why it does not display the icon. Is the code still there or have you removed it?
Remove.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pop up Register prompt if user has not been registered voogru vBulletin 2.x Full Releases 18 15 Feb 2002 17:40



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:29.

Layout Options | Width: Wide Color: