The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How To Make A New Button In New Topic , Or Where In Input Box

View previous topic View next topic Go down

Solved How To Make A New Button In New Topic , Or Where In Input Box

Post by refresh102 on June 5th 2013, 8:58 am

How Do I Do That I Want To Put A New Button Like Staff Option Youtube Option?


Means Shortcut?

SO BUMPPPPPPPPP

refresh102
Forumember

Male Posts : 181
Reputation : 4
Language : English,Japanese

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by Nostra on June 6th 2013, 6:25 am

What will these buttons do? Will they past some predefined code, create new bb-codes, etc.?

Nostra
Forumember

Female Posts : 30
Reputation : 3
Language : .it
Location : Neverland

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by refresh102 on June 6th 2013, 9:26 am

When You Click The Button And The BBCOde Will Appear mean
When U Click Youtube Button It Will Be Like This [youtube][/utube]


BUMP

refresh102
Forumember

Male Posts : 181
Reputation : 4
Language : English,Japanese

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by Symbianize on June 6th 2013, 9:45 am

pls post your forum url.

Symbianize
Forumember

Female Posts : 65
Reputation : 1
Language : English
Location : || New York City ||

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by refresh102 on June 6th 2013, 12:02 pm


refresh102
Forumember

Male Posts : 181
Reputation : 4
Language : English,Japanese

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by Nostra on June 7th 2013, 2:28 am

Mad I hate when music plays on websites!!!! >.<"

Use this code (paste it to adminpanel - modules - javascript code management (near the bottom)):
Code:
$('#text_edit').append('<button class="button2" id="ybe" type="button"><img src="http://illiweb.com/fa/wysiwyg/logo_youtube.gif" alt=""></button>');
$('#ybe').click( function () {
  $('#text_editor_textarea')[0].value += '[youtube]past a link here[/youtube]';
});
ybe - button's name (for scripts only).
[youtube]past a link here[/youtube] - code to add.

Nostra
Forumember

Female Posts : 30
Reputation : 3
Language : .it
Location : Neverland

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by kirk on June 7th 2013, 2:58 am

you already have a youtube, dailymotion and google video option at the top of the subject board when posting. the icon is this>>>>>>>>>


kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by refresh102 on June 7th 2013, 3:35 am

Solve Thanks Smile

refresh102
Forumember

Male Posts : 181
Reputation : 4
Language : English,Japanese

Back to top Go down

Solved Re: How To Make A New Button In New Topic , Or Where In Input Box

Post by SLGray on June 7th 2013, 4:45 am

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35629
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum