vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Rap Battle System -=RBS=- (https://vborg.vbsupport.ru/showthread.php?t=68161)

rapcriminals 02-11-2005 05:27 AM

by the way heres my site so u can take a look ...

www.rapcriminals.com/forum

rapcriminals 02-11-2005 04:13 PM

so?any help and ideas?

rapcriminals 02-11-2005 06:47 PM

check this out id rather buy the hack. Someone link me to it cuz im frustrated man :(

Battle_Ring 02-13-2005 01:23 AM

whats tthe deal on this hack

it work with 3.0.6

ericgtr 02-13-2005 02:13 PM

Here's another cool hack that is a great addon for this, vB3 Closed Poll Hack https://vborg.vbsupport.ru/showthread.php?t=61988 (this mod will not conflict at all with the battle modifications) Make a couple of tweaks to your phrases to change some colors around and it's very useful in showing what's still open for people to vote on :)

Battle_Ring 02-14-2005 12:48 AM

is this hack for 3.0.6 too

rapcriminals 02-14-2005 02:48 AM

why doesnt this hack work for me then?

rapcriminals 03-09-2005 02:47 AM

i got a working version now. Its on my site. if anyone would like to have the working version I will send u the exact copy of the files and how to install it on ur board. I will charge u a small fee of 5 bucks pay pal for my copy files. But if u want a custom Installed one. Ill tell coder that did it for me to do it for u for a price he wants. This hack i have is a better version. Te hack itself you can NOT VOTE YOURSELF or the opponent cant vote himself. Next thing is the wins and loses update by the databse automatically due to the poll votes. The hack here had a lot of bullcrap errors. LOL so yeah just pm me or join my site at www.rapcriminals.com and pm me there. or email me at

rrapcrim@rapcriminals.com

Sleepyk 03-20-2005 03:05 AM

hey all got it decent bout to do ericgtr's update tomorrow but i got a problem

i had tester as a temp name for fixin stuff on my site, and i got my name etc

so i did me vs tester and voted for me made it 1 vote battle

Well the win wasnt added and it dont show wins or losses in my postbit

http://www.kleptikmusic.com/ is my site if anyone can help me out please

el diablo 03-20-2005 04:17 AM

lol...

el diablo 03-20-2005 04:18 AM

update will come soon...

Sleepyk 03-20-2005 03:57 PM

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?

James T Brock 03-21-2005 04:08 AM

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.

Sleepyk 03-21-2005 05:45 AM

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>
-----------------------------------------------

Sleepyk 03-23-2005 02:24 AM

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?

Sleepyk 03-23-2005 03:22 PM

<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

Sleepyk 03-23-2005 08:33 PM

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

Sleepyk 03-23-2005 09:13 PM

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?

Rukas 04-02-2005 11:50 AM

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.

Sleepyk 04-02-2005 08:43 PM

^wanna help out fixin?

ericgtr 04-02-2005 09:04 PM

Quote:

Originally Posted by Sleepyk
yeah that dont work, u didnt give the right stuff to put in confirm template, what we supposed to do? guess?

The description says "you will need to add your own html". No guess work, I made it that way because everyone will want to say their own thing. Just create an html page in your favorite editor and then copy the html code into the template.

Sleepyk 04-02-2005 10:23 PM

oh i did that, but the html i added was only thing thaT showed, wouldnt show thread or anything

robr 04-04-2005 06:16 AM

Even after reading this thread and looking at the screenshots, I don't understand what this is for. What exactly is a "battle"? In the screen shots it looked like some sort of poll where people voted for someone.

Rukas 04-04-2005 02:06 PM

Quote:

Originally Posted by robr
Even after reading this thread and looking at the screenshots, I don't understand what this is for. What exactly is a "battle"? In the screen shots it looked like some sort of poll where people voted for someone.


If you dont understand it, chances are, you dont need it.

Iceburg22 04-04-2005 08:01 PM

can this be used in more then one forum?

Rukas 04-06-2005 11:17 AM

^^ No

Logik 04-23-2005 05:36 PM

Has anybody have an update for this with no bugs in it

Logik 04-25-2005 04:35 AM

Has anybody finish any updates on this

Logik 04-26-2005 05:01 PM

Any updates on this hack?

Logik 04-28-2005 02:59 AM

Updates anyone

Rukas 04-29-2005 02:13 AM

Nah its still ++++ed.

Have you tried putting any work into it?

Logik 04-29-2005 06:11 AM

Not at the moment...I do know that the battlesystem.php has some few bugs in it. Anybody else who updated this

T3MEDIA 04-29-2005 11:06 AM

woah always pays to read the posts!!! so it doesnt work properly?

Logik 04-30-2005 10:13 PM

Anyone

el diablo 05-03-2005 03:44 AM

i got one... but i gotta keep testing it first...

am i the only person who's been working on this?

James T Brock 05-03-2005 03:56 AM

I'm going to start working on it again tomorrow.

akanevsky 05-09-2005 08:01 PM

I would suggest you make your hack nice and clean before posting it.

el diablo 05-10-2005 12:46 AM

yes indeed...

RapCapital 05-10-2005 11:14 PM

Does this work for 3.0.7? And does anybody have a working version with fixed bugs??

akanevsky 05-11-2005 09:29 AM

I am soon going to attempt to write a whole new battle system, which will not even be based on polls. However, I cannot tell you when it will be out.


All times are GMT. The time now is 04:25 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.01688 seconds
  • Memory Usage 1,854KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete