The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#377
|
||||
|
||||
Quote:
PHP Code:
|
#378
|
|||
|
|||
Find:
$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'"); } CHANGE it to: // Zajako's Rpg hack pay per post $rpgadmin = $DB_site->query_first("SELECT * FROM rpgmoneyadmin"); $payme=$rpgadmin[newthread]; $DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."',rpgmoney=rpgmoney +'$payme' WHERE userid='$bbuserinfo[userid]'"); } // end zajako's rpg hack pay per post |
#379
|
|||
|
|||
I need a slight bit of help on the index.php.
I installed this hack way back at ver 2.0.0. It worked fine until I hada hacker crash my database for me. :ermm: Anyway I'v installed updates up to 2.0.3, and ran the forum for quite a while without stars, although the old stars.php, and my star graphics where in place. (also the database tables were still ok.) I recently upgraded to 2.3.0, and decided to try this again. I did the upgrade, and ther were some slight changes, but I got it working great. The only problem I have is I made the new stars catigory in the index.php, but since it's change so much I can't figure out how to get the "add" & "modify" catigories under the header. I uploaded the new stars.php, and if I go directly to it, everything is in place. I just would like to get to it through the admin cp. Thanks This is still a great hack. :banana: I stuck this in the index ???? Code:
//<!-- Stars Hack --> maketableheader("User Stars"); makenavoption("Modify","stars.php?action=add","|"); makenavoption("Modify","stars.php?action=modify"); //<!-- Stars Hack End --> |
#380
|
|||
|
|||
eh
nevermind I forgot I save this text file... Got it working. :banana: Code:
//Stars Hack makenavoption("Add","stars.php?action=add","<br>"); makenavoption("Modify","stars.php?action=modify","<br>"); makenavselect("User Stars"); //End Stars Hack Thanks Tubedogg and damicatz. |
#381
|
|||
|
|||
Hi all
I am really getting down with this hack, I went by the instructions and have changed all the files and used the modified code but then I started getting errors. First was my registration, I could not see a way out so I replaced my hacked registration page with the original one. All seems ok and no difference to the hack.....or will it? Now I just tried to modify a user group and I am getting ' Parse error: parse error, unexpected $ in /home/virtual/site76/fst/var/www/html/forum/admin/usergroup.php on line 308' I did everything by the book, btw is there a copy of the stars.txt file that I can download so I can have another go and editing the files, the only information was in the installation file which I cant read again without wiping my tables. Please someone, I am in urgent need of some help, thank you. |
#382
|
|||
|
|||
floridaideal,
I'll see if I can help. First, what vB ver are you using. |
#383
|
|||
|
|||
Thank you very much catocom2
I am running version 2.2.8, the hack seems to still be working ok on my forum but the usergroups and registration didnt work, so I replaced both files with the original files and it seems to work but still not happy about doing that, would rather edit the files to work properly. Does anyone please have the stars txt file so I can check over the files again please? Thanks Stuart |
#384
|
|||
|
|||
Here's the install file that I just quick converted for you to html.
It's not pretty, but I think you can read it enough to get the info that you need. |
#385
|
|||
|
|||
Thanks Catocom2
Thats great, but I just edited usergroups again and still getting this error : Parse error: parse error, unexpected $ in /home/virtual/site76/fst/var/www/html/forum/admin/usergroup.php on line 239 Just attached my usergroups file, can you please take a look? Thank you again Stuart |
#386
|
|||
|
|||
There may be another place, and I not sure of the differences
in 2.2.8 and 2.3.0, but.. on line 178 (i think) you might need to add the attachment thing. where this is.. (close to the end of the line) PHP Code:
PHP Code:
Where ever you are supposed to change that long line you need to make that change. |
#387
|
|||
|
|||
Thanks again for all your help Catocom2 but unfortunitly that didnt work either
Got this error Parse error: parse error, unexpected $ in /home/virtual/site76/fst/var/www/html/forum/admin/usergroup.php on line 239 It wont let me Add | Modify any Usergroups Its just something out, can't be too much, just can't work it out, spend the last hour looking over it. Have attached the file again for all those clever VB'ers out there. Thanks you. |
#388
|
|||
|
|||
I have a problem!
I installed this hack, and did all the changes! Now when I click Add and fill in all the info and then click submit I get a blank screen. What did I do wrong? P.S I am not to good with php, but I am trying |
#389
|
|||
|
|||
This is what I am getting!
The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. -------------------------------------------------------------------------------- Please try the following: If you typed the page address in the Address bar, make sure that it is spelled correctly. |
#390
|
||||
|
||||
i installed this and it works perfectly fine. my only problem is that i set admins to 6 start (custom color) and mods to 5 stars (red) and it either shows 2 yellow stars or none at all.
my regular posters get the correct amount of stars based on posts but admins / mods only get 2 yellow stars |
#391
|
||||
|
||||
btw, i temporarily changed the amount of stars admins / mods get by editing my users table in my database until someone helps me
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|