February 22, 2020, 08:03:40 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  
  Show Posts
Pages: 1 ... 5 6 [7]
91  Coding Community / Coding Snippets / Re: Alert on Logout on: April 22, 2009, 06:44:11 pm
Love it moose! using it now.
92  Official / Announcements / Re: Big Ol' Upgrade! on: April 17, 2009, 05:32:09 pm
This is a great job you did on this Moosey!  Afro
93  Coding Community / Coding Snippets / Request a Category on: April 11, 2009, 09:26:26 am
Just like Moose's Request a board code.

Insert this code to your footers:

Quote
<script>
var RequestInfo = "You said you would like to request a category, please state the category it will go below, then a brief purpose for the category:";

if(location.href.match(/other=RequestCategory/i)){
//Code created by Andrew
document.title = "Requesting Categories(s)";
$("#bodyarea").after("<br><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>Requesting Categories(s)</div><div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2'>" + RequestInfo + "</td></tr><tr><td class='windowbg2' width='100%'><center><text" + "area cols='100%' rows='5' id='Categories'></tex" + "tarea></center></td></tr><tr><td class='windowbg2'><center><input type='button' onClick='Request();' value='Send Request'/></center></td></tr></table></div></div><br><center><span class='smalltext'>Created by Agent Moose<br><a href='http://revolutionx.smfforfree3.com'>Revolution X</a></span></center><br>");
$("input[name='subject']").val("Requesting Category");
$("#bodyarea").hide();
};
function Request(){
if(confirm("Are you sure you want to request this Category?") == true){
$("textarea[name='message']").val("Category or categories Requested:\n" + document.getElementById("Categories").value);
document.forms["postmodify"].submit();
};};
</script>
What's in red can be edited

Then go to Admin->Manage Board and click add board
Insert this for the name:
Quote
</a> - <span class="smalltext"><a href="http://BOARD NAME.smfforfreeSERVER.com/index.php?action=pm;sa=send;u=1;other=RequestCategory">Request A Category</a></span>

Change BOARD NAME to the name of your board
And change SERVER to the server number, if its server 1, just leave it out

I dunno, I'm trying to find my way around codes, just thought I could give this one a shot.
94  Coding Community / Coding Snippets / Re: Admin Quickies v3 on: March 27, 2009, 03:45:25 pm
I have a problem with this one too, it takes it awhile before I could actually click the link, im using Admin Quickies v2 untill the bugs on this one are gone Wink
95  Coding Community / Coding Snippets / Re: Post Warning V.2 & V.3 on: March 14, 2009, 07:00:33 pm
If Agent Moose wanted this one on here he would've added it himself....
96  Coding Community / Coding Snippets / Re: Request A Board on: March 14, 2009, 06:59:31 pm
You think maybe this code could include a little more details? For instance:

What would you like the name of the board to be?
Which category would you like this under?
What is the purpose of this board?

Also maybe a spot where you could also request a category? I think these would make fine additions to this Smiley
97  Coding Community / Coding Snippets / Re: Request A Board on: March 14, 2009, 01:39:41 pm
Think you forgot to add something Wink

Quote
</a> - <span class="smalltext"><a href="http://BOARD.smfforfreeSERVER.com/index.php?action=pm;sa=send;u=1;other=RequestBoard">Request A Board</a></span>

Quote
action=pm;sa=send;u=1
You need to change that to the ID of the member the request will be sent to.

Pages: 1 ... 5 6 [7]
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