Notes for your forum
Posted November 2nd 2011, 7:17am
If your putting the script tag with src in a widget then you don't need to click 'In the homepage' on the javascript file. You should have no boxes ticked. No point loading that script into the page twice.
φ
Posts: 509
Joined: July 9th 2011, 11:00pm
Location: England
Likes Given: 15
Likes Received: 26
Notes for your forum
Posted November 2nd 2011, 10:31am
@xiaomah: i dont think this work in phpbb2.

EDIT: actually it works just the half of it.. they only problem is that the icon wont show up, but you can see the notes if u type the commands but the icon wont show
φ
Posts: 16
Joined: October 28th 2011, 11:00pm
Location: Greece
Likes Given: 3
Notes for your forum
Posted January 14th 2012, 12:40pm
Hey,
please help me:

1. I have an invision board, can i use this code?
2. wich code can i use in invision?
3. what is a/a?


thanks :)
φ
Posts:
Avatar
Guest
Notes for your forum
Posted January 17th 2012, 11:20am
uppp!!
φ
Posts:
Avatar
Guest
Notes for your forum
Posted January 17th 2012, 2:51pm
You can use anyone of the three codes. I use the second one. I have a Invision forum.
φ
Posts: 59
Joined: September 7th 2011, 11:00pm
Location: Texas, United States
Likes Given: 51
Likes Received: 1
Notes for your forum
Posted January 17th 2012, 5:56pm
@slg: Thanks ;)
φ
Posts: 209
Joined: September 10th 2011, 11:00pm
Location: SC, USA
Likes Given: 8
Likes Received: 8
i need help ...
Posted January 27th 2012, 2:20pm
i want this code for phpbb2

Image

$(function(){$("<div style=\"display:inline!important\" id=\"text_editor_select_controls\"><div style=\"visibility:hidden\" class=\"select\" id=\"notes\"><button onclick=\"bbfontstyle('[table class=noteclassic][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/note10.png\">Classic note</button><br /><button onclick=\"bbfontstyle('[table class=notetip][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/tip10.png\">Tip note</button><br /><button onclick=\"bbfontstyle('[table class=notewarning][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/warn10.png\">Warning note</button><br /><button onclick=\"bbfontstyle('[table class=noteimportant][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/imp10.png\">Important note</button><br /><button onclick=\"bbfontstyle('[table class=notehelp][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"/users/2611/10/63/87/album/help10.png\">Help note</button><hr><button onclick=\"bbfontstyle('[table class=noteinfo][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k11.png\">Info note</button><br /><button onclick=\"bbfontstyle('[table class=notesuccess][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k13.png\">Success note</button><br /><button onclick=\"bbfontstyle('[table class=noteerror][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k12.png\">Error note</button><br /><button onclick=\"bbfontstyle('[table class=notevalidation][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"http://i48.servimg.com/u/f48/16/28/30/49/rsz_kn10.png\">Validation note</button><br /><button onclick=\"bbfontstyle('[table class=notesuggest][tr][td]','[/td][/tr][/table]');selectWysiwyg(this,'notes');return false\"><img src=\"http://i48.servimg.com/u/f48/16/28/30/49/rsz_2k10.png\">Suggest note</button><br /></div></div><button class=\"button2\" onclick=\"selectWysiwyg(this,'notes')\" onmouseover=\"helpline('BBcode notes')\" type=\"button\"><img src=\"/users/2611/10/63/87/album/inote10.gif\" /></button> <img src=\"http://illiweb.com/fa/wysiwyg/separator.png\" style=\"vertical-align: middle;\"> ").insertBefore("span#text_edit input.button2[value='Others']");$(".noteclassic, .noteimportant, .notewarning, .notetip, .notehelp, .noteinfo, .notesuccess, .noteerror, .notevalidation, .notesuggest").css({"box-shadow":"2px 2px 3px #999999","width":"95%","border-radius":"10px 10px","-moz-border-radius":"10px 10px","-webkit-border-radius":"10px 10px","padding":"25px 20px 15px 80px","margin":"10px 0px 15px 5px","-webkit-box-shadow":"2px 2px 3px #999","-moz-box-shadow":"2px 2px 3px #999","min-height":"40px","height":"auto !important","height":"40px","overflow":"visible","position":"relative","top":"6px","left":"5px","border":"1px solid #999999","background-position":"20px 50%","background-repeat":"no-repeat","text-align":"justify"});$(".noteclassic").css({"background-color":"#EEF","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/note10.png)"});$(".noteimportant").css({"background-color":"#FFC","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/import10.png)"});$(".notewarning").css({"background-color":"#FDD","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/warnin10.png)"});$(".notetip").css({"background-color":"#E4F6F8","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/tip10.png)"});$(".notehelp").css({"background-color":"#D8F3C9","background-image":"url(http://i20.servimg.com/u/f20/14/50/49/34/help10.png)"});$(".noteinfo").css({"background-color":"#BDE5F8","background-image":"url(http://i48.servimg.com/u/f48/16/28/30/49/knob_i10.png)"});$(".notesuccess").css({"background-color":"#DFF2BF","background-image":"url(http://i48.servimg.com/u/f48/16/28/30/49/knob_v10.png)"});$(".noteerror").css({"background-color":"#FFBABA","background-image":"url(http://i48.servimg.com/u/f48/16/28/30/49/knob_r10.png)"});$(".notevalidation").css({"background-color":"#FFCCBA","background-image":"url(http://i48.servimg.com/u/f48/16/28/30/49/knob_c10.png)"});$(".notesuggest").css({"background-color":"#F1AF84","background-image":"url(http://i48.servimg.com/u/f48/16/28/30/49/knob_h10.png)"})});


not work in pupbb2 ????????????????????

my froum www.shababgded.com
φ
Posts:
Avatar
Guest
Notes for your forum
Posted January 27th 2012, 3:33pm
$(document).ready(function(){
$('#text_edit').after('<div style="display:inline!important" id="text_editor_select_controls"><div class="select" id="notes"><button onclick="bbfontstyle(\'[table class=noteclassic][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/note10.png">Classic note</button><button onclick="bbfontstyle(\'[table class=notetip][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/tip10.png">Tip note</button><button onclick="bbfontstyle(\'[table class=notewarning][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/warn10.png">Warning note</button><button onclick="bbfontstyle(\'[table class=noteimportant][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/imp10.png">Important note</button><button onclick="bbfontstyle(\'[table class=notehelp][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/help10.png">Help note</button></div></div><button class="button2" onclick="selectWysiwyg(this,\'notes\')" onmouseover="helpline(\'BBcode notes\')" type="button"><img src="/users/2611/10/63/87/album/inote10.gif" /></button> <img src="http://illiweb.com/fa/wysiwyg/separator.png" style="vertical-align: middle;"> ');
});


this code will appear the button to your editor but not for the ones u want. but at least this code works better on phpbb2, try to talk with LGforum who wrote/posted the code to add the other ones too :P
φ
Posts: 16
Joined: October 28th 2011, 11:00pm
Location: Greece
Likes Given: 3
Notes for your forum
Posted January 27th 2012, 5:31pm
It works on all versions but the value of the Other button may be different in other languages so the button can't be inserted before the Other button.
φ
Posts: 209
Joined: September 10th 2011, 11:00pm
Location: SC, USA
Likes Given: 8
Likes Received: 8
Notes for your forum
Posted November 19th 2012, 1:47pm
@ Garland thx very much this code you posted really helped me :D but there is no tables pictures so please can you add to the code the tables pictures?
φ
Posts: 1
Joined: November 19th 2012, 11:21am

Who is online

Users browsing this forum: No registered users and 0 guests