Simple Machine Codes
November 28, 2021, 07:59:48 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

SMC News Box

Pages: [1] 2 3   Go Down
  Print  
Author Topic: SMC News Box  (Read 2292 times)
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: September 03, 2007, 09:44:31 am »

Footers
Code:
<script creator="Agent Moose" at="smcodes.smfforfree3.com">
var boardname = "YOUR BOARD NAME HERE"
var News = "YOUR TEXT HERE"
$("#bodyarea").before('<div id="news_box"><div class="tborder" style="margin-top: 1ex;"><div class="catbg" style="padding: 5px 5px 5px 10px;">'+boardname+' News</div><table id="upshrinkHeader2" width="100%" cellpadding="4" cellspacing="0" border="0"><tr><td class="titlebg2"></td></tr><div class="windowbg"><span id="section">'+News+'</span></div></table></div>');
</script>

This will add a news box to your forum, like what SMC has.  Just replace the YOUR TEXT HERE part to your own text.  You may use HTML.  Replace YOUR BOARD NAME HERE with the name of your board.
« Last Edit: February 01, 2008, 03:12:23 am by Omikron 9861 » Report Spam   Logged

Share on Facebook Share on Twitter

deathwilldie
100 Club Member

Offline Offline

Posts: 214


View Profile WWW
« Reply #1 on: September 03, 2007, 06:34:15 pm »

Great Code I will use it.
Report Spam   Logged

LaundryLady
Geriatric Goddess
Global Moderator

Offline Offline

Gender: Female
Posts: 290


I'm watching, I have a sense of humor: Guess Who


View Profile
« Reply #2 on: September 04, 2007, 11:40:40 am »

Yes, I like it too, in fact I thought I had gotten it last week?
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #3 on: September 04, 2007, 12:45:36 pm »

You did.  It was in the exlusive code index thingy Smiley
Report Spam   Logged

A12Alex
Starter

Offline Offline

Posts: 7


View Profile
« Reply #4 on: September 14, 2007, 09:32:12 pm »

Thanks i wanted to know how to put one of them on my forum
Report Spam   Logged
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #5 on: September 15, 2007, 08:54:51 am »

No problem.  It is an easy code!
Report Spam   Logged

Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #6 on: September 17, 2007, 02:54:23 am »

It's the first time I'm seeing script tags having 'creator' and 'at' attributes lol.
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #7 on: September 17, 2007, 02:33:49 pm »

lol.  Yea.  I just felt like doing it.
Report Spam   Logged

moparscapev2
Newcomers!

Offline Offline

Posts: 2


View Profile
« Reply #8 on: October 15, 2007, 07:16:31 pm »

and again moose outdoes us Smiley lol
Report Spam   Logged
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #9 on: October 15, 2007, 07:47:28 pm »

lol.  Glad you like the code Smiley
Report Spam   Logged

knox1025
Members

Offline Offline

Posts: 50


View Profile
« Reply #10 on: January 31, 2008, 12:10:57 pm »

If You Plan To Add HTML To This Code, Change Tha Tags..

From, "YOUR TEXT HERE"

To, 'YOUR TEXT HERE'

Other Wise Tha Code Won't Work, an Tha Box Wont Show Up at All..
Report Spam   Logged

Agent Moose Jr.
Ultra Contagious
Global Moderator

Offline Offline

Gender: Male
Posts: 1,045



View Profile WWW
« Reply #11 on: January 31, 2008, 02:16:46 pm »

thank you for posting that i have edited the Original Post and Added That Wink
Report Spam   Logged

Newest:

Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #12 on: February 01, 2008, 03:13:11 am »

I don't think Agent would like it much if the original code posts were edited.
Report Spam   Logged

Agent Moose Jr.
Ultra Contagious
Global Moderator

Offline Offline

Gender: Male
Posts: 1,045



View Profile WWW
« Reply #13 on: February 01, 2008, 05:43:00 am »

ok sorry
Report Spam   Logged

Newest:

Lol smiley
Newcomers!

Offline Offline

Posts: 3


View Profile
« Reply #14 on: February 01, 2008, 12:23:49 pm »

wow i like this
Report Spam   Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy