Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Magic Tool Box Details »»
Magic Tool Box
Version: 3.0.1, by misr.cc misr.cc is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 12-25-2007 Last Update: 12-25-2007 Installs: 47
Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

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:





This new buttons that add to the can't used by Firefox ( will fix it on the new version




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

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 12-26-2007, 05:01 PM
misr.cc's Avatar
misr.cc misr.cc is offline
 
Join Date: Dec 2007
Location: Egypt
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


copy the marked text


past the text


delete the marked text


preview


Remove Text Formatting


Changing the direction of writing from left to right


Changing the direction of writing from right to left


Explaining how to use Magic ToolBox


justify
Example :
[align=justify]text[/align]


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


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


add Blink. Example:
Blink text Example

Example :
[blink]text[/blink]


add Glint. Example:
Glint text Example

Example :
[glint]text[/glint]


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 click


line
Example :
[line]


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 ... )


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]


play flash
Example :
[flash=enter URL]WIDTH=width HEIGHT=height[/flash]


insert webpage in your topic
Example :
[web= Page Link ]WIDTH=width HEIGHT=height[/web]


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]


add frame on the marked text
Example :
[frame="frameID width"]text[/frame]

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


Moving the text to the left Example:
move text
Example :
[move=left]move to left[/move]


Moving the text to the right Example :
move text
Example :
[move=right]move to right[/move]


Moving the text UP Example :
move text
Example :
[move=up]Move to up[/move]


Moving the text down Example :
move text
Example :
[move=down]move down[/move]


Add the color code that you want

=================
Reply With Quote
  #3  
Old 12-26-2007, 06:00 PM
hanbattin hanbattin is offline
 
Join Date: Sep 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got some syntax errors
Reply With Quote
  #4  
Old 12-26-2007, 06:04 PM
misr.cc's Avatar
misr.cc misr.cc is offline
 
Join Date: Dec 2007
Location: Egypt
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hanbattin View Post
got some syntax errors
where
Reply With Quote
  #5  
Old 12-26-2007, 06:10 PM
hanbattin hanbattin is offline
 
Join Date: Sep 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i click some buttons, blink button is working good, but some other buttons no
Reply With Quote
  #6  
Old 12-26-2007, 06:13 PM
Adamant101 Adamant101 is offline
 
Join Date: Dec 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stuffit Expander refuses to let me open this. What's the deal?
Reply With Quote
  #7  
Old 12-26-2007, 06:16 PM
misr.cc's Avatar
misr.cc misr.cc is offline
 
Join Date: Dec 2007
Location: Egypt
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adamant101 View Post
Stuffit Expander refuses to let me open this. What's the deal?
i can't understand you

did you use Firefox ??
Reply With Quote
  #8  
Old 12-26-2007, 06:18 PM
misr.cc's Avatar
misr.cc misr.cc is offline
 
Join Date: Dec 2007
Location: Egypt
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hanbattin View Post
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
Reply With Quote
  #9  
Old 12-26-2007, 06:36 PM
hanbattin hanbattin is offline
 
Join Date: Sep 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

syntax error unexpected T_STRING.. when i click some buttons and i am on vb3.6.8
Reply With Quote
  #10  
Old 12-26-2007, 06:41 PM
misr.cc's Avatar
misr.cc misr.cc is offline
 
Join Date: Dec 2007
Location: Egypt
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

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 02:54 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.04742 seconds
  • Memory Usage 2,348KB
  • 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
  • (6)bbcode_php
  • (3)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
  • (10)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