The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#17
|
|||
|
|||
Lesane, care to share how you do it for 2.0.3?
|
#18
|
||||
|
||||
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 |
#19
|
||||
|
||||
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 |
#20
|
|||
|
|||
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?? |
#21
|
|||
|
|||
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.
|
#22
|
||||
|
||||
gonna be installing this in a few
does anyone want a link to my test forums so they can check it out? |
#23
|
||||
|
||||
i just installed this on my test board...
it no workie :'( hmmm....it seems to conflict with the collapse posts thing... |
#24
|
|||
|
|||
Does this work on 2.2.1?
|
#25
|
||||
|
||||
But how can I edit the gender in the AdminCP ????
|
#26
|
||||
|
||||
If edit the my profile, there is always the default value selected. If I change an other option in the profile, my gender is set to unknown... Is there a problemsolving for that ???
|
#27
|
|||
|
|||
Hi everyone. Great hack, but i think it needs some more treatment... Hardcodeing the images is not a very usable idea, therefore, use templates.
Add 3 templates gender_male: <img src="images/male.gif" border="0"> gender_female: <img src="images/female.gif" border="0"> gender_undiscloed: <img src="images/questionmark.gif" border="0"> If you want to change this part now ever, just change these 3 templates. Now to the modifications you need to do for them to work properly with the page. IMPORTANT for the part below: Everything stays the same in the 3 files, EXCEPT $post[gender]. Justtake a good look and replace the coresponding code... it aint that hard Wherever the instructions tol you to put in this code: PHP Code:
PHP Code:
Now 2 more steps and we have it. in member.php search for PHP Code:
PHP Code:
Now change in memberlist.php the 4th line, and add there also the three templates. If you have no other hacks it could look like this: PHP Code:
Thanks for the great hack!!! |
#28
|
|||
|
|||
Toying around, i found it sucks not to be able to change the the status of the user as an admin. So i whipped out this little hack.
First, you need a whole new function in admin/adminfunctions.php Find: PHP Code:
PHP Code:
Open global.php (you can put it also in the user.php in the admin directory on the top, but i used it for other hack parts too, so i needed it global) and add to the top, after the <?php this part: PHP Code:
SAve it and close it. Open admin/user.php These are for the edit part of the users... Find: PHP Code:
PHP Code:
Find PHP Code:
PHP Code:
Find: PHP Code:
Ok, new users are set, now the edits. Search with your editor for this part: PHP Code:
You read there something like that: PHP Code:
PHP Code:
If you got questions, mail me. |
#29
|
||||
|
||||
I'm new to VB (a recent UBB convert) with my board being only 4 days old on VB, but I am having a ball installing all the hacks.
This hack here is fantastic. I want to thank Simon for his admin add-on hack to the gender hack. Just one note: when you modify the global.php file for Simon's admin hack, it is the admin/global.php file, not the root global.php file. It was a bit confusing as Simon specified the admin/ subdirectory for the other files, but not for the global.php file. The gender hack works well with the admin add-on. Well done people! |
#30
|
||||
|
||||
Quote:
|
#31
|
||||
|
||||
I put it in the postbit in the postbit section
DelusionalMind - worked fine with my expand/collapse hack maverick1236 - Do you have the expand/collapse hack installed? If so, you need to put the $genderimage twice in the postbit - once in the "plusimg" part and once in the "minusimg" part. It took me forever to figure out that was what I was doing wrong! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|