vBulletin Modifications

Dice Roll

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Supported
[vB 3.5.0] Dice Roll (162)
Released: 08-21-2005, 10:46 PM
Modification Information:
Author: Cheerpipe
Last Online: 01-26-2006
Hack Version: 1.0.1 Installer Included: 0 Additional queries added to database: 1
New Templates: 1 Template Edits: 0 File Edits: 2
New Files: 0 New Phrases: 0 Installation Time (In Minutes): 5

Well, i ported this great hack to vb 3.5. Enjoi.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 08-22-2005, 06:40 AM   #2
Junior Member
Join Date: Jun 2005
rosoner is on a distinguished road

Default

give us more info what it is




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-22-2005, 07:03 AM   #3
z|x
vB Newbie
z|x's Avatar
Join Date: Jul 2005
Location: Kuwait
z|x is on a distinguished road

Default

From vb.org
Quote:
This hack is most useful to roleplaying communities, but you can also
have fun with it in any forum. It implements a new code, [dice] with which
you can do a dice roll. You can roll as much as 3 dices of 30 faces and as
less as 1 dice of 2 faces.

Once you roll the dice it is stored in the post so you cannot roll again even
if you edit the post or whatever.

Please keep in mind the [img] tag should be disabled in the forum where the dice tag is going to be used. It is not mandatory and the hack will work even with the [img] tag enabled but to prevent cheating I would recommend it.

How to use it:

[dice={dices}]{faces}[/dice]

Example:

[dice=2]25[/dice]
This will roll two dices of 25 faces each one
[dice=1]6[/dice]
This will roll one dice of 6 faces




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2005, 05:49 PM   #4
Coder
Join Date: Jan 2005
Cheerpipe is on a distinguished road

Default

Quote:
Originally Posted by rosoner
give us more info what it is
sorry, but i dont speak english, because of this my posts are vert shorts




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-09-2005, 10:32 AM   #5
Banned
Join Date: Nov 2005
Danecookie is on a distinguished road

Default

any screenshots smething? demo links?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-17-2005, 02:10 PM   #6
vB Newbie
Join Date: Jun 2005
xtremox is on a distinguished road

Default

gracias ^^ tnx you!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2006, 11:40 PM   #7
vB Newbie
Join Date: Sep 2006
Gaara is on a distinguished road

Default

Tnx!!!!!!!!!! i love this hack :embarrass:classic:




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2007, 01:32 AM   #8
vB Newbie
Join Date: Jun 2007
starvin is on a distinguished road

Default

Sorry to give an "up" to this thread, but I have some questions about installing this hack.

Firstly when te instructions says
Quote:
Originally Posted by Instructions
################################################## ####################
# Queries to run
################################################## ####################


Run the following queries. You can do it via phpmyadmin, or at the
"Execute SQL Query" section at the Admin Control Panel

ALTER TABLE post ADD dice varchar(250) not null;
What do I have to do there? Do I have to modify any .php of the forum?

Then, it says:
Quote:
Originally Posted by Instructions

################################################## ####################
# New template: dice
################################################## ####################

<img src="http://www.vbhackers.com/images/dice/$point.gif" width="63" height="62" />

################################################## ####################
# New template: postbit_dice
################################################## ####################

<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1">
<tr>
<td><smallfont><b>Has lanzado $dicesno dados de $dicesfaces caras, obteniendo $dicepoints puntos</b></smallfont></td>
</tr>
<tr>
<td style="BORDER: #000000 1px solid; FONT-SIZE: 11px; COLOR: #000000; BACKGROUND-COLOR: #D7D7D7;">
$dicedata
</td>
</tr>
</table><br/>
There do I have to "add a module" using de vbadvanced?
I mean, do I have to create 2 new modules, with those names and those scripts in the "replacement" section?

Finally, how do I use de hack?... Because in any part I add a new BB code like [dice] [/dice]


Thanks!
PD: Admins sorry for this "up", honestly


Edit:
I found this error, could anyone tell how to solve it?
Quote:
Originally Posted by ERROR
Fatal error: Field dice is not defined in $validfields in class vb_datamanager_post in /includes/class_dm.php on line 485
It appears when I try to post after changing all the things that the instructions says to do.

Last edited by starvin; 06-04-2007 at 01:43 AM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2007, 04:05 AM   #9
loco.m
vB SEO Nutcase
loco.m's Avatar
Join Date: Nov 2005
Real Name: Brandon Sheley
Location: Kansas
loco.m is on a distinguished road

Default

Quote:
Originally Posted by starvin View Post

What do I have to do there? Do I have to modify any .php of the forum?
Run the following queries in the Admin Control Panel >
Maintenance > "Execute SQL Query" section

ALTER TABLE post ADD dice varchar(250) not null;


Quote:

Then, it says:
This has nothing to do with vbadvanced.


it's saying to make 2 new templates in your styles >

dice, postbit_dice


with the html as the content of each.


Cheers
__________________
Brandon Sheley / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers

Submit to Quality Directory & Link Directory & Deep Links.
vBulletin SEO - vBulletin Blog - vBulletin Newsletter
Freelance vBulletin Services (now accepting new clients) - Topeka Kansas




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-04-2007, 05:42 AM   #10
vB Newbie
Join Date: Jun 2007
starvin is on a distinguished road

Default

Thanks! I've been able to do everything but this:


Quote:
Originally Posted by loco.m View Post
Run the following queries in the Admin Control Panel >
Maintenance > "Execute SQL Query" section

ALTER TABLE post ADD dice varchar(250) not null;
When I try to enter to the "Admin Control Panel >Maintenance > "Execute SQL Query" section", is appears a board saying: "You are not authorized to execute SQl queries."

So, I modify the config.php as here recommends me:

Quote:
To run queries you first need to give yourself permission to run queries in the Admin CP. To do this, edit this section of config.php:

// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// to remove all user IDs from this list for security reasons.
$canrunqueries = 'x';


...with x being your userid number.
However, I do that but it stills appears that boar, not allowing me to execute the SQL queries.

What can I do?
What could be the problem?

EDIT:
What I can do is write a "1" because my Admin user is "ID:1"
The problem is that I don`t know anything of this :p

I'vo solved the problem (I left everything if this happens to anyone else , if it's wrong, tell me and I edit it.)


Thanks for everything!!!!

Last edited by starvin; 06-04-2007 at 11:15 PM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Khaos Here: Roll Out The Red Carpet khaos Introductions 5 08-11-2005 05:12 PM
Dice Hack diggymon123 vBulletin Modification Requests 7 08-03-2005 12:02 PM


All times are GMT -3. The time now is 10:57 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)