PDA

View Full Version : Rap Battle System -=RBS=-


Pages : [1] 2

MindTrix
08-08-2004, 10:00 PM
Ladys and Gentlemen, i give you, The Rap Battle System -=RBS=-


Many people have been requesting this so here it is. Took along time so im hoping it becomes a popular hack :nervous:



Features

Hmmm there are a few. Select the forum which the battle hack works in via the admin cp
Can edit a users win/loss record via the admincp aswell.

When someone wins a battle it automatically adds it to their win count and the opposite if they lose ;)

The thread does not auto close because in my many years of experience people like to post/argue on after a battle is won or lost.

Erm oh and you submit your favourite line from the battle and it will get added to a database, then lines are randomly shown on the forum homepage.

Check the installation.txt for the full list, Also there is loads more features to come. Hopefully some people will release some addons maybe :)

Screenshot time wohoo

Oh yeah, the install button is your friend ;)


Attachment edited/upgraded on 15th August 2004 had 87 views woot :)
Edited attachment on 15/1/2005 to stop all polls closing after one vote. Fix submitted by KingPooky!

Ryan McBain
08-09-2004, 05:24 PM
Ummm are you an angel??? :)

MindTrix
08-09-2004, 05:26 PM
Nope just over generous ;) Note this is basic stuff though, more is going to be added over time which is why the install button is your friend if you want to find out about it when its added ;)

Ryan McBain
08-09-2004, 05:33 PM
Well, I will most definately install this later on today. I was wondering if it is possiable to have your record broken up between audio battles and keystyle battles

MindTrix
08-09-2004, 05:35 PM
not just yet sorry, but its in line with a list of other things :)

Troak
08-09-2004, 05:40 PM
Good Job. I'm most likely going to install it later. Thank you

Preech
08-09-2004, 05:48 PM
For a hundred dollars Ryan. The one I have can do that for you plus more. But none the less great accomplishment.

platnum
08-09-2004, 06:14 PM
Nice :D

I have a small question.. Is it possible to enable the RBS for just one forum?

Like my site isn't built for battling and such.. But I do have one forum for people who like to battle. Would it be possible to just enable it for that one forum?

MindTrix
08-09-2004, 06:16 PM
yes in the admin cp you can set it for which forum you wish for it to appear in.

platnum
08-09-2004, 06:17 PM
LMAO - I just took another peak at the 1st screen shot.. Ahahaha, sorry about that.

I will install this after I get done the uCS :D


Very nice bro!!!!!!!!!!!!!!

MindTrix
08-09-2004, 06:21 PM
No probs, thanks for the comments

Ben`
08-09-2004, 06:29 PM
looks good mindtrix maybe we should work together and make a super rap battle system :)

MindTrix
08-09-2004, 06:47 PM
Or you could just release addons for this one :p lol

gyutae
08-09-2004, 07:13 PM
very nice! i plan on using this for drum battles

pjdaley
08-09-2004, 07:29 PM
you have officially turned into a vB God (and the helpers of course). dude... it looks so sexy... and the first for vB3 eh? good job.... clicks install pronto

reteep
08-09-2004, 07:45 PM
Very nice idea. I'm just wondering how much work it'd be to make this available as instrumental battle, too. So instead of a shoutbox there's just a little input window for tabbed instrumental parts and a link to a mp3 file (attachement). Before I look deeper into it, you think it'd be much work?

Afterall great hack, clicked install even if I'm not really a rapper ;)

Jmonto
08-09-2004, 08:54 PM
so this only works if people vote on the battle via a poll like system?

MindTrix
08-09-2004, 11:41 PM
Stormblast -- Its 1:40am here so im tired lol and i cant fully understand what your intending to do, but it sounds interesting.

Jmonto-- When people make the battle, it uses the poll system yes, and once someone reaches the set amount of votes to win, they get made the winner and it updates their win/loss stats in their postbit

alkatraz
08-10-2004, 01:11 AM
wow sweet hack, which I had a use for it. =) I'll think of something

SnowBot
08-10-2004, 02:04 AM
How would you increase the number of votes to select?

Logik
08-10-2004, 02:28 AM
Unable to add cookies, header already sent.
File: /home/logik/public_html/forum/includes/functions_forumdisplay.php
Line: 175

i get this error trying to go to a forum

zajako
08-10-2004, 02:54 AM
glad you made it, had like 12 people request me to make one, just i never had time.....

Robby11929
08-10-2004, 03:32 AM
great great hack, thank you... INSTALL

MindTrix
08-10-2004, 08:03 AM
How would you increase the number of votes to select?How do you mean? So far i believe the max you can have is 5 votes to win.

MindTrix
08-10-2004, 08:06 AM
Unable to add cookies, header already sent.
File: /home/logik/public_html/forum/includes/functions_forumdisplay.php
Line: 175

i get this error trying to go to a forum
Go to your functions_forumdisplay.php and make sure there is no white spaces after the ?> tag at teh bottom and before the <?php tag at the top.

I dont believe this error is due to this hack though

MindTrix
08-10-2004, 08:07 AM
glad you made it, had like 12 people request me to make one, just i never had time.....
Yeah i saw it requested live, so blah here it is, so far its just the basics to keep people happy, but im working on add ons which will be constantly released HOPEFULLY!!!

reteep
08-10-2004, 08:31 AM
Stormblast -- Its 1:40am here so im tired lol and i cant fully understand what your intending to do, but it sounds interesting.

Imagine there's no battle based on words but on Instruments/Beats. So in fact without lyrics. Therefore we'd need something like an input field for attachements or something.

Logik
08-10-2004, 09:49 AM
same error, it only does it to the forum i make the battle hack enabled on...

MindTrix
08-10-2004, 12:36 PM
Thats odd ive never got the error :s Hmmm

Ben`
08-10-2004, 06:09 PM
Or you could just release addons for this one :p lol

ive already made the hack tho ill have a look at yours and look at doing the top 10 with your one/bet intergration one thing i wanna do is allow small wav/mp3 files 2 be uploaded by each commeditour :P

Ryan McBain
08-10-2004, 06:17 PM
ive already made the hack tho ill have a look at yours and look at doing the top 10 with your one/bet intergration one thing i wanna do is allow small wav/mp3 files 2 be uploaded by each commeditour :P

You said you were going to post screen shots of yours and you never did...

