| Author |
Message |
porcupinepc Involved


Joined: Sep 20, 2003 Posts: 261 Location: Schumacher, Ontario CANADA
|
Posted:
Tue Nov 25, 2003 12:00 pm |
|
Hi everyone:
On my site (www.porcupinepc.com/forums) there is, i believe its called a block named "Information". It has a Nuke PHP, W3C HTML4.01 and a W3C CSS icons. I would like to edit it so these icons are gone and my favorite PHP-Nuke site icons are shown instead. I managed to rename it to Great PHP-Nuke Sites but when i add code and save it, i go to mainpage and it wasnt saved.
Thanks
Joe |
|
|
 |
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Nov 25, 2003 2:39 pm |
|
That's usually an indication that the code in the top of mainfile.php ($_GET and $_POST) is rejecting something. Please post the code (in code tags) here and we'll take a look. |
|
|
|
 |
porcupinepc Involved


Joined: Sep 20, 2003 Posts: 261 Location: Schumacher, Ontario CANADA
|
Posted:
Tue Nov 25, 2003 2:51 pm |
|
Hi Raven:
I had managed to rename the block from "Information"
When i access that block from the Admin screen, there is a bunch of code. Im sorrta new to this. Not sure if this is the code you need:
<br><center><font class="content">
<a href="http://phpnuke.org"><img src="images/powered/phpnuke.gif" border="0" alt="Powered by PHP-Nuke" title="Powered by PHP-Nuke" width="88" height="31"></a>
<br><br>
<a href="http://validator.w3.org/check/referer"><img src="images/html401.gif" width="88" height="31" alt="Valid HTML 4.01!" title="Valid HTML 4.01!" border="0"></a>
<br><br>
<a href="http://jigsaw.w3.org/css-validator"><img src="images/css.gif" width="88" height="31" alt="Valid CSS!" title="Valid CSS!" border="0"></a></font></center><br>
Joe |
|
|
 |
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Nov 25, 2003 2:56 pm |
|
No. I know where the code is. What I want to see is the code you are trying to change it to that is not getting saved. Also, please enclose your code in the BBCODE code and /code tags. |
|
|
|
 |
porcupinepc Involved


Joined: Sep 20, 2003 Posts: 261 Location: Schumacher, Ontario CANADA
|
Posted:
Tue Nov 25, 2003 3:11 pm |
|
im not very experienced in the BBSCODE. What i tried to do was, in the code i sent you in my previous message, i substituted the url and image link with your link and the Raven graphic that i ftps on my server. I wanted it to be shown on my site for all to see.
For example: Heres the code edited:
<br><center><font class="content">
<a href="http://www.http://www.ravenphpscripts.com/index.php"><img src="http://www.porcupinepc.com/images/RavenPHPScripts.gif" border="0" alt="Raven PHP Scripts" width="88" height="31"></a>
<br><br>
<a href="http://validator.w3.org/check/referer"><img src="images/html401.gif" width="88" height="31" alt="Valid HTML 4.01!" title="Valid HTML 4.01!" border="0"></a>
<br><br>
<a href="http://jigsaw.w3.org/css-validator"><img src="images/css.gif" width="88" height="31" alt="Valid CSS!" title="Valid CSS!" border="0"></a></font></center><br>
Joe |
|
|
 |
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Nov 25, 2003 3:36 pm |
|
The bbcode is what you add when you're posting in the forums. Click reply to any message and you will see tags you use to quote, code, bold, etc. To make your code easier to post and read, you include your code in these tags. For example, I was trying to get you to post your code so it would look like this
| Code: | <br><center><font class="content">
<a href="http://www.http://www.ravenphpscripts.com/index.php"><img src="http://www.porcupinepc.com/images/RavenPHPScripts.gif" border="0" alt="Raven PHP Scripts" width="88" height="31"></a>
<br><br>
<a href="http://validator.w3.org/check/referer"><img src="images/html401.gif" width="88" height="31" alt="Valid HTML 4.01!" title="Valid HTML 4.01!" border="0"></a>
<br><br>
<a href="http://jigsaw.w3.org/css-validator"><img src="images/css.gif" width="88" height="31" alt="Valid CSS!" title="Valid CSS!" border="0"></a></font></center><br> |
In any event, the word 'script' in ravenphpscripts is causing your code to fail because of poorly written logic in FB's attempt to block the javascript 'script' tag. In essence, he threw the baby out with the bath water. You can either comment out that piece of code in mainfile.php or try to correct it. Since I always scrutinize any news items and code on my site, I chose to comment it out. Another alternative is to leave the code alone in mainfile.php and convert the in-line block to a block file. |
|
|
|
 |
porcupinepc Involved


Joined: Sep 20, 2003 Posts: 261 Location: Schumacher, Ontario CANADA
|
Posted:
Tue Nov 25, 2003 3:44 pm |
|
in mainfile.php i see a couple instances of "script" which would i edit?
Joe |
|
|
 |
 |
|
|
|
|