![]() |
Im workin on the top 5 emcees right now.
|
ok, open up index.php, and anywhere in there, add this code:
Code:
// top5emcees Code:
<br> |
^ I keep getting a database error...
Invalid SQL: SELECT userid, username, bs_wins, bs_loses FROM user ORDER BY rank DESC LIMIT 5 mysql error: Unknown column 'rank' in 'order clause' |
oo yea lol... in your phpmyadmin, add the row "rank" to your user table.. my fault
|
Quote:
--------- Database error in vBulletin 3.0.1: Invalid SQL: UPDATE user SET bs_wins = bs_wins + 1 WHERE username = 'He's finished' mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 's finished'' at line 1 mysql error number: 1064 ---------- Seems the exact same error. If I get this runnin without any errors I will be very grateful for this hack and appreciate MindTrix sharin this with us. |
hey mindtrix, thanks for this. even though this looks like the one given to me but the 2.2 one without the quote fav line part but I might use this ONLY if its BUGS FREE
also suggested features... maybe the KO addon ( only if i know PHP then I can code a simple ... if vote result = 5-0 then add point to field 3 with feild one being win and field 2 being lose ). also maybe a battle record statistic to show all past battles and who that member battle. since this is free, I can't give out my other ideas since it might take a while to do those but both of those should be something easy to do |
Ok.... I'm having a problem if someone tries to quote a line with a ' in it. Like in he'll or we're. Somehow we need to add something in the code that will allow punctuation marks..... Here's the error:
Invalid SQL: INSERT INTO vb3_battlesys_favlines VALUES ('', 'Ask 5 minute HH, I bet he'll agree', 'Storm', '38') mysql error: You have an error in your SQL syntax near 'll agree', 'Storm', '38')' at line 1 mysql error number: 1064 I'll try and find this but I'm just learning this stuff so my chances aren't good...... :D |
btw..... This is in the modification to the file "newreply.php"
|
i dont think they are supporting it anymore ????
shame this could have been a great hack |
No doubt a shame..... My users are going crazy for it but I'm gonna have to uninstall it... And my site isn't even a music site... lol
|
All times are GMT. The time now is 06:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|