The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Quite simply, if you have a donation system on your forums, you may wish to have a way of having donating members stand out from the freeloaders
This hack will place text/icon/whatever you choose both within their profile and on their posts, in a spot of your choosing. Administrators set whether a user is a contributor within the Admin control panel. Please remember to backup your database first!! This is a very simple hack including just a couple of file and template edits, and two new templates. The new templates and database changes are made by the included install file. See this thread for screenshots If there are any problems, please post below... Mark Show Your Support
|
Comments |
#112
|
|||
|
|||
darn..i just tried to install this on 2.2.8 and it doesnt' work. it does show up in the profile but not when i view the threads.
was there a solution to this? thanks, |
#113
|
||||
|
||||
I'm a bit confused if this works or not on 2.2.8. I wish someone would re-release this hack with the fixes that people came up with...
|
#114
|
|||
|
|||
I have this installed on my 2.2.8 and it works without any bugs...
|
#115
|
||||
|
||||
This I want one of two of it please.. installing soon thnx
|
#116
|
|||
|
|||
hey Tha Rock,
you got it to work? man. i guess i'll go and try it again. also, someone mentioned it earlier..but in one of the changes, birthday is missing a $ in front of it. make sure you make that change. thnks - testing it out again! |
#117
|
|||
|
|||
I think people with newer versions of vB and people who have hacks installed which use templates will find this hack will need some work to get installed. Some of the lines you search for are for the 2.2.2 standard vB files, the code has changed 6 versions down the line and those with hacks will have further modified their code. You have to search for maybe the first few words of a line and then insert changes directly into the code instead of an easy simple supercool copy and paste
Like it's said: For the good things in life you must work The thing is, the work you have to do for this hack is minimal, it takes what, an extra 2 minutes to do the hack if you suffer from having a later version and/or have modified code already |
#118
|
|||
|
|||
for newbies like me,
what exact changes did you make? would you mind posting what was different? thanks! |
#119
|
|||
|
|||
There were mostly things that would apply to individual's code...
but for example, in admin/user.php, the these two steps will have been modified a few times already by other hacks and you might not find them straight off: ## FIND: $DB_site->query("INSERT INTO user (userid,usergroupid,username,password,email,stylei d,parentemail,coppauser,homepa ge,icq,aim,yahoo,signature,adminemail,showemail,in visible,usertitle,customtitle, joindate,cookieuser,daysprune,lastvisit,lastactivi ty,lastpost,posts,timezoneoffs et,emailnotification,receivepm,emailonpm,ipaddress ,pmpopup,options,birthday) VALUES (NULL,'$usergroupid','".addslashes(htmlspecialchar s($ausername))."','".addslashe s(md5($apassword))."','".addslashes(htmlspecialcha rs($email))."','$userstyleid', '".addslashes(htmlspecialchars($parentemail))."',' $coppauser','".addslashes(html specialchars($homepage))."','".addslashes(htmlspec ialchars($icq))."','".addslash es(htmlspecialchars($aim))."','".addslashes(htmlsp ecialchars($yahoo))."','".adds lashes($signature)."','$adminemail','$showemail',' $invisible','".addslashes($use rtitle)."','$customtitle',$joindate,'$cookieuser', '$daysprune',$lastvisit,$lasta ctivity,$lastpost,'$posts','$timezoneoffset','$ema ilnotification','$receivepm',' $emailonpm','".addslashes($aipaddress)."','$pmpopu p','$options','birthday')"); ## REPLACE WITH: $DB_site->query("INSERT INTO user (userid,usergroupid,username,password,email,stylei d,parentemail,coppauser,homepa ge,icq,aim,yahoo,signature,adminemail,showemail,in visible,usertitle,customtitle, joindate,cookieuser,daysprune,lastvisit,lastactivi ty,lastpost,posts,timezoneoffs et,emailnotification,receivepm,emailonpm,ipaddress ,donator,pmpopup,options,birth day) VALUES (NULL,'$usergroupid','".addslashes(htmlspecialchar s($ausername))."','".addslashe s(md5($apassword))."','".addslashes(htmlspecialcha rs($email))."','$userstyleid', '".addslashes(htmlspecialchars($parentemail))."',' $coppauser','".addslashes(html specialchars($homepage))."','".addslashes(htmlspec ialchars($icq))."','".addslash es(htmlspecialchars($aim))."','".addslashes(htmlsp ecialchars($yahoo))."','".adds lashes($signature)."','$adminemail','$showemail',' $invisible','".addslashes($use rtitle)."','$customtitle',$joindate,'$cookieuser', '$daysprune',$lastvisit,$lasta ctivity,$lastpost,'$posts','$timezoneoffset','$ema ilnotification','$receivepm',' $emailonpm','".addslashes($aipaddress)."','$donati on','$pmpopup','$options','bir thday')"); ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ## FIND: (around line 344) $DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".a ddslashes(htmlspecialchars($ausername))."'$pwdincl ude,email='".addslashes(htmlsp ecialchars($email))."',styleid='$userstyleid',pare ntemail='".addslashes(htmlspec ialchars($parentemail))."',coppauser=$coppauser,ho mepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspeci alchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))." ',signature='".addslashes($signature)."',adminemai l=$adminemail,showemail=$showe mail,invisible=$invisible,usertitle='".addslashes( $usertitle)."',customtitle=$cu stomtitle,joindate=$joindate,cookieuser=$cookieuse r,nosessionhash=$nosessionhash ,daysprune='$daysprune',lastvisit=$lastvisit,lasta ctivity=$lastactivity,lastpost =$lastpost,posts='$posts',timezoneoffset='$timezon eoffset',emailnotification=$em ailnotification,receivepm='$receivepm',emailonpm=' $emailonpm',ipaddress='".addsl ashes($aipaddress)."',pmpopup=IF(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid"); ## REPLACE WITH: $DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".a ddslashes(htmlspecialchars($ausername))."'$pwdincl ude,email='".addslashes(htmlsp ecialchars($email))."',styleid='$userstyleid',pare ntemail='".addslashes(htmlspec ialchars($parentemail))."',coppauser=$coppauser,ho mepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspeci alchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))." ',signature='".addslashes($signature)."',adminemai l=$adminemail,showemail=$showe mail,invisible=$invisible,usertitle='".addslashes( $usertitle)."',customtitle=$cu stomtitle,joindate=$joindate,cookieuser=$cookieuse r,nosessionhash=$nosessionhash ,daysprune='$daysprune',lastvisit=$lastvisit,lasta ctivity=$lastactivity,lastpost =$lastpost,posts='$posts',timezoneoffset='$timezon eoffset',emailnotification=$em ailnotification,receivepm='$receivepm',emailonpm=' $emailonpm',ipaddress='".addsl ashes($aipaddress)."',donator='$donation',pmpopup= IF(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid"); |
#120
|
|||
|
|||
weird. i made the following changes and still no luck. i guess i'll start from scratch again. this is the first hack for the board so it's not like it's conflicting with other hacks.
i do get the 'contributor' to show up in the profile but just not in the threads. hmm. |
#121
|
|||
|
|||
Did you edit your postbit template...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|