vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Dice Roll for vB3 (https://vborg.vbsupport.ru/showthread.php?t=62042)

mudpyr8 03-28-2004 11:09 AM

Just a different approach, I guess. My code allows for multiple rolls per post, which is convenient, but you either have to disallow editing or establish a convention that any message that has rolls in it when edited becomes invalid IF the roll was a success/good. It hasn't been a problem as the people on the boards find it useful enough they don't want to abuse it.

Bad Bunny 04-07-2004 03:26 PM

Works great! When I make some dice images, I'll be sure to share. ;)
Thanks

Bad Bunny 04-07-2004 03:44 PM

Quote:

Originally Posted by Bad Bunny
Works great! When I make some dice images, I'll be sure to share. ;)
Thanks

I just had a thought as I was expirmenting with it...it would be MORE than great if a bbcode could be made for this, so we could have a button to add it in a post, as opposed to having to insert it manually.

mudpyr8 04-07-2004 11:19 PM

I posted my code so you could play with it if you want. I'm waiting for VeloCD to finish his bbcode admincp before I integrate it.

http://www.tekhed.com/dice/

Bro_Joey_Gowdy 04-08-2004 02:04 PM

/me clicks install

The General 04-08-2004 05:11 PM

Cool hack!!!

I run a pretty big D&D forum and this comes in veryVERY handy! :D

Catch-22|BL 04-13-2004 09:00 AM

Clean and hassle free installation!

I just played a game of craps with myself. ;)

Fluous 05-03-2004 12:56 AM

in my functions new posts there is this line on line 425 i think

PHP Code:

     list ($nodices$faces) = split(" ",$dice); 

and it says thats an error, above it are a { and the line below a } any idea? (thats when i go to the forum display

heres what it says

PHP Code:

Parse errorparse error in /home/gameraxi/public_html/forum/includes/functions_newpost.php on line 425

Fatal error
Call to undefined function: fetch_emailchecked() in /home/gameraxi/public_html/forum/forumdisplay.php on line 207 


Merlin_ 05-07-2004 01:04 AM

Just FYI, "dice" is already plural. A single cube is a "die."

Kentaurus 05-16-2004 08:17 AM

Quote:

Originally Posted by Fluous
in my functions new posts there is this line on line 425 i think

PHP Code:

     list ($nodices$faces) = split(" ",$dice); 

and it says thats an error, above it are a { and the line below a } any idea? (thats when i go to the forum display

heres what it says

PHP Code:

Parse errorparse error in /home/gameraxi/public_html/forum/includes/functions_newpost.php on line 425

Fatal error
Call to undefined function: fetch_emailchecked() in /home/gameraxi/public_html/forum/forumdisplay.php on line 207 


Please reapply the hack, that is a single line deleted that messed up your code :)


All times are GMT. The time now is 08:51 PM.

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.01220 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (2)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
  • (10)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