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
  #282  
Old 05-28-2005, 01:18 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Oh thats great.
Reply With Quote
  #284  
Old 05-28-2005, 04:35 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 Logik
Oh thats great.
LOL.. do I detect a hing of sarcasm in that?
Reply With Quote
  #285  
Old 05-28-2005, 05:45 PM
el diablo el diablo is offline
 
Join Date: Apr 2002
Location: Cali, baby!
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don't think so... looks like a cool add-on to me people can easily add as many as they want, e.g. top 5, top 10, etc... cool addition eric
Reply With Quote
  #286  
Old 05-28-2005, 05:56 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am actually looking forward to a new release of this, as it is I have just customized the current one a bit.
Reply With Quote
  #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
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 10:20 AM.


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.05010 seconds
  • Memory Usage 2,346KB
  • 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
  • (6)bbcode_code
  • (4)bbcode_php
  • (5)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
  • (2)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