March 28, 2024, 08:56:49 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  

Request A Board

Pages: [1]   Go Down
  Print  
Author Topic: Request A Board  (Read 747 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
Tenth year Anniversary Nineth year Anniversary Search
« on: November 04, 2008, 08:54:05 am »

Footers:
Quote
<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:
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>

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 Smiley

Original Request: http://revolutionx.smfforfree3.com/index.php/topic,104.0.html
Report Spam   Logged


Share on Facebook Share on Twitter

Mr_Smith
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 217



View Profile WWW
Badges: (View All)
« Reply #1 on: November 04, 2008, 09:25:50 am »

What is this code effecting?  Huh?
Report Spam   Logged

Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
Tenth year Anniversary Nineth year Anniversary Search
« Reply #2 on: November 04, 2008, 09:55:14 am »

Hmm.

Why don't you read through the first post of the original request? Smiley  I can't really explain it Tongue
Report Spam   Logged


Mr_Smith
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 217



View Profile WWW
Badges: (View All)
« Reply #3 on: November 04, 2008, 10:19:34 am »

It dosent give me a explenation i understand.  Sad
Report Spam   Logged

Exilis
Optimistic & Creative
Global Moderator
Global Moderator
Offline Offline

Posts: 929


View Profile
Badges: (View All)
Tenth year Anniversary Linux User Combination
« Reply #4 on: November 04, 2008, 05:16:25 pm »

Basically what it does;
It adds a link next to a category name (on the page with all the boards, there's different categories) to request a board. When you request the board, the board request gets sent thru a PM to the admin, which can then add it. Preview here:

http://programmersunlimited.smfforfree2.com/index.php?action=forum#5
Report Spam   Logged

Global Mod, (sort of) at your service.

http://twitter.com/timothyaveni

Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
Combination Topic Starter Poll Voter
« Reply #5 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.

Report Spam   Logged

Exilis
Optimistic & Creative
Global Moderator
Global Moderator
Offline Offline

Posts: 929


View Profile
Badges: (View All)
Tenth year Anniversary Linux User Combination
« 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 Wink
Report Spam   Logged

Global Mod, (sort of) at your service.

http://twitter.com/timothyaveni

Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
Combination Topic Starter Poll Voter
« 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 Smiley
Report Spam   Logged

Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
Badges: (View All)
« Reply #8 on: June 17, 2009, 05:57:24 am »

Basically what it does;
It adds a link next to a category name (on the page with all the boards, there's different categories) to request a board. When you request the board, the board request gets sent thru a PM to the admin, which can then add it. Preview here:

http://programmersunlimited.smfforfree2.com/index.php?action=forum#5
Thx Smiley 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  Wink
Report Spam   Logged






el mafioso
Exclusive
Exclusive
Offline Offline

Posts: 553


SOTW 1st Champion


View Profile
Badges: (View All)
« Reply #9 on: June 17, 2009, 01:55:40 pm »

Basically what it does;
It adds a link next to a category name (on the page with all the boards, there's different categories) to request a board. When you request the board, the board request gets sent thru a PM to the admin, which can then add it. Preview here:

http://programmersunlimited.smfforfree2.com/index.php?action=forum#5
Thx Smiley 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  Wink

Same thing Over here!
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

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