vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Gender In Postbit (https://vborg.vbsupport.ru/showthread.php?t=117973)

abo naif 08-09-2007 07:13 PM

Great hack ... thank you :)

neoxi 08-09-2007 08:05 PM

thank you Kerry-Anne

Nowy 08-12-2007 11:42 AM

Hi All!

Kerry-Anne big thanks for the hack.

Anyone now how display gender just after user title in the same line?

Roxie 08-15-2007 02:48 AM

Quote:

Originally Posted by Dotara (Post 1242543)
Hi,

I've installed it but it's not showing up the image for the Gender and the Gender fonts color is black instead of Grey. I want it Grey as my other fonts are Grey like Join Date, Posts, Status.

I've attached an image, please check and hope I'll get solution for it.

Quote:

Originally Posted by pericolosogr (Post 1242992)
Hello,
i have both choices male & female written in greek so i followed all the steps...and in the end i renamed the .gif for both male and female so that they will be matching the filed options...
but the is no image in the gander field?
is there something else i need to change?

Quote:

Originally Posted by Imbellis (Post 1232251)
It?s not working :( ...

I have followed the instruction step by step. There are no male or female gifs displayed, the only change I can see is the text "Male" in my profile.

I?ve changed the postbit template, postbit_legacy template and the memberlist_resultsbit template. The gifs are in the /images/misc archive.

???????

Peter


Make sure your gif files match the option names.

If you give options Male/Female, the gifs should be named Male.gif/Female.gif
If you give options male/female, the gifs should be named male.gif/female.gif

Stefano Virgill 08-16-2007 07:21 AM

Installed!
Works great.
Rated Excellent

Thanks for sharing :up:

Greetings

Steve

Stefano Virgill 08-16-2007 07:55 AM

Hi guys,
I've just made an hack.
in the same way as described in the install instructions I added a new Phrase called computer and text Computer.
Then I've created a field that has exactly the same checks but the options are mac and pc.
Then I've created the icons that I attache to this post.
Finally copy and paste:
Code:

</br>
<if condition="$userinfo[fieldx]"><div class="smallfont">$vbphrase[gender]<img src="$stylevar[imgdir_misc]/$userinfo[fieldx].gif" alt="$userinfo[fieldx]" /></div></if>

in your postbit after the cod of the original mod.

Hope you enjoy it :p

Bye

Steve

Fireproof 08-22-2007 01:29 AM

Funky weird problem.

I "installed" this mod per the instructions and it worked great for me (using IE). Then users reported that they were seeing the wrong postbit information with the wrong posts. In otherwords, the username/avatar would be one person, but the post content would be a different person.

I finally figured out that it was only screwed up when viewing the site through Firefox. IE displayed everything correctly.

I removed the template edit, and refreshed the screen in firefox - and everything was fixed.

Here's my template edit. Any clues?

Code:

<!-- GENDER DISPLAY ----------->
<if condition="$post[field14]"><div class="postdata">$vbphrase[gender]: <img src="$stylevar[imgdir_misc]/$post[field14].gif" alt="$post[field14]" /></div></if>
<!-- /GENDER DISPLAY ------------>


LiftNw8 09-07-2007 12:16 AM

I installed this today, followed all the directions and I am not getting the post bit to display at all in my browser. What could the problem possibly be? I think this was asked by another user of it as well. I have this installed on my talknepa.com forum.

haytham 09-09-2007 04:14 PM

me too. Installed, did the template modifications but no choices come up in the "edit profile"

haytham 09-09-2007 04:42 PM

Quote:

Originally Posted by Kerry-Anne (Post 1060494)
You set the field to not editable by user which is why it is not showing up. Change this to YES and it will appear for editing.

That's where I went wrong. Thanks. All done.

Battle_Ring 09-09-2007 08:33 PM

Gender Text Dont show up

http://www.sportscardforum.com/showthread.php?t=359957

Battle_Ring 09-09-2007 08:42 PM

nm i got it

FJCCrazy 09-29-2007 03:21 PM

I installed the mod as instructed and in the ACP I can see and update the gender field, the icons show on the user profile as it should, but I can't get the option to show in the User CP as a field to be updated. Is there a limit as to how many option feilds you can have?

Gender is currently "field6".

I'm running the latest vB software.

Any ideas?

Thanks:(


FJCCrazy - Admin: www.fjccentral.com

mgurain 10-06-2007 04:06 PM

Can't anybody make it:
- product (no template manual edit)
- fully phrased
- ACP settings to choose the images for each gender option (not necessary same as profile field options, but by order)

It's a very important mod,
Anybody ?

Hengest 10-06-2007 09:55 PM

Quote:

Originally Posted by LiftNw8 (Post 1333960)
I installed this today, followed all the directions and I am not getting the post bit to display at all in my browser. What could the problem possibly be? I think this was asked by another user of it as well. I have this installed on my talknepa.com forum.



I had the same problem but solved it by adding step 4 to POSTBIT and POSTBIT_LEGACY rather than POSTBIT or POSTBIT_LEGACY as suggested.

Also make sure that you change all instances of [fieldx] in steps 4 & 5 so that x = the field number of your gender field.

Hope that helps

jeriddian 10-15-2007 12:55 AM

I wanted to install this hack, but I went to my admincp and went to:

User Profile Fields> Add User Profile Field

However, there's no selection for the options of "male" and "female". where do I put those?

EDIT: Never Mind. I see what I did wrong.

ChU v2 10-15-2007 02:57 AM

Don't know if this has been brought up, but can someone take a look at the code and make it so the images are recognized by like male, female, boy girl. Right now it only displays the image if it says "Male" or "Female" and members hate to capitalize. :p

jeriddian 10-15-2007 03:46 PM

I think that would be solved by making sure your options of "male" and female" are not capitalized, and the GIF files are also named exactly the same, without capitalization.

I've installed this Mod and it works just fine on my board, so my hats off to Kerry-Anne for this nice work. I only have one question. If a member brings up the memberlist, the word "Male" or "Female" shows instead of the GIF symbol. Was that the way it's supposed to be? If so, what do I have to do to make the symbol show up there as well? Thanks.

MeMySelfNi 10-20-2007 06:28 AM

Quote:

Originally Posted by Battle_Ring (Post 1335696)
Gender Text Dont show up

The gender text isnt showing for me either??

Mrdby 10-20-2007 11:37 AM

Quote:

Originally Posted by MeMySelfNi (Post 1364196)
The gender text isnt showing for me either??

need some help? Pm me and i will fix it for you.

MeMySelfNi 10-21-2007 01:53 AM

Quote:

Originally Posted by MeMySelfNi (Post 1364196)
The gender text isnt showing for me either??


bump.................................

Audentio 10-21-2007 03:17 AM

Perfect :)

vuiveclub 11-12-2007 04:39 PM

Hello,
How to make cron for female or male users move to another usergroup?

mri_mohammad 11-13-2007 11:29 PM

it's work with 3.6.8 ;) thanks installed

mystic10 11-14-2007 12:38 AM

this is very silly question ...but i have edited all templates and uplaoded the gif to my mis folder but i dont see it at all on my forum..does it mean that those who choose from now on their gender will show..or it should have automatically have place the gender sign on all of the members so far...as i dont see anything not even the name male female :( please guide

SNATCH3R 11-21-2007 10:15 AM

good mod..very useful for my forum.....thanks a lot buddy...

mri_mohammad 11-21-2007 07:10 PM

how we can show how much we have girl and how much we have boy?

nicolerork 12-13-2007 04:51 PM

It's not showing up in the "Edit Profile" field for some reason... using 3.6.8

smooth-c 02-06-2008 10:56 PM

Can this be installed in the postbit template? all i'm seeing everyone talk about is using the legacy template.

Thanks

Icy 02-07-2008 03:44 AM

smooth-c - You just have to make the changes in POSTBIT template rather than POSTBIT_LEGACY template.

Mesohu 03-15-2008 08:20 PM

Who will update it for vb 3.7.x ?

Icy 03-16-2008 07:22 AM

This works fine for me on 3.7 B6

AnabolicResourc 03-18-2008 09:51 PM

Installed !! :)

surfjunkey 03-25-2008 05:59 AM

working like a charm, thank you :)

