View Full Version : Could some1 update Galaga Hack for vB 2 please?
Hi, I am about to switch from UBB to vB and my users would probably kill me if they don't have their Galaga shields anymore. As stupid as it seems it is by far the hack they like the most. Here is the code for vB (does it need ot be changed, cannot test it since I can't find where to insert it in vB 2). If the code is still good to go, where would I add it to showthread.php?
vB1.x instructions :
Open showthread.php, search for
"$userpostcount=$userinfo[posts];" and underneath it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thanks in advance :)
Come on guys, I really need this one. Pretty please :), I just don't have the php knowledge to do it myself.
I think this will work, but I would suggest testing it before releasing it to your members.
In showthread.php, find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add directly above it
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Right below this added line and above the original line you searched for, put in the code you originally posted for the hack. Then, edit the postbit template and add $rank where you want it to show up.
You can use i think the "user titles" function no?
tubedogg that gave a parse error. But at the same time you gave me enough of a clue to figger it out :)
No need to add the line you mentioned. Just change the first line of the hack to
$RankNum = $post[posts] / 10;
For full instructions download the attached zip. It also includes the images.
Demo at my test board :
Galaga Demo (http://www.tekkenzaibatsu.com/BETAvB/showthread.php?s=&postid=6#post6)
Thanks again tubedogg
Originally posted by jojo85
You can use i think the "user titles" function no?
I don't think so. This ranking is not related to user titles, user groups, etc... It changes the rank icon every ten posts unlike the star hack. For example when reaching 50 posts the previous 4 "10 icons" are converted to 1 "50 icon". When you reach 100 posts the 1 "50 icon" and 4 "10 icons" are replaced by 1 "100 icon", etc etc...
Yeah there should have been a ";" after the line I said to add. I apologize for that. :) I think it would have worked otherwise tho. :D
FreshFroot
12 Aug 2001, 10:21
Can some one tell me why I can't find this line of code in 2.0.3?
$post[joindate]=vbdate($registereddateformat,$post[joindate]);
Thanks.
It's in functions.php in the admin folder now. Instructions remain the same, just a different file
FreshFroot
12 Aug 2001, 14:39
Muchas Graicas!
dilirum
21 Aug 2001, 05:22
What exactly is this hack supposed to do?:confused:
dilirum: This hack is basically the star hack, but instead of stars, they are replaced with Galaga shields.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.