Author |
Message |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Sat Oct 25, 2003 8:24 pm |
|
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. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
 |
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat Oct 25, 2003 8:55 pm |
|
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. |
|
|
|
 |
TheosEleos

|
Posted:
Sat Oct 25, 2003 8:58 pm |
|
What is the code for Bold text and Underline in HTML? |
|
|
|
 |
scottr
PHP-Portal Project

Joined: Jan 21, 2003
Posts: 41
Location: Southern California
|
Posted:
Sat Oct 25, 2003 9:35 pm |
|
|
|
 |
TheosEleos

|
Posted:
Sat Oct 25, 2003 10:08 pm |
|
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

|
Posted:
Sat Oct 25, 2003 10:12 pm |
|
In mainfile.php you'll find this codeCode: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

|
Posted:
Sat Oct 25, 2003 10:15 pm |
|
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

|
Posted:
Sat Oct 25, 2003 10:22 pm |
|
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

|
Posted:
Sat Oct 25, 2003 10:24 pm |
|
I have no idea how to check that.  |
|
|
|
 |
Raven

|
Posted:
Sat Oct 25, 2003 10:26 pm |
|
Do you use cPanel or something like that to access your host account? It should offer an option to view error logs. |
|
|
|
 |
TheosEleos

|
Posted:
Sat Oct 25, 2003 10:30 pm |
|
I have PLESK. Would that be log manager? |
|
|
|
 |
Raven

|
Posted:
Sat Oct 25, 2003 10:31 pm |
|
|
|
 |
TheosEleos

|
Posted:
Sat Oct 25, 2003 10:34 pm |
|
I only see a couple of recent errors and it has to do with FTP.
I am emailing it to you for review. I don't think there is much there though. |
|
|
|
 |
TheosEleos

|
Posted:
Sat Oct 25, 2003 10:40 pm |
|
I bet it is this stupid theme again! |
|
|
|
 |
TheosEleos

|
Posted:
Sat Oct 25, 2003 11:25 pm |
|
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.  |
|
|
|
 |
Frogger
Worker


Joined: Oct 06, 2003
Posts: 108
|
Posted:
Sat Oct 25, 2003 11:27 pm |
|
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. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
 |
 |
Frogger

|
Posted:
Sat Oct 25, 2003 11:30 pm |
|
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"> </p></td>
</tr>
</table>
|
|
|
|
|
 |
TheosEleos

|
Posted:
Sat Oct 25, 2003 11:34 pm |
|
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

|
Posted:
Sat Oct 25, 2003 11:41 pm |
|
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

|
Posted:
Sat Oct 25, 2003 11:49 pm |
|
I wanted some things underlined and some bolded. Am I out of luck in that? |
|
|
|
 |
Frogger

|
Posted:
Sun Oct 26, 2003 12:05 am |
|
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"> <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

|
Posted:
Sun Oct 26, 2003 12:08 am |
|
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

|
Posted:
Sun Oct 26, 2003 12:17 am |
|
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

|
Posted:
Sun Oct 26, 2003 12:20 am |
|
I just sent you an authorization. |
|
|
|
 |
TheosEleos

|
Posted:
Sun Oct 26, 2003 2:03 am |
|
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. |
|
|
|
 |
|