Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBCalculator version 1.1 Details »»
vBCalculator version 1.1
Version: 1.1, by yoyoyoyo yoyoyoyo is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 06-17-2005 Last Update: 06-17-2005 Installs: 13
Template Edits
 
No support by the author.

vBCalculator
version 1.1



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>
BEFORE add:
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>
4) Upload calculator.php to your forum root directory

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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-18-2005, 04:45 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here are some screenshots
Reply With Quote
  #3  
Old 06-18-2005, 04:56 PM
nexialys
Guest
 
Posts: n/a
Default

would be good to have this as a popup, like the buddylist, instead of a full page, so we can continue browsing during calculations...
Reply With Quote
  #4  
Old 06-18-2005, 04:58 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
would be good to have this as a popup, like the buddylist, instead of a full page, so we can continue browsing during calculations...
good idea! thanks... I will add it in a bit.
Reply With Quote
  #5  
Old 06-18-2005, 05:42 PM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
would be good to have this as a popup, like the buddylist, instead of a full page, so we can continue browsing during calculations...
Let us know when this is done. Then I would install.
Reply With Quote
  #6  
Old 06-18-2005, 05:45 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsboyce8624
Let us know when this is done. Then I would install.
The file has been updated to version 1.1, thanks to the popup suggestion from nexialys.
Reply With Quote
  #7  
Old 06-18-2005, 08:16 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, I am sorry but PWNED...a calculator? NICE!
Reply With Quote
  #8  
Old 06-18-2005, 08:42 PM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo
The file has been updated to version 1.1, thanks to the popup suggestion from nexialys.
Thanks.
Reply With Quote
  #9  
Old 08-10-2005, 05:43 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work on 3.5?
Reply With Quote
  #10  
Old 08-11-2005, 01:48 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
will this work on 3.5?
I don't see why not since it is only a popup javascript window.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07453 seconds
  • Memory Usage 2,298KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete