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.

adding a new box in reply box (only for admins)

View previous topic View next topic Go down

Solved adding a new box in reply box (only for admins)

Post by Ajmin on December 6th 2014, 6:37 pm

how can i add a new box in reply box or new topic box.


same like the insert image etc

Ajmin
Forumember

Posts : 26
Reputation : 1
Language : English

http://saz-clan.alafdal.net

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ajmin on December 6th 2014, 7:44 pm

bump

Ajmin
Forumember

Posts : 26
Reputation : 1
Language : English

http://saz-clan.alafdal.net

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by SLGray on December 6th 2014, 7:55 pm

Please wait patiently until someone replies. You can bump your topic if only 24 hours have passed.


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


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ajmin on December 6th 2014, 7:59 pm

Sry and hopefully awaiting Sad

Ajmin
Forumember

Posts : 26
Reputation : 1
Language : English

http://saz-clan.alafdal.net

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ange Tuteur on December 6th 2014, 8:24 pm


Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ajmin on December 6th 2014, 8:42 pm

its not working
Code:
$(function() {
if (!document.getElementById('text_editor_textarea')) return;


userTag(390,'ang', 'http://i39.servimg.com/u/f39/18/21/41/30/bouton10.png', '<span style="color:#F66;font-style:italic;">', '</span>');


function userTag(id, tagname, image, htmlStart, htmlEnd) {
var breg = new RegExp('\\['+tagname+'\\](.+?)\\[\\/'+tagname+'\\]','gi');
if (_userdata.user_id === id) {
$("#text_editor_textarea").before("<img src='"+image+"'id='"+tagname+"-b'/>");
$('#'+tagname+'-b').click(function(){$('#text_editor_textarea').sceditor('instance').insertText('['+tagname+']','[/'+tagname+']')});
}
$('div.postbody div').each(function () {if ($(this).text().indexOf('['+tagname+']') != -1) $(this).html($(this).html().replace(breg, htmlStart + '$1' + htmlEnd))});
}
});


390 ID IS MY ID.
i dropped this in java script and for all pages.

Ajmin
Forumember

Posts : 26
Reputation : 1
Language : English

http://saz-clan.alafdal.net

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ange Tuteur on December 6th 2014, 9:03 pm

One of your scripts is causing an error. From what I can tell your snowflakes script contains a script tag which is not supported in JS files. Find the script that contains the following and disable it.
Code:
<script type="text/javascript">

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ajmin on December 6th 2014, 9:15 pm

found many.
deleted all of them.
still the same Sad

Ajmin
Forumember

Posts : 26
Reputation : 1
Language : English

http://saz-clan.alafdal.net

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ajmin on December 6th 2014, 9:21 pm

Solved Very Happy
thx

Ajmin
Forumember

Posts : 26
Reputation : 1
Language : English

http://saz-clan.alafdal.net

Back to top Go down

Solved Re: adding a new box in reply box (only for admins)

Post by Ange Tuteur on December 6th 2014, 9:24 pm

You're welcome ^^

Topic arhcived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.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