"Notice" with buttons in Reply / Quick Reply
+2
mangaka
Sandara
6 posters
Page 1 of 1
"Notice" with buttons in Reply / Quick Reply
Is it possible that the Notice in this tutorial can be added as buttons in reply and/or quick reply, so that the mods and admins do not need to input the same table class code over and over again?
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Re: "Notice" with buttons in Reply / Quick Reply
Weird.It's work at my Forum 
Maybe you can show me the CSS you pasted at your CSS Stylesheet?I will fix it if there's any wrong code.And maybe you give me some screenshot,please?

Maybe you can show me the CSS you pasted at your CSS Stylesheet?I will fix it if there's any wrong code.And maybe you give me some screenshot,please?
mangaka- Forumember
-
Posts : 121
Reputation : 5
Language : Indonesia
Location : Well
Re: "Notice" with buttons in Reply / Quick Reply
mangaka wrote:Weird.It's work at my Forum
Maybe you can show me the CSS you pasted at your CSS Stylesheet?I will fix it if there's any wrong code.And maybe you give me some screenshot,please?
Is not what she's asking for, you got it wrong.
Re: "Notice" with buttons in Reply / Quick Reply
mangaka wrote:Weird.It's work at my Forum
Maybe you can show me the CSS you pasted at your CSS Stylesheet?I will fix it if there's any wrong code.And maybe you give me some screenshot,please?
Matti_7 wrote:mangaka wrote:Weird.It's work at my Forum
Maybe you can show me the CSS you pasted at your CSS Stylesheet?I will fix it if there's any wrong code.And maybe you give me some screenshot,please?
Is not what she's asking for, you got it wrong.
Yup mangaka, Matti_7's right. I know the tutorial is working (i tried it and it works), what I want to ask is if it is possible that i make a customized button which will be located in the post reply or / and quick reply so that instead of me typing "table class="cpinfo"" and a series of text after that, i'll just click the button. I want it to be done for uniformity (for the mods and other admins).
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Re: "Notice" with buttons in Reply / Quick Reply
Hi,
You can create a new BBcode using LGBB; here's the forum:
http://www.avacweb.com/t428-13-create-new-bbcodes-with-new-lgbb
However, the forum needs registration, which that's your decision whether you want to register or not.
You can create a new BBcode using LGBB; here's the forum:
http://www.avacweb.com/t428-13-create-new-bbcodes-with-new-lgbb
However, the forum needs registration, which that's your decision whether you want to register or not.

Sir Chivas™- Helper
-
Posts : 6895
Reputation : 439
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Re: "Notice" with buttons in Reply / Quick Reply
^ thanks for the reply. Sadly, what i wanted to have is a button (after seeing "This will not add new buttons to the editors, that's not what LGBB does, LGBB is just the parser, allowing these bbcodes to be turned into html").
Edit: I tried this but it doesn't work, so i removed the codes. http://www.avacweb.com/t993-how-to-create-a-new-text-editor-button. The exact code i did was:
I think i did something not right? Any help please?
Edit: I tried this but it doesn't work, so i removed the codes. http://www.avacweb.com/t993-how-to-create-a-new-text-editor-button. The exact code i did was:
- Code:
(function(){var f={add:function(c,d,b){$(function(){if(document.getElementById("html_edit")){void 0==b&&(b="");var a=document.createElement("span");a.innerHTML='<button class="button2" style="height: 22px; margin-right: 5px;" onClick="bbfontstyle(\''+d+"', '"+b+"'); return false;\">"+c+"</button>";document.getElementById("new_buttons_area").appendChild(a)}})},list:function(c,d,b){$(function(){if(document.getElementById("text_edit")){var a=document.createElement("span");a.innerHTML='<input type="button" style="height: 22px; margin-right: 5px;" value="'+ c+'" onclick="selectWysiwyg(this, \''+b+'\');" class="button2">';document.getElementById("new_buttons_area").appendChild(a);a=document.createElement("div");a.id=b;a.className="select";a.style.visibility="hidden";for(var e in d)a.innerHTML=/,/.test(d[e])?a.innerHTML+("<button onmouseout=\"this.className='';\" onmouseover=\"this.className='selectHover';\" onclick=\"bbfontstyle('"+d[e].replace(/(.*),.*/,"$1")+"', '"+d[e].replace(/.*,(.*)/,"$1")+"');selectWysiwyg(this, '"+b+"');return false;\">"+e+"</button><br>"): a.innerHTML+("<button onmouseout=\"this.className='';\" onmouseover=\"this.className='selectHover';\" onclick=\"bbfontstyle('"+d[e]+"', '');selectWysiwyg(this, '"+b+"');return false;\">"+e+"</button><br>");document.getElementById("text_editor_select_controls").appendChild(a)}})},init:function(){$(function(){if(document.getElementById("html_edit")){var c=document.createElement("div");c.id="new_buttons_area";c.style.paddingTop="5px";document.getElementById("html_edit").parentNode.insertBefore(c,document.getElementById("html_edit").nextSibling)}})}}; window.buttons=f;f.init()})();
buttons.add('Test', '[table class="cpinfo"][tr][td]Test post. Testing 123.
[/td][/tr][/table]');
I think i did something not right? Any help please?
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Re: "Notice" with buttons in Reply / Quick Reply
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead! |


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Re: "Notice" with buttons in Reply / Quick Reply
bump, pleaaaase.
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Re: "Notice" with buttons in Reply / Quick Reply
bump, bump, bump.
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Re: "Notice" with buttons in Reply / Quick Reply
pleeeeeeease, bump.
Sandara- Forumember
-
Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow
Re: "Notice" with buttons in Reply / Quick Reply
Sandara wrote:^ thanks for the reply. Sadly, what i wanted to have is a button (after seeing "This will not add new buttons to the editors, that's not what LGBB does, LGBB is just the parser, allowing these bbcodes to be turned into HTML").
Edit: I tried this but it doesn't work, so i removed the codes. http://www.avacweb.com/t993-how-to-create-a-new-text-editor-button. The exact code i did was:
I think i did something not right? Any help please?
Have you tried asking for help over there?
This is something avacweb staff will have to help with.
kirk- Forumaster
-
Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

» How can I add new buttons to Quick Reply?
» buttons on the quick reply
» Add buttons to quick reply box
» Quick Reply buttons and editing
» Removing 'quick reply' buttons
» buttons on the quick reply
» Add buttons to quick reply box
» Quick Reply buttons and editing
» Removing 'quick reply' buttons
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum