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
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sat Oct 25, 2003 8:24 pm Reply with quote

Is there a limit to how large a news story can be? I just tried to put up a story I wrote in word and saved as HTML. When I try to add the story nothing happens at all.

_________________
http://jamesdibben.com 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Oct 25, 2003 8:55 pm Reply with quote

65k if I remember right. When that happens, it's usually html tags that are not allowed that are causing the blank screen, not the size.
 
View user's profile Send private message
TheosEleos







PostPosted: Sat Oct 25, 2003 8:58 pm Reply with quote

What is the code for Bold text and Underline in HTML?
 
scottr
PHP-Portal Project



Joined: Jan 21, 2003
Posts: 41
Location: Southern California

PostPosted: Sat Oct 25, 2003 9:35 pm Reply with quote

Here's a good HTML cheatsheet: [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Visit poster's website Yahoo Messenger
TheosEleos







PostPosted: Sat Oct 25, 2003 10:08 pm Reply with quote

Ugh, the story still won't post. The preview works just fine now (didn't on my first post) but when I try to post nothing happens. Only 20kb as well. I am using some basic HTML code. I am completely lost.
 
Raven







PostPosted: Sat Oct 25, 2003 10:12 pm Reply with quote

In mainfile.php you'll find this code
Code:
foreach ($_GET as $secvalue) {

    if ((eregi("<[^>]*script*\"?[^>]*>", $secvalue)) ||
        (eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
        (eregi("<[^>]*iframe*\"?[^>]*>", $secvalue)) ||
        (eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
        (eregi("<[^>]*meta*\"?[^>]*>", $secvalue)) ||
        (eregi("<[^>]*style*\"?[^>]*>", $secvalue)) ||
        (eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
        (eregi("<[^>]*img*\"?[^>]*>", $secvalue)) ||
        (eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||
        (eregi("\"", $secvalue))) {
        die ("I don't like you...");
    }
}
Are you trying to use any of these tags?
 
TheosEleos







PostPosted: Sat Oct 25, 2003 10:15 pm Reply with quote

Code:
Welcome to the interactive experience that is the clan [pH] web site.  I will go over some of the functions so you will be comfortable with them.

<BR>
<BR>
<b>Forums</b>
<BR>
I have 3 words for you. <BR>
1.   Freedom <BR>
2.   Of <BR>
3.   Speech <BR>
<BR>
<BR>
<b>Submissions</b><BR>
There are 3 types of submissions here.  Any registered member can submit the following. <BR>
<BR>
1.   <u>News</u><BR>
Just click the “submit news” link to submit your Half-Life related news.  All submissions are subject to moderation before they are approved so make sure it is something everyone is interested in or it will not be approved.  You better use HTML code or your news could look pretty crappy.  I will try and fix stuff up as best as I can.<BR><BR>
2.   <u>Downloads</u><BR>
Once you go into the download area you will notice that there is a link called “Add Download”.  The file you want to add does not have to be on our server for your download to work.  Just put the URL of the location you have the file stored and that is where it will be linked.  This is great for maps and models.<BR><BR>
3.   <u>Links</u><BR>
This is pretty much the same as the download area.  Just pick your category and submit.  If you would like your Half-Life related web site added to our links then please do so. 
<BR>
<BR>
If you feel a new category needs to be added to any of the above submission types please post it in our forums or use the feedback link to send me a message.  If you need any further assistance please feel free to post in the forums and I will try and resolve your issue as quickly as possible.



This is what I am using.
 
Raven







PostPosted: Sat Oct 25, 2003 10:22 pm Reply with quote

I just posted it on my site and it posted. Check your Apache error log and/or your php log to see if any errors are being thrown.
 
TheosEleos







PostPosted: Sat Oct 25, 2003 10:24 pm Reply with quote

I have no idea how to check that. Shocked
 
Raven







PostPosted: Sat Oct 25, 2003 10:26 pm Reply with quote

Do you use cPanel or something like that to access your host account? It should offer an option to view error logs.
 
TheosEleos







PostPosted: Sat Oct 25, 2003 10:30 pm Reply with quote

I have PLESK. Would that be log manager?
 
Raven







PostPosted: Sat Oct 25, 2003 10:31 pm Reply with quote

Probably.
 
TheosEleos







PostPosted: Sat Oct 25, 2003 10:34 pm Reply with quote

I only see a couple of recent errors and it has to do with [ Only registered users can see links on this board! Get registered or login! ]

I am emailing it to you for review. I don't think there is much there though.
 
TheosEleos







PostPosted: Sat Oct 25, 2003 10:40 pm Reply with quote

I bet it is this stupid theme again!
 
TheosEleos







PostPosted: Sat Oct 25, 2003 11:25 pm Reply with quote

I am getting so frustrated here. All I want to do is go live with my site and I can't even get a simple news story to post. Mad Mad Mad
 
Frogger
Worker
Worker



Joined: Oct 06, 2003
Posts: 108

PostPosted: Sat Oct 25, 2003 11:27 pm Reply with quote

I have found (for myself anyway) if I use a table to create my stories everything works ok.

I write my store in the table....multiple columns, pics, etc... and just copy the code from <table>....</table> and have never had any problem, even with size.

Been using that in nuke since ver 6.0.

Hope this helps.

_________________
Image 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number
Frogger







PostPosted: Sat Oct 25, 2003 11:30 pm Reply with quote

Code:
<table width="77%" border="0" align="center" cellpadding="0" cellspacing="5">

  <tr>
    <td width="82%" valign="top"><h1><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#CC33CC" size="5">Sample
        Story ...</font> </strong></font></h1>
      <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Sample of
        what I mean.</font></p>
      <p align="right">&nbsp;</p></td>
  </tr>
</table>
 
TheosEleos







PostPosted: Sat Oct 25, 2003 11:34 pm Reply with quote

I really need HTML to work though. This site should stay pretty busy and I do not want to have to change every submission made.
 
Frogger







PostPosted: Sat Oct 25, 2003 11:41 pm Reply with quote

Nuke adds the necessary html tags. All you have to do is include your formatted story.

See, if you insert.

"This is my story..."

Nuke will then rewrite it with the html tags

<html>
<head>
</head>
<body>
This is my story
</body>

with all the html information found in your nuke site code.
</html>
 
TheosEleos







PostPosted: Sat Oct 25, 2003 11:49 pm Reply with quote

I wanted some things underlined and some bolded. Am I out of luck in that?
 
Frogger







PostPosted: Sun Oct 26, 2003 12:05 am Reply with quote

TheosEleos wrote:
I wanted some things underlined and some bolded. Am I out of luck in that?


The following:

Quote:
CHANGE YOUR : PASSWORDS
This is a sample story you can use as a template. You can use COLORS and more.

You just have to place the text and code without the HTML tags.

phpNuke will do that for you.


is written like this. Of course you can't see the colors, bold and underline here in the forum, but it is there. Paste this into your editor and you can see how it turns out.

Code:
<table width="77%" border="0" align="center" cellpadding="0" cellspacing="5">

  <tr>
    <td width="74%" valign="top"><strong><font color="#FF9900" size="5" face="Verdana, Arial, Helvetica, sans-serif">SAMPLE
      :</font></strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#FF9900" size="5">&nbsp;<font color="#666666">STORY</font></font></strong></font>
      <center>
        <p align="left"><font face="Arial, Helvetica, sans-serif">This is a sample
          story you can use as a <strong><u>template</u></strong>. You can use
          <font color="#FF0000">C</font></font><font color="#0000CC" face="Arial, Helvetica, sans-serif">O</font><font color="#00CC66" face="Arial, Helvetica, sans-serif">L</font><font color="#339933" face="Arial, Helvetica, sans-serif">O</font><font color="#FF0033" face="Arial, Helvetica, sans-serif">R</font><font color="#FF66CC" face="Arial, Helvetica, sans-serif">S
          </font><font face="Arial, Helvetica, sans-serif">and more.</font><br>
          <br>
          <font face="Courier New, Courier, mono">You just have to place the text
          and code without the HTML tags.</font><br>
          <br>
          <strong><font size="6" face="Geneva, Arial, Helvetica, sans-serif">phpNuke will do that for you.</font></strong><br>
        </p>
        </center></td>
  </tr>
</table>
 
TheosEleos







PostPosted: Sun Oct 26, 2003 12:08 am Reply with quote

Ok, try this on for size. I can't post any news of any kind. I just tried to do a test news post and no go. I used test as the subject and test as the message. No workie!
 
Frogger







PostPosted: Sun Oct 26, 2003 12:17 am Reply with quote

Do you have ICQ?

If not, send me the url and I will join and test it.


Last edited by Frogger on Sun Oct 26, 2003 12:35 am; edited 1 time in total 
TheosEleos







PostPosted: Sun Oct 26, 2003 12:20 am Reply with quote

I just sent you an authorization.
 
TheosEleos







PostPosted: Sun Oct 26, 2003 2:03 am Reply with quote

Well Raven, Frogger and I went over this for a couple of hours tonight with no luck. It turnes out I can't post any news and I have no idea why.

I thought at first that maybe your News stories hack maybe was the problem because it changed news related files. I removed your stuff and still no stories will post.

It's late and my brain is fried. If you have any suggestions I would appreciate your help.
 
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 ©