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
  #212  
Old 03-20-2005, 04:18 AM
el diablo el diablo is offline
 
Join Date: Apr 2002
Location: Cali, baby!
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

update will come soon...
Reply With Quote
  #213  
Old 03-20-2005, 03:57 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by el diablo
lol...

?

Well u one thats been fixcin this, whats the problem why wins n losses arnt in profile or postbit?
Reply With Quote
  #214  
Old 03-21-2005, 04:08 AM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #215  
Old 03-21-2005, 05:45 AM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
-----------------------------------------------
Reply With Quote
  #216  
Old 03-23-2005, 02:24 AM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #217  
Old 03-23-2005, 03:22 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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
Reply With Quote
  #218  
Old 03-23-2005, 08:33 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logik
Look for:
Code:
// get permissions to view forumhome
if (!($permissions['forumpermissions'] & CANVIEW))
{
	print_no_permission();
}
And Below it add:
Code:
// 3 Newest Battles
$logik = $DB_site->query("SELECT replycount,title,threadid,lastpost,postusername,lastposter,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:
Code:
$navbar
Now after that, add this:
Code:
<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
Reply With Quote
  #219  
Old 03-23-2005, 09:13 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

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

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

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

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

PHP Code:
    <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?
Reply With Quote
  #220  
Old 04-02-2005, 11:50 AM
Rukas Rukas is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #221  
Old 04-02-2005, 08:43 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^wanna help out fixin?
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 08:34 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.06068 seconds
  • Memory Usage 2,353KB
  • 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
  • (4)bbcode_code
  • (6)bbcode_php
  • (3)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