0 Members and 1 Guest are viewing this topic.

*

Pharg

  • *****
  • 3,143
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: How to add Genders and include them in drop down menu
« Reply #15 on: October 13, 2014, 11:28:01 AM »
Well... I deleted every file in templates_c...

And this is still what the drop-down menu looks like:


Hi WolfMan14,

That's back to normal now, that's what it's suppose to look like.
« Last Edit: January 23, 2018, 10:35:20 PM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

Re: How to add Genders and include them in drop down menu
« Reply #16 on: October 13, 2014, 11:32:39 AM »
you need to reload the language file in admin  ;) admin/content/manage_languages/choose language/load language/
« Last Edit: January 23, 2018, 10:34:56 PM by Pharg »

*

Pharg

  • *****
  • 3,143
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: How to add Genders and include them in drop down menu
« Reply #17 on: October 13, 2014, 11:34:45 AM »
have you reloaded language file in admin?

You right here mnarkyp77, he will need to remove the groups and couples from the lang database in the admin also as it's loaded in there from install
« Last Edit: January 23, 2018, 10:34:29 PM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

Re: How to add Genders and include them in drop down menu
« Reply #18 on: October 13, 2014, 11:38:37 AM »
YES!!! It worked! Thank you very much!!!
« Last Edit: January 23, 2018, 10:34:08 PM by Pharg »

*

Pharg

  • *****
  • 3,143
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: How to add Genders and include them in drop down menu
« Reply #19 on: October 13, 2014, 11:40:41 AM »
he has already done this i think,
lol I thought he must have missed something somewhere :) thanks for helping
« Last Edit: January 23, 2018, 10:33:29 PM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

Pharg

  • *****
  • 3,143
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: How to add Genders and include them in drop down menu
« Reply #20 on: January 23, 2018, 10:25:55 AM »
Hi Chris99,

To add Trans all you have to do is add this.

In the init.php find this:
Code: [Select]
$t->assign( 'gents', $row['gents'] );

$t->assign( 'females', $row['females'] );

$t->assign( 'couples', $row['couples'] );

$t->assign( 'groups', $row['groups'] );

Add Trans like this:

Code: [Select]
$t->assign( 'gents', $row['gents'] );

$t->assign( 'females', $row['females'] );

$t->assign( 'couples', $row['couples'] );

$t->assign( 'groups', $row['groups'] );

$t->assign( 'trans', $row['trans'] );

Save it.

Now go to the language file called lang_main.php and edit it, find this:
Code: [Select]
$lang['signup_gender_values'] = array(
'M' => 'Man',
'F' => 'Woman',
'C' => 'Couple',
'G' => 'Group'
);

$lang['signup_gender_look'] = array(
'M' => 'Man',
'F' => 'Woman',
'C' => 'Couple',
'G' => 'Group',
'B' => 'Man or Woman',
'A' => 'Any Gender'
);

Change to this:
Code: [Select]
$lang['signup_gender_values'] = array(
'M' => 'Man',
'F' => 'Woman',
'C' => 'Couple',
'G' => 'Group',
'T' => 'Trans'
);

$lang['signup_gender_look'] = array(
'M' => 'Man',
'F' => 'Woman',
'C' => 'Couple',
'G' => 'Group',
'B' => 'Man or Woman',
'T' => 'Trans',
'A' => 'Any Gender'
);

Save it.

Now go to the admin, then Manage Languages and load the language you just edited.

All done.
« Last Edit: January 23, 2018, 10:32:59 PM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

chris99

  • *
  • 26
  • osDate Version: osDateEvo v1.2
Re: How to add Genders and include them in drop down menu
« Reply #21 on: January 23, 2018, 12:15:48 PM »
Hi, is there anyone who can show me how to ad transe in these section.
« Last Edit: January 23, 2018, 09:40:02 PM by Pharg »

*

Pharg

  • *****
  • 3,143
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: How to add Genders and include them in drop down menu
« Reply #22 on: January 23, 2018, 09:00:40 PM »
Hi Chris99,

After editing the languages/English/lang_main.php did you go to the admin then to the manage languages and click reload English or the languages you edited?
« Last Edit: January 23, 2018, 09:39:20 PM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

Pharg

  • *****
  • 3,143
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: How to add Genders and include them in drop down menu
« Reply #23 on: January 23, 2018, 10:30:04 PM »
Hi Chris99,

In the lang_main.php there was one more gender area to edit.

Find this:
Code: [Select]
$lang['search_genders'] = array(

'M' => 'Men',

'F' => 'Women',

'C' => 'Couples',

'G' => 'Groups'

);

Change to this:
Code: [Select]
$lang['search_genders'] = array(

'M' => 'Men',

'F' => 'Women',

'C' => 'Couples',

'G' => 'Groups',

        'T' => 'Trans'

);


This one adds it to all the search areas and all the main drop downs in the template.

Only thing left to do now is to give the getsnap.php and the admin getsnap.php a pic for Trans.

Find this:
Code: [Select]
if ($gender == 'M') {
      $nopic = SKIN_IMAGES_DIR.'male.jpg';
   } elseif ($gender == 'F') {
      $nopic = SKIN_IMAGES_DIR.'female.jpg';
   } elseif ($gender == 'K') {
      $nopic = SKIN_IMAGES_DIR.'couple.jpg';
   }

Change to this:
Code: [Select]
if ($gender == 'M') {
      $nopic = SKIN_IMAGES_DIR.'male.jpg';
   } elseif ($gender == 'F') {
      $nopic = SKIN_IMAGES_DIR.'female.jpg';
   } elseif ($gender == 'K') {
      $nopic = SKIN_IMAGES_DIR.'couple.jpg';
   }  elseif ($gender == 'T') {
      $nopic = SKIN_IMAGES_DIR.'trans.jpg';
   }
« Last Edit: January 23, 2018, 10:55:10 PM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

chris99

  • *
  • 26
  • osDate Version: osDateEvo v1.2
Re: How to add Genders and include them in drop down menu
« Reply #24 on: January 23, 2018, 11:55:08 PM »
After i register as a trans, then confirm my account, i am not login, but it showing i am online as it shows in the attachment below,
also after i register as a trans, the footer number count still didn't go up
« Last Edit: January 24, 2018, 12:11:34 AM by Pharg »

*

Pharg

  • *****
  • 3,143
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: How to add Genders and include them in drop down menu
« Reply #25 on: January 24, 2018, 12:13:18 AM »
Hi Chris99,

So it's working as it should be that's good to hear.

No changes were made to change the count with Trans so no, it won't change.
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35