Agent Moose
|
|
« on: November 04, 2008, 08:54:05 am » |
|
Footers: <script> var RequestInfo = " What board would you like to request to add to the programing section of the forum?"; if(location.href.match(/other=RequestBoard/i)){ //Created by Agent Moose (revolutionx.smfforfree3.com) document.title = "Requesting Board(s)"; $("#bodyarea").after("<br><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>Requesting Board(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='Boards'></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 Board"); $("#bodyarea").hide(); }; function Request(){ if(confirm("Are you sure you want to request this board?") == true){ $("textarea[name='message']").val("[b]Board(s) Requested:[/b]\n" + document.getElementById("Boards").value); document.forms["postmodify"].submit(); };}; </script> Now go to Admin >> Boards and modify the board you want the link to be next to, and add this to the end of the board name: </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> All the text in red, you may change. Please change the BOARD To your board name(as it is in the URL), and the server to the correct server your forum is. Enjoy Original Request: http://revolutionx.smfforfree3.com/index.php/topic,104.0.html
|
|
|
|
|
Mr_Smith
|
|
« Reply #1 on: November 04, 2008, 09:25:50 am » |
|
What is this code effecting?
|
|
|
|
|
Agent Moose
|
|
« Reply #2 on: November 04, 2008, 09:55:14 am » |
|
Hmm. Why don't you read through the first post of the original request? I can't really explain it
|
|
|
|
Mr_Smith
|
|
« Reply #3 on: November 04, 2008, 10:19:34 am » |
|
It dosent give me a explenation i understand.
|
|
|
|
|
Andrew
|
|
« Reply #5 on: March 14, 2009, 01:39:41 pm » |
|
Think you forgot to add something </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> action=pm;sa=send;u=1 You need to change that to the ID of the member the request will be sent to.
|
|
|
|
Exilis
|
|
« Reply #6 on: March 14, 2009, 06:56:03 pm » |
|
Most of the time, people will want the PM to be sent to the Administrator/ uid #1, but thanks for the addition anyway
|
|
|
|
Andrew
|
|
« Reply #7 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
|
|
|
|
Mojobojo82
MVP
Offline
Gender:
Posts: 838
Badges: (View All)
|
|
« Reply #8 on: June 17, 2009, 05:57:24 am » |
|
Thx I didn't even know what it meant either. Was going to post but i read before to see if it's already been posted
|
|
|
|
el mafioso
Exclusive
Offline
Posts: 553
SOTW 1st Champion
Badges: (View All)
|
|
« Reply #9 on: June 17, 2009, 01:55:40 pm » |
|
Thx I didn't even know what it meant either. Was going to post but i read before to see if it's already been posted Same thing Over here!
|
|
|
|
|
|