Simple Machine Codes
November 26, 2021, 11:45:09 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  

Contact Page

Pages: [1] 2 3   Go Down
  Print  
Author Topic: Contact Page  (Read 1859 times)
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: April 23, 2008, 10:33:49 pm »

Footers:
Code:
<script>
var Me = 0;
var Contact = new Array();
Contact[Me++]=["NAME","EMAIL"];

var loc = window.location.href.split("/index.php")[0];
$(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").before("<td class='maintab_back'><a href='" + loc + "/index.php?action=Contacts'>Contacts</a></td>");
if(location.href.match(/action=Contacts/i)){
document.title = "Contacts";
document.getElementById("bodyarea").innerHTML = "<br><br><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>Who do you want To Contact?</div><div id='Contacts'><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'><center><span id='ContactLinks'></span></center></td></tr></table></div></div><br><div id='ContactTable'><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center;'><span id='Title'></span></div><div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'><span id='The_Contacts'></span></td></tr></table></div></div></div><br>";

for(x=0;x<Contact.length;x++){
document.getElementById("ContactLinks").innerHTML += " [<a href='javascript:Contacts(" + x +")'>"  + Contact[x][0] + "</a>] ";
function Contacts(x){
document.title = Contact[x][0];
document.getElementById("Title").innerHTML = Contact[x][0];
document.getElementById("The_Contacts").innerHTML = "<form action='MAILTO:" + Contact[x][1] + "' method='post' enctype='text/plain'>Your Username: (If you don't have one, just use Guest)<br><input type='text'name='name' value='' size='40'><br>Your E-Mail Address:<br><input type='text' name='mail' size='100%'/><br>Why Are You Contacting " + Contact[x][0] + "?<br><text" + "area type='text' name='comment' cols='100%' rows='7'></text" + "area><br><input type='submit' value='Send'/> <input type='reset' value='Reset'/></form>";
};};};
</script>

Original Request: http://smcodes.smfforfree3.com/index.php/topic,846.0.html

NAME = The Username of the contact
EMAIL = The Email Address of the Contact.

To add more contacts, add more of these lines:
Contact[Me++]=["NAME","EMAIL"];

Enjoy Smiley
« Last Edit: April 24, 2008, 02:28:40 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

Mr_smith
The Only One
100 Club Member

Offline Offline

Gender: Male
Posts: 153



View Profile WWW
« Reply #1 on: April 24, 2008, 07:56:19 am »

Could u make the contact page apear before the logout button?
Report Spam   Logged

legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #2 on: April 24, 2008, 08:39:13 am »

i dont see were it appears though ?

were is it supposed to appear exactly

coz i added it and i see no dif anywere

legend 1234
Report Spam   Logged

Mr_smith
The Only One
100 Club Member

Offline Offline

Gender: Male
Posts: 153



View Profile WWW
« Reply #3 on: April 24, 2008, 09:10:02 am »

you will see it behind the logg out button
Report Spam   Logged

legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #4 on: April 24, 2008, 10:17:16 am »

yea i know but its not there

oo well

legend 1234
Report Spam   Logged

Mr_smith
The Only One
100 Club Member

Offline Offline

Gender: Male
Posts: 153



View Profile WWW
« Reply #5 on: April 24, 2008, 10:37:10 am »

lol, maybe you filled in wrong...
Report Spam   Logged

Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #6 on: April 24, 2008, 10:41:06 am »

i dont see were it appears though ?

were is it supposed to appear exactly

coz i added it and i see no dif anywere

legend 1234

Forum URL?
Report Spam   Logged

Phoebe Jordan
100 Club Member

Offline Offline

Gender: Female
Posts: 266



View Profile WWW
« Reply #7 on: April 24, 2008, 10:47:56 am »

i dont see were it appears though ?

were is it supposed to appear exactly

coz i added it and i see no dif anywere

legend 1234

I don't see it anywhere on the forum. What's the URL?
Report Spam   Logged
Mr_smith
The Only One
100 Club Member

Offline Offline

Gender: Male
Posts: 153



View Profile WWW
« Reply #8 on: April 24, 2008, 10:56:22 am »

i found it, button is called "Contact Us"
Report Spam   Logged

Phoebe Jordan
100 Club Member

Offline Offline

Gender: Female
Posts: 266



View Profile WWW
« Reply #9 on: April 24, 2008, 11:03:52 am »

Nope. I still don't see it, even the Contact Us tab that you've found.
Report Spam   Logged
Mr_smith
The Only One
100 Club Member

Offline Offline

Gender: Male
Posts: 153



View Profile WWW
« Reply #10 on: April 24, 2008, 11:10:16 am »

its under special Links
Report Spam   Logged

Phoebe Jordan
100 Club Member

Offline Offline

Gender: Female
Posts: 266



View Profile WWW
« Reply #11 on: April 24, 2008, 11:11:31 am »

its under special Links

What does that mean?
Report Spam   Logged
Mr_smith
The Only One
100 Club Member

Offline Offline

Gender: Male
Posts: 153



View Profile WWW
« Reply #12 on: April 24, 2008, 11:12:38 am »

what site are you looking for the contact us page?
Report Spam   Logged

Phoebe Jordan
100 Club Member

Offline Offline

Gender: Female
Posts: 266



View Profile WWW
« Reply #13 on: April 24, 2008, 11:14:53 am »

my own test forum.
Report Spam   Logged
Mr_smith
The Only One
100 Club Member

Offline Offline

Gender: Male
Posts: 153



View Profile WWW
« Reply #14 on: April 24, 2008, 11:16:31 am »

give me the code, i will see if you filled it wrong
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