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
  #287  
Old 05-28-2005, 10:23 PM
influence influence is offline
 
Join Date: Jan 2002
Location: inside a bullet
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr
I've added a Top 3 Battle Leaders to this (to the original Mindtrix hack). I have plugged it in next to Logik's 'Latest Battles' hack, see screenshot.

Here's how I do it.

In forumroot/index.php find:

PHP Code:
// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTA HERE... ### 
Add this just above it:

PHP Code:
//Top 3 battle leaders
$topbattles $DB_site->query(
    SELECT userid, username, bs_wins
    FROM user 
    ORDER BY bs_wins DESC 
    LIMIT 3 
"
); 
while (
$showbattles=$DB_site->fetch_array($topbattles)) 

    
$counter++; 
    
$battleuserid $showbattles['userid']; 
    
$battleusername $showbattles['username']; 
    
$battlewins $showbattles['bs_wins'];

    
$spitbattles .= "<a href=\"member.php?u=$battleuserid\">$battleusername</a> ($battlewins)";
    
    if (
$counter 3
    { 
        
$spitbattles .= "<br /> "
    } 
}
//Top 3 battle leaders 
Now you can stick this into your FORUMHOME template where you want it to appear with this:

Code:
$spitbattles $bs_wins
I put this in combination with Logik's hack into a fieldset, as it looks in the screenshot, with this code in the FORUMHOME find:

Code:
<!-- end logged-in users -->
Add under:

Code:
<!-- Start Latest Battles -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_battles')"><img id="collapseimg_forumhome_battles" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_battles].gif" alt="" border="0" /></a>
			Latest Battle Info
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_battles" style="$vbcollapse[collapseobj_forumhome_battles]">
	<tr>
		<td class="alt2"><a href="forumdisplay.php?f=106$session[sessionurl]"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="Latest Battles" border="0" /></a></td>
		<td class="alt1" width="100%">
			<div class="smallfont">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><fieldset><legend>Latest Battles</legend>$logikthread</fieldset></td>
    <td><fieldset>
      <legend>Battle Leaders</legend>
      $spitbattles $bs_wins</fieldset></td>
  </tr>
</table>
			</div>
		</td>
	</tr>
</tbody>
<!-- End Latest Battles -->

thats great but how about, on the latest battles, you add the number of votes each battlers currently have?

for example

Latest battles

test1 vs. test2 (0-0)
test3 vs. test4 (1-0)
test5 vs. test6 (1-1)
test7 vs. test8 (2-1)


Also, no one figure out how to force people to put their opponent name in the opponent field when they start a new battle? I remove the hack because I couldn't find any solution for that and people were lazy to do it
Reply With Quote
  #288  
Old 05-29-2005, 02:58 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by influence
Also, no one figure out how to force people to put their opponent name in the opponent field when they start a new battle? I remove the hack because I couldn't find any solution for that and people were lazy to do it
Adding the ability to force them to put a name in will also require the system check to see if it's spelled correctly in order to function properly, which is most of the problem.

What I have done is added a page, so when someone clicks on 'New Thread' in that forum it will force them to at least read how to do it, I've also added a how to here https://vborg.vbsupport.ru/showpost....&postcount=189

Good moderation is the next step, now that it's panfully obvious that they need to enter the users name right, slam the door on threads where they aren't. If it's wrong we know that we have to go database diving to correct it, to me it's too much of a pain so I shut it down and make them start a new one. After doing that to a few of them, people get the idea Now, those mistakes rarely happen.
Reply With Quote
  #289  
Old 05-30-2005, 09:53 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logik
Maybe...a challenge thread. Say if you wanted to challenge somone, you post a thread and a PM is sent to them. Or how about, automatic polling like:

I think i showed this too you. When you want to battle, you have the option to battle for records or dont. Once you post the thread, it goes to the poll.php and there you set the names in there and start poll. Once someone gets 5 poll votes, the thread automatically closes and the winner gets the win or vice versa.

no need

callout forum is for challenges i assume u not familiar with battle boards easy misque

option to battle record or not? no everyone battles for record no need for that excuse me but only pussies wouldnt wanna battle for record


5 votes auto close yet

3-0 auto close yes

and make it so people cant vote for themselves so pretty much code with "usernames in poll" cant vote


everything u sayin looks good but no voting forthemselves is most def. the most important variable
Reply With Quote
  #290  
Old 05-30-2005, 09:54 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh yeah also make sure 2 names are in poll or it wont let them start thread
Reply With Quote
  #291  
