How to read "user_gender" from DB

Mod that adds a extra field to the users profile, the gender is displayed beside the posts

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

How to read "user_gender" from DB

Postby [cz]aldaris on Thu 03. Nov, 2005 01:33

Please can somebody help me, how to insert some condition which will test user gender (I use this Gender mod). I am from Czech Republic and czech language distinguishes difference between Girl wrote and Man wrote. So I would like to test if a someone who is quoted is man or woman and return some text for man and another text for woman..

please take a look at this example
Jack wrote:blahblah

I would like to write in this quotation "Jack wroteM:" (just for example becuse Jack is man)...

Mary wrote:blahblah

...and here I would like to see "Mary wroteW:" (because Mary is woman)

I have already changed lang_main.php file (i have inserted new line with $lang['wrote_female'] variable :) (hard, isn't it? ^_^)

But I don't know, how to change bbcode.php file :cry: I can write the condition but I do not know, how can I call user_gender from database..

Please can somebody help me?
User avatar
[cz]aldaris
Poster
Poster
 
Posts: 2
Joined: Thu 03. Nov, 2005 01:28

Return to Gender [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron