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)

???`S?LV?R???` 01-14-2005 09:24 PM

well since you got it installed right now, do you notice any other bugs left besides the one's that have fixes posted for?

MajorFm.com 01-14-2005 09:37 PM

It seems ok now... so far so good..

MindTrix 01-15-2005 08:41 AM

Quote:

Originally Posted by James T Brock
He is NOT over-reacting. You have screwed up many peoples forum. I can understand there being some bugs that you don't know how to correct, but since someone posted a fix the least you could do is upgrade the original post in this thread to include the poll fix. Otherwise it looks like you just don't care.

Maybe it looks like i dont have the time anymore? I did not screw up many peoples forums, as stated hacks are installed at the users risk, but your right, it does mess things up, but only a tiny bit, until they either undo the php edits, or see the fix. Its not like it deleted every members posts or something.

Dont you think i find it tedious myself that i dont have the time for updates and fixes? Dont you think i would love to do it? Because believe me i would.

And when i get the time, i will do the updates, and fixes to the best i can. And your right, i should update the zip, i completely forgot so i will do that now.

???`S?LV?R???` 01-15-2005 08:44 AM

thanks mindtrix, we appreciate it

MindTrix 01-15-2005 08:49 AM

Nope alot of people dont, and then some do. But i will get this sorted soon even if i have to pay someone else to do it for me.

???`S?LV?R???` 01-15-2005 09:02 AM

lol ok well reguardless of the one's that don't, I do

tehste 01-15-2005 09:48 AM

This is a pretty nice hack. Some of you may know I coded Petz which included a battle system but the main difference between a rap battle and an RPG style battle is that it is a competition of lyrics and a winner cant be determined by php.

I have heavily changed the hack but it is still not working well on our boards, as people aren't entering usernames, although I made the code check if the opponent user exists or if there is an opponent user selected, if not it skips the RBS hack. I guess a good way to make users USE the system would be to not let the thread be posted if an opponent isn't entered. Which I didn't do because other threads may need to be posted: IE: rules and stuff.

Also the voting of other members isn't very good, it is a new board (9 days) but there are 100+ members so to combat this I had an idea, if the forum is set so only Admins/(s)Moderators can vote and the RBS uses a max vote of 1. Then a staff can choose the winner. (not done yet)

I also had to expand the scope of the hack so I could use more than one battle thread. I chose to use 5 and use the same drop down box selection system.

Another Idea I had would be to PM the opponent when a thread is created... Saying something like: 'You are in a battle with $battlestarter Please go to this thread: $battlethread.'
Like mindtrix I have time problems, but if you wana check out how I have used the hack (only a few threads in the battle arena are using the hack) http://www.lyricalfury.com

Nice hack, if you would like to get together and work on this mindtrix send me a PM, unfortunately I'm going to Uni next September and I'm finishing off 3 a levels at the moment so I don't have the time I would like.

???`S?LV?R???` 01-16-2005 04:12 AM

mindtrix do ya mind updating the instructions for 3.0.5? because some of the coding like in admincp/user.php are different

influence 01-23-2005 05:09 PM

If anyone can fix it so that it will force the thread starter to enter a username in the challenger field then this hack will be complete for ME.

I have been messing with the vbulletin_global.js file but I can't figure out anything.

I was trying to make an example coding out of the subject text requirement coding for the challenger text requirement coding but since I dont know a damn thing about php or js, I gave up

If anyone can come up with this then that would be nice.

Also, ZSdave can I have your modification for this hack.

thanks

KAC 01-23-2005 07:28 PM

Can this be used for photoshop contests?

Pro 01-24-2005 07:08 AM

Trix or James... if you're around hit me up on AIM... i've got a few bugs out as far as the MySQL but i'd like to get you or Trix to check out some of the code first... since you two have been messing with this Hack the longest (Trix made it - but he's been mad busy - and i know you've been working with this code for a while too)...

other members - PLEASE DO NOT P.M. ME!!! i'll post any info i can when i get the time... but much like MindTrix - i AM a busy dude!

Pro 01-24-2005 07:11 AM

P.S. - INCASE YOU HAVN'T READ THIS YET... BACK UP YOUR FORUMS BEFORE YOU INSTALL ANY HACKS!

the developers of the hacks shouldn't be at fault for any mishaps... you should ALWAYS back up your forums!

???`S?LV?R???` 01-26-2005 02:00 AM

Quote:

Originally Posted by Pro
Trix or James... if you're around hit me up on AIM... i've got a few bugs out as far as the MySQL but i'd like to get you or Trix to check out some of the code first... since you two have been messing with this Hack the longest (Trix made it - but he's been mad busy - and i know you've been working with this code for a while too)...

other members - PLEASE DO NOT P.M. ME!!! i'll post any info i can when i get the time... but much like MindTrix - i AM a busy dude!

Have you got RBS working for 3.0.6?... If so mind sharing the updated instructions on here? :)

ericgtr 02-01-2005 09:18 PM

Everything works okay but it won't update the loses but it does the wins, I have even tried to manually do it through the admin piece and it still won't do it. I've checked the database and the tables match up as well as the script, any ideas?

el diablo 02-02-2005 03:10 AM

Hey guys, This is "Pro" but i'm under my old screen name tonight... I've been playing with this thing for a few hours now and i got the KO's to work as promised (like 2 months ago lol) and the wins/losses/ko's all seem to work good!

I've only tested it like 20 times... it works for me but PLEASE BACK UP YOUR FORUMS!

there's quite a few updates on the files - download the attached... it has all the updates you need!

hopefully MindTrix can update the zipfile up at the top...

i'll be trying to update a few other things such as the "forumid" choices... for now it's only 1 but hopefully soon you can do it in a few others for Audio, Beats, Text, and maybe even a Tournament type thing?