excellent mod

budatalk 03-25-2008 11:15 PM

Many thanks! I had to capitalize the first letters. Other than that, it's a hot knife in butter.

dcw 03-27-2008 02:42 AM

I'm confused on this a bit, I am at step 3 and well I don't understand it.

kellyandmark04 04-14-2008 07:20 PM

Quote:

Originally Posted by dcw (Post 1475579)
I'm confused on this a bit, I am at step 3 and well I don't understand it.

I agree I do not understand as well

Quote:

STEP THREE

ADD PHRASE

type: global
varname: gender
Text: Gender
Where do you add phrase???

kellyandmark04 04-15-2008 02:38 AM

Ok I figured it out you add step three under the Languages and Phrases Tab in the AdminCP

So I got all that working and uploaded the symbols to the img/misc folder and all I get is a red x when the pic comes up any help would be appreciated thanxxx

kellyandmark04 04-15-2008 03:41 AM

ok finally got it and working great so far thanks for the hack, I had them uploaded to the reg misc folder instead of my custom style folder had to click the X image to see where it was looking for the image and upload to the correct directory

Hamedk 04-24-2008 07:10 AM

hi
i have a question
i do all steps but i cant find install button to click on it .....
Quote:

YOU ARE DONE! ALL YOU NEED TO DO IS SET YOUR GENDER IN YOUR USERCP

DON'T FORGET TO CLICK INSTALL! THANKS.


All times are GMT. The time now is 12:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01352 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete