Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Gender icon beside nickname in Postbit Details »
Gender icon beside nickname in Postbit
Mod Version: 1.00, by dszuecs (Designer) dszuecs is offline
Developer Last Online: Mar 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.1 Rating: (7 votes - 5.00 average) Installs: 22
Released: 06 Jun 2013 Last Update: Never Downloads: 0
Not Supported Template Edits Additional Files Translations  

This mini modification allows you to display a gender icon beside the nicknames in postbit:
- Live Demo: BlackBerry10 Forum





GUIDE

01) Create a custom Profilefield 'Gender'

01.01) AdminCP Profilefields Add Profilefield
01.02) Profilefield type = Dropdown Next
01.03) Title = Gender Description = Gender Options = boy AND girl (one on each line)
01.04) AdminCP Profilefields Manage Profilefields notice the Name of the created Profilefield 'Gender' (f.e. field10)


So now, your users are able to select 'boy' or 'girl' in UserCP


02) CSS customizing

02.01) AdminCP Search Templates Search for 'postbit_legacy' Edit
02.02) Search for '{vb:raw memberaction_dropdown}' below add:

<vb:if condition="$post[field10] == 'boy'"><img src="/images/boy.png" alt="Boy"></vb:if>
<vb:if condition="$post[field10] == 'girl'"><img src="/images/girl.png" alt ="Girl"></vb:if>

Insert your noticed number from step 01.04 here!

02.03) Download 'boy.png' and 'girl.png' (rightclick Save As)
02.04) Upload both files to /forumroot/images


03) Last step
03.01) Go to your UserCP Select your gender
03.02) Take a look at your Postbit Enjoy!
03.03) Mark as installed


Feel free to contact me if you have problems setting it up!
Cheers - Dennis

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 06 Jun 2013, 20:56
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
This is similar to Gender in Postbit or Postbit Legacy - vB 4.0.x Inc GOLD but for some the placement of the gender icon may be preferred.
Reply With Quote
  #3  
Old 07 Jun 2013, 17:55
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Actually, I'm now using this instead of the other one I mentioned above. I prefer the images and placement of the images.
Reply With Quote
  #4  
Old 08 Jun 2013, 09:07
goxy63 goxy63 is offline
 
Join Date: Oct 2008
It would be great if gender icon is displayed also in profile, member list... next to the username

Rated and tagged for now, icons look nice
Reply With Quote
  #5  
Old 10 Jun 2013, 10:11
Charro~ Charro~ is offline
 
Join Date: Jan 2013
Real name: Cheyenne
Rated, Tagged & Installed...Thanks!
Reply With Quote
  #6  
Old 12 Jun 2013, 13:48
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Real name: Sadiq
Nice icons Thanks dear
Reply With Quote
  #7  
Old 27 Oct 2013, 20:34
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Real name: Angela
Originally Posted by goxy63 View Post
It would be great if gender icon is displayed also in profile, member list... next to the username

Rated and tagged for now, icons look nice
I'd like this, too.

Great mod, thanks!
Reply With Quote
  #8  
Old 27 Oct 2013, 21:47
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
tagged
Reply With Quote
  #9  
Old 02 Nov 2013, 23:48
Mastermaik's Avatar
Mastermaik Mastermaik is offline
 
Join Date: Feb 2004
Real name: Maik
Hi @all,

after editing the template postbit_legacy and saving it, i get this error:


Parse error: syntax error, unexpected T_STRING in /www/htdocs/w0112e05/forum/includes/adminfunctions_template.php(5228) : eval()'d code on line 358

If I look then into my forums, all text written in the forums is deleted...

What can I do ?

Kind regards
Maik
__________________
Regards Maik

www.meinlev.de
Reply With Quote
  #10  
Old 18 Nov 2013, 12:37
Harpo's Avatar
Harpo Harpo is offline
 
Join Date: Dec 2011
Got it working on the first try. Thanks and installed.
__________________
Idle No More.
Reply With Quote
Reply


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

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 11:59.

Layout Options | Width: Wide Color: