vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [VBC] Rap Battle System [LITE] (https://vborg.vbsupport.ru/showthread.php?t=210950)

EnIgMa1234 04-10-2009 10:00 PM

[VBC] Rap Battle System [LITE]
 
1 Attachment(s)
/*================================================= ====
||
|| [VBC] Rap Battle System v1.0.0
|| ------------------------------------------------------------------
|| Author: EnIgMa1234
|| Site: http://www.bluefirecreation.com
|| Copyright ?2009 EnIgMa1234.
|| This addon may not be redistributed or modified in whole or significant part.
||
\*================================================ =====


Presenting The Rap Battle System!

What is it?

This is an addon targetted at Rap/Hip-Hop forums. It adds a feature that allows users to battle against each other using text/audio/graphics etc. See screenshots for more information.

What features does it have?

  • New Battle Page In Battle Forums.
  • Multiple Battle Forums.
  • Scoring System.
  • Users Can't Vote On Own Battles.
How do I use it?
  1. Set which forums are battle forums in forum manager (admincp).
  2. Go to that forum.
  3. Click the new battle button.
  4. Input message/rules and opponent.
  5. ???
  6. Success!
What does the premium version have that this doesn't?
  • New battle page in battle forums
  • Scoring system
  • Redesigned thread layout for battles
  • Users must post before voting
  • Votes to win setting
  • Votes for knockout setting
  • Favourite line feature
  • Favourite line database
  • Recent battles in members profile
  • Recent battles on forumhome
  • Battle standings page
  • Top battler on forumhome
  • Battle catagory feature
  • Customisable title format for new battles
  • Multiple battle forums
  • Battle editing from admincp
  • Score editing from admincp
  • Automatic battle moderation
  • Battle archive forum
  • Auto-PM on new battle
  • And many more...!

How do I install?
Follow the installation instructions provided :).


Please note that limited support will be provided in this thread. Once my site is complete I will be transfering support over to their.

For the mean time, support will only be given to those that click Install.

Please do not PM me about this hack. Thanks!.

This hack is currently in BETA. Once I've recieve feedback from the community and bugs (if they exist) are fixed it will be updated.

EnIgMa1234 04-11-2009 08:12 PM

/* Reserved */

Dark Cynicus! 04-11-2009 08:33 PM

thanks enigma! i got a site coming out soon and would like to add this

EnIgMa1234 04-11-2009 08:34 PM

Quote:

Originally Posted by Dark Cynicus! (Post 1789191)
thanks enigma! i got a site coming out soon and would like to add this

Your welcome :) Let me know how it performs for you.

Jasem 04-11-2009 09:10 PM

Nice work, thank you!

GoTTi 04-11-2009 11:43 PM

why is it a lite version?

EnIgMa1234 04-12-2009 12:38 AM

Quote:

Originally Posted by GoTTi (Post 1789306)
why is it a lite version?

Because soon there will be a paid version with way more features. This is just a basic battle system.

fattony69 04-12-2009 01:25 AM

This can work for Signature of the Week (Maybe integrated with an updated version of your SOTW Mod ;)) I don't understand how rap battles work on forums, but I can think of different ideas for this with battling. I think this is a cool idea. How many people can battle at once?

EnIgMa1234 04-12-2009 01:53 AM

Quote:

Originally Posted by fattony69 (Post 1789348)
This can work for Signature of the Week (Maybe integrated with an updated version of your SOTW Mod ;)) I don't understand how rap battles work on forums, but I can think of different ideas for this with battling. I think this is a cool idea. How many people can battle at once?

Currently it's just 1v1 right now. An integration with my SOTW mod is also a possibility :)

KrU$ty 04-12-2009 03:49 AM

not something that i would use, but great idea.

ArnyVee 04-12-2009 12:09 PM

This is almost perfect for what I'm looking to do with having member pictures vs member pictures! :D

Don't limit yourself to "rap" battle system. This could be a "battle system" with uses for rap vs rap or art vs art or pictures vs pictures, etc.

Will it work with 3.7?

Lots of potential here! Great job! :up:

*tagged*

EnIgMa1234 04-12-2009 12:14 PM

Quote:

Originally Posted by ArnyVee (Post 1789530)
This is almost perfect for what I'm looking to do with having member pictures vs member pictures! :D

Don't limit yourself to "rap" battle system. This could be a "battle system" with uses for rap vs rap or art vs art or pictures vs pictures, etc.

Will it work with 3.7?

Lots of potential here! Great job! :up:

*tagged*

The original idea was to use it for a 'Rap' battles but yes the lite version could be used for just about anything.

And yes I believe it works for 3.7

ArnyVee 04-12-2009 08:17 PM

Can we change the word "battle" through phrases and all of that good stuff?

I'd have to "Disney-fy" it a bit for my site ;)

EnIgMa1234 04-12-2009 09:44 PM

Quote:

Originally Posted by ArnyVee (Post 1789777)
Can we change the word "battle" through phrases and all of that good stuff?

I'd have to "Disney-fy" it a bit for my site ;)

:O I forgot to phrase this. Oppsie :p. I'll have phrases in the next version for you :)

ArnyVee 04-13-2009 12:06 AM

Oh, that would be great! Keep us posted! :up:

basil2070 04-13-2009 06:33 PM

Dang... I really want to open a rap forum now :(

dancue 04-13-2009 10:26 PM

lol.

Glad to see this out. I just closed my hip hop site though...

uprentiss 04-14-2009 12:33 AM

hey i get an error 404 code when i click battle thread link or new bttle

EnIgMa1234 04-14-2009 02:38 AM

Quote:

Originally Posted by uprentiss (Post 1790675)
hey i get an error 404 code when i click battle thread link or new bttle

Did you upload the newbattle.php file?

uprentiss 04-14-2009 02:51 AM

i am pretty sure i did, is there anyways i can pm u my website so u can go look to see what im talking about?

EnIgMa1234 04-14-2009 10:52 AM

Quote:

Originally Posted by uprentiss (Post 1790728)
i am pretty sure i did, is there anyways i can pm u my website so u can go look to see what im talking about?

Go for it.

Also don't forget to click install ;)

uprentiss 04-19-2009 05:11 AM

ok i set "my text battles" as the battle thread

it has the new battle button

but when i click it, it doesnt load the page

it loads nothing

it brings up error 404

i really need your help


if you can

my msn is

hella_smoke@hotmail.com

my aim is

ovadoz14


this battle system is genius

i jus need it to work lol

uprentiss 04-19-2009 05:12 AM

i even nominated as mod of the month cuz this thing is great

uprentiss 04-19-2009 05:16 AM

where dso i put the new battle php

EnIgMa1234 04-19-2009 12:11 PM

Quote:

Originally Posted by uprentiss (Post 1794282)
where dso i put the new battle php

Upload it to your forum root folder. It's normally /forums | /forum | /board
Something like that. It's the folder that has admincp, clientscript, modcp, includes, images etc

uprentiss 04-19-2009 04:11 PM

ok i did that, maybe i put the coding in wrong i am going to try it again

k here is the thing u said after

<if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">
<img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
</a><else />&nbsp;</if>

to put

&nbsp;<if condition="$foruminfo[isbattleforum] == 1">
<a href="newbattle.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">
<img src="$stylevar[imgdir_button]/newbattle.gif" alt="$vbphrase[bs_startnew]" border="0" />
</a> </if>

but mine is a bit dif mine looks like this

<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>

uprentiss 04-19-2009 04:24 PM

okkkkkkkkkkkk i got it

i got one more questionm tho

is there any way i can make take the "new battle" button away and make it work with the "new reply" button ????

uprentiss 04-19-2009 04:41 PM

how do i make it where the poll is set to a certain number

and the poll closes itself

EnIgMa1234 04-19-2009 04:44 PM

Quote:

Originally Posted by uprentiss (Post 1794548)
how do i make it where the poll is set to a certain number


and the poll closes itself

These features aren't available in the LITE version.

ArnyVee 04-20-2009 12:57 AM

Oh, cool deal EnIgMa! :up:

I hope to try this one out next week. Thanks!

RedeemedWarrior 04-21-2009 08:03 AM

i just noticed the Product install doesn't work for members with database prefixes

It can however be edited via notepad etc and then imported

Aka if you have a database prefix of VB_

you would edit each instance of

Code:

$vbulletin->db->query_write("ALTER TABLE user ADD bs_losses smallint(6) NOT NULL DEFAULT '0'");
to
Code:

$vbulletin->db->query_write("ALTER TABLE VB_user ADD bs_losses smallint(6) NOT NULL DEFAULT '0'");
same goes for all the other tables forum, thread, user etc

RedeemedWarrior 04-21-2009 08:43 AM

also when i try to start a battle i get this
Code:

Error while posting battle. Please try again.

EnIgMa1234 04-21-2009 10:48 AM

Quote:

Originally Posted by RedeemedWarrior (Post 1795777)
i just noticed the Product install doesn't work for members with database prefixes

It can however be edited via notepad etc and then imported

Aka if you have a database prefix of VB_

you would edit each instance of

Code:

$vbulletin->db->query_write("ALTER TABLE user ADD bs_losses smallint(6) NOT NULL DEFAULT '0'");
to
Code:

$vbulletin->db->query_write("ALTER TABLE VB_user ADD bs_losses smallint(6) NOT NULL DEFAULT '0'");
same goes for all the other tables forum, thread, user etc

Sorry about that. Don't know how I left them out. I'll update it now.

EnIgMa1234 04-21-2009 10:58 AM

Install Code is now fixed.

Quote:

Originally Posted by RedeemedWarrior (Post 1795791)
also when i try to start a battle i get this
Code:

Error while posting battle. Please try again.

Could you give me a little more info? That error is given when the battle fails to post. What version of PHP and MySQL are you using? What modifications are you using that add functionality to threads etc.

RedeemedWarrior 04-21-2009 11:19 AM

as for that error i think its conflicting with another mod (i have about 50 installed) as for php and mysql the latest of both, just updated the other week

EnIgMa1234 04-21-2009 11:23 AM

Quote:

Originally Posted by RedeemedWarrior (Post 1795861)
as for that error i think its conflicting with another mod (i have about 50 installed) as for php and mysql the latest of both, just updated the other week

Could you try something for me? When you get that error, could you click back on your browser and click the submit button again? Let me know what happens.

skylab 04-21-2009 12:57 PM

I'll try this out today.

uprentiss 04-22-2009 11:04 PM

hey do i need to reinstall something?? since u updated something???

EnIgMa1234 04-22-2009 11:12 PM

Quote:

Originally Posted by uprentiss (Post 1797062)
hey do i need to reinstall something?? since u updated something???

Reimport the product file => Allow Overwrite = Yes

And upload the files again.

RedeemedWarrior 04-23-2009 05:41 AM

Quote:

Originally Posted by EnIgMa1234 (Post 1795864)
Could you try something for me? When you get that error, could you click back on your browser and click the submit button again? Let me know what happens.

still the same error, my guess its the old chatbot again, he doesn't get on well with things that like to autopost


All times are GMT. The time now is 02:36 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.01313 seconds
  • Memory Usage 1,828KB
  • 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_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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