Author |
Message |
kaimuki
New Member


Joined: Jan 04, 2006
Posts: 10
|
Posted:
Sun Jan 29, 2006 1:56 am |
|
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) |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Jan 31, 2006 7:36 am |
|
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! |
|
|
 |
madfanmike
New Member


Joined: Oct 30, 2007
Posts: 2
|
Posted:
Mon Nov 05, 2007 9:27 am |
|
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! |
|
|
|
 |
montego

|
Posted:
Sat Nov 10, 2007 2:09 pm |
|
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
|
Posted:
Sat Nov 10, 2007 2:12 pm |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Sat Nov 10, 2007 3:30 pm |
|
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. |
|
|
|
 |
fkelly

|
Posted:
Sat Nov 10, 2007 4:03 pm |
|
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

|
Posted:
Sat Nov 10, 2007 5:58 pm |
|
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

|
Posted:
Sat Nov 10, 2007 6:04 pm |
|
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

|
Posted:
Sat Nov 10, 2007 6:14 pm |
|
fkelly, is it possible to also test ShortLinks out with it? I have blown through all my time available this weekend...  |
|
|
|
 |
fkelly

|
Posted:
Sat Nov 10, 2007 9:32 pm |
|
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

|
Posted:
Mon Dec 31, 2007 8:23 am |
|
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

|
Posted:
Mon Dec 31, 2007 9:07 am |
|
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

|
Posted:
Mon Dec 31, 2007 9:11 am |
|
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

|
Posted:
Tue Jan 01, 2008 7:19 pm |
|
|
|
 |
jlajax
Ardent RavenCMS Supporter

Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida
|
Posted:
Fri Oct 24, 2008 1:53 pm |
|
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?
 |
|
|
|
 |
fkelly

|
Posted:
Fri Oct 24, 2008 2:04 pm |
|
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

|
Posted:
Sat Nov 08, 2008 5:05 pm |
|
jlajax, am curious to hear your findings with 2.3. Thx. |
|
|
|
 |
jlajax

|
Posted:
Sat Nov 08, 2008 11:43 pm |
|
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.
 |
|
|
|
 |
|