Back to vBulletin 3.6 Add-ons

Diceroller
Mod Version: 1.002, by PntSingularity

This modification is in the archives.
vB Version: 3.6.8 Rating: (2 votes - 5.00 average) Installs: 10
Released: 05 Aug 2008 Last Update: 09 Aug 2008 Downloads: 88
Not Supported DB Changes Uses Plugins Auto-Template Re-usable Code Translations Is in Beta Stage  

Diceroller by PointSingularity, originally written for 2d4.org
Version 1.002


This feature adds the functionality to post dice rolls. The rolls are associated with posts but cannot be edited even if the post can.

No longer supported.

WARNING!!
It has been brought to my attention that a bug causes a MySQL error when using the pm system!

To fix this, edit the plugin that's connected to the postbit display complete hook and add at the very top:
Code:
if (!empty($post['postid'])) {
then add at the very bottom:
Code:
}

CHANGELOG

1.002
*Moved the dice roller itself into a more discreet area. Now works well with either postbit or postbit_legacy!
*Added user option in the user cp for appearance (forum default, full, compatibility mode). Appearance can be enforced in the settings, disabling the user cp options and overriding any personal settings already set.
*Added settings variable for main width.
*Changed the font-size in a few places to make it look a bit more discreet.
*Made the separate rolls lists collapsable.
*Removed the nevershowfulllist function since it was completely pointless due to the newly collapsable lists.
*Fixed bug that would claim description title was too long even if it wasn't when certain characters were entered.
*Design fixes and reorganizing. The border now looks like the rest of the postbit's.
*Added "roll" button.
*Added code for clearing up memory after database queries.
*Dice are now sorted by result (rolls are still sorted by id).
*Connected to template hooks to further simplify the installation process.
*Moved all of diceroller.php into the main plugin.

1.001
*Fixed counter error when dice list is in tooltip mode.
*Added complete vBulletin Language/Phrase support.
*Added low-profile mode. This will display entries as plain text, which is excellent if you want an uber-lite look or want better browser support since this turns off the java features.
*Sorting sorted out. ;p Lists now sort with the newest entry on top in vertical lists and the newest at the end in horizontal (tooltips and low-profile mode).
*Reorganized data and simplified installation process.
--Notes: If upgrading, remove everything except the database and reinstall, following the new installation process.

UPGRADE INSTRUCTIONS
From v1.001
Upgrade within vBulletin using the new product-diceroller.xml. Be sure to check "allow overwrite" or upgrade won't work. Then upload the roll.gif image into the /buttons directory. Finally revert your template changes you made for the last version (they are no longer needed) and delete diceroller.php (it's not needed anymore either).

From v1.0
Do NOT upgrade from v1.0. Instead delete the old templates, uninstall the plugins, etc. manually! You can keep the database if you'd like as that has not been changed.
Version 1.001 comes with a proper installer and is upgradable.

INSTALLATION INSTRUCTIONS
1. Upload and put roll.gif to your theme's "button" folder on the webserver (or make your own button ).
2. Import the product file product-diceroller.xml.
DONE!

CHANGE SETTINGS:
There's no addition to the admin cp, instead you can edit the settings by adjusting the values in the plugin called "Diceroller Settings". Be careful though!

ALSO IMPORTANT: Be sure to have plugins enabled in vBulletin or this won't work.

KNOWN ISSUES

v1.002
*Quote-box gets dropped down, leaving the title where it should be, if the dice roller is in the way.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s diceroller10.zip (43.4 KB, 38 downloads)
File Type: %1$s diceroller1001.zip (52.6 KB, 32 downloads)
File Type: %1$s diceroller1002.zip (136.0 KB, 71 downloads)

Screenshots

Click image for larger version
Name:	screen1.jpg
Views:	196
Size:	71.7 KB
ID:	85244   Click image for larger version
Name:	screen2.jpg
Views:	185
Size:	22.4 KB
ID:	85245   Click image for larger version
Name:	screen3.jpg
Views:	239
Size:	13.0 KB
ID:	85246   Click image for larger version
Name:	screen4.jpg
Views:	165
Size:	36.8 KB
ID:	85247  


vblts.ru supports vBulletin®, 2022-2024