Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues
Author Message
draxx
Involved
Involved



Joined: Nov 19, 2003
Posts: 282

PostPosted: Thu Apr 02, 2009 10:51 am Reply with quote

There is a bug Yes I know your tired of me talking about those Smile

I tried to search for "articles, poll" and found nothing so I hope I'm not being redundant.

I had posted this in the modules forum - don't ask me how I managed that one...

If you post a news article and attach a poll it does not show up in the survey block. The survey block will show the title of the poll but no voting options or the survey block will say "there is a problem with content for this block".

If you post a poll as admin and attach an article it does not show up in the article's "Survey with this poll" section but it does not seem to bother the block.

So realizing there was something strange I tried doing it a couple of times and continued to have that problem but while I was doing it over and over a couple of times I noticed sometimes when I post a poll with an article it claims the "english" language when you list polls from the admin section and sometimes it doesnt ..... but this does not seem to affect the success of the block's display. For whatever that's worth.
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Thu Apr 02, 2009 5:48 pm Reply with quote

Looking into this.

P.S. Keep bringing in the bugs Smile

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Palbin







PostPosted: Thu Apr 02, 2009 6:33 pm Reply with quote

After looking at this and trying to understand what you are talking about I have come to the conclusion that everything is working properly.

My reasoning for this is soo. Polls from articles are not supposed to show in the Survey Block. They are just supposed to show in the Article's Poll block when viewing the article. The reason for this being so you can have a poll on your site and have polls in the article.

If you want the poll for the article to show in the Survey Block then you must use the "Announce this new Survey in your site" section of the Survey admin (Which you found). The polls that are listed in the Survey Block are in now way (code wise) associated with news articles. The survey admin just provides an easy way to announce a new poll. This is the reason you see no poll in the article when created this way.

I am not able to recreate the language issue you describe. Are you saying that the poll has no language at all attached to it?

One enhancement I did find that was needed is that the Announcement part of the survey admin needs the wysiwyg editor added to it.
 
draxx







PostPosted: Thu Apr 02, 2009 10:54 pm Reply with quote

Okay then this explains the Survey in the article that comes and goes so then the problem would be the block trying to display a survey from an article when its not supposed to do that? I will now go and see if I can reproduce this 100% of the time.
 
Palbin







PostPosted: Fri Apr 03, 2009 5:18 am Reply with quote

If you can reproduce that then I will take a look Smile.
 
Brujo
Regular
Regular



Joined: Jun 04, 2004
Posts: 84
Location: Germany

PostPosted: Sat Apr 04, 2009 12:24 am Reply with quote

i can say, it works on my site with existing Polls assigned to Articles without problems.



Brujo
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues

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 ©