Old 05-30-2005, 10:33 PM
el diablo el diablo is offline
 
Join Date: Apr 2002
Location: Cali, baby!
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sleepyk
no need

callout forum is for challenges i assume u not familiar with battle boards easy misque

option to battle record or not? no everyone battles for record no need for that excuse me but only pussies wouldnt wanna battle for record


5 votes auto close yet

3-0 auto close yes

and make it so people cant vote for themselves so pretty much code with "usernames in poll" cant vote


everything u sayin looks good but no voting forthemselves is most def. the most important variable
i've ran battle boards since 2000 - i know how easy it is to "callout" someone in a "callout" forum - but what's the point of another forum? it makes it better to be able to callout someone with a click of a button...

and rather than limiting the voters who vote to not being "people in the poll" - it should have a Minimum reply warning so you have to give an explanation - or allow usergroups such as Mods, SM's and Admins to see who actually voted...

and on the backend - one thing i was messin with was a way to Delete records and add records - just incase...
Reply With Quote
  #292  
Old 05-31-2005, 09:55 PM
Durtay Durtay is offline
 
Join Date: Feb 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow I havent checked this thread for over 3 months since it was first said this release was buggy. I really think that if you rap heads want any kind of successful coding for a battle system you either pick up a book and learn how or break out the cash and pay someone that knows how, because I've been here for a while and the constant request for a battle hack has yet been provided for free, and alot of the ones people charge for (Logik) are faulty or even this very hack still full of bugs. But that's just my opinion on this situation.
Reply With Quote
  #293  
Old 05-31-2005, 10:01 PM
el diablo el diablo is offline
 
Join Date: Apr 2002
Location: Cali, baby!
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alot of people on here do know how to code - but with this being a Rap Battle System - there's too many people that want to hate... just seems to follow the whole Genre cliche... and then there's people who know how to do this - but don't want to share due to rival boards or to (in my case) rivals who spam boards and use fake vB's, hacks, etc and never get caught... I really don't want to share code with those types of people - but I guess it's going to happen anyways...

Logik - I think I found the code - I'll make sure - then up it for you...
Reply With Quote
  #294  
Old 05-31-2005, 10:36 PM
Durtay Durtay is offline
 
Join Date: Feb 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by el diablo
Alot of people on here do know how to code - but with this being a Rap Battle System - there's too many people that want to hate... just seems to follow the whole Genre cliche...
exactly :ermm:
Reply With Quote
  #295  
Old 06-01-2005, 05:55 AM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works just fine for me, with moderators it still serves a purpose (can work); however, why can't I manually change the wins/losses/ko's? Does this have to be done from the database? I've tried everything still will somebody help...thanx
Reply With Quote
  #296  
Old 06-02-2005, 08:15 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

diablo it just seems obvious to have people not allowed to vote for themselves why would u let them?
Reply With Quote
  #297  
Old 06-02-2005, 10:45 PM
el diablo el diablo is offline
 
Join Date: Apr 2002
Location: Cali, baby!
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

who said to let them? of course you can't let them... but the people who vote also should have a fair reason - and not just be able to vote...
Reply With Quote
  #298  
Old 06-05-2005, 10:20 AM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright man. let me know when ur finished.
Reply With Quote
  #299  
Old 06-08-2005, 10:46 PM
blakkboy's Avatar
blakkboy blakkboy is offline
 
Join Date: Aug 2003
Location: Baltimore
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got a question...i did this hack and it works fine accept when i got to edit peoples battle record, because they wanted to have thier previous battles before the system was installed on thier record, it says saved but the record dont show ???
Reply With Quote
  #300  
Old 06-08-2005, 11:50 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea because Mindtrix try to make up a whole new forum id, to which it doesnt apply too.
Reply With Quote
  #301  
Old 06-09-2005, 12:22 AM
blakkboy's Avatar
blakkboy blakkboy is offline
 
Join Date: Aug 2003
Location: Baltimore
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by slim cutty
This hack works just fine for me, with moderators it still serves a purpose (can work); however, why can't I manually change the wins/losses/ko's? Does this have to be done from the database? I've tried everything still will somebody help...thanx
I got the same problem...he just stated it better then i did above....

I want to edit them because i want to add battles from before the system was inplace to members records.

and what logik just posted doesnt help me at all
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:32 PM.


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.05232 seconds
  • Memory Usage 2,374KB
  • 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_code
  • (2)bbcode_php
  • (6)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