Thread: New Posting Features - Diceroller
View Single Post
  #19  
Old 08-28-2008, 03:33 PM
PntSingularity's Avatar
PntSingularity PntSingularity is offline
 
Join Date: Feb 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.


Regarding the modifier. I've actually already implemented modifiers into 1.003. I just haven't gotten around to actually finishing that version due to lack of time (I just started a course at a university).

I've also been working on another version of the dice roller (the one I'm using on my site) which supports rolls such as "1d6+3*(5-2)*2d8-1d5" in one click!
However this is far from perfected and I never really wrote that version for the general public, which means it lacks in customizability both for the user and admin.
Another thing that I improved with this other version is that the separate dice are stored in a single column rather than on separate rows in their on table within the MySQL database, which should improve performance if the database gets very large.

So, I might attempt to perfect the improved version I run on my site while implementing the customizability from this version and at the same time adding the extra features requested.
Though this WILL take time. I've got to read The Nicomachean Ethics this weekend and it's 300+ pages...


Btw, it's funny that my mod seems to get so much more attention now that I have less time to work with it...

Quote:
Originally Posted by DL_Ashe View Post
Actually it does, and rather well, might I add. All you need to do is:
(1) Follow PntSingularity's concise instructions at the top to install the product
(2) Apply the minor code change to the postbit display hook
(3) Apply the security token code changes as per this thread: https://vborg.vbsupport.ru/showthread.php?t=177013

Now I'm brand new to administering a vBulletin (only been doing it for a few weeks), and I could work all of this out easily, so you should breeze through it PGAmerica.

PntSingularity: I want to commend you for this mod. It's excellent and works seamlessly for the gamers on the PbP subforum of my forums. In my opinion, this is honestly the best dice roller for vBulletin that I've seen and in the day since I've added, I've had rave reviews from my members, all of whom I've directed back to this thread and yourself, since you deserve all due praise for your work.

Whilst a minor point only, at some point if you ever have time (and granted you only stated above that your free time is practically zilch), if you could add a modifier to the roller? I'm no coder... hell I barely even know what I'm doing with administering my forum at times!

So that when someone clicks on Roll, the page displays:
Description:
Dice: xx d: xx m: xx (ie. +5)

It's a minor point and something I wish I could work out myself... but like I said I'm very new to this.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01084 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete