Current time: 09-22-2017, 16:26 PM
Adding Extra Images To The Text Editor
08-13-2010, 17:09 PM
Post: #1
Adding Extra Images To The Text Editor
Open : /jscripts/editor.js

Find:
Code:
The contents of this section are hidden from your usergroup.

Register


Add on next line (making sure to add "," at the end of the previous line):
Code:
The contents of this section are hidden from your usergroup.

Register

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

Now open : /jscripts/editor_themes/default/stylesheet.css

Add to the very bottom:
Code:
The contents of this section are hidden from your usergroup.

Register

Make sure that the background image location is correct and the image extension.

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

Now what you need to do is add your mycode so that ur new image tag works.

Your mycode regular expression must contain your "insert" variable which in this example is "download"

So your mycode regular expression should look like this : \[download\](.*?)\[/download\]

Thats it, its up to you what you what your mycode to display.

The contents of this section are hidden from your usergroup.

$10 Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
25% Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
$25 Off all reseller packages - Coupon Code: The contents of this section are hidden from your usergroup.
Quote

Namecheap.com

09-06-2010, 11:48 AM
Post: #2
RE: Adding Extra Images To The Text Editor
Thanks......I really want this
Quote

Namecheap.com

09-06-2010, 12:43 PM
Post: #3
RE: Adding Extra Images To The Text Editor
Np prob Big Grin

The contents of this section are hidden from your usergroup.

$10 Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
25% Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
$25 Off all reseller packages - Coupon Code: The contents of this section are hidden from your usergroup.
Quote

Namecheap.com

09-06-2010, 23:44 PM
Post: #4
RE: Adding Extra Images To The Text Editor
please write mycode for this Tutorial
Quote

Namecheap.com

09-06-2010, 23:48 PM
Post: #5
RE: Adding Extra Images To The Text Editor
Ok i'll do it in the mycode section in a few min Wink

The contents of this section are hidden from your usergroup.

$10 Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
25% Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
$25 Off all reseller packages - Coupon Code: The contents of this section are hidden from your usergroup.
Quote

Namecheap.com

09-07-2010, 08:39 AM
Post: #6
RE: Adding Extra Images To The Text Editor
Thanks for the tutorial.
But, what is the dimension of the icon? Something like 16x16?
Quote

Namecheap.com

09-07-2010, 08:58 AM
Post: #7
RE: Adding Extra Images To The Text Editor
Yes a 16x16 ico icon is recommended.

The contents of this section are hidden from your usergroup.

$10 Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
25% Off any hostgator package - Coupon Code: The contents of this section are hidden from your usergroup.
$25 Off all reseller packages - Coupon Code: The contents of this section are hidden from your usergroup.
Quote

Namecheap.com

12-29-2011, 22:51 PM
Post: #8
RE: Adding Extra Images To The Text Editor
Thanks for the tutorial.
Quote

Namecheap.com

03-26-2012, 23:18 PM
Post: #9
RE: Adding Extra Images To The Text Editor
thanks for share Big Grin
Quote

Namecheap.com

03-27-2012, 02:44 AM
Post: #10
RE: Adding Extra Images To The Text Editor
explain more, add detailed image my dear, Admin?
Quote

Namecheap.com



Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Change your Quick Reply editor into an advanced editor Echo 72 24,424 05-08-2016 23:57 PM
Last Post: Usher
  Adding Collapse Buttons to Any Table effone 4 1,613 07-24-2013 07:03 AM
Last Post: effone
  Adding "View New Posts" and "View Today's Posts" in Forum Jump List effone 1 1,300 01-28-2013 12:05 PM
Last Post: Echo
  Mybb Text Editor Fix Echo 9 8,553 07-12-2012 13:16 PM
Last Post: infernape
  [Tutorial] How To Resize Images On Your Forum V!rus 5 2,860 03-08-2012 05:33 AM
Last Post: anhbuncha


User(s) browsing this thread: 1 Guest(s)