View Full Version: [S] Huge Issues

RPG-Directory > Solved Support Topics > [S] Huge Issues



Title: [S] Huge Issues


Benjiboy180 - August 12, 2008 04:45 AM (GMT)
So I was trying to add the quick login code to my board here. But when I tryed to login with it, this page popped up. Now whenever I push any button what soever, other than clicking on links, it takes me there. Even the Save Changes in the Edit Headers and Footers section.

Here is my code for the headers.

CODE
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>

   <style type="text/css">
   <!--

   background-position:center top;
   background-repeat:repeat-y;

   -->

   </style>



<script type="text/javascript">
<!--
/* transparent welcome table */

var td = document.getElementsByTagName("td");
var tt = document.getElementsByTagName("table")[0];
tt.style.backgroundColor = "transparent";
tt.cellSpacing = "0";
for(i=0; i<td.length; i++)
   td[i].style.backgroundColor = "transparent";

// -->
</script>




<script language="javascript">
document.getElementsByTagName('font')[1].style.display="none";
document.getElementsByTagName('td')[2].style.display="none";
</script>





<div id="wel"></div>

<script type="text/javascript">
//Moves ads above welcome table
<!--

var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);

//-->
</script>





<script type="text/javascript">
<!--
/* PM System Above Banner (iKon Style)
By {XF}Äs$@§sîñ™, http://exdat.proboards44.com
Do NOT RIP nor REPOST nor CLAIM AS YOUR OWN */

var pmCClass = "winbg"; // ClassName of the cell
var pmCHeight = "30"; // Height of the cell
var pmCAlign = "center"; // Alignment ot the text inside of the cell

var table = document.getElementsByTagName("table");
var td = document.getElementsByTagName("td");

var iFont = document.createElement("font");
iFont.style.fontSize = "12px";
if (pb_username.match(/Guest/)) {
iFont.appendChild(document.createTextNode("Welcome " + pb_displayname + " to " + document.title.split(" - ")[0] + "."));
}
else if (td.item(2).innerHTML.match(/,\s(\d+)\s(is|are)\snew./i)) {
iFont.appendChild(document.createTextNode("Welcome " + pb_displayname + "! "));
var pmLink = document.createElement("a");
pmLink.setAttribute("href", "/index.cgi?action=pm");
pmLink.appendChild(document.createTextNode(RegExp.$1));
iFont.appendChild(pmLink);
iFont.appendChild(document.createTextNode(" new private message" + ((RegExp.$1 == 1)? "." : "s." )));
}
td.item(2).style.display = "none";

with (table.item(0).insertRow(0).insertCell(0)) {
className = pmCClass;
height = pmCHeight;
align = pmCAlign;
appendChild(iFont);
}
//-->
</script>


<script src="http://www.webpost.net/sh/shinx05/CrossFury/CFHeader.js">
<!--
/*
Project: CrossFury Version 1.0 © Shin, 2005
This code may be used provided that you do not edit or repost this code without my prior permission, and that you do NOT remove this header. This script's coding is my official property, so please do not attempt to claim any of it as your own. This header must always remain intact.

This part of the code goes in your Global Header ONLY.
Both parts of the code must be properly installed to work.
*/
//-->
</script>

<!--
===================================
HTML Left Side Tables for ProBoards - Smangii Style
GLOBAL HEADERS
===================================
//-->

<!-- Start Main Table //-->
<table align="center" width="auto" cellpadding="5">
<tr>
<td align="center" width="225px" vAlign="top">
<!-- Start Side Tables //-->
<table width="100%" cellpadding="0">
<tr>
<td>

<!-- WELCOME //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Welcome.jpg" border="0" alt="Welcome"></td>
</tr>
<tr>
<td class="windowbg" align="center">
<font size=1>Welcome to Kennington, a rather small town in southern Ohio. On the outside, this rural town appears to be a calm, uninteresting place, which it is, for the most part. That is, until the bell rings at the local high school, thus unleashing the local teens on the town. Kennington, just like anywhere else, has its own struggles when it comes to the teenage life. Students here are like any other. They must decide who their real friends are. They must decide to love or lose, to live or die, to be real or hide. Sadly, so many choose to seal themselves behind masks. Just like many schools about the country, the hallways of Kennington High are filled with...<br> <font color=898e3c face=Wingdings>wwwwwwwwwwwwwwwwwwwwwwwwwwww</font><br> <font color="458B00">Fake Plastic Trees</font>.</font>
<br>
</td>
</tr>
</table>
</br>

<!-- LINKS//-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Links.jpg" border="0" alt="Links"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<a href="http://fakeptrees.proboards89.com/index.cgi?board=general&action=display&thread=1205609823">Rules</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=general&action=display&thread=1205609916">Plot</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=create&action=display&thread=1205609514">Application</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=create&action=display&thread=232">Cannons</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=subplots">Sub-Plots</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=relationships">Character Relationships</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=claims">Claims</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=ad">Advertising and Affiliating</a><br>



</td>
</tr>
</table>
</br>

<!-- FORECAST //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Forecast.jpg" border="0" alt="Forecast"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<b>Month:</b> June<br>
<b>Season:</b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/Seasons/ICONATOR_b20b30e959eb3165ebced34c78.png" border="0" alt="Early Summer"><br>
It's sunny with a high of 85 and a few scattered clouds.

</td>
</tr>
</table>
</br>


<!-- SPOTLIGHT //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Spotlight.jpg" border="0" alt="Spotlight"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<u><b>Member Of The Month</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/ICONATOR_0f3407cfe8016ba812c2d04fed.jpg" border="0" alt="MotM"><br>
<b>To Be Announced</b><br>

<br>

<u><b>Top Male Character</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/People/ICONATOR_c92d27bc07679dcc0c4239fdf8.jpg" border="0" alt="Top Male"><br>
<b>To Be Announced</b><br>

<br>

<u><b>Top Female Character</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/People/ICONATOR_e2e037bed5419e6f440d6bbea0.jpg" border="0" alt="Top Female"><br>
<b>To Be Announced</b><br>

<br>

<u><b>Top Couple</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/love_icon.png" border="0" alt="Top Couple"><br>
<b>To Be Announced</b>

</td>
</tr>
</table>
</br>

<!--OTHER INFO //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Other.jpg" border="0" alt="Other Info"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<font size="-2">Layout format © Benjiboy180 <br>
Codes © the respective coders <br>
Skin © Wicked <br>
Icons © www.iconator.com <br>
Fake Plastic Trees © Radiohead <br>
The town of Kennington © Benjiboy180 <br>
All posts © their creators <br>
Nothing is to be ripped or stolen. <br>
~Benjiboy180</font><br>
<hr color=664b67>
<font size=3><b><u>Affiliates</u></b></font>
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="left" scrollamount="3">

<a href="http://s15.invisionfree.com/RPG_Directory" target="_blank"><img src="http://img.photobucket.com/albums/v231/ShinLi/RPG%20Life/RPGDirectoryMiniBanner2.gif" alt="RPG-D" /></a>

<a href="http://the-fantasm.com/rpg/" target="_blank"><img src="http://www.the-fantasm.com/images/button-what-yellow.jpg" alt="WHAT" /></a>

<a href="http://rpgcollection.proboards27.com/" target="_blank"><img src="http://dravu.com/RPGC3/Main/minibanner1.gif" width="88" height="31" border="0" alt="RPGCollection"></a>

<a href="http://z9.invisionfree.com/Harbor_High"><img src="http://i175.photobucket.com/albums/w133/krystalisqueen/button.png"></a>

<a href="http://wgav3.proboards98.com/index.cgi" target="_blank"><img src="http://i17.tinypic.com/5066c8m.png" alt="Woodgate Academy v3" /></a>

<a href="http://cliftonacademy.proboards80.com" Target="_blank">
<img src="http://i208.photobucket.com/albums/bb175/anjewl619/CAB1.gif" width=88 height=31 border=0 alt="Clifton Academy"></a>

<a href="http://newyorkhigh.proboards49.com" target="_blank"><img src="http://i26.photobucket.com/albums/c136/chexdex/nyh/nyhminimh3.jpg" border="0" /></a>

<a href=http://z4.invisionfree.com/Waverly_High/ target=_blank><img src=http://i38.photobucket.com/albums/e104/obscurespirit/waverlytwo.gif border=0 alt="Waverly High"></a>

</marquee>

<hr color=664b67>
<a href="http://fakeptrees.proboards89.com/index.cgi" target="_blank"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/AffIcon.jpg" border="0" alt="Fake Plastic Trees"></a>
<br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=ad">Click to Affiliate!</a>

<hr color=664b67>
<form style='display:inline' action="fakeptrees.proboards89.com/index.php?act=Login&CODE=01&CookieDate=1" method="post">
<div align='center'><strong>Quick Log-In </strong><br>
<input type="text" class="forminput" size="10" name="UserName" onfocus="this.value=''" value="User Name" /> <br>
<input type='password' class='forminput' size='10' name='PassWord' onfocus="this.value=''" value='mimrocks' /> <br>
<input type='submit' class='forminput' value='Go' /><br>

</td>
</tr>
</table>
</br>

<!-- Close Side Tables //-->
</td>
</tr>
</table>
</td>
<td vAlign="top">
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
//-->
</script>

