PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kaimuki
New Member
New Member


Joined: Jan 04, 2006
Posts: 10

PostPosted: Sun Jan 29, 2006 1:56 am Reply with quote Back to top

If I predate an article, I think the article should post immediately, but it sits in "programmed articles" for a couple of days, then posts. Someone else said it doesn't post at all for him/her:
Only registered users can see links on this board!
Get registered or login to the forums!

He/she claims it works fine in nuke7.9. Not sure if this is something that has been fixed after 7.6 or something particular to raven7.6v2.

Another related "bug" is when I edit a "programmed article" the title automatically changes to "News." (Sand_Journey theme). I'm running raven76v2.02, and have made some mods.

Just thought I'd mention it here.

Also, not worthy of a new topic or even chasing, but I found that a topic image with a hypen in the filename won't show up as a topic image. (e.g., images/topics/big-bird.jpg won't be in image selection on topics page)
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7458
Location: Arizona

PostPosted: Tue Jan 31, 2006 7:36 am Reply with quote Back to top

kaimuki, these are 7.6 bugs. Thanks for letting us know.
View user's profile Send private message Visit poster's website
madfanmike
New Member
New Member


Joined: Oct 30, 2007
Posts: 2

PostPosted: Mon Nov 05, 2007 9:27 am Reply with quote Back to top

kaimuki wrote:
Another related "bug" is when I edit a "programmed article" the title automatically changes to "News."


Please bear with me if this is not the proper place to post about this, but did the bug got a fix?
I've been experiencing this in both 2.10.00 and 2.10.01 as well.

I had no pre-dated articles, but any programmed article had its title changed to "News" after the first edit. If I modifiy the title in the database it shows ok, until the first edit - that changes it to "News" again.

The bug also changes the category to "All Topics" - no matter what other one you pick, it will not keep it.

Oh and after the programmed news is posted, apparently you can edit as you like.

Thanks in advance for any help!
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7458
Location: Arizona

PostPosted: Sat Nov 10, 2007 2:09 pm Reply with quote Back to top

Sorry... been away from the boards for awhile. I've got alot of catching up to do, so, won't get back to this for a few days, but I've got this now on my "list" so I don't forget.
View user's profile Send private message Visit poster's website
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1840
Location: United Kingdom

PostPosted: Sat Nov 10, 2007 2:12 pm Reply with quote Back to top

I believe this is the same problem as posted here and a suggested fix has been provided.
Only registered users can see links on this board!
Get registered or login to the forums!


fkelly has logged it.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Sat Nov 10, 2007 3:30 pm Reply with quote Back to top

I have fixed the bugs that were reported in the other thread (the primary one being that the title changed AFTER you saved any edits to a programmed or "autonews" article. Note that the title was being saved correctly in the autonews table upon first submission, it just got fouled up after the article was edited. In the course of doing this I discovered several other compliance issues both in /news/admin/index.php and also in the anagram /theme.php. These are fixed and will be in 2.20.

However, I was not aware of the other issues that were reported earlier in this thread (the article not posting in a timely fashion, and the hyphen in the topic image issue). I will have to look into those separately (and will). Also the category changing. I'm pretty sure all this can be fixed for 2.20.
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Sat Nov 10, 2007 4:03 pm Reply with quote Back to top

1. I don't see the category changing thing being active in my test system. Please let me know if you still see this in a RN2.10 system and what exact steps are needed to duplicate it.

2. The hyphen issue is programmed, apparently deliberately in /modules/topics/admin/index.php. It is at lines 86-89 of the RN2.20 system I am working on ... it probably close to that in the RN2.10 code if not exactly at that spot. The code goes:

[code]$handle=opendir($tipath);
while ($file = readdir($handle)) {
if ( (ereg('^([_0-9a-zA-Z]+)([.]{1})([_0-9a-zA-Z]{3})$',$file)) AND $file != 'AllTopics.gif') {
$tlist .= "$file ";
}
}

So the author was deliberately excluding files that had hyphens and other non-alphabetic and non-numeric characters. What's the consensus on this? I'd be inclined to just leave it alone and rename any files that you need to have as topic images to not have a hyphen in them. My concern is that even if we "fix" this there could be other places in this code base where the same logic (using that word loosely) is applied to topic images.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7458
Location: Arizona

PostPosted: Sat Nov 10, 2007 5:58 pm Reply with quote Back to top

I am guessing that the following will fix it:

Code:

   if ( (ereg('^([_0-9a-zA-Z-]+)([.]{1})([_0-9a-zA-Z]{3})$',$file)) AND $file != 'AllTopics.gif') {


I almost added a space in their too, but then decided it was best not to. I am pretty sure the dash at the very end of the match list will work, but it cannot be placed ahead of that.
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Sat Nov 10, 2007 6:04 pm Reply with quote Back to top

I will try M.'s proposed fix out. I have an image file with a dash in it loaded out on my test system so it will be easy to text. Tomorrow.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7458
Location: Arizona

PostPosted: Sat Nov 10, 2007 6:14 pm Reply with quote Back to top

fkelly, is it possible to also test ShortLinks out with it? I have blown through all my time available this weekend... Sad
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Sat Nov 10, 2007 9:32 pm Reply with quote Back to top

M. I can tell you have been very busy. I will look around Shortlinks but I'm not sure what you mean by testing it out. I'm pretty sure I have it running on my test site but I will look around in there tomorrow and see what there is to test.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7458
Location: Arizona

PostPosted: Mon Dec 31, 2007 8:23 am Reply with quote Back to top

I am going back through my saved "follow-up links"... I am not clear on whether this issue is resolved or not? If its not, should we tie it off in Mantis and SVN?
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Mon Dec 31, 2007 9:07 am Reply with quote Back to top

The hypen issue in the topic file name is fixed in RN2.20. We settled on this:

Code:
if ( (ereg('^([_0-9a-zA-Z-]*)(.png|.gif|.jpg)$',$file)) AND $file != 'AllTopics.gif') {
            $tlist .= "$file ";


I'll keep looking on the other issues.
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Mon Dec 31, 2007 9:11 am Reply with quote Back to top

The problem with the title being saved incorrectly after editing autonews is also fixed in 2.20. This is in news/admin/index.php.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7458
Location: Arizona

PostPosted: Tue Jan 01, 2008 7:19 pm Reply with quote Back to top

Thanks!
View user's profile Send private message Visit poster's website
jlajax
Regular
Regular


Joined: Oct 12, 2006
Posts: 79
Location: Jacksonville, Florida

PostPosted: Fri Oct 24, 2008 1:53 pm Reply with quote Back to top

I too seem to be experiencing problems with programmed articles not posting on the day scheduled. The last three days the programmed articles have not posted. This has never happened before and to the best of my knowledge nothing has change on my system. I usually program things 30 days in advance an to-date it has always worked fine. I have a second site with the same articles programmed for different days than the first and it is posting as it should. I am using RavenNuke_v2.20.01 in both of these sites. I have just downloaded RN2.30 I am wondering if I should go ahead and update this site and hope that it will begin working?? Comments?

RavensScripts
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Fri Oct 24, 2008 2:04 pm Reply with quote Back to top

Try it with 2.3 and report back ... please. It is a lot more efficient for us to focus on maintaining and possibly debugging the current release than it is for us to be digging through a bunch of old releases.

If you are still having the problem please let us know what dates you are having problems with.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7458
Location: Arizona

PostPosted: Sat Nov 08, 2008 5:05 pm Reply with quote Back to top

jlajax, am curious to hear your findings with 2.3. Thx.
View user's profile Send private message Visit poster's website
jlajax
Regular
Regular


Joined: Oct 12, 2006
Posts: 79
Location: Jacksonville, Florida

PostPosted: Sat Nov 08, 2008 11:43 pm Reply with quote Back to top

I haven't converted my main site yet. Some of the articles are posting and some I ma going back and adding manually. I do hope to get the upgrade done soon. It is a very large site and I want to take the time to do it right the first time.
RavensScripts
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum