The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

3 posters

Go down

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

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

how can i add a new box in reply box or new topic box.
adding a new box in reply box (only for admins) New_bi12

same like the insert image etc
avatar
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 December 6th 2014, 7:44 pm

bump
avatar
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 December 6th 2014, 7:55 pm

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


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

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

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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

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

Sry and hopefully awaiting Sad
avatar
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 December 6th 2014, 8:24 pm

Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Ajmin 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.
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

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

found many.
deleted all of them.
still the same Sad
avatar
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 December 6th 2014, 9:21 pm

Solved Very Happy
thx
avatar
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 December 6th 2014, 9:24 pm

You're welcome ^^

Topic arhcived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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