vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Magic Tool Box (https://vborg.vbsupport.ru/showthread.php?t=166173)

misr.cc 12-25-2007 10:00 PM

Magic Tool Box
 
Support Stop For This Version
Support Just 4 New VB 3.7.X


/*================================================= =====================*\
|| ################################################## ################## ||
|| # Magic ToolBox Hack v3.0.1 for vB 3.6.x
|| # ----------------------------------------------------------------
|| # Most PHP code in this file is ? 2003-2005 Rayaheen Software
|| # This file may only be redistributed to vBulletin license holders
|| # ----------------------------------------------------------------
|| # -------------- Ported by http://www.MISR.cc --------------
|| # This Hack was ported to work with vB 3.0.X & 3.6.x
|| # ---------------------------------------------------------------- |
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------------
|| # http://www.traidnt.net || http://www.Misr.cc || http://www.vbulletin.com
|| # MISR.CC
|| ################################################## ################## ||
\*================================================ ======================*/
Important : This has been tested on 3.6.7 - and should work good for 3.6.X , please test with caution - and as always BACKUP FIRST!


What this hack do ?
Add extra buttons with new custom BB codes for your text editor

Demo :- No Live Demo
Just some screen
:erm:
https://vborg.vbsupport.ru/attachmen...1&d=1198695074

https://vborg.vbsupport.ru/attachmen...1&d=1198695074

https://vborg.vbsupport.ru/attachmen...1&d=1198695074
This new buttons that add to the can't used by Firefox ( will fix it on the new version

https://vborg.vbsupport.ru/attachmen...1&d=1198695074


Installation time :- 3 : 5 Min

Installation :

Upload :-
clientscript >>> {forum_path}/clientscript
images >>> {forum_path}/images
magic_toolbox.php >>> forum root

import product-magictoolbox

Edit Template :-
Template editor_clientscript

find
PHP Code:

vbphrase["insert_all"]                   = "$vbphrase[insert_all]"

after it add
PHP Code:

<!-- [START HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] -->
vbphrase["mtool_highlight_first"] = "$vbphrase[mtool_highlight_first]";
vbphrase["mtool_message_too_short"] = "$vbphrase[mtool_message_too_short]";
vbphrase["mtool_message_too_long"] = "$vbphrase[mtool_message_too_long]";
vbphrase["mtool_poem_type"] = "$vbphrase[mtool_poem_type]";
vbphrase["mtool_hide_keyboard"] = "$vbphrase[mtool_hide_keyboard]";
vbphrase["mtool_enter_flash_url"] = "$vbphrase[mtool_enter_flash_url]";
vbphrase["mtool_flash_hight"] = "$vbphrase[mtool_flash_hight]";
vbphrase["mtool_flash_width"] = "$vbphrase[mtool_flash_width]";
vbphrase["mtool_sound_video"] = "$vbphrase[mtool_sound_video]";
vbphrase["mtool_real_video"] = "$vbphrase[mtool_real_video]";
vbphrase["mtool_sound_only"] = "$vbphrase[mtool_sound_only]";
vbphrase["mtool_enter_ram_url"] = "$vbphrase[mtool_enter_ram_url]";
vbphrase["mtool_enter_page_url"] = "$vbphrase[mtool_enter_page_url]";
minchars $vboptions[postminchars];
maxchars $vboptions[postmaxchars];
<!-- [
END HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] --> 

Save it .

Template headinclude
Find
PHP Code:

<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script

After it add
PHP Code:

<!-- [START HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] -->
<
script type="text/javascript">var bburl '$vboptions[bburl]/';</script>
<
script type="text/javascript" src="clientscript/toolbox.js"></script>
<!-- [
END HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] --> 

Save it .

Template
showthread_quickreply
Find
PHP Code:

        <td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]/></div></td>
    </if> 

After it add
PHP Code:

<!-- [START HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] -->
    <if 
condition="$vboptions['mtool_quickreply_setting_active']">
                
$vBeditTemplate[extrabuttons]
    </if>
<!-- [
END HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] --> 

Save it .

Now go to
vBulletin Options >> Message Posting Interface Options >> Enable Clickable Message Formatting Controls

Edit :-
Full Editor to :-
Enable Standard Controls

Quick Reply to :-
Enable Standard Controls

Quick Edit to :-
Enable Standard Controls


Edit Magic ToolBoX settings :-
vBulletin Options >> Magic ToolBox

Any bugs any help ask here :D

misr.cc 12-26-2007 05:01 PM

known bugs :-
1- This new buttons that add to the can't used by Firefox ( will fix it on the new version )
2-
some buttons not work correct with Firefox
3- if you got some syntax errors use the attached file replace it with the one on the zip folder
4-
To use Magic Tool Box with Quick Reply you should Disable Problematic AJAX Features ( will try to fix it )

If you have any problem with Internet Explorer .... Use this product
https://vborg.vbsupport.ru/attachmen...1&d=1198701522

=================

The New Buttons

http://www.egycrack.net/magic/copy.gif
copy the marked text

http://www.egycrack.net/magic/paste.gif
past the text

http://www.egycrack.net/magic/delete.gif
delete the marked text

http://www.egycrack.net/magic/preview.gif
preview

http://www.egycrack.net/magic/plain.gif
Remove Text Formatting

http://www.egycrack.net/magic/ltr.gif
Changing the direction of writing from left to right

http://www.egycrack.net/magic/rtl.gif
Changing the direction of writing from right to left

http://www.egycrack.net/magic/help.gif
Explaining how to use Magic ToolBox

http://www.egycrack.net/magic/justify.gif
justify
Example :
[align=justify]text[/align]

http://www.egycrack.net/magic/mark.gif
mark ( highlight ) :
test highlighted text

Example :
[mark=color of code]text[/mark]
to get the code color code Select the palce where you want and click https://vborg.vbsupport.ru/

http://www.egycrack.net/magic/glow.gif
add glow. Example:
Glow Text Example

Example :
[glow=color of code]text[/glow]
to get the code color code Select the palce where you want and click https://vborg.vbsupport.ru/

http://www.egycrack.net/magic/blink.gif
add Blink. Example:
Blink text Example

Example :
[blink]text[/blink]

http://www.egycrack.net/magic/glint.gif
add Glint. Example:
Glint text Example

Example :
[glint]text[/glint]

http://www.egycrack.net/magic/gradient.gif
add Gradient :
Gradient text Example

Example :
[grade="code1 code2 code3 code4"]text[/grade]

code1 - code2 - code3 - code4 : can use a maximum of four colors, or just two colors at a minimum, must be separated with space
to get the code Select the palce where you want and clickhttps://vborg.vbsupport.ru/

http://www.egycrack.net/magic/line.gif
line
Example :
[line]

http://www.egycrack.net/magic/rplayer.gif
Listen to the voice or vedio with RealPlayer
RealPlayer ( voice ) :
[rams]RealPlayer URL[/rams]

RealPlayer ( vedio ) :
[ramv]RealPlayer URL[/ramv]

supported RealPlayer types ( ram Or rm Or ra or rms ... )

http://www.egycrack.net/magic/media.gif
Listen to the voice or vedio with Windows Media Player ( mp3,wav,au,wma,mpg,mpeg,wmv,avi,... )
Example :
[media]Windows Media Player link[/media]

http://www.egycrack.net/magic/flash.gif
play flash
Example :
[flash=enter URL]WIDTH=width HEIGHT=height[/flash]

http://www.egycrack.net/magic/web.gif
insert webpage in your topic
Example :
[web= Page Link ]WIDTH=width HEIGHT=height[/web]

http://www.egycrack.net/magic/poem.gif
Poem
Example :
[poem font="1,2,3,4,5" bkcolor="6" bkimage="7" border="8,9,10" type=11 line=12 align=13 use=14 num="15,16"]
Poem here [/poem]

http://www.egycrack.net/magic/frame.gif
add frame on the marked text
Example :
[frame="frameID width"]text[/frame]

frameID : frameID
width : frame width
use space betwen frameID & width

http://www.egycrack.net/magic/mleft.gif
Moving the text to the left Example:
move text
Example :
[move=left]move to left[/move]

http://www.egycrack.net/magic/mright.gif
Moving the text to the right Example :
move text
Example :
[move=right]move to right[/move]

http://www.egycrack.net/magic/mup.gif
Moving the text UP Example :
move text
Example :
[move=up]Move to up[/move]

http://www.egycrack.net/magic/mdown.gif
Moving the text down Example :
move text
Example :
[move=down]move down[/move]

https://vborg.vbsupport.ru/
Add the color code that you want

=================

hanbattin 12-26-2007 06:00 PM

got some syntax errors

misr.cc 12-26-2007 06:04 PM

Quote:

Originally Posted by hanbattin (Post 1409572)
got some syntax errors

where :confused:

hanbattin 12-26-2007 06:10 PM

when i click some buttons, blink button is working good, but some other buttons no

Adamant101 12-26-2007 06:13 PM

Stuffit Expander refuses to let me open this. What's the deal?

misr.cc 12-26-2007 06:16 PM

Quote:

Originally Posted by Adamant101 (Post 1409583)
Stuffit Expander refuses to let me open this. What's the deal?

i can't understand you :confused:

did you use Firefox ??

misr.cc 12-26-2007 06:18 PM

Quote:

Originally Posted by hanbattin (Post 1409580)
when i click some buttons, blink button is working good, but some other buttons no

I'll check it again Now

any bugs tell me :)

hanbattin 12-26-2007 06:36 PM

syntax error unexpected T_STRING.. when i click some buttons and i am on vb3.6.8

misr.cc 12-26-2007 06:41 PM

o.k i checked it again

all buttons work good

with Internet Explorer

and some other not work on Firefox

===========================

if still have this problem with Internet Explorer

try to re import this XML

https://vborg.vbsupport.ru/attachmen...1&d=1198701522


All times are GMT. The time now is 07:45 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
  • Page Generation 0.04094 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete