Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rap Battle System -=RBS=- Details »»
Rap Battle System -=RBS=-
Version: 1.00, by MindTrix MindTrix is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 08-08-2004 Last Update: Never Installs: 93
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 08-26-2004, 09:24 PM
J-TEK J-TEK is offline
 
Join Date: May 2004
Location: FL
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Theres only been one release so far right?
Reply With Quote
  #103  
Old 08-30-2004, 06:21 PM
aranthorn's Avatar
aranthorn aranthorn is offline
 
Join Date: Jun 2004
Location: Chicago
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this installed, but had to take it out. It would close any poll after a user voted. Strange...
Reply With Quote
  #104  
Old 08-30-2004, 07:17 PM
Romeos Tune Romeos Tune is offline
 
Join Date: Jun 2004
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same thing on my site.... They really liked it too...
Reply With Quote
  #105  
Old 09-06-2004, 10:59 PM
THE REAL BLAZE THE REAL BLAZE is offline
 
Join Date: May 2002
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by donBLACK
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....
Reply With Quote
  #106  
Old 09-18-2004, 02:36 PM
Romeos Tune Romeos Tune is offline
 
Join Date: Jun 2004
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there one of these somewhere that you can pay for?
Reply With Quote
  #107  
Old 09-28-2004, 02:32 AM
kisersose kisersose is offline
 
Join Date: Jun 2004
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #108  
Old 10-05-2004, 04:01 AM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, that's what I heard about this hack too... that's basically what's been keeping me from installing it.
Reply With Quote
  #109  
Old 10-12-2004, 03:09 PM
Gio Gio is offline
 
Join Date: Aug 2004
Location: Washington DC
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is too cool. I didnt even know I needed this until I saw it.
Reply With Quote
  #110  
Old 10-16-2004, 06:29 PM
KingPooky KingPooky is offline
 
Join Date: Oct 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
PHP Code:
        //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 == ) {
                
$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
PHP Code:
        //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 == ) {
                    
$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!
Reply With Quote
  #111  
Old 10-16-2004, 07:44 PM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06502 seconds
  • Memory Usage 2,343KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete