Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9
Author Message
porcupinepc
Involved
Involved



Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Tue Nov 25, 2003 12:00 pm Reply with quote

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
 
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Nov 25, 2003 2:39 pm Reply with quote

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.
 
View user's profile Send private message
porcupinepc







PostPosted: Tue Nov 25, 2003 2:51 pm Reply with quote

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







PostPosted: Tue Nov 25, 2003 2:56 pm Reply with quote

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







PostPosted: Tue Nov 25, 2003 3:11 pm Reply with quote

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







PostPosted: Tue Nov 25, 2003 3:36 pm Reply with quote

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







PostPosted: Tue Nov 25, 2003 3:44 pm Reply with quote

in mainfile.php i see a couple instances of "script" which would i edit?

Joe
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©