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

Go down

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

Post by refresh102 on Wed 5 Jun - 9:58

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 Thu 6 Jun - 7:25

What will these buttons do? Will they past some predefined code, create new bb-codes, etc.?
avatar
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 Thu 6 Jun - 10:26

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 Thu 6 Jun - 10:45

pls post your forum url.
avatar
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 Thu 6 Jun - 13:02


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 Fri 7 Jun - 3:28

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.
avatar
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 Fri 7 Jun - 3:58

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

avatar
kirk
Forumaster

Male Posts : 11037
Reputation : 653
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 Fri 7 Jun - 4:35

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 Fri 7 Jun - 5:45

Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43129
Reputation : 3058
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


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