![]() |
Can someone please update this hack?
|
this hack works FINE on 2.2.5 :D
but yeah... old skool images all the way!!! |
Can someone help me?
I just tried to install this on 2.2.5. I go to the user cp, and select "male" for me then go "submit". It says "thanks for updating the options" then takes me back to the profile page, there I find its still set on "Undisclosed". All my posts, and user info comes up with the question mark. I have done the MySQL query, which went fine: Code:
Running ALTER TABLE user ADD gender SMALLINT (6) not null ... Success! Thanks :) EDIT: never mind, i uninstalled the hack |
Has the problem with existing users been resolved?
|
does it work with 2.2.5 without any problems now?
|
can anyone make me a hack, where I can edit the Gender from the Admin Panel?
|
that was one long hack but it worked perfectly, thanks for the great hack :)
|
can someone post a new file with all the modifications and stuff for vb 2.2.5?????
|
Quote:
|
I was the one that requested this hack a WHILE back and we have been using it on our board ever since. It works perfectly. Check it out here:
http://www.gamingforce.com/forums/ |
But do you have the complete hack for 2.2.5 that you can share with us? Apparently, there are some differences in it now. )
|
I'm using 2.2.4 and it works perfectly, no modifications needed.
|
The footer of your board says 2.2.2 (You might need to change that. :))
Quote:
|
Is there a way to have it use text instead of images? Like Male, Female, N/A?
|
Quote:
|
I got it installed and it is working great on 2.2.5. I changed the images to text instead, though. Thought it looked better. I put it in the private.php, also, so I could list it in the privmsg template, too. I need to find out if where I put it in private.php is ok or will it mess with anything else? I put this:
Code:
if ($post[gender] == "0") { Code:
if ($post[yahoo]!="") { |
I done a clean install and I still get this error:
Database error in vBulletin 2.2.6: Invalid SQL: UPDATE user SET birthday='1981-2-2',signature='',customtitle='0',usertitle='Adminis trator',email='joey@joeygowdy. com',parentemail='',coppauser='0',homepage='http://www.JoeyGowdy.com',icq='33001900',aim='princegowdy ',yahoo='Brother_Joey_Gowdy',u sergroupid='6', gender='2' WHERE userid='1' mysql error: Unknown column 'gender' in 'field list' mysql error number: 1054 |
Did you run this query?
ALTER TABLE user ADD gender SMALLINT (6) not null |
what does 'running queries' do ?
I do have phpmyadmin installed - but have never used it Im useing vB 2.2.6 |
It will make the entry into the database for storing the gender information. Without that, the hack will never work. :)
Quote:
|
Its working now, thanks for the help
:) |
Great! Enjoy! :)
|
Damn... I'm doing it on 2.2.6 and there is'nt even a
### Go to Templates -> Modify -> [expand list] -> User Info Display Templates [expand] -> getinfo :(... what do I do now? |
Yes you do have a getinfo template. :)
Quote:
|
[high]* Martin64 clicks install
[/high] [high]* Martin64 thinks with great hacks such as this one there's no need to create my own ones [/high] [high]* Martin64 looks at own gender hack and laughs. [/high] Thanks, nicely done. :) |
THANKS MAN! this hack is GREAT!!! :) works perfect with vb 2.2.6...
I've added another variable, $gendername which will say, instead of the image, either Undisclosed, Female or Male... I'll post it here immediatly for anyone who wants it: (:D) instead of putting this: PHP Code:
PHP Code:
example, in postbit template, search for: PHP Code:
PHP Code:
|
thanks!! great hack :)
|
you can't change the gender in the admin cp for the user!
how can I change that ? Thanks, Schorsch |
Help! Im using 2.2.7, and there doesnt seem to be this code in showthread:
PHP Code:
PHP Code:
|
I have this hack installed and I can change it under the user options in the admin cp just fine. Do you show a setting for it there?
Quote:
|
Where do you see anything about the showthread.php in the gender hack? :)
Quote:
|
does this work on 2.2.7?
|
Works like a charm on 2.2.7.
Installation was very easy...:) Thanx. [high]* Minifreunde klicks install!![/high] |
works great on 2.2.7
|
Quote:
Thanks. |
I have noticed that this hack is chopped up all over the threads so I took the liberty to compose all of the additions and update this hack. I have tested this on vB2.2.7 and it is fully functional.
All credit to the original hacker. :) I will attach the new updated file: |
Great thing, thank you!! Works fine with 2.2.8!
Two questions: 1) how do I have to modify if I want to force the users to decide if they are male or female? (i.e. no undisclosed possible) 2) how can I make this required? Same procedure like with required birthdate? Can anybody help? |
working on 2.2.9
|
Well everything went good on my 2.2.9 but I lost my edit sig option in the user profile?
|
Does this work for 2.30 because I am getting a buncha coding errors on the profile pages.
|
All times are GMT. The time now is 12:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|