<!-- END SIDE TABLES GLOBAL HEADERS HTML //-->
<script type="text/javascript">
<!--
AddOns[0]=new ProfileAddOn("blood","true","select","all","Blood Status","","Select your character's blood status.","Pureblood","Halfblood","Muggleborn","Squib","Muggle");
//-->
</script>
<script type="text/javascript">
<!--
AddOns[1]=new ProfileAddOn("relations","true","select","all","Relationship Status","","Select your character's relationship status.","Single","Dating","Engaged","Married","Divorced","Widowed");
//-->
</script>

<div id="g_hContainer">

<xmp style="display: none;" id="g_header1">
<script>
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='700';
}}
// -->
</script>





<style type="text/css">
<!--
}
BODY {
font-family: Verdana,Ariel;
color: #000000;
font-weight: Normal;
font-size: 10px;
}
textarea {
font-size: 7pt;
color: #004000;
background-color: #E3E0C1;
border: 1px solid #000000;
}
.a, font {
font-weight: none; font-size: 10px;
}
input {
font-size: 7pt;
color: #004000;
background-color: #E3E0C1;
border: 1px solid #000000;
}
select, option {
font-size: 7pt;
color: #004000;
background-color: #E3E0C1;
}
.titlebg {
background-image: url(http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Main%20Images/titlebg.gif);
background-repeat: yes;
}
.catbg {
background-image: url(http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Main%20Images/catbg.gif);
background-repeat: yes;
}
.menubg {
background-image: url(http://www.imagebee.org/images/4666menubg.gif);
       background-repeat: yes;
}
    BODY {background-position:center top;background-repeat:repeat-y}
}
-->
</style>
</xmp>

<xmp style="display: none;" id="g_header2">
<style type="text/css">
<!--
}
BODY {
font-family: Verdana,Ariel;
color: #000000;
font-weight: Normal;
font-size: 10px;
}
textarea {
font-size: 8pt;
color: #000000;
background-color: #EFEFEF;
border: 1px solid #404000;
}
input {
font-size: 8pt;
color: #000000;
background-color: #EFEFEF;
border: 1px solid #404000;
}
select, option {
font-size: 8pt;
color: #000000;
background-color: #EFEFEF;
}
.catbg {
background-image: url(http://i93.photobucket.com/albums/l48/benjiboy180/Sakura/Main%20Images/catbg.gif);
background-repeat: yes;
}
.titlebg {
background-image: url(http://i93.photobucket.com/albums/l48/benjiboy180/Sakura/Main%20Images/title.gif);
background-repeat: yes;
}
.menubg {
background-image: url(http://i93.photobucket.com/albums/l48/benjiboy180/Sakura/Main%20Images/menu.gif);
       background-repeat: none;
}
    BODY {background-position:center top;background-repeat:repeat-y}
}
-->
</style>


<script>
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='728';
}}
// -->
</script>
</xmp>

<xmp style="display: none;" id="g_header3">
<script>
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='700';
}}
// -->
</script>


<script type="text/javascript">
<!--
var PMLogoCell = document.getElementsByTagName("TD")[1]; PMLogoCell.removeChild(PMLogoCell.lastChild)
document.getElementsByTagName("TD")[2].style.display='none';
-->
</script>


<style type="text/css">
<!--
}
BODY {
font-family: Verdana,Ariel;
color: #000000;
font-weight: Normal;
font-size: 10px;
}
textarea {
font-size: 7pt;
color: #004000;
background-color: #E3E0C1;
border: 1px solid #000000;
}
.a, font {
font-weight: none; font-size: 10px;
}
input {
font-size: 7pt;
color: #004000;
background-color: #E3E0C1;
border: 1px solid #000000;
}
select, option {
font-size: 7pt;
color: #004000;
background-color: #E3E0C1;
}
.titlebg {
background-image: url(http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Main%20Images/titlebg.gif);
background-repeat: yes;
}
.catbg {
background-image: url(http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Main%20Images/catbg.gif);
background-repeat: yes;
}
.menubg {
background-image: url(http://www.imagebee.org/images/4666menubg.gif);
       background-repeat: yes;
}
    BODY {background-position:center top;background-repeat:repeat-y}
}
-->
</style>
</xmp>

</div>


And for footers.
CODE
<div id="g_fContainer">

<xmp style="display: none;" id="g_footer1">
<script>
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='700';
}}
// -->
</script>
</xmp>

<xmp style="display: none;" id="g_footer2">
<SCRIPT LANGUAGE="JavaScript">
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='728';
}
}
// -->
</script>
</xmp>

<xmp style="display: none;" id="g_footer3">
<script>
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='700';
}}
// -->
</script>
</xmp>

