Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Math & Science symbols Details »»
Math & Science symbols
Version: 1.00, by jrap jrap is offline
Developer Last Online: Aug 2014 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.5 Rating:
Released: 02-04-2009 Last Update: Never Installs: 7
Template Edits
Re-useable Code Translations  
No support by the author.

I help run an Engineering forum where members frequently use a set of math/science symbols, so we thought it would be a good idea to add an area under the 'Smileys' box with these symbols readily available.

In Template: editor_smiliebox

After the first </fieldset> which is for the smileys, and before the <else />, add the following:

Code:
<fieldset class="symbols" id="{$editorid}_symbolbox" title="Symbols">
	<legend>Symbols</legend>
	<table cellpadding="4" cellspacing="0" border="0" align="center">

	<tr align="center" valign="bottom">
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('Ω','','');">Ω</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('σ','','');">σ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('μ','','');">μ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('ε','','');">ε</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('τ','','');">τ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('ω','','');">ω</a></td>
	</tr>

	<tr align="center" valign="bottom">
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('κ','','');">κ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('α','','');">α</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('β','','');">β</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('γ','','');">γ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('δ','','');">δ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('η','','');">η</a></td>
	</tr>

	<tr align="center" valign="bottom">
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('θ','','');">θ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('λ','','');">λ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('π','','');">π</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('ρ','','');">ρ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('ζ','','');">ζ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('χ','','');">χ</a></td>
	</tr>

	<tr align="center" valign="bottom">
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('ψ','','');">ψ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('∞','','');">∞</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('?','','');">?</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('√','','');">√</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('Δ','','');">Δ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('∂','','');">∂</a></td>
	</tr>

	<tr align="center" valign="bottom">
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('∫','','');">∫</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('Ʃ','','');">Ʃ</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('∏','','');">∏</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('?','','');">?</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('≈','','');">≈</a></td>
		<td><a href="javascript:vB_Editor['vB_Editor_001'].insert_text('≠','','');">≠</a></td>
	</tr>

	</table>
</fieldset>
This is definitely not a replacement for the LaTeX Reference Forum Plugin, but it's a nice addition.

Cheers!

Show Your Support

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

Comments
  #2  
Old 02-05-2009, 08:37 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, I don't have a math forum, but I like it.
Reply With Quote
  #3  
Old 02-06-2009, 05:29 AM
Soliloquy's Avatar
Soliloquy Soliloquy is offline
 
Join Date: Mar 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly what I needed for Science Chats. I had been using images of each symbol as smileys, but that was cumbersome and awkward. Thank you!
Reply With Quote
  #4  
Old 02-06-2009, 01:22 PM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed , good idea
Reply With Quote
  #5  
Old 08-02-2009, 11:48 PM
meraia meraia is offline
 
Join Date: Aug 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnxxxxxxxxxxxxxxxxxxxxxxx
Reply With Quote
  #6  
Old 03-23-2012, 07:12 PM
100marks 100marks is offline
 
Join Date: Mar 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I do this in VB4 ? please let me know
Reply With Quote
  #7  
Old 03-24-2012, 01:31 AM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really recommend using mathjax for any math symbols. It's free and you don't have to install anything on your own server. I run a math forum and it's an amazing product.
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 06:46 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.04534 seconds
  • Memory Usage 2,261KB
  • Queries Executed 20 (?)
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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete