Before I start messing with the universe, I wanted to know if the gender mod was ever updated for 3.3?
Referring back to: https://efiction.org/forums/index.php?topic=4457.0
I wanted to know how to make the links go horizontal rather than vertical if I add more than one link?
Thank you
I charge into the light and need only yours to find my way. Archive of One:
Before you start messing with the universe I suggest you look through the admin area (including the admin manual included within). There's an included profile field for gender so there's no need to mod anything.
To make the links go horizontally rather than vertically, edit the profile.tpl using the individual {variables} rather than {authorfields}. I suggest you do this in one of your skins and not the default_tpls.
Yeah, π I found it but I don't want it stuck with the {authorfields} but I think you answered my other question.
TIA
Question: How to replace gender images? I had this mod on a site a couple years ago but lost it all.
I charge into the light and need only yours to find my way. Archive of One:
I don't think we have images included in the gender profile field in 3.0. It's one of the fields that comes with the script, so it doesn't have a custom code.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
I have no ability with code but I am assuming that you could theoretically take the yahoo code...
I guess you call this with title and name gender2, Gender2 because you don't want to screw around with the universe you so lovingly constructed.
Custom Form Code:
$output .= "<div><label for='gender'>".$field['field_title'].":</label><INPUT type='radio' class='textbox' name='gen_".$field['field_name']."' maxlength='40' value='".(!empty($user['gen_'.$field['field_id']]) ? $user['gen_'.$field['field_id']] : "")."' size='20'></div>";
π Thinking through my butt, I'm guessing you're asking in the form code to output a label for gender and tell you to give me three choices, I chose radio buttons, the class textbox is following css... gen_ is the group so that the radio buttons are grouped together, and I simply didn't know what to remove.
Custom Profile Code:
$thisfield = "<img src=""images/female.png=".$field['info'"]."&img=5"> ".$field['info'];
$thisfield = "<img src=""images/male.png=".$field['info'"]."&img=5"> ".$field['info'];
$thisfield = "<img src=""images/undisclosed.png=".$field['info'"]."&img=5"> ".$field['info'];
π Thinking through my butt, again. I assume here you are telling that whatever radio button you choose is presenting in your profile pages along with an image of gender.
I am pretty sure these are badly constructed and sad but this was the best I could do. π
I charge into the light and need only yours to find my way. Archive of One:
Do a search for Jan's Hogwarts House profile field. It does what you want.
Thank you. It works great!
I charge into the light and need only yours to find my way. Archive of One:
