Back to vBulletin 3.7 Template Modifications

Math & Science symbols
Mod Version: 1.00, by jrap

This modification is in the archives.
vB Version: 3.7.5 Rating: (1 vote - 4.00 average) Installs: 7
Released: 05 Feb 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

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 http://pi.bloo.us:800/academic/latex/plugin/, but it's a nice addition.

Cheers!

Download

No files for download.

Screenshots

Click image for larger version
Name:	Picture 1.png
Views:	61
Size:	12.9 KB
ID:	94162  


vblts.ru supports vBulletin®, 2022-2024