</div>

<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '700';
}}}
//-->
</script>
</td></tr></table>
<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->

<!-- CBox table created by Seija of RPGC //-->
<table width="92%" cellpadding="4" cellspacing="1" align="center" class="bordercolor">
<tr><td class="titlebg" width="100%" colspan="2" height="25" align="center">
<font size="2"> Chat Box </font>
</td></tr>
<tr><td width="50%" class="windowbg" vAlign="top">

<!-- BEGIN CBOX - www.cbox.ws -->
<div align="Center" id="cboxdiv">
<iframe frameborder="0" width="438" height="156" src="http://www5.cbox.ws/box/?boxid=63315&boxtag=mxk1kg&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#B3B29F 1px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="438" height="82" src="http://www5.cbox.ws/box/?boxid=63315&boxtag=mxk1kg&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#B3B29F 1px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->

</td><td width="50%" class="windowbg" vAlign="center">
<font size="1">
<CENTER><b><u>Rules</b></u></CENTER>
1) No flaming what so ever.<br>
2) Keep chat speak to a bare minimum, not only does it annoy me, but it clutters.<br>
3) <b><u>No advertising in the C-Box!</u></b><br>
4) Keep discussion here to a low. You can talk, but use PM if you are going to have lengthy discussions. <br>
5) If rules are broken the C-box will be <u>taken away</u>. It is only here for your convenience.<br>
6) Use a single alias when talking in the chat box.<br>
7) Do not impersonate other people, especially staff. That is blatant disregard for others and will be deal with <b><u>very</b></u> severely.

</font>
</td>
</tr>
</table>



<script type="text/javascript" src="http://www.iycatacombs.com/socal/resources/scripts/hfskinsgf.js">
<!--
/* Different Headers/Footers for Different Skins
©2005, SoCal Codes, http://socal.proboards26.com
Do not redistribute or rehost without permission
Place this portion in the bottom of the Global Footer */
// -->
</script>


Please help! I am desperate.

~Benji

pathogenicoma - August 12, 2008 05:00 AM (GMT)
The link is bad. IF and PB use a different url style to log-in with.

So take out the WHOLE link for logging in and replace it with this:
http://fakeptrees.proboards89.com/index.cgi?action=login

Which is the log-in code/url for your site. It should work after that.

Benjiboy180 - August 12, 2008 05:09 AM (GMT)
Do you know which bit of code I posted is the problem?

I figured it had something to do with PB and IF, but I completely spaced when I posted the code.

I think it's this part:
CODE
<form style='display:inline' action="fakeptrees.proboards89.com/index.php?act=Login&CODE=01&CookieDate=1" method="post">


Am I correct?

pathogenicoma - August 12, 2008 05:35 AM (GMT)
CODE
<hr color=664b67>
<form style='display:inline' action="fakeptrees.proboards89.com/index.php?act=Login&CODE=01&CookieDate=1" method="post">
<div align='center'><strong>Quick Log-In </strong><br>
<input type="text" class="forminput" size="10" name="UserName" onfocus="this.value=''" value="User Name" /> <br>
<input type='password' class='forminput' size='10' name='PassWord' onfocus="this.value=''" value='mimrocks' /> <br>
<input type='submit' class='forminput' value='Go' /><br>


This is your problem code. Which is the code for your quick log-in. You're using a quick log-in code designed for IF, not proboards. So if you change it to this:

CODE
<hr color=664b67>
<form style='display:inline' action="http://fakeptrees.proboards89.com/index.cgi?action=login&CookieDate=1" method="post">
<div align='center'><strong>Quick Log-In </strong><br>
<input type="text" class="forminput" size="10" name="UserName" onfocus="this.value=''" value="User Name" /> <br>
<input type='password' class='forminput' size='10' name='PassWord' onfocus="this.value=''" value='mimrocks' /> <br>
<input type='submit' class='forminput' value='Go' /><br>


It should work. If not, try removing the &CookieDate=1 part.

Benjiboy180 - August 12, 2008 05:47 AM (GMT)
Ok. Well that solves the problem with the code, but it still takes me to that error page every time I click a button. That includes the save changes button. Almost as though it has programmed every button to try to log me into that bad link.

The code doesn't even get a chance to save, I don't think.

pathogenicoma - August 13, 2008 01:19 AM (GMT)
I'm not sure what you mean. All the links on your site work perfectly fine by me. What are you clicking on that keeps taking you to the bad url?

Are you having trouble in you admin CP? I don't think a sidebar code would do anything to your admin CP. Could it be a proboards error? Are you sure you installed all your code right? - I myself have never made a proboads forum, so I don't know how you add changes to your skin.




Hosted for free by InvisionFree