![]() |
vBCalculator version 1.1
vBCalculator
version 1.1 http://img118.echo.cx/img118/885/screenshot3da.jpg TEMPLATE EDITS: 2 (headinclude, NAVBAR) NEW TEMPLATES: 1 (calculator) NEW PHP FILES: 1 (calculator.php) SCREENSHOTS INCLUDED IN ZIP FILE TIME TO INSTALL: Less than 5 minutes LEVEL OF DIFFICULTY: Beginner/Simple This hack adds a popup multi-function scientific calculator to your forum. In additon to the normal calculator functions (Additon, Subtraction, Multiplication, Division, Equals), this calculator also features Square Root, exponential, cosine, inverse cosine, arcsine, tangent, inverse tangent, squared, cubed, subset and pi functions, as well as memory functions. INSTALLATION: 1) Go to ADMIN CP -> STYLES & TEMPLATES -> ADD NEW TEMPLATE and create a template called calculator with the contents of template.calculator.txt and click save. 2) Go to ADMIN CP -> STYLES & TEMPLATES -> EDIT TEMPLATES and add the contents of template.headinclude.txt to the end of the headinclude template and click save. 3) Go to ADMIN CP -> STYLES & TEMPLATES -> EDIT TEMPLATES and open the NAVBAR template and search for the following: Code:
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr> Code:
<td class="vbmenu_option"><a href="#" onclick="window.open('calculator.php','calculator','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=510,height=235'); return false;">Calculator</a></td> 5) That's it! Go to your forum NAVBAR -> QUICK LINKS -> Calculator to view your new popup calculator. PLEASE CLICK INSTALL version changes: 1.1: changed the calculator to a popup menu (redo the NAVBAR template edit and replace the contents of the calculator template to upgrade from 1.0) Thanks to nexialys for the suggestion. |
here are some screenshots
|
would be good to have this as a popup, like the buddylist, instead of a full page, so we can continue browsing during calculations...
|
Quote:
|
Quote:
|
Quote:
|
Haha, I am sorry but PWNED...a calculator? NICE!
|
Quote:
|
will this work on 3.5?
|
Quote:
|
The buttons look all squished in IE for me. Anyway to get the buttons looking like in your pick?
|
Quote:
|
VERY confussing directions. I cant get it to show up, first your talking about a calculator template, then you just move on to Headlinclude template...
Im very dissapointed and i want this hack on my site. |
Quote:
|
Quote:
|
Quote:
|
Ok, I'll wait until it is fixed to re-install since it seems the support now seems non-existant for this.
|
Quote:
Try this for your "calculator" template and let me know if ti fixes the problem for you: Code:
$stylevar[htmldoctype] |
Nope, didn't change anything. :(
|
ok- then let's get more drastic with the cellpadding/spacing:
try this Code:
$stylevar[htmldoctype] |
Nope, didn't make the buttons themselves any wider. Just the background for them.
|
sorry- I misunderstood- in that case try this:
Code:
$stylevar[htmldoctype] |
Well, that's a little better. The numbers buttons look right now but the buttons above them are still off size.
|
Any more luck yet? LOL
Also, maybe a small help file to tell the user what the certain calculations do? ;) |
Great little addition. I can't count how many times I was online and wife or kid needed a quick HOW MUCH IS THIS and I had to scramble to find a calc or pull it up on my PC. Great stuff!
|
All times are GMT. The time now is 03:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|