also i'd like to get the Top 10 list going if MindTrix can contact me about it...

???`S?LV?R???` 02-02-2005 03:42 AM

Quote:

Originally Posted by el diablo
Hey guys, This is "Pro" but i'm under my old screen name tonight... I've been playing with this thing for a few hours now and i got the KO's to work as promised (like 2 months ago lol) and the wins/losses/ko's all seem to work good!

I've only tested it like 20 times... it works for me but PLEASE BACK UP YOUR FORUMS!

there's quite a few updates on the files - download the attached... it has all the updates you need!

hopefully MindTrix can update the zipfile up at the top...

i'll be trying to update a few other things such as the "forumid" choices... for now it's only 1 but hopefully soon you can do it in a few others for Audio, Beats, Text, and maybe even a Tournament type thing?

also i'd like to get the Top 10 list going if MindTrix can contact me about it...

Is this updated for vB 3.0.6

el diablo 02-02-2005 03:45 AM

yes that's what i've been testing it on...

el diablo 02-02-2005 05:45 AM

actually... give me a day to test this again... now it's not working how it was lol but it might just be because i've been playing with it so much (editing more stuff)... but before i started trying to get it to acess more forums it was working 110% correct...

???`S?LV?R???` 02-02-2005 05:49 AM

lol k, well keep us updated :)

el diablo 02-02-2005 06:55 AM

yeah... i've got it working again... the thing is - the more i test the more the little bugs come out... right now it works fine until it hits around 20 queries... not sure why... trying to figure it out...

ericgtr 02-05-2005 01:44 PM

I know it's been requested a few times in here so here's another bump, an option to add more than one forum to this would make a ton of difference, even if it's hard coded.

???`S?LV?R???` 02-05-2005 05:40 PM

lol i'd say before starting work on new features we need to atleast get this updated for vb 3.0.6

ericgtr 02-05-2005 06:03 PM

Quote:

Originally Posted by ???`S?LV?R???`
lol i'd say before starting work on new features we need to atleast get this updated for vb 3.0.6

I doubt it's that far off the mark and if it is it can easily be tweaked like most of the mods for 3.0.x

???`S?LV?R???` 02-05-2005 06:09 PM

:) well it'd be nice for someone to release the working version for 3.0.6 though

el diablo 02-05-2005 06:29 PM

it's coming soon... i changed the code around again and it seems to be working correctly... as far as more than one forum - yeah that's actually what i'm trying to do now... i'm going through all of this code trying to figure out how i can do it for more than one forum...

???`S?LV?R???` 02-05-2005 06:40 PM

well good luck, keep us updated :)

ericgtr 02-05-2005 07:29 PM

Cool man, I will look forward to it. Another thing that would be nice is some sort of error checking. If they do not type in a username (or the field is blank) then they would go to an error page, as it is I have a bunch of users who don't type it in and it's a huge hassle keeping it straight.

rapcriminals 02-09-2005 05:13 PM

yeah i have 3.0.6 i want that bad...and it dont work for mine...:(

ericgtr 02-09-2005 06:36 PM

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> 


rapcriminals 02-10-2005 03:02 PM

so how long will it take for 3.0.6 man. im eager to have this

ericgtr 02-10-2005 03:09 PM

Quote:

Originally Posted by rapcriminals
so how long will it take for 3.0.6 man. im eager to have this

When searching and replacing, look for lines that are similar to what the instructions say, for example, when it says "in your template find: this line of code" search for "this" instead and look for similarities. Most mods will work between close version like this, you just have to make adjustments.

rapcriminals 02-10-2005 03:12 PM

how about this...why dont someone just give me there files they use ont there board that be much easier... the files u edit.

Like

Index.php
showthread.php

++++ that u edit.
that might help me out!

???`S?LV?R???` 02-10-2005 03:13 PM

it'd be nice if someone posted some clear instructions for 3.0.6 though instead of people having to take guesses :\

rapcriminals 02-10-2005 03:17 PM

yeah exactly. man. or it be nice they just posted the files u edit with the info on them :) so we wouldnt have to touch stuff to mess it up...either way im saving my orginal files and giving it a shot once again.

ericgtr 02-10-2005 03:50 PM

I am still running 3.0.3 if I were running 3.0.6 I would upgrade it and post instructions for you guys but I haven't worked with it yet.

rapcriminals 02-10-2005 04:11 PM

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT * FROM battlesystem LIMIT 1
mysql error: Table 'rrapcrim_phpbb1.battlesystem' doesn't exist

mysql error number: 1146

Date: Thursday 10th of February 2005 01:10:09 PM
Script: http://rapcriminals.com/forum/admincp/battlesystem.php
Referer: http://rapcriminals.com/forum/admincp/index.php?do=nav
Username: VenomZ
IP Address: 68.0.46.42


Whats this mean man?

ericgtr 02-10-2005 04:18 PM

Did you run the RBS.sql file? You need to go into your phpmyadmin and import that file. Once in phpmyadmin go to your vb database then click the SQL tab, click the "Browse" button and locate the RBS.sql file from the Rap Battle directory on your PC.

rapcriminals 02-11-2005 02:35 AM

oh damn didnt do that

rapcriminals 02-11-2005 05:21 AM

Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home2/rrapcrim/public_html/forum/poll.php on line 219

i keep getting this for my poll also..and nothing is seeming to show up..I put all the info on my phps...they work now but nothing is showing up..i did the Run sql thing and i did the tepmlates...whats going on man Please help me

rapcriminals 02-11-2005 05:24 AM

if u dont know how to fix it then i can try to get u to do it for me if u can help me. id appreciate it.


All times are GMT. The time now is 12:00 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.01589 seconds
  • Memory Usage 1,861KB
  • 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
  • (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