Simple Machine Codes
December 15, 2018, 04:41:46 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  

Add Extra ACP Sections

Pages: [1]   Go Down
  Print  
Author Topic: Add Extra ACP Sections  (Read 2070 times)
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: July 16, 2007, 07:27:31 pm »

Preview:


Footers
Code:
<script>
function add_extra_acp_sections(title,content) {
$(function() {
//Created by Agent Moose (smcodes.smfforfree3.com)
if (location.href.match(/action=admin/i)||location.href.match(/action=manageboards/i)){
$("td table.bordercolor:contains(Maintenance)").prepend("<tr><td class='catbg'>"+title+"</td></tr><tr class='windowbg2'><td class='smalltext' style='line-height: 1.3; padding-bottom: 3ex;'>"+content+"</td></tr>")
};});};
add_extra_acp_sections("TITLE","CONTENT")
</script>

What this code does is add more boxes into the ACP on the Left.  The boxes will only show when your on the Main page of the ACP.

TITLE = The name of the box.
CONTENT = What goes into the box.  You may use HTML

If you wnat to add more boxes, just add more of these lines:
add_extra_acp_sections("TITLE","CONTENT")

« Last Edit: October 12, 2007, 08:41:06 pm by Agent Moose » Report Spam   Logged

kevin-1990
Jezus I am scary
Members

Offline Offline

Posts: 52



View Profile
« Reply #1 on: July 16, 2007, 07:34:18 pm »

Cool, do you have an previeuw?
Report Spam   Logged
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #2 on: July 16, 2007, 07:45:53 pm »

Hang on, I will get a pic of it.

EDIT:
I added a preview to the first post.
« Last Edit: July 16, 2007, 07:49:59 pm by Agent Moose » 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 #3 on: July 17, 2007, 08:26:43 am »

I put this on my test site and labeled it Moose Droppings.  What can I say, I was only one cup of coffee into my day.
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #4 on: July 17, 2007, 09:47:09 am »

Lol.  I see you like the code Smiley
Report Spam   Logged

Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #5 on: July 28, 2007, 04:26:46 am »

Where is the point of having extra ACP sections for a person like me, who likes to be the sole admin of his forums?
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 #6 on: July 28, 2007, 08:06:17 am »

I am practicing style sheets and I think I see a use for this.  If I can use HTML then I can put in URL's correct?  If I can just cut out some of the back and forth it might make it go faster.
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #7 on: July 28, 2007, 11:02:02 am »

Yep, you can use urls with it.
Report Spam   Logged

Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #8 on: July 29, 2007, 02:01:50 am »

I FOUND A USE FOR IT!!!!
A direct link to the Edit Header's Footrs so you wouldn't waste time going to manage styles first.
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #9 on: July 29, 2007, 12:20:06 pm »

Nice!  Never thought of that.
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 #10 on: July 29, 2007, 08:20:43 pm »

That's exactly what I was thinking of.  There are so many steps to do stuff that being able to cut out some is priceless.
Report Spam   Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum | Buy traffic for your forum/website

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