Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by apfeifer apfeifer is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-07-2001 Last Update: Never Installs: 43
 
No support by the author.

This is basically the same as the Gender Hack for the earlier version, but made to work with 2.2.0. This is all my coding, but was not originally my idea. There are three new images that I made for this, and I may make alternate ones for those because they're kinda blah. Anyway, hope you like it.

Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 06-15-2003, 05:56 AM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and here gif's 2

have fun :bunny:
Reply With Quote
  #103  
Old 08-18-2003, 10:26 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed last night and something isn't working. I'm on version 2.2.8. It must be that my insert was different than the one in the instructions. Here is the error I am getting:

Quote:
Invalid SQL: INSERT INTO user (userid,username,password,email,coppauser,homepage ,icq,aim,yahoo,signature,adminemail,showemail,invi sible,usertitle,joindate,cookieuser,daysprune,last visit,lastactivity,usergroupid,timezoneoffset,emai lnotification,receivepm,emailonpm,options,birthday ,maxposts,startofweek,ipaddress,pmpopup,referrerid ,nosessionhash,avatarid,gender) VALUES (NULL,'guest1','f93d443d830d46e8f62da123ee607c09', 'calendar@powwows.com','','0','http://www.powwows.com','','aol','yahoo','','1','1','0',' Pow Wow Visitor','1061249068','1','-1','1061249068','1061249068','3','0','1','1','0',' 15','1970-1-1','-1','1','65.87.136.80','0','0','1','0','2')
mysql error: Column count doesn't match value count at row 1
Here is the part where the insert is done in register.php:

Quote:
$DB_site->query("INSERT INTO user (userid,username,password,email".$newstylefield."p arentemail,coppauser,homepage,icq,aim,yahoo,signat ure,adminemail,showemail,invisible,usertitle,joind ate,cookieuser,daysprune,lastvisit,lastactivity,us ergroupid,timezoneoffset,emailnotification,receive pm,emailonpm,options,birthday,maxposts,startofweek ,ipaddress,pmpopup,referrerid,nosessionhash,avatar id,gender) VALUES (NULL,'".addslashes(htmlspecialchars($username))." ','".addslashes(md5($password))."','".addslashes(h tmlspecialchars($email))."',".$newstyleval."'".add slashes(htmlspecialchars($parentemail))."','$coppa user','".addslashes(htmlspecialchars($homepage))." ','".addslashes(htmlspecialchars($icq))."','".adds lashes(htmlspecialchars($aim))."','".addslashes(ht mlspecialchars($yahoo))."','".addslashes($signatur e)."','$adminemail','$showemail','$invisible','".a ddslashes($usertitle)."','".time()."','$cookieuser ','".addslashes($prunedays)."','".time()."','".tim e()."','$newusergroupid','".addslashes($timezoneof fset)."','$emailnotification','$receivepm','$email onpm','$options','".addslashes($birthday)."','".ad dslashes($umaxposts)."','".addslashes($startofweek )."','".addslashes($ipaddress)."','$pmpopup','".ad dslashes($testreferrerid['userid'])."','$nosessionhash','$avatarid','$gender')");
$userid=$DB_site->insert_id();
Thanks
Reply With Quote
  #104  
Old 09-18-2003, 11:51 AM
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Location: TX
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack work for vB 2.3.2?
Reply With Quote
  #105  
Old 11-30-2003, 02:05 AM
VirtualHogwarts VirtualHogwarts is offline
 
Join Date: Nov 2003
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install! Works like a charm. EVEN ON vB 2.3.3
Reply With Quote
  #106  
Old 12-23-2003, 08:07 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Try $userinfo[gender]
Using this instead of $post[gender] makes this mod work like a dream on 2.3.3..
Reply With Quote
  #107  
Old 01-08-2004, 10:07 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To save yourself a couple of queries in showthread.php, it may be beneficial to do the following..

Find:

Code:
	$templatesused = 'postbit_search
Scroll to the end of this line and find ';
Add BEFORE that, this:

Code:
,gender_undisclosed,gender_female,gender_male
Find:

Code:
$templatesused = 'showthread_ratingdisplay
Scroll to the end of this line and find ';
Add BEFORE that, this:

Code:
,gender_undisclosed,gender_female,gender_male
Reply With Quote
  #108  
Old 07-01-2004, 05:17 PM
brownafroduck brownafroduck is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its probably my fault anyways, but when people went to register, they couldn't. It gave a database error. However, when I went to revert to by just doing the hack in reverse, all my modifications looked correct to me. I am running a vB2.3.2.
Reply With Quote
  #109  
Old 08-01-2004, 05:24 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working on 2.3.5 by using this file

https://vborg.vbsupport.ru/showpost....7&postcount=76
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06516 seconds
  • Memory Usage 2,282KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete