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
  #47  
Old 08-11-2004, 10:12 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #48  
Old 08-11-2004, 10:16 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logik
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


PHP Code:
//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

PHP Code:
//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.
Reply With Quote
  #49  
Old 08-11-2004, 07:24 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What PHP edit is it that i need to check for the fav line?
Reply With Quote
  #50  
Old 08-11-2004, 07:27 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be this piece

PHP Code:
 

*****************
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'] .= "[quote][i][b]Favourite Line:
  [/b][/i]"
.$newpost['favouriteline']."[/quote]";
 }
//RBS 
Reply With Quote
  #51  
Old 08-11-2004, 07:29 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #52  
Old 08-11-2004, 07:37 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok all problems solved.. Thanks
Reply With Quote
  #53  
Old 08-11-2004, 07:37 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #54  
Old 08-11-2004, 07:38 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What went wrong? Did you not put the code in the right place or something?
Reply With Quote
  #55  
Old 08-11-2004, 07:41 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
Reply With Quote
  #56  
Old 08-11-2004, 07:42 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #57  
Old 08-11-2004, 07:44 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

iight ... Will do.
Reply With Quote
  #58  
Old 08-12-2004, 01:52 AM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #59  
Old 08-12-2004, 07:37 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #60  
Old 08-12-2004, 02:09 PM
DougCooper DougCooper is offline
 
Join Date: Jun 2003
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 !
Reply With Quote
  #61  
Old 08-12-2004, 03:04 PM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
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 05:40 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
  • Page Generation 0.05545 seconds
  • Memory Usage 2,370KB
  • Queries Executed 30 (?)
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
  • (3)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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