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 7.6 Bugs/Fixes
Author Message
kaimuki
New Member
New Member



Joined: Jan 04, 2006
Posts: 10

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

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!
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: 9457
Location: Arizona

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

kaimuki, these are 7.6 bugs. Thanks for letting us know.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
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

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







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

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.
 
jakec
Site Admin



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

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

I believe this is the same problem as posted here and a suggested fix has been provided.

http://www.ravenphpscripts.com/posts14441-highlight-.html

fkelly has logged it.
 
View user's profile Send private message
fkelly
Former Moderator in Good Standing



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

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

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







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

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.
 
montego







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

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.
 
fkelly







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

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.
 
montego







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

fkelly, is it possible to also test ShortLinks out with it? I have blown through all my time available this weekend... Sad
 
fkelly







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

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.
 
montego







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

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?
 
fkelly







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

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.
 
fkelly







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

The problem with the title being saved incorrectly after editing autonews is also fixed in 2.20. This is in news/admin/index.php.
 
montego







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

Thanks!
 
jlajax
Ardent RavenCMS Supporter



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

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

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
fkelly







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

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.
 
montego







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

jlajax, am curious to hear your findings with 2.3. Thx.
 
jlajax







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

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
 
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 7.6 Bugs/Fixes

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 ©