PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
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 Back to top

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


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

What is the code for Bold text and Underline in HTML?
View user's profile Send private message Visit poster's website AIM Address ICQ Number
scottr
PHP-Portal Project


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

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

Here's a good HTML cheatsheet:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

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


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

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


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

I have no idea how to check that. Shocked
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

Do you use cPanel or something like that to access your host account? It should offer an option to view error logs.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

I have PLESK. Would that be log manager?
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

Probably.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

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 to the forums!


I am emailing it to you for review. I don't think there is much there though.
View user's profile Send private message Visit poster's website AIM Address ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

I bet it is this stupid theme again!
View user's profile Send private message Visit poster's website AIM Address ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

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
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Frogger
Worker
Worker


Joined: Oct 06, 2003
Posts: 108

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

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.
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number
Frogger
Worker
Worker


Joined: Oct 06, 2003
Posts: 108

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

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>
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

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.
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Frogger
Worker
Worker


Joined: Oct 06, 2003
Posts: 108

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

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>
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

I wanted some things underlined and some bolded. Am I out of luck in that?
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Frogger
Worker
Worker


Joined: Oct 06, 2003
Posts: 108

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

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>
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

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!
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Frogger
Worker
Worker


Joined: Oct 06, 2003
Posts: 108

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

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

I just sent you an authorization.
View user's profile Send private message Visit poster's website AIM Address ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


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

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

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.
View user's profile Send private message Visit poster's website AIM Address ICQ Number
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum