vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Gender Hack for vB 2.2.0 (https://vborg.vbsupport.ru/showthread.php?t=32241)

apfeifer 11-12-2001 01:58 PM

Whoops...yeah, the one in the Postbit section. I'm amazed you're the first person to notice that! Sorry about that!:)

The Realist 11-12-2001 02:24 PM

I left the below section out and the hack is working fine here on 2.2.0 but I used the old gifs from the original version.


:D


Quote:

Originally posted by The Realist
trying to Install this hack but when it comes to:

### Go to Templates -> Modify -> [expand list] -> Member List Templates [expand] -> postbit


There is NO postbit.

The only postbit is in the postbit section templates.

Anyhelp?

Installing on 2.2.0

:)


Lesane 11-12-2001 02:53 PM

I dont think it works in version 2.0.3 because in the replacing by register.php it says in your find tag on the end "$avatarid" and the register.php of 2.0.3 dont have that. :(

Alien 11-12-2001 05:40 PM

Works great, thanks a bunch for this update! :D

Now I have to find some images.

Lesane 11-14-2001 02:19 PM

I did some little modifications and it works perfect now on 2.0.3, thnx for the hack

BluSmurf 11-15-2001 09:28 AM

Lesane, care to share how you do it for 2.0.3? :)

Lesane 11-15-2001 01:48 PM

Sure, no problem.

Its all the same except the part in register.php. The find and replace part contains "$avatarid", version 2.0.3 dont have that in the register.php.

So when it asks 2 replace the part in register.php do this:

$DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield." parentemail,coppauser,homepage,icq,aim,yahoo,signa ture,adminemail,showemail,invisible,usertitle,join date,cookieuser,daysprune,lastvisit,lastactivity,u sergroupid,timezoneoffset,emailnotification,receiv epm,emailonpm,options,birthday,maxposts,startofwee k,ipaddress,pmpopup,referrerid,nosessionhash,gende r) 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','$gender')");

Good luck ;)

nafae 11-21-2001 01:46 AM

hrm i cant find the postbit stuff, i went under "postbit templates-postbit and didnt find
$userinfo[username]</a></normalfont>" am i looking in the wrong place? i am using 2.2.1

maverick1236 11-21-2001 08:45 PM

ok i dont know how many times i need to say this for someone to actually notice...

the image WILL NOT SHOW IN POSTBIT-but it shows everywhere else

can ANYONE fix this??

212rikanmofo 12-03-2001 05:18 AM

is anyone else getting the same problem? it shows up as a ? for all my users no matter where i am, weird, help me, wut am i doing wrong.


All times are GMT. The time now is 02:42 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
  • Page Generation 0.01088 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)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
  • (10)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