The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#42
|
|||||
|
|||||
Quote:
rpg.php is to display the stats of an user, using the arg "?userid=". rpgcp.php is to display the user browsing the file ONLY. Why? Because even if you were not the same user as the user you viewed rpgcp.php for, you would get the "sell" link if he owned an item. This would either cause you to sell your own item, or create DB errors. But I have made some small fixes to avoid this sorta thing happening again, I will update the zip. Quote:
I have made a similar fix as the above file to prevent this from happening again Quote:
a) annoying 2) spamming the admins email d) all of the above And I didnt make the templates, I simply took out the obvious "non-XHTML" stuff in them, and put them in an XML file. If you know anyone/want to help me with the templates (as requested in the first post), do let me know Quote:
Quote:
I already do have one, on my localhost and I have this live on my 3.0.3 (currently down btw ), and no errors was found during my test runs. *zip updated* |
#43
|
||||
|
||||
Quote:
|
#44
|
||||
|
||||
the rpg.php, it works with the arg ?userid=1
(example) why I am sure? Because: a) in the code it says "$userid = $_GET['userid']" b) it works on all my test runs and I KNOW the rpgcp.php works because theres no $userid in that code |
#45
|
||||
|
||||
I know, I didn't say rpgcp.php has something wrong, just rpg.php
how about letting me make the template ? I know HDJ I think I can make it at least look like the old vb2 RPG hack. |
#46
|
||||
|
||||
What template do you mean?
If you mean the rpg.php's template then no because I spent ages on tweaking that file and its template to make it contain all the info the rpgcp.php contains (since I blocked people from viewing the rpgcp of anyone but themselves) |
#47
|
|||
|
|||
Ok, i'm having a bit of a problem, only a small one tho, all the rpg names are displaying as the users location as opposed to users name, is there something I am missing here? I've been through the thread 4 times now and can't find anyone else with this problem..... anyone?
EDIT: I can change the name through the admincp and it sticks, but the when the user edits it is does not change, i have tested this several times now and it keeps doing the same thing. WHen they first create it it takes on their location as their name, and then when you try to edit it after it has been changed through the user edit users function in the rpg section of the admin cp it stays with what the admin set it as, any ideas? EDIT 2: Nevermind, i know Read the f**king manual....... And yes, I actually am an IT technician, we NEVER read the manual, lol |
#48
|
|||
|
|||
I to can't get the battles to work
I request a battle, I get a PM, so does the other person, when he clicks to approve/confirm it, it says invalid password/battle But the page before DOES have the correct battle/password in the URL. |
#49
|
|||
|
|||
Quote:
|
#50
|
|||
|
|||
The fix you posted above didn't work for me
When I went to run the sql query.. ALTER TABLE `user` ADD `rpgstats` CHAR(1) NOT NULL DEFAULT '1' AFTER `limitlevel`; It came up with.. An error occurred while attempting to execute your query. The following information was returned. error number: 1054 error desc: Unknown column 'limitlevel' in 'user' And if I now try and save the updated profile/update RPG info page, it says. Database error in vBulletin 3.0.3: Invalid SQL: UPDATE user SET element='2', rpgrace='3', alignment='3', rpggender='2', rpgclass='32', rpgtype='0', limitlevel='', rpgstats='0' WHERE userid='1686' mysql error: Unknown column 'limitlevel' in 'field list' *************** Edit I just removed that fix and put the profile.php changes back that were listed in the zip file and it doesn't do it anymore But I don't then get the option in usercp to choose wether to display stats or not, which is a shame, but I still can't use the battle system |
#51
|
|||
|
|||
Quote:
I'm gettin the same here too |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|