Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 12-26-2007, 08:26 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this but the tool box images aren't showing up.

How do I do this? Do I need to upload the folder Screen anywhere? Thanks, great hack btw.
Reply With Quote
  #13  
Old 12-26-2007, 08:57 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its sorted now thanks, but when I click on magic box links in Quick reply etc... It comes up saying:

Parse error, unexpected T_string on line 292 in public_html/forumsdirectory/magic_toolbox.php

Wasn't that where you told us to upload the file? Any help would be appreciated thanks.
Reply With Quote
  #14  
Old 12-26-2007, 09:18 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There seems to be an error on one of these lines in the magic_toolbox.php:

$$poem$$
Poem
<font color=green><b>Example :</b></font>
<div dir="ltr">[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]</div>
<font face="courier new, courier" size=2>
???? :
1 : Font type : simplfied arabic
2 : Font size 1 : 7
3 : Font Color
4 : bold Or normal
5 : italic Or normal

Background :
6 : Background color code
7 : Background pic url must begin with <span dir="ltr">http://</span>

Frame :
8 : Frame style
9 : Frame size
10 : Frame color

Poem style :
11 : Use numbers ( 0 = 2 Columns ? 1 = Slope ? 2 = Intervening ? 3 = Column )

The space between the parts :
12 : use numbers ( 1 = Short ? 2 = long )

Poem Algin :
13 : ( center ? right ? left )

poem formating :
14 : ( ex = words length ? sp = words spacing )

????? ??????? :
15 : use numbers ( 0 = didin't parts numbers ? more than 0 = show parts numbers and begin from the number you enter )
16 : number color
</font>
Note :
on poem you should use (=) to Separat betwen the lines partes . and if there Just one part don't use ( =)

$$frame$$
add frame on the marked text
<font color=green><b>Example :</b></font>
<div dir="ltr">[frame="<i><font color=blue size=2>frameID</font> <font color=red size=2>width</font></i>"]text[/frame]</div>
frameID : frameID
width : frame width
use space betwen frameID & width

$$mleft$$
Moving the text to the left Example:
<marquee width="90%" width="90%" direction="left" scrolldelay="120">move text</marquee>
<font color=green><b>Example :</b></font>
<div dir="ltr">[move=left]move to left[/move]</div>

$$mright$$
Moving the text to the right Example :
<marquee width="90%" direction="right" scrolldelay="120">move text</marquee>
<font color=green><b>Example :</b></font>
<div dir="ltr">[move=right]move to right[/move]</div>

$$mup$$
Moving the text UP Example :
<marquee width="90%" direction="up" scrolldelay="120">move text</marquee>
<font color=green><b>Example :</b></font>
<div dir="ltr">[move=up]Move to up[/move]</div>

$$mdown$$
Moving the text down Example :
<marquee width="90%" direction="down" scrolldelay="120">move text</marquee>
<font color=green><b>Example :</b></font>
<div dir="ltr">[move=down]move down[/move]</div>

If it isn't on any of them then it is on one of those lines, line 292 according to the syntax error I am getting. I have imported the xml file again and still getting the error.
Reply With Quote
  #15  
Old 12-26-2007, 09:41 PM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same issues.. ie7....
Reply With Quote
  #16  
Old 12-26-2007, 11:18 PM
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mod is work for vbb 3.7.x ??
Reply With Quote
  #17  
Old 12-27-2007, 12:24 AM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a very old hack and a very nice tools for our reply box ....

thanks for shareing ....

mine is working fine but its not the same . lol

by the way it works on 3.7.0 beta 3 >>>>>>>>>>>>
Reply With Quote
  #18  
Old 12-27-2007, 01:41 AM
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 TCE Killa View Post
Its sorted now thanks, but when I click on magic box links in Quick reply etc... It comes up saying:

Parse error, unexpected T_string on line 292 in public_html/forumsdirectory/magic_toolbox.php

Wasn't that where you told us to upload the file? Any help would be appreciated thanks.
Yse ... i'll check it again

Quote:
Originally Posted by TCE Killa View Post
There seems to be an error on one of these lines in the magic_toolbox.php:
PHP Code:
$$poem$$
Poem
<font color=green><b>Example :</b></font>
<
div dir="ltr">[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]</div>
<
font face="courier new, courier" size=2>
???? :
Font type simplfied arabic
Font size 1 7
Font Color
bold Or normal
italic Or normal

Background 
:
Background color code
Background pic url must begin with <span dir="ltr">http://</span>

Frame :
Frame style 
Frame size
10 
Frame color

Poem style 
:
11 : Use numbers 2 Columns  Slope Intervening Column )

The space between the parts :
12 : use numbers Short long )

Poem Algin :
13 : ( center  right left  )

poem formating :
14 : ( ex words length sp words spacing )

????? ??????? :
15 : use numbers didin't parts numbers  ? more than 0 = show parts numbers and begin from the number you enter )
16 : number color
</font>
Note :
on poem you should use (=) to Separat betwen the lines partes . and if there Just one part don'
use ( =)

$
$frame$$
add frame on the marked text
<font color=green><b>Example :</b></font>
<
div dir="ltr">[frame="<i><font color=blue size=2>frameID</font> <font color=red size=2>width</font></i>"]text[/frame]</div>
frameID frameID
width 
frame width
use space betwen frameID width

$$mleft$$
Moving the text to the left Example:
<
marquee width="90%"  width="90%" direction="left" scrolldelay="120">move text</marquee>
<
font color=green><b>Example :</b></font>
<
div dir="ltr">[move=left]move to left[/move]</div>

$
$mright$$
Moving the text to the right Example :
<
marquee width="90%"  direction="right" scrolldelay="120">move text</marquee>
<
font color=green><b>Example :</b></font>
<
div dir="ltr">[move=right]move to right[/move]</div>

$
$mup$$
Moving the text UP Example :
<
marquee width="90%"  direction="up" scrolldelay="120">move text</marquee>
<
font color=green><b>Example :</b></font>
<
div dir="ltr">[move=up]Move to up[/move]</div>

$
$mdown$$
Moving the text down Example :
<
marquee width="90%"  direction="down" scrolldelay="120">move text</marquee>
<
font color=green><b>Example :</b></font>
<
div dir="ltr">[move=down]move down[/move]</div

If it isn't on any of them then it is on one of those lines, line 292 according to the syntax error I am getting. I have imported the xml file again and still getting the error.
use this attach replace it with magic_toolbox.php
https://vborg.vbsupport.ru/attachmen...1&d=1198726701

Quote:
Originally Posted by TheBlackPoet View Post
same issues.. ie7....
i'll fix it

Quote:
Originally Posted by shadowevil View Post
Mod is work for vbb 3.7.x ??
V
V
V
V
Quote:
Originally Posted by Barakat View Post
a very old hack and a very nice tools for our reply box ....

thanks for shareing ....

mine is working fine but its not the same . lol

by the way it works on 3.7.0 beta 3 >>>>>>>>>>>>
thanx Barakat
Reply With Quote
  #19  
Old 12-27-2007, 10:06 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this looks awesome, however I will wait until you iron out the few remaining bugs. Thanks for this tho.
Reply With Quote
  #20  
Old 12-27-2007, 10:19 AM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working good!!!!!!
Reply With Quote
  #21  
Old 12-27-2007, 11:27 AM
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 hornstar1337 View Post
Thanks, this looks awesome, however I will wait until you iron out the few remaining bugs. Thanks for this tho.
iam working on ot

Quote:
Originally Posted by TheBlackPoet View Post
working good!!!!!!
good news
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 11:27 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.08183 seconds
  • Memory Usage 2,400KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_php
  • (7)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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