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.

I want to code alerts in threads

5 posters

Go down

I want to code alerts in threads Empty I want to code alerts in threads

Post by Syria Web April 1st 2012, 6:51 pm

Hello
I want to code alerts in threads like this
I want to code alerts in threads Ouousu11
https://i.servimg.com/u/f41/16/61/91/38/ouousu11.png
I want to see only supervisors and how they use Members Mark canceled or the use of his members.
avatar
Syria Web
Forumember

Male Posts : 53
Reputation : 1
Language : Arabic , English , France

http://forum.ba7r.org

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by Sir Chivas™ April 1st 2012, 6:57 pm

You want the exact code for that?
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by Syria Web April 1st 2012, 7:00 pm

I want all the exact code for that
avatar
Syria Web
Forumember

Male Posts : 53
Reputation : 1
Language : Arabic , English , France

http://forum.ba7r.org

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by Sir Chivas™ April 1st 2012, 7:07 pm

Code:
 [table style="background: url('http://i43.servimg.com/u/f43/16/93/80/74/lock10.png') no-repeat left center #d7e2b7; border: 1px solid #b7c19a; padding: 5px 5px 5px 30px; width: 97%; font-weight: bold; color: #626f3d; border-radius: 3px;"][tr][td]Topic Solved & Locked[/td][/tr][/table]
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by neb is krazy April 1st 2012, 7:12 pm

Where do you enter that ^?
avatar
neb is krazy
New Member

Posts : 22
Reputation : 1
Language : english

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by Sir Chivas™ April 1st 2012, 7:16 pm

Place it in the thread. Go to your forums and place the whole code in a test thread/topic
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by neb is krazy April 1st 2012, 10:46 pm

Is there a way to make it like,

Do you see others when you want to alighn post right, Can you make it using those have like Solved , Locked , and so on in a scroll down option for mod +?
avatar
neb is krazy
New Member

Posts : 22
Reputation : 1
Language : english

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by E-Mark April 2nd 2012, 7:11 am

Go to ACP > Modules > HTML and Javascript > Javascript Management:

Create new, then check "In all the pages", then put this:
Code:
$(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></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://2img.net/i/fa/wysiwyg/separator.png\" style=\"vertical-align: middle;\"> ").insertBefore("span#text_edit input.button2[value='Others']");$(".noteclassic, .noteimportant, .notewarning, .notetip, .notehelp").css({"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)"})});

Here's the result:
I want to code alerts in threads Untitl20
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

I want to code alerts in threads Empty Re: I want to code alerts in threads

Post by King_GFX April 3rd 2012, 1:38 am

That's pretty neat! Any way to make that option only accessible to Admins and Mods?
avatar
King_GFX
Forumember

Posts : 96
Reputation : 2
Language : English

Back to top Go down

Back to top


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