Ben`
08-10-2004, 06:20 PM
i still plan 2 im currently on a work trip working on the movie king kong :) as soon as im bak very soon i will

SnowBot
08-10-2004, 07:28 PM
How do you mean? So far i believe the max you can have is 5 votes to win. for a large board thats not enough. How can we set it to a MAX number of say 100 ?

Logik
08-10-2004, 09:20 PM
wow, 100 votes? thats rediculous

Dean C
08-10-2004, 09:26 PM
i still plan 2 im currently on a work trip working on the movie king kong :) as soon as im bak very soon i will

Wow aren't you lucky ;) Tell Peter Jackson I love him!

LilPimp
08-10-2004, 09:28 PM
Wow. MindTrix this is a huge accomplishment. I think this will be another huge hack. Nice of you to share this and not just keep it for your site. Nice stuff man.

Logik
08-10-2004, 09:43 PM
Hey, how come in the newreply, and i add a fav line, it doesnt add to the database...hm?

dndog
08-10-2004, 09:48 PM
What is this hack? Sorry if I seem ignorant, but I can't quite place what it does.

Thanks.

Durtay
08-10-2004, 11:02 PM
Hey, how come in the newreply, and i add a fav line, it doesnt add to the database...hm?
works fine for me :laugh:

What is this hack? Sorry if I seem ignorant, but I can't quite place what it does.

Thanks.
First this is a battle hack for hip-hop/rap forums. It allows a specified forum setup battles (name vs. name) and creates the battlers' names in a poll. They then can create their links/text posts of their battles and have users vote on the battles. The system keeps track of the battler's wins and losses.


Also, my forum's coding team is working on add-ons, but don't know if they'll be released or used for our personal use, but i'll keep you posted.

Logik
08-10-2004, 11:20 PM
Damnit...It doesnt add to the database for me. any help??

Durtay
08-11-2004, 01:52 AM
Damnit...It doesnt add to the database for me. any help??
I'd help and all, but you still owe me $25

Logik
08-11-2004, 02:07 AM
LMFAO...wow, u follow me.. Sad isnt it?

Logik
08-11-2004, 03:56 AM
Bug: when u update one record in the user.php in admin cp, it updates all the records...and also it doesnt add the faveline to the database....

Liquid1ce
08-11-2004, 04:04 AM
lol its just a modded poll no ? -

maybe there should be a option where the new user signs up to be a battler if he is then he gets the stats if not nothing

Liquid1ce
08-11-2004, 05:41 AM
this is a addon why in major hacks forum lol

MindTrix
08-11-2004, 10:12 AM
Wow some people are quick to hate arent they ;)

Every hack released is an add on because it edits/uses something in vb so what is your point? If you look at most rap battle hacks out there they also use the default poll for the battles, so why moan when you arent paying for this? If you want something that dont then go pay couple of hundred dollars for someone else to make you one.

MindTrix
08-11-2004, 10:16 AM
Bug: when u update one record in the user.php in admin cp, it updates all the records...and also it doesnt add the faveline to the database....
The favourite lines DEFINETLY works i have it on my forum and some others so re-check the php edit and make sure the database query ran ok.

As for the user situation yes your correct, sorry about that.

In admincp/user.php find



//RBS
if ( $bs_wins AND $bs_loses ) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET bs_wins = '".$bs_wins."', bs_loses = '".$bs_loses."'");
}
//RBS



and replace with


//RBS
if ( $bs_wins AND $bs_loses ) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET bs_wins = '".$bs_wins."', bs_loses = '".$bs_loses."' WHERE userid = '".$userid."'");

}
//RBS



That should sort it, sorry about that.

Logik
08-11-2004, 07:24 PM
What PHP edit is it that i need to check for the fav line?

MindTrix
08-11-2004, 07:27 PM
would be this piece




*****************
Open NEWREPLY.PHP
*****************

Find
-----------------------------------------------
$newpost['stickunstick'] = $_POST['stickunstick'];
$newpost['openclose'] = $_POST['openclose'];
-----------------------------------------------
After add
-----------------------------------------------
//RBS
$newpost['favouriteline'] = $_POST['favouriteline'];
if ( $newpost['favouriteline'] )
{
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "battlesys_favlines VALUES ('', '".$newpost['favouriteline']."', '".$bbuserinfo['username']."', '".$foruminfo['forumid']."')");
$newpost['message'] .= "Favourite Line:
".$newpost['favouriteline']."";
}
//RBS

Logik
08-11-2004, 07:29 PM
ok i will check that ina minute. When will the update come out? Like the top 10. I tried addin it, but i wasnt successful lol.

Logik
08-11-2004, 07:37 PM
ok all problems solved.. Thanks :)

MindTrix
08-11-2004, 07:37 PM
Why wasnt it succesfull?? Well erm its 9:30pm here andi gotta be up for work at ooooo 12am cause i work night shifts, errm i was coding a new hack earlier, so i might either carry that on tomorrow or work on some add ons for this. What would you want on the top 10 page? All i can think of is Top ten battles, which would go by reply rate or something, erm top ten viewed, top 10 emcees, Most recent made battle.... what else?

MindTrix
08-11-2004, 07:38 PM
What went wrong? Did you not put the code in the right place or something?

Logik
08-11-2004, 07:41 PM
No, i accidently replaced it with something else, i donno lol. I was tired. But uhm, them top 10 stats sound dope man... Thats all i can think of. That'd be nice if u could code that up, or give me the appropriate queries...Because i tried and i didnt do it lol.. all i get as an output is "array"

MindTrix
08-11-2004, 07:42 PM
I'll look into it 2morro i guess. I hate html ;) Right now im off 2 bed lol. Glad you fixed the problem, And glad the problem was not a bug :) Let me know when you forums are up ;) I been checking for about 2 or 3 days now :p

Logik
08-11-2004, 07:44 PM
iight :)... Will do.

Battle_Ring
08-12-2004, 01:52 AM
IS There A Way To Change The Word Poll: To battles For The Battles Only And Not All Polls???
And Your Missing KO's....if that would be possible to add, Top 10 sounds nice...

MindTrix
08-12-2004, 07:37 AM
Im not missing KO's, i just didnt add it ;) Should be a way to change it with an IF statement i would have guessed, ill try and look later.

DougCooper
08-12-2004, 02:09 PM
Great work Trix ! two comments :

1: I agree it would be better to choose enter a battle instead of having a default 0-Wins beside your name if you arn't a battler.

2: Need ability to add audio, so the board mods can start a battle by uploading an instrumental, and then any battles can enter, upload there vocal version on the MP3, and therefore automatically be added to the poll and battle.

But anyway, good on you for getting the ball rolling ! UK all the way !

Battle_Ring
08-12-2004, 03:04 PM
Also, is there a way to add this to more than one forum????

And can i change the word Poll: to Battle: when its a battle?

RMS-Chef
08-12-2004, 05:09 PM
First, thanks for you work. I always appreciate anyone putting their valuable time into hacks.

I am interested in this, but for Image/PhotoShop Battles rather than rap/text.
There are a few things that are holding me back from an install though. Things I think would make this better:

1. Ability for group only to start battles, and hence the first person in the "first vs. second" also be editable and not always who is creating the battle. I was thinking something like having "referees" (basically mod group with battle admin powers) to set up battles and finalize. I realize that forum permissions could handle this with "can post new threads" but I don't think a 3rd person can set up a battle between 2 others.

2. Having a set amount of votes to win, I just don't think that is the best way to handle it and I believe this is the biggest shortcoming. It needs to have the ability to accept and tally votes until a mod/admin/ref closes the poll/battle, then the winner be determined.

3. Some way (maybe a pop-up memberlist) to make sure you are putting someone's correct username or maybe the option to use ID's instead? On a gaming ladder that I own, our webmaster has it so users can login with either name or ID so I am sure it could be done.

What happens if you set up a battle and use a non-existent username? When I tried, it let me with no errors.

Thanks again for the hack and I will follow diligently to see development.

MindTrix
08-12-2004, 05:19 PM
Thank you for letting me know about battling someone with no username etc, will get onto that.

Umm as for the set amount of votes to win. As this is aimed at rap board, 99% of the time this is how battles are set out, a set amount of votes are determined and then the battle commences. The winner beeing the person to get the votes etc.



Erm that first thing you suggested sounded big and confusing to me :) Nice idea though.

The memberlist thing, yeah i see what you mean. Will have to find something i guess.

Thank you for the comments/suggestions

Logik
08-12-2004, 05:19 PM
I have added the "Newest 3 Battles" to the forum home. Thanks to some coding i found around here. (no codes was stolen, i just got the "while" idea from another hack!)...Its up to Mindtrix if i can release the addon..

MindTrix
08-12-2004, 05:23 PM
Hopefully some people will release some addons maybe :)


Would appreciate it if you did mate ;)

LostStyles
08-12-2004, 05:45 PM
do they have this for vb2?

MindTrix
08-12-2004, 06:16 PM
Some people have rap battle hacks for vB2 for sale, but none were ever released for free like this one

Liquid1ce
08-12-2004, 06:42 PM
Is there a way to change so it says Battle: not poll for each battle

Durtay
08-12-2004, 06:58 PM
Addon's I suggest (which we're already workin on at my forum):

1) KO Voting... this is pretty simple you just query all votes on one battle, and sort them by vote date... assign each a floating value... then the set amount for a KO (usually 3) would be: if vote 2 == vote 1 and vote 3 == vote 1 (if KO = 4 then it'd be if vote 2 == vote 1 and vote 3 == vote 1 and vote 4 == vote 1... etc)... and then put it into the user's database as a win and KO and lock the poll

another addon... polls always have cheaters (there's ways around IP Addresses to vote more than once), so to keep some cheaters out:

2) Cannot vote on polls (in battle forum) if less than 'x' amount of days registered or has less than 'x' amount of posts... again another easy hack

those are just two of the small hacks we're creating at STR Forums... just some idea's that others might want.

EDIT: also MindTrix what I suggest you do to change the coding is make it that the user creating the battle has to put in their opponent's forum ID number, that way there will be no confussion or mistakes when assigning win/loss values.

Logik
08-12-2004, 11:06 PM
Look for:
// get permissions to view forumhome
if (!($permissions['forumpermissions'] & CANVIEW))
{
print_no_permission();
}


And Below it add:

// 3 Newest Battles
$logik = $DB_site->query("SELECT replycount,title,threadid,lastpost,postusername,la stposter,views FROM thread WHERE forumid='X' ORDER BY lastpost DESC LIMIT 3");
while ($logiktop = mysql_fetch_array($logik)):
++$logiktopnbsp;
$logikthread .= "<a href=showthread.php?s=$session[sessionhash]&threadid=$logiktop[threadid]>$logiktop[title]</a>&nbsp;<a href=showthread.php?s=$session[sessionhash]&goto=newpost&threadid=$logiktop[threadid]&goto=lastpost><font size=1><b>[View Unread]</b></font></a><br>";


endwhile;

change X to the forum number
And then in your ForumHome template look for:

$navbar


Now after that, add this:

<br>
<if condition="$bbuserinfo['userid']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" width="100%" valign="top">
<normalfont><b>Newest 3 Battles</b></normalfont></td>
</tr>
<tr><td>
$logikthread</td>
</tr>
</table>
</if>
<br>


Any problems, let me know.

Liquid1ce
08-13-2004, 01:22 AM
@logik
what files to edit? newthread?

Logik
08-13-2004, 01:22 AM
index.php, sorry..

RMS-Chef
08-13-2004, 01:26 AM
Erm that first thing you suggested sounded big and confusing to me Nice idea though.Maybe I was complicating things. :)
Basicly, just make it so both Avs.B are open fields so that the person making the post does not have to participate in the battle.

I can already assign a battle forum and just allow my mods/admins to create new posts. But I would like to maintain control and have mods set up the battles between two other users.

So basicly, an quick work around would be.... Is there any way when creating a new battle to have a third user set up the battle between two other users?

Battle_Ring
08-13-2004, 02:02 AM
Logik, Can We Get A Screenshot?

Battle_Ring
08-13-2004, 02:04 AM
also, one problem i see, i have the store hack, when u post in the forum where the hack is, points do not go up

and you can vote for yourself....

and is there anyway possible to add this to more than one forum?

C.Birch
08-13-2004, 08:43 AM
its killing everyday poll's for me

when voteing on a everyday poll you get the error screen, but your vote goes on the poll but it closes the poll.

error:

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE user SET bs_wins = bs_wins + 1 WHERE username = 'Who's David?'
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 David?'' at line 1

mysql error number: 1064

Date: Friday 13th of August 2004 10:23:25 AM
Script: http://community.ultimate-music.net/poll.php
Referer: http://community.ultimate-music.net/showthread.php?p=106257&posted=1
Username: CarlBirch
IP Address: 217.43.193.87

i have removed the edit from poll.php for now.

Liquid1ce
08-13-2004, 09:02 AM
lol im waiting on the guy who says he got one for $100

MindTrix
08-13-2004, 10:39 AM
Well, ive thought about it, and ill post bug fixes etc but ive decided not to bother with everything else. This was something everyone wanted, so a newbie tried it out and everyone moans ;) So as far as im concerned now if you dont like it, then go and spend your $100 or $200 or whatever to have one made for you.

Cant expect greatness for free so as i said, ill post bug fixes etc but thats it.

Battle_Ring
08-13-2004, 02:22 PM
Oh Im appreciative....im just trying to let u know the problems, so u can fix them if you would like...

LostStyles
08-13-2004, 03:09 PM
ye it is very nice of u, i would go to vb3 just to have it but vb3 offers real bad skins and it has a bad layout, do u think maybe u can make this vb2?

Logik
08-13-2004, 07:15 PM
No screen shot needed, it just shows newest 3 battles.

Logik
08-13-2004, 07:16 PM
Im workin on the top 5 emcees right now.

Logik
08-13-2004, 07:18 PM
ok, open up index.php, and anywhere in there, add this code:

// top5emcees
$best = $DB_site->query("SELECT userid, username, bs_wins, bs_loses FROM user ORDER BY rank DESC LIMIT 5");
while ($besttop = mysql_fetch_array($best)):
++$besttopnbsp;
$count=$count+1;
$rat = ($besttop[bs_wins] * 3) - ($besttop[bs_loses]);

$ranking = $DB_site->query_first("SELECT rank FROM user WHERE username= '".$bbuserinfo[username]."'");
$ratio .="$rat<br>";
$bestbattler .= "$count <a href=http://www.flowsession.net/forum/member.php?u=$besttop[userid]>$besttop[username]</a> ($besttop[bs_wins]/$besttop[bs_loses])<br>";

$DB_site->query("UPDATE user SET rank = $rat WHERE username = '".$bbuserinfo[username]."'");

endwhile;


Go to your templates, and whereever u want it to show up, add:

<br>
<if condition="$bbuserinfo['userid']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" width="100%" valign="top">
<normalfont><b>Top 5 Emcees</b></normalfont></td>
</tr>
<tr><td>
$bestbattler</td>

</tr>
</table>
</if>
<br>


I believe thats it.. That shows the ranking, name, and battle. It sorts by ranking.. ( i used a simple formula for ranking). Im havin trouble gettin the rankin in the postbit, it doesnt show up for some reason.. so ifa nyone wants to help with that, then feel free.

Battle_Ring
08-13-2004, 10:51 PM
^ 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'

Logik
08-13-2004, 11:30 PM
oo yea lol... in your phpmyadmin, add the row "rank" to your user table.. my fault

str8ballin
08-15-2004, 12:38 AM
its killing everyday poll's for me

when voteing on a everyday poll you get the error screen, but your vote goes on the poll but it closes the poll.

error:

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE user SET bs_wins = bs_wins + 1 WHERE username = 'Who's David?'
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 David?'' at line 1

mysql error number: 1064

Date: Friday 13th of August 2004 10:23:25 AM
Script: http://community.ultimate-music.net/poll.php
Referer: http://community.ultimate-music.net/showthread.php?p=106257&posted=1
Username: CarlBirch
IP Address: 217.43.193.87

i have removed the edit from poll.php for now.

I too am experiencing this error, I get

---------
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.

influence
08-15-2004, 03:12 PM
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

Romeos Tune
08-16-2004, 02:19 AM
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

Romeos Tune
08-16-2004, 02:23 AM
btw..... This is in the modification to the file "newreply.php"

Liquid1ce
08-17-2004, 01:48 AM
i dont think they are supporting it anymore ????

shame this could have been a great hack

Romeos Tune
08-17-2004, 04:00 AM
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

MindTrix
08-17-2004, 07:54 AM
I dont think i clicked the thing to say that i was giving support for the hack ;) At the moment im swamped with work and other things, but i will post bug fixes as soon as i can get the time to fix them. Sorry. Should be soon hopefully

Liquid1ce
08-17-2004, 10:16 AM
would it not be better to clone the poll & make it for the battle system then you can change the POLL: bit to say Battle: etc

Virulent1
08-17-2004, 09:24 PM
got it installed ... and as for u the person below me.. :devious: stfu

influence
08-17-2004, 09:38 PM
^ maybe if you reply with a respectable comment or in a matured way without all that foul language then maybe I can help u

BTW, thank you mindtrix, I will be waiting for the fixes an also maybe Hopefully those 2 features I suggested

Sean S
08-17-2004, 09:56 PM
^ maybe if you reply with a respectable comment or in a matured way without all that foul language then maybe I can help u

BTW, thank you mindtrix, I will be waiting for the fixes an also maybe Hopefully those 2 features I suggested
thank you so much for such an awsome hack. I would like to ask you this, don't know if this would be a feature request/addon or anything but it would be greatly appericiated if you could help.

Would it be possible to insert images as well too? By that I mean, have the option that selects the "favorite part of the battle" to use images or [IMG] tags? thank you.

moley
08-21-2004, 09:14 PM
has anyone tried this hack with vb3.0.1? I want to add it but i'm to busy atm to upgrade my forums.

influence
08-22-2004, 05:22 PM
have too many bugs in it. i would wait until he finish fixing it

Flow Fusion
08-23-2004, 11:29 PM
So far so good. Thanks alot I'm really glad for this. Now that I have said thank you for the hard and free work I'll make a request.

Matter of fact I was just wondering if I remove the new reply and new thread template edits as well as the index.php edits will this hack still work?

I want members to have all types of battles and the info to just update on their postbit. That's all I would like from this hack but I don't want to edit and it not work.

Again thank you for the hack and your time.

donBLACK
08-24-2004, 12:38 PM
Database error in vBulletin 3.0.1:

Invalid SQL: SELECT * FROM vb3_battlesys_favlines ORDER BY RAND() LIMIT 1
mysql error: Table 'kwash_forum.vb3_battlesys_favlines' doesn't exist

mysql error number: 1146

i keep gettin this...i did everything over and over lol...but i keep gettin a database error

Liquid1ce
08-26-2004, 08:44 AM
Any updates or have you all gone private on this?

J-TEK
08-26-2004, 09:24 PM
Theres only been one release so far right?

aranthorn
08-30-2004, 06:21 PM
I had this installed, but had to take it out. It would close any poll after a user voted. Strange...

Romeos Tune
08-30-2004, 07:17 PM
Same thing on my site.... They really liked it too...

THE REAL BLAZE
09-06-2004, 10:59 PM
Database error in vBulletin 3.0.1:

Invalid SQL: SELECT * FROM vb3_battlesys_favlines ORDER BY RAND() LIMIT 1
mysql error: Table 'kwash_forum.vb3_battlesys_favlines' doesn't exist

mysql error number: 1146

i keep gettin this...i did everything over and over lol...but i keep gettin a database error



You need to run ALL the queries in the RBS file in the download. That should do it.

i am willing to help write features for this hack....

Romeos Tune
09-18-2004, 02:36 PM
Is there one of these somewhere that you can pay for?

kisersose
09-28-2004, 02:32 AM
i was looking forward to this too... to bad I didn't seen all these bugs until after I've installed it.

to bad, could be a dope hack if you can fix the minor bugs

???`S?LV?R???`
10-05-2004, 04:01 AM
Yeah, that's what I heard about this hack too... that's basically what's been keeping me from installing it.

Gio
10-12-2004, 03:09 PM
This is too cool. I didnt even know I needed this until I saw it.

KingPooky
10-16-2004, 06:29 PM
First of all, I want to thank you for creating this hack. It's cool as hell, and best of all, easy to install.

For those of you who are having problems with normal, everyday polls being closed whenever someone votes, I believe I have found the solution.

Open POLL.PHP and find //RBS
$battlesys = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "battlesys_battles WHERE pollid = '".$pollinfo['pollid']."'");
$votestowin = $battlesys['votestowin'];
$splitoptions = explode("|||", $pollinfo['options']);
$maxvotes = 0;
$leastvotes = 0;
foreach ($splitvotes as $number => $vote)
{
global $maxvotes;
global $leastvotes;
global $splitoptions;
if ( $vote > $maxvotes ) {
$maxvotes = $vote;
$winner = $splitoptions[$number];
global $winner;
}
if ( $vote < $leastvotes or $vote == 0 ) {
$leastvotes = $vote;
$loser = $splitoptions[$number];
global $loser;
}
}
if ( $maxvotes >= $votestowin )
{
$DB_site->query_first("UPDATE " . TABLE_PREFIX . "poll SET active = '0' WHERE pollid = '".$pollinfo['pollid']."'"); //close poll
//$winnerinfo = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_wins = bs_wins + 1 WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_loses = bs_loses + 1 WHERE username = '".$loser."'");

}
//RBS

And replace with //RBS
$battlesys = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "battlesys_battles WHERE pollid = '".$pollinfo['pollid']."'");
if($battlesys)
{
$votestowin = $battlesys['votestowin'];
$splitoptions = explode("|||", $pollinfo['options']);
$maxvotes = 0;
$leastvotes = 0;
foreach ($splitvotes as $number => $vote)
{
global $maxvotes;
global $leastvotes;
global $splitoptions;
if ( $vote > $maxvotes ) {
$maxvotes = $vote;
$winner = $splitoptions[$number];
global $winner;
}
if ( $vote < $leastvotes or $vote == 0 ) {
$leastvotes = $vote;
$loser = $splitoptions[$number];
global $loser;
}
}
if ( $maxvotes >= $votestowin )
{
$DB_site->query_first("UPDATE " . TABLE_PREFIX . "poll SET active = '0' WHERE pollid = '".$pollinfo['pollid']."'"); //close poll
//$winnerinfo = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_wins = bs_wins + 1 WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_loses = bs_loses + 1 WHERE username = '".$loser."'");

}
}
//RBS



This should fix that problem. Enjoy!

James T Brock
10-16-2004, 07:44 PM
I was going to install this until I saw all the bugs! Still, great job by the author for offering this for free. But hopefully someone can either update this hack or another author can use this to make another one with perhaps more features?

Pro
10-21-2004, 12:45 AM
Any future releases???

i'd be willing to help out if you need it MindTrix...

i'll take it and install it - see what comes out... any add-ons or bug fixes i come up with - i'll keep you informed...

thanks for the hack!

James T Brock
10-21-2004, 01:03 AM
Pro, I think the original author got frustrated and abandoned the project. If you could improve on his script, I think most people, the original author included, would be greatly appreciative!

Pro
10-21-2004, 03:11 AM
hmmm... there's been like 160 Downloads and only 39 installs???

CLICK INSTALL!!! GIVE PEOPLE CREDIT!

If you don't click Install people won't be helping out with this System!

Romeos Tune
10-21-2004, 03:13 AM
That's because people have had to uninstall the hack because of errors........ :D

Pro
10-21-2004, 03:13 AM
Pro, I think the original author got frustrated and abandoned the project. If you could improve on his script, I think most people, the original author included, would be greatly appreciative!

Yeah, i'm currently testing it on thesirkle.com...

hopefully i'll have some good additions, bug fixes, etc. within the next week.

i'm taking a big risk with it on my site as a live hack - but oh well... i'm also testing it myself on another site as well... private site... hopefully i can get some bugs out, make it better, etc.

ANY ADDITIONS you guys would want - let me know... i can only try - but hopefully i'll get it!

:squareeyed:

Pro
10-21-2004, 03:14 AM
That's because people have had to uninstall the hack because of errors........ :D

I havn't found any errors yet... can you enlighten me? i know the POLL was one - but someone threw a fix for that up already...

Romeos Tune
10-21-2004, 03:20 AM
You can read through the thread and see.... Let's see..... I had one where it wasn't updating the losses and couldn't figure out why..... I didn't try the poll fix 'cuz I just figured I'd wait 'til it's final or I start seeing positive feedback....

James T Brock
10-21-2004, 10:28 AM
ANY ADDITIONS you guys would want - let me know... i can only try - but hopefully i'll get it!

(1) Needs KO's along with wins and loses.

(2) A better stats system so that it counts top 10 users, who has the most KO's, most loses, best win percentage.

(3) I've seen the script in action and have it downloaded, but have been reluctant to install it on my forums until the original author (or someone else) is willing to support it. Does the current script allow the amount of votes to be set to any number we want, or does it have to stay at five? I want to be able to set it at twenty votes.

DaPro
10-22-2004, 11:15 PM
Could you make it so, that if you install this hack for a forum that has child forums that it works in also those child forums. Make it an option tho because I am sure not all people want it like that, could just be me :).

James T Brock
10-31-2004, 02:45 AM
Is anyone at all still working on this thing? I posted a paid request in the services forum, and no-one took me up on my offer to recieve money just for modifying this code for a few simple custom features.

Romeos Tune
10-31-2004, 04:17 PM
It appears dead unfortunately..... I'd pay too for a nice working version......

Liquid1ce
11-03-2004, 03:55 PM
Im currantly working on a full system myself and its comming on well
Though im looking for 2 or 3 people to join me in helping with this

if you can help or your intrested in the system pm me with your contact details & ill email & keep you updated on a final realise date. But this version wont be free

Pro
11-08-2004, 11:42 PM
i just started working on this again... i was having the same problem with the LOSSES being recorded... but i THINK i may have fixed it... i'll let you guys know in a few!

Pro
11-08-2004, 11:48 PM
(1) Needs KO's along with wins and loses.

(2) A better stats system so that it counts top 10 users, who has the most KO's, most loses, best win percentage.

(3) I've seen the script in action and have it downloaded, but have been reluctant to install it on my forums until the original author (or someone else) is willing to support it. Does the current script allow the amount of votes to be set to any number we want, or does it have to stay at five? I want to be able to set it at twenty votes.

I don't think any of these would be very difficult... but then again - i agree with the support - the hack is kind of premature and has a ton of bugs now... i'm kind of reluctant to fix everything without the proper support behind it.

If i do choose to get EVERY detail together - i'll probably have to see if MindTrix is still interested in providing support - or i'll re-release a new version myself - take the BS from other members - but atleast you guys get the hack you wanted!

Anyways, i'm going to give this a few days. LiquidIce - check your PM's!

Pro
11-10-2004, 04:52 AM
chick check...

still workin on this... got some bugs out - working on the KOS part for now - start working on a few other things on Thursday...

ill contact MindTrix and see if he wants to re-release it as a new version or just put add-ons or what...

Trix - PM me on my site when you see this!

James T Brock
11-10-2004, 11:01 AM
Great! Keep us updated on your progress.

dlouly47
11-10-2004, 06:00 PM
Awesome.. Dont got it yet but will wait for the new version when and if it comes out!! Appreciate all you guys do.. everyone of you guys are genius.. makes me want to go to school for this!

Pro
11-11-2004, 04:45 AM
still workin... :)

Preech
11-15-2004, 10:36 AM
Alot of the code people need can be found in the RPG mods. Just a little time changing information to fit a rap style system is all it takes. I am currently stationed in Korea. I have been working real slow on this. As this will be my first mod created if successfully. But my attempts right now, is working on setting this up to work almost automatically from every aspect. I would like to thank people for giving me more ideas to work with.

Hades-1
11-19-2004, 06:51 PM
1 thing this sytem needs that one mentions is i way so that when you choose someone to battle it send them an email and says they have been chalenged.

Hades-1
11-19-2004, 07:00 PM
First of all, I want to thank you for creating this hack. It's cool as hell, and best of all, easy to install.

For those of you who are having problems with normal, everyday polls being closed whenever someone votes, I believe I have found the solution.

Open POLL.PHP and find //RBS
$battlesys = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "battlesys_battles WHERE pollid = '".$pollinfo['pollid']."'");
$votestowin = $battlesys['votestowin'];
$splitoptions = explode("|||", $pollinfo['options']);
$maxvotes = 0;
$leastvotes = 0;
foreach ($splitvotes as $number => $vote)
{
global $maxvotes;
global $leastvotes;
global $splitoptions;
if ( $vote > $maxvotes ) {
$maxvotes = $vote;
$winner = $splitoptions[$number];
global $winner;
}
if ( $vote < $leastvotes or $vote == 0 ) {
$leastvotes = $vote;
$loser = $splitoptions[$number];
global $loser;
}
}
if ( $maxvotes >= $votestowin )
{
$DB_site->query_first("UPDATE " . TABLE_PREFIX . "poll SET active = '0' WHERE pollid = '".$pollinfo['pollid']."'"); //close poll
//$winnerinfo = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_wins = bs_wins + 1 WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_loses = bs_loses + 1 WHERE username = '".$loser."'");

}
//RBS

And replace with //RBS
$battlesys = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "battlesys_battles WHERE pollid = '".$pollinfo['pollid']."'");
if($battlesys)
{
$votestowin = $battlesys['votestowin'];
$splitoptions = explode("|||", $pollinfo['options']);
$maxvotes = 0;
$leastvotes = 0;
foreach ($splitvotes as $number => $vote)
{
global $maxvotes;
global $leastvotes;
global $splitoptions;
if ( $vote > $maxvotes ) {
$maxvotes = $vote;
$winner = $splitoptions[$number];
global $winner;
}
if ( $vote < $leastvotes or $vote == 0 ) {
$leastvotes = $vote;
$loser = $splitoptions[$number];
global $loser;
}
}
if ( $maxvotes >= $votestowin )
{
$DB_site->query_first("UPDATE " . TABLE_PREFIX . "poll SET active = '0' WHERE pollid = '".$pollinfo['pollid']."'"); //close poll
//$winnerinfo = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_wins = bs_wins + 1 WHERE username = '".$winner."'");
$DB_site->query("UPDATE user SET bs_loses = bs_loses + 1 WHERE username = '".$loser."'");

}
}
//RBS



This should fix that problem. Enjoy!


nobody said thank you for posting this so let me be the first

thank you!

Pro
11-24-2004, 10:10 PM
started workin on this again...

i got the LOSSES to come up finally - now im starting on the KO's part... i think it might be easy... we'll see... im not a pro but i know enough to get stuff working!

:)

James T. Brock - if you see this hit me up on aim: thajoker714

Pro
11-24-2004, 10:12 PM
P.S.

I'll post updates soon... just give me some time to test them... a few days or so... i should have the LOSS and K.O. updates for you all - then if i get to start on a new CHALLENGE system - i'll have MindTrix post the new updates in a zip file...

Pro
11-24-2004, 10:34 PM
hmmm... while testing this on my site the person i "battled" (just for test purposes) ended up recieving 1 win out of 6 battles - although now i have 6 losses LOL... so i gotta look into this again... something's not right.

i've started looking into the Challenge system as well...

deb0
11-29-2004, 02:37 AM
Has anyone tried to use this for other competitions like graphics, poetry, etc...?

Jmonto
11-30-2004, 02:40 AM
is there a post limit that a user must have before being able to vote? also does it show who voted?

mopfool
12-01-2004, 04:24 PM
I need some help :)

1) When trying to add a line that contains an apostrophe (') as a favorite (when posting a reply to a battle), I get a database error. Otherwise, it works fine.

2) This is a pretty general question. You can't select your favorite line in the quick reply box, so is there any way to turn off the quick reply box for just the rap battle forum and leave it on for all others?

Thanks,
mopfool=]

N1Co
12-05-2004, 01:33 AM
Slashes don't get added on data submitted to the database (quotes (') don't get escaped), which is quite imortant :| !

dndog
12-05-2004, 03:22 PM
I notice on the Rap Battle System, you added extra blanks to the postbit:

https://vborg.vbsupport.ru/attachment.php?attachmentid=20108

How could I just incorporate a few fields into my regular postbit?

That would be great!

-dndog

MajorFm.com
12-28-2004, 01:42 AM
Just what i was looking for!! thanks man!!

???`S?LV?R???`
12-28-2004, 02:09 AM
seeing how some fixes have been posted, what bugs are still left? (just curious before i install, so i can know what to expect)

Toky0
12-28-2004, 05:51 AM
Could this possibly be used for GFX (graphic) Battles as well?

Matt_270581
12-28-2004, 06:48 AM
Someone really needs to Debug this and Re-upload ;)

???`S?LV?R???`
12-28-2004, 05:32 PM
Someone really needs to Debug this and Re-upload ;)

lol my thoughts exactly

Toky0
12-29-2004, 08:27 AM
lol my thoughts exactly
lol Why what's wrong with it? I didn't install it yet.

???`S?LV?R???`
12-29-2004, 04:38 PM
well from what I heard there's still alot of bugs in it, although some fixes have been posted i'm curious how many bugs are left

MajorFm.com
01-03-2005, 12:20 PM
ok i have installed this but want to intergrate with uShop, so the winner of the battle gets points from the looser automatically...

is this possible?

MajorFm.com
01-03-2005, 12:23 PM
also if the looser doesnt have enough points, can they go into a minus which costs them interest just as the bank would give them, its the reverse... just as a loan

MajorFm.com
01-04-2005, 09:17 PM
This has messed up my forum, all polls are closing by itself, all previous polls are closed, any new polls are closing... please help asap!

MajorFm.com
01-06-2005, 12:52 PM
Any poll on my forum, whenever someone votes, the poll autocloses.

If your gonna make a hack that messes up the forum, atleast please try to help and fix it!

MindTrix
01-06-2005, 03:59 PM
Any poll on my forum, whenever someone votes, the poll autocloses.

If your gonna make a hack that messes up the forum, atleast please try to help and fix it!
Bit of an over reaction no? If you would have looked about one or two pages back you would have seen the fix in this post

https://vborg.vbsupport.ru/showpost.php?p=562909&postcount=109

I know this hack has some bugs, but their minor bugs that i dont have time to fix as i have my real life to take care of at the moment

MajorFm.com
01-06-2005, 07:29 PM
sorry man, when you got over 100 pm's of pissed off people... u start goin mad!

Thanks for the link

MajorFm.com
01-06-2005, 08:04 PM
If anyone else had this problem and need to open all polls on their forum again...

I couldn't find a option in the admincp so i just went to

http://www.majorfm.com/forum/poll.php?do=polledit&pollid=1
http://www.majorfm.com/forum/poll.php?do=polledit&pollid=2

etc etc... changing the last number each time to go to the next poll...

Jmonto
01-13-2005, 02:51 AM
is this thing safe to install or is it gonna screw up my forum?

what are the remaining bugs?

Wordplay
01-13-2005, 10:54 AM
ever since i installed this hack whenever a poll is startet for some reason in automatically closes for good everytime somebody votes. how come? can i change this somehow?

MajorFm.com
01-13-2005, 11:17 AM
The poll problem has been solved, i had the same problem, but you gotta do the fix, for some reason, the hack maker hasnt updated the original hack with the fix...

Please check: https://vborg.vbsupport.ru/show...9&postcount=109

Also this hack is nice but you gotta install the fixes for it to work properly..

I think its a ok hack but there are loads more features it could include!

James T Brock
01-14-2005, 12:43 PM
Bit of an over reaction no?

He is NOT over-reacting. You have screwed up many peoples forum. I can understand there being some bugs that you don't know how to correct, but since someone posted a fix the least you could do is upgrade the original post in this thread to include the poll fix. Otherwise it looks like you just don't care.

???`S?LV?R???`
01-14-2005, 04:27 PM
He is NOT over-reacting. You have screwed up many peoples forum. I can understand there being some bugs that you don't know how to correct, but since someone posted a fix the least you could do is upgrade the original post in this thread to include the poll fix. Otherwise it looks like you just don't care.

It looks like this project got abandoned, anyways I can see why your mad

???`S?LV?R???`
01-14-2005, 04:29 PM
Anyone mind mind sharing what the remaining bugs are, cause I know me and a few other people are still curious before we install this hack, oh yeah and one more question, is anyone having any problems with this working on 3.0.5?

MajorFm.com
01-14-2005, 09:17 PM
Finally seems to be working with the fix... but as i said... i don't think it was worth it in the end... it could be made alot better with more features etc... but i try not to mock people that make hacks as its a free contribution...

I agree the original hack should be fixed so all known bugs are removed so atleast the new people don't have to go through the same problems i and many others did...

???`S?LV?R???`
01-14-2005, 09:24 PM
well since you got it installed right now, do you notice any other bugs left besides the one's that have fixes posted for?

MajorFm.com
01-14-2005, 09:37 PM
It seems ok now... so far so good..

MindTrix
01-15-2005, 08:41 AM
He is NOT over-reacting. You have screwed up many peoples forum. I can understand there being some bugs that you don't know how to correct, but since someone posted a fix the least you could do is upgrade the original post in this thread to include the poll fix. Otherwise it looks like you just don't care.
Maybe it looks like i dont have the time anymore? I did not screw up many peoples forums, as stated hacks are installed at the users risk, but your right, it does mess things up, but only a tiny bit, until they either undo the php edits, or see the fix. Its not like it deleted every members posts or something.

Dont you think i find it tedious myself that i dont have the time for updates and fixes? Dont you think i would love to do it? Because believe me i would.

And when i get the time, i will do the updates, and fixes to the best i can. And your right, i should update the zip, i completely forgot so i will do that now.

???`S?LV?R???`
01-15-2005, 08:44 AM
thanks mindtrix, we appreciate it

MindTrix
01-15-2005, 08:49 AM
Nope alot of people dont, and then some do. But i will get this sorted soon even if i have to pay someone else to do it for me.

???`S?LV?R???`
01-15-2005, 09:02 AM
lol ok well reguardless of the one's that don't, I do

tehste
01-15-2005, 09:48 AM
This is a pretty nice hack. Some of you may know I coded Petz which included a battle system but the main difference between a rap battle and an RPG style battle is that it is a competition of lyrics and a winner cant be determined by php.

I have heavily changed the hack but it is still not working well on our boards, as people aren't entering usernames, although I made the code check if the opponent user exists or if there is an opponent user selected, if not it skips the RBS hack. I guess a good way to make users USE the system would be to not let the thread be posted if an opponent isn't entered. Which I didn't do because other threads may need to be posted: IE: rules and stuff.

Also the voting of other members isn't very good, it is a new board (9 days) but there are 100+ members so to combat this I had an idea, if the forum is set so only Admins/(s)Moderators can vote and the RBS uses a max vote of 1. Then a staff can choose the winner. (not done yet)

I also had to expand the scope of the hack so I could use more than one battle thread. I chose to use 5 and use the same drop down box selection system.

Another Idea I had would be to PM the opponent when a thread is created... Saying something like: 'You are in a battle with $battlestarter Please go to this thread: $battlethread.'
Like mindtrix I have time problems, but if you wana check out how I have used the hack (only a few threads in the battle arena are using the hack) http://www.lyricalfury.com

Nice hack, if you would like to get together and work on this mindtrix send me a PM, unfortunately I'm going to Uni next September and I'm finishing off 3 a levels at the moment so I don't have the time I would like.

???`S?LV?R???`
01-16-2005, 04:12 AM
mindtrix do ya mind updating the instructions for 3.0.5? because some of the coding like in admincp/user.php are different

influence
01-23-2005, 05:09 PM
If anyone can fix it so that it will force the thread starter to enter a username in the challenger field then this hack will be complete for ME.

I have been messing with the vbulletin_global.js file but I can't figure out anything.

I was trying to make an example coding out of the subject text requirement coding for the challenger text requirement coding but since I dont know a damn thing about php or js, I gave up

If anyone can come up with this then that would be nice.

Also, ZSdave can I have your modification for this hack.

thanks

KAC
01-23-2005, 07:28 PM
Can this be used for photoshop contests?

Pro
01-24-2005, 07:08 AM
Trix or James... if you're around hit me up on AIM... i've got a few bugs out as far as the MySQL but i'd like to get you or Trix to check out some of the code first... since you two have been messing with this Hack the longest (Trix made it - but he's been mad busy - and i know you've been working with this code for a while too)...

other members - PLEASE DO NOT P.M. ME!!! i'll post any info i can when i get the time... but much like MindTrix - i AM a busy dude!

Pro
01-24-2005, 07:11 AM
P.S. - INCASE YOU HAVN'T READ THIS YET... BACK UP YOUR FORUMS BEFORE YOU INSTALL ANY HACKS!

the developers of the hacks shouldn't be at fault for any mishaps... you should ALWAYS back up your forums!

???`S?LV?R???`
01-26-2005, 02:00 AM
Trix or James... if you're around hit me up on AIM... i've got a few bugs out as far as the MySQL but i'd like to get you or Trix to check out some of the code first... since you two have been messing with this Hack the longest (Trix made it - but he's been mad busy - and i know you've been working with this code for a while too)...

other members - PLEASE DO NOT P.M. ME!!! i'll post any info i can when i get the time... but much like MindTrix - i AM a busy dude!

Have you got RBS working for 3.0.6?... If so mind sharing the updated instructions on here? :)

ericgtr
02-01-2005, 09:18 PM
Everything works okay but it won't update the loses but it does the wins, I have even tried to manually do it through the admin piece and it still won't do it. I've checked the database and the tables match up as well as the script, any ideas?

el diablo
02-02-2005, 03:10 AM
Hey guys, This is "Pro" but i'm under my old screen name tonight... I've been playing with this thing for a few hours now and i got the KO's to work as promised (like 2 months ago lol) and the wins/losses/ko's all seem to work good!

I've only tested it like 20 times... it works for me but PLEASE BACK UP YOUR FORUMS!

there's quite a few updates on the files - download the attached... it has all the updates you need!

hopefully MindTrix can update the zipfile up at the top...

i'll be trying to update a few other things such as the "forumid" choices... for now it's only 1 but hopefully soon you can do it in a few others for Audio, Beats, Text, and maybe even a Tournament type thing?

also i'd like to get the Top 10 list going if MindTrix can contact me about it...

???`S?LV?R???`
02-02-2005, 03:42 AM
Hey guys, This is "Pro" but i'm under my old screen name tonight... I've been playing with this thing for a few hours now and i got the KO's to work as promised (like 2 months ago lol) and the wins/losses/ko's all seem to work good!

I've only tested it like 20 times... it works for me but PLEASE BACK UP YOUR FORUMS!

there's quite a few updates on the files - download the attached... it has all the updates you need!

hopefully MindTrix can update the zipfile up at the top...

i'll be trying to update a few other things such as the "forumid" choices... for now it's only 1 but hopefully soon you can do it in a few others for Audio, Beats, Text, and maybe even a Tournament type thing?

also i'd like to get the Top 10 list going if MindTrix can contact me about it...

Is this updated for vB 3.0.6

el diablo
02-02-2005, 03:45 AM
yes that's what i've been testing it on...

el diablo
02-02-2005, 05:45 AM
actually... give me a day to test this again... now it's not working how it was lol but it might just be because i've been playing with it so much (editing more stuff)... but before i started trying to get it to acess more forums it was working 110% correct...

???`S?LV?R???`
02-02-2005, 05:49 AM
lol k, well keep us updated :)

el diablo
02-02-2005, 06:55 AM
yeah... i've got it working again... the thing is - the more i test the more the little bugs come out... right now it works fine until it hits around 20 queries... not sure why... trying to figure it out...

ericgtr
02-05-2005, 01:44 PM
I know it's been requested a few times in here so here's another bump, an option to add more than one forum to this would make a ton of difference, even if it's hard coded.

???`S?LV?R???`
02-05-2005, 05:40 PM
lol i'd say before starting work on new features we need to atleast get this updated for vb 3.0.6

ericgtr
02-05-2005, 06:03 PM
lol i'd say before starting work on new features we need to atleast get this updated for vb 3.0.6
I doubt it's that far off the mark and if it is it can easily be tweaked like most of the mods for 3.0.x

???`S?LV?R???`
02-05-2005, 06:09 PM
:) well it'd be nice for someone to release the working version for 3.0.6 though

el diablo
02-05-2005, 06:29 PM
it's coming soon... i changed the code around again and it seems to be working correctly... as far as more than one forum - yeah that's actually what i'm trying to do now... i'm going through all of this code trying to figure out how i can do it for more than one forum...

???`S?LV?R???`
02-05-2005, 06:40 PM
well good luck, keep us updated :)

ericgtr
02-05-2005, 07:29 PM
Cool man, I will look forward to it. Another thing that would be nice is some sort of error checking. If they do not type in a username (or the field is blank) then they would go to an error page, as it is I have a bunch of users who don't type it in and it's a huge hassle keeping it straight.

rapcriminals
02-09-2005, 05:13 PM
yeah i have 3.0.6 i want that bad...and it dont work for mine...:(

ericgtr
02-09-2005, 06:36 PM
I decided to add a confirmation page so they must read it and then click on the link to take them to a new post.

Attached is the confirm.php and the template, confirm.txt. Upload the confirm.php to your forum directory and create a new template called confirm. In the confirm template you will need to add your own html with what you want it to say, then you can add a static link that takes them directly to the post page in that forum.

Adding the conditions for your specified battle forum, this will replace all 3 instances of "Submit New Thread":

Important: Be sure to change your forum ID as specified.

In the forumdisplay template find:


<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>


Replace with:


<td class="smallfont"><if condition="$show['newthreadlink']">
<if condition="$foruminfo[forumid] == 100"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">
</if> <img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />


Find:


<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />


Replace with:


<td class="smallfont"><if condition="$show['newthreadlink']">
<if condition="$foruminfo[forumid] == 106"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">
</if>
<img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />


Find:


<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">$vbphrase[post_a_new_thread]</a></td></tr></if>


Replace with:


<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option">
<if condition="$foruminfo[forumid] == 106"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"></if>$vbphrase[post_a_new_thread]</a></td></tr></if>

rapcriminals
02-10-2005, 03:02 PM
so how long will it take for 3.0.6 man. im eager to have this

ericgtr
02-10-2005, 03:09 PM
so how long will it take for 3.0.6 man. im eager to have this
When searching and replacing, look for lines that are similar to what the instructions say, for example, when it says "in your template find: this line of code" search for "this" instead and look for similarities. Most mods will work between close version like this, you just have to make adjustments.

rapcriminals
02-10-2005, 03:12 PM
how about this...why dont someone just give me there files they use ont there board that be much easier... the files u edit.

Like

Index.php
showthread.php

++++ that u edit.
that might help me out!

???`S?LV?R???`
02-10-2005, 03:13 PM
it'd be nice if someone posted some clear instructions for 3.0.6 though instead of people having to take guesses :\

rapcriminals
02-10-2005, 03:17 PM
yeah exactly. man. or it be nice they just posted the files u edit with the info on them :) so we wouldnt have to touch stuff to mess it up...either way im saving my orginal files and giving it a shot once again.

ericgtr
02-10-2005, 03:50 PM
I am still running 3.0.3 if I were running 3.0.6 I would upgrade it and post instructions for you guys but I haven't worked with it yet.

rapcriminals
02-10-2005, 04:11 PM
Database error in vBulletin 3.0.6:

Invalid SQL: SELECT * FROM battlesystem LIMIT 1
mysql error: Table 'rrapcrim_phpbb1.battlesystem' doesn't exist

mysql error number: 1146

Date: Thursday 10th of February 2005 01:10:09 PM
Script: http://rapcriminals.com/forum/admincp/battlesystem.php
Referer: http://rapcriminals.com/forum/admincp/index.php?do=nav
Username: VenomZ
IP Address: 68.0.46.42


Whats this mean man?

ericgtr
02-10-2005, 04:18 PM
Did you run the RBS.sql file? You need to go into your phpmyadmin and import that file. Once in phpmyadmin go to your vb database then click the SQL tab, click the "Browse" button and locate the RBS.sql file from the Rap Battle directory on your PC.

rapcriminals
02-11-2005, 02:35 AM
oh damn didnt do that

rapcriminals
02-11-2005, 05:21 AM
Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home2/rrapcrim/public_html/forum/poll.php on line 219

i keep getting this for my poll also..and nothing is seeming to show up..I put all the info on my phps...they work now but nothing is showing up..i did the Run sql thing and i did the tepmlates...whats going on man Please help me

rapcriminals
02-11-2005, 05:24 AM
if u dont know how to fix it then i can try to get u to do it for me if u can help me. id appreciate it.

rapcriminals
02-11-2005, 05:27 AM
by the way heres my site so u can take a look ...

www.rapcriminals.com/forum

rapcriminals
02-11-2005, 04:13 PM
so?any help and ideas?

rapcriminals
02-11-2005, 06:47 PM
check this out id rather buy the hack. Someone link me to it cuz im frustrated man :(

Battle_Ring
02-13-2005, 01:23 AM
whats tthe deal on this hack

it work with 3.0.6

ericgtr
02-13-2005, 02:13 PM
Here's another cool hack that is a great addon for this, vB3 Closed Poll Hack https://vborg.vbsupport.ru/showthread.php?t=61988 (this mod will not conflict at all with the battle modifications) Make a couple of tweaks to your phrases to change some colors around and it's very useful in showing what's still open for people to vote on :)

Battle_Ring
02-14-2005, 12:48 AM
is this hack for 3.0.6 too

rapcriminals
02-14-2005, 02:48 AM
why doesnt this hack work for me then?

rapcriminals
03-09-2005, 02:47 AM
i got a working version now. Its on my site. if anyone would like to have the working version I will send u the exact copy of the files and how to install it on ur board. I will charge u a small fee of 5 bucks pay pal for my copy files. But if u want a custom Installed one. Ill tell coder that did it for me to do it for u for a price he wants. This hack i have is a better version. Te hack itself you can NOT VOTE YOURSELF or the opponent cant vote himself. Next thing is the wins and loses update by the databse automatically due to the poll votes. The hack here had a lot of bullcrap errors. LOL so yeah just pm me or join my site at www.rapcriminals.com and pm me there. or email me at

rrapcrim@rapcriminals.com

Sleepyk
03-20-2005, 03:05 AM
hey all got it decent bout to do ericgtr's update tomorrow but i got a problem

i had tester as a temp name for fixin stuff on my site, and i got my name etc

so i did me vs tester and voted for me made it 1 vote battle

Well the win wasnt added and it dont show wins or losses in my postbit

http://www.kleptikmusic.com/ is my site if anyone can help me out please

el diablo
03-20-2005, 04:17 AM
lol...

el diablo
03-20-2005, 04:18 AM
update will come soon...

Sleepyk
03-20-2005, 03:57 PM
lol...


?

Well u one thats been fixcin this, whats the problem why wins n losses arnt in profile or postbit?

James T Brock
03-21-2005, 04:08 AM
The wins and losses are in the profile and postbit, maybe you did something wrong?

Diablo, I've been trying to contact you in AIM, but you're never on when I am.

Sleepyk
03-21-2005, 05:45 AM
yeah
its postbit not postbit legacy that u have to edit

*****************************
Open POSTBIT_LEGACY template
*****************************

Find
-----------------------------------------------
<div>
$vbphrase[posts]: $post[posts]
</div>
-----------------------------------------------
After add
-----------------------------------------------
<div>
<b>Battles:</b><br />
Wins: $post[bs_wins]<br />
Loses: $post[bs_loses]
</div>
-----------------------------------------------

Replace with

*****************************
Open POSTBIT template
*****************************

Find
-----------------------------------------------
<div>
$vbphrase[posts]: $post[posts]
</div>
-----------------------------------------------
After add
-----------------------------------------------
<div>
<b>Battles:</b><br />
Wins: $post[bs_wins]<br />
Loses: $post[bs_loses]
</div>
-----------------------------------------------

Sleepyk
03-23-2005, 02:24 AM
ok ima ask everything in 1 post deleted a couple of mine

1st how do i make it so you cannot vote for yourself?

Also is there any way to make it work in more than 1 forum? (too late now) but i got a tourney goin, and it would be awesome to make tourney wins count on records

http://www.kleptikmusic.com/

the random quote text is same color as BG how i fix that?

and is there any way i can input peoples records, because people do have records they want to keep and you know record is 0-0 as of now.


and i forgot who did the update with k.o's added n stuff, but i noticed there was no ko mention in postbit or postbit legacy, how do i add ko's in the postbit?

Sleepyk
03-23-2005, 03:22 PM
<a href="http://www.kleptikmusic.com/newvbforum/showthread.php?t=504" target="_blank">http://www.kleptikmusic.com/newvbfor...read.php?t=504</a>

opponent never got loss

Sleepyk
03-23-2005, 08:33 PM
Look for:
// get permissions to view forumhome
if (!($permissions['forumpermissions'] & CANVIEW))
{
print_no_permission();
}


And Below it add:

// 3 Newest Battles
$logik = $DB_site->query("SELECT replycount,title,threadid,lastpost,postusername,la stposter,views FROM thread WHERE forumid='X' ORDER BY lastpost DESC LIMIT 3");
while ($logiktop = mysql_fetch_array($logik)):
++$logiktopnbsp;
$logikthread .= "<a href=showthread.php?s=$session[sessionhash]&threadid=$logiktop[threadid]>$logiktop[title]</a>&nbsp;<a href=showthread.php?s=$session[sessionhash]&goto=newpost&threadid=$logiktop[threadid]&goto=lastpost><font size=1><b>[View Unread]</b></font></a><br>";


endwhile;

change X to the forum number
And then in your ForumHome template look for:

$navbar


Now after that, add this:

<br>
<if condition="$bbuserinfo['userid']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" width="100%" valign="top">
<normalfont><b>Newest 3 Battles</b></normalfont></td>
</tr>
<tr><td>
$logikthread</td>
</tr>
</table>
</if>
<br>


Any problems, let me know.


i did everything and added ranks and it does not work

Sleepyk
03-23-2005, 09:13 PM
I decided to add a confirmation page so they must read it and then click on the link to take them to a new post.

Attached is the confirm.php and the template, confirm.txt. Upload the confirm.php to your forum directory and create a new template called confirm. In the confirm template you will need to add your own html with what you want it to say, then you can add a static link that takes them directly to the post page in that forum.

Adding the conditions for your specified battle forum, this will replace all 3 instances of "Submit New Thread":

Important: Be sure to change your forum ID as specified.

In the forumdisplay template find:


<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>


Replace with:


<td class="smallfont"><if condition="$show['newthreadlink']">
<if condition="$foruminfo[forumid] == 100"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">
</if> <img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />


Find:


<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />


Replace with:


<td class="smallfont"><if condition="$show['newthreadlink']">
<if condition="$foruminfo[forumid] == 106"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">
</if>
<img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />


Find:


<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">$vbphrase[post_a_new_thread]</a></td></tr></if>


Replace with:


<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option">
<if condition="$foruminfo[forumid] == 106"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"></if>$vbphrase[post_a_new_thread]</a></td></tr></if>



yeah that dont work, u didnt give the right stuff to put in confirm template, what we supposed to do? guess?

Rukas
04-02-2005, 11:50 AM
Nice, Ive installed it but wasnt happy with how it worked (or unfortunatly didnt work at times) so I re did it custom code at http://forum.streethop.com and http://www.2pacboard.com

We are going to be doing a fully sponsored battle with prize money and other prizes very very soon, Ill make sure to give you a nice shout out ;).

Peace.

Sleepyk
04-02-2005, 08:43 PM
^wanna help out fixin?

ericgtr
04-02-2005, 09:04 PM
yeah that dont work, u didnt give the right stuff to put in confirm template, what we supposed to do? guess?
The description says "you will need to add your own html". No guess work, I made it that way because everyone will want to say their own thing. Just create an html page in your favorite editor and then copy the html code into the template.

Sleepyk
04-02-2005, 10:23 PM
oh i did that, but the html i added was only thing thaT showed, wouldnt show thread or anything

robr
04-04-2005, 06:16 AM
Even after reading this thread and looking at the screenshots, I don't understand what this is for. What exactly is a "battle"? In the screen shots it looked like some sort of poll where people voted for someone.

Rukas
04-04-2005, 02:06 PM
Even after reading this thread and looking at the screenshots, I don't understand what this is for. What exactly is a "battle"? In the screen shots it looked like some sort of poll where people voted for someone.


If you dont understand it, chances are, you dont need it.

Iceburg22
04-04-2005, 08:01 PM
can this be used in more then one forum?

Rukas
04-06-2005, 11:17 AM
^^ No

Logik
04-23-2005, 05:36 PM
Has anybody have an update for this with no bugs in it

Logik
04-25-2005, 04:35 AM
Has anybody finish any updates on this

Logik
04-26-2005, 05:01 PM
Any updates on this hack?

Logik
04-28-2005, 02:59 AM
Updates anyone

Rukas
04-29-2005, 02:13 AM
Nah its still ++++ed.

Have you tried putting any work into it?

Logik
04-29-2005, 06:11 AM
Not at the moment...I do know that the battlesystem.php has some few bugs in it. Anybody else who updated this

T3MEDIA
04-29-2005, 11:06 AM
woah always pays to read the posts!!! so it doesnt work properly?

Logik
04-30-2005, 10:13 PM
Anyone

el diablo
05-03-2005, 03:44 AM
i got one... but i gotta keep testing it first...

am i the only person who's been working on this?

James T Brock
05-03-2005, 03:56 AM
I'm going to start working on it again tomorrow.

akanevsky
05-09-2005, 08:01 PM
I would suggest you make your hack nice and clean before posting it.

el diablo
05-10-2005, 12:46 AM
yes indeed...

RapCapital
05-10-2005, 11:14 PM
Does this work for 3.0.7? And does anybody have a working version with fixed bugs??

akanevsky
05-11-2005, 09:29 AM
I am soon going to attempt to write a whole new battle system, which will not even be based on polls. However, I cannot tell you when it will be out.

RapCapital
05-11-2005, 12:26 PM
I'm the owner of www.rapcapital.com & I use a v3.0.7 VB
If someone can give me a Battle Hack that works i will gladly promote you & add you on the links section of my site, in return for your help :cool: :up:

akanevsky
05-11-2005, 07:38 PM
And what if I don't have a website? :(

Sleepyk
05-13-2005, 06:08 PM
wow been a while and still no updaTE, someone here e-mailed me about the poll fix, please if you see this e-mail me tech@kleptikmusic.com

i have the hack on thebattledome.com


wins work

losses dont

ko's dont

when last vote goes into poll before it closes i get a vb error


but people still do like it with it only working about 35% lol

RapCapital
05-13-2005, 11:58 PM
And what if I don't have a website? :(
I could possibly pay you if it works.

akanevsky
05-14-2005, 03:37 PM
It will work, or I am not Dark Visor! :) It will be out somewhere in the end of June, or sooner if I have time.

Logik
05-15-2005, 02:30 AM
Sounds good, cant wait to see it. lol

Sleepyk
05-16-2005, 10:46 PM
logik how bout loss fix? and db fix?

Sleepyk
05-17-2005, 11:17 PM
anything?

Logik
05-18-2005, 03:05 AM
Yea its gettin fixed right now

Sleepyk
05-19-2005, 12:02 AM
all i need is the fix so losses actually go on record logik if ya could help that be good