Advertise Here

Author Topic: [Code] Contact Page  (Read 12425 times)

0 Members and 1 Guest are viewing this topic.

Offline Phoebe Jordan

  • SMF For Free Member
  • *
  • Posts: 42
    • View Profile
    • Romance Readers & Writers Forum

  • Total Badges: 12
    Badges: (View All)
    Apple User Topic Starter Combination Level 2 Level 1
Re: [Code] Contact Page
« Reply #15 on: April 24, 2008, 11:01:03 am »
It's my test forum and I don't see any Contact page tab.

Code: [Select]
<script>
var Me = 0;
var Contact = new Array();
Contact[Me++]=["Phoebe Jordan/Admin","angeldisguise261@aol.com"];

var loc = window.location.href.split("/index.php")[0];
var Tab = document.getElementsByTagName("td");
for(y=0;y<Tab.length;y++){
if(Tab[y].className == "maintab_last"){
Tab[y].parentNode.innerHTML = Tab[y].parentNode.innerHTML + "<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>
« Last Edit: April 24, 2008, 11:02:34 am by Phoebe Jordan »

Offline Celebrus

  • SMF For Free Hero
  • *
  • Posts: 941
    • View Profile
    • Vikhyat Korrapati

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Contact Page
« Reply #16 on: April 24, 2008, 11:03:29 am »
See if removing
Code: [Select]
<script src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>
helps.

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Contact Page
« Reply #17 on: April 24, 2008, 11:04:16 am »
His directions say to replace NAME with the  "username of the contact"
Im not totally sure how important that is but I think you need to put your exact username there.   Try Phoebe_Jordan

Offline pker own

  • SMF For Free Sr. Member
  • *
  • Posts: 370
    • View Profile
    • Coreyscape Forums (Was A Server)

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Contact Page
« Reply #18 on: April 24, 2008, 11:04:46 am »
okay thank you for the code even though its a test forum we will still need a url to have a look.

Offline Phoebe Jordan

  • SMF For Free Member
  • *
  • Posts: 42
    • View Profile
    • Romance Readers & Writers Forum

  • Total Badges: 12
    Badges: (View All)
    Apple User Topic Starter Combination Level 2 Level 1
Re: [Code] Contact Page
« Reply #19 on: April 24, 2008, 11:10:35 am »
Forum Url: http://romanceloversreadingandwr.smfforfree4.com
See if removing
Code: [Select]
<script src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>
helps.

Nope didn't help. Still can't find the Contact Us tab.

His directions say to replace NAME with the  "username of the contact"
Im not totally sure how important that is but I think you need to put your exact username there.   Try Phoebe_Jordan

Used my exact username and still can't find the Contact Us tab.

Code: [Select]
<script>
var Me = 0;
var Contact = new Array();
Contact[Me++]=["Phoebe_Jordan","angeldisguise261@aol.com"];

var loc = window.location.href.split("/index.php")[0];
var Tab = document.getElementsByTagName("td");
for(y=0;y<Tab.length;y++){
if(Tab[y].className == "maintab_last"){
Tab[y].parentNode.innerHTML = Tab[y].parentNode.innerHTML + "<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>

Offline pker own

  • SMF For Free Sr. Member
  • *
  • Posts: 370
    • View Profile
    • Coreyscape Forums (Was A Server)

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Contact Page
« Reply #20 on: April 24, 2008, 11:12:34 am »
i can see the CONTACTS tab look ill get a pic of it.

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Contact Page
« Reply #21 on: April 24, 2008, 11:15:36 am »
humm  I just put the code on my server 4 forum to check it out and see what is going on.
It is not working for me either and IE7.0 gives me an error msg:   "unknown runtime error"
Same error shows for me on Phoebe's forum.

I tried it with both versions of the jquery..  (not together, one at a time)

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Contact Page
« Reply #22 on: April 24, 2008, 11:16:39 am »
Its there using Firefox. 
It is not showing the main_first and main_last part of the tab though

It does not show the tab at all with my IE 7.0

Offline pker own

  • SMF For Free Sr. Member
  • *
  • Posts: 370
    • View Profile
    • Coreyscape Forums (Was A Server)

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Contact Page
« Reply #23 on: April 24, 2008, 11:17:01 am »
hmm well im using Mozilla FF what one are you using phoebe its working perfectly for me. heres the pic. http://img383.imageshack.us/img383/5286/contacttabum0.png   oh okay i dont think its working for internet explorer yet probably Mozilla FF its been made for.

Offline Phoebe Jordan

  • SMF For Free Member
  • *
  • Posts: 42
    • View Profile
    • Romance Readers & Writers Forum

  • Total Badges: 12
    Badges: (View All)
    Apple User Topic Starter Combination Level 2 Level 1
Re: [Code] Contact Page
« Reply #24 on: April 24, 2008, 11:23:40 am »
Its there using Firefox. 
It is not showing the main_first and main_last part of the tab though

It does not show the tab at all with my IE 7.0

I'm using IE 7.0 and I don't see anything like what pker own's picture has.

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Contact Page
« Reply #25 on: April 24, 2008, 11:27:57 am »


I'm using IE 7.0 and I don't see anything like what pker own's picture has.


It appears to not work with IE 7.0   (it does not show for me with IE 7 either)
Moose may need to see if he can rework this so it will.

Offline Phoebe Jordan

  • SMF For Free Member
  • *
  • Posts: 42
    • View Profile
    • Romance Readers & Writers Forum

  • Total Badges: 12
    Badges: (View All)
    Apple User Topic Starter Combination Level 2 Level 1
Re: [Code] Contact Page
« Reply #26 on: April 24, 2008, 11:29:49 am »
Okay. I hope it can be fixed because I requested the Contact Page and now when it's there it isn't working because I use IE instead of Mozollia FF.  :-\

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Contact Page
« Reply #27 on: April 24, 2008, 11:33:46 am »
Okay. I hope it can be fixed because I requested the Contact Page and now when it's there it isn't working because I use IE instead of Mozollia FF.  :-\

Anyone using FF can see and use it.   I did check that.
Yeah it would be nice for those using IE (and especially if an admin is using IE) to be able to use it as well.

Some of these codes using jquery seem to not work very well with IE 7.0

Offline Phoebe Jordan

  • SMF For Free Member
  • *
  • Posts: 42
    • View Profile
    • Romance Readers & Writers Forum

  • Total Badges: 12
    Badges: (View All)
    Apple User Topic Starter Combination Level 2 Level 1
Re: [Code] Contact Page
« Reply #28 on: April 24, 2008, 11:45:23 am »
Okay. I hope it can be fixed because I requested the Contact Page and now when it's there it isn't working because I use IE instead of Mozollia FF.  :-\

Anyone using FF can see and use it.   I did check that.
Yeah it would be nice for those using IE (and especially if an admin is using IE) to be able to use it as well.

Some of these codes using jquery seem to not work very well with IE 7.0

That sucks but what can you do until Agent Moose fix it if he has time or can.

Offline pker own

  • SMF For Free Sr. Member
  • *
  • Posts: 370
    • View Profile
    • Coreyscape Forums (Was A Server)

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Contact Page
« Reply #29 on: April 24, 2008, 11:46:38 am »
well you could use mozilla firefox if you have it. if not then theres nothink we can do until his back.

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
3970 Views
Last post April 23, 2008, 10:35:01 pm
by Agent Moose
4 Replies
1203 Views
Last post April 26, 2008, 05:12:35 pm
by Founders
1 Replies
1701 Views
Last post October 06, 2008, 12:00:35 pm
by simply sibyl
4 Replies
6857 Views
Last post May 19, 2011, 06:22:26 pm
by Glitch
0 Replies
11982 Views
Last post September 22, 2018, 02:58:58 pm
by SMF For Free