PDA


View Full Version : Guestbook not working properly


attroll
08-09-2007, 04:50 AM
With the release of RC1 you are suppose to be able to have the ability for the guest book module to limit the replies shown to a per-category basis.

I have Limit Replies By Category set to yes, but when I reply to a person guest book on two different categories they still all go into one guest book.

Am I doing something wrong or is this not working right?

Brian
08-09-2007, 10:38 AM
Are all of the replies showing in the guest book module, or just when you click on the 'View All' link? The module should limit things to just that category, but the 'View All' link should display all replies.
Assuming that it is just the 'View All' link that's showing all entries... If you'd rather limit that page as well to only show replies from the category you came from, let me know and I can tell you some easy code changes (or possibly a plugin) that should do the trick.

attroll
08-09-2007, 02:19 PM
After I click on Post Reply for the guest book and post a reply then it comes up with all the replies from all guest books in every category. Then when I click view all it list all the replies. I would only like it to list the replies from that category.

attroll
08-10-2007, 02:58 PM
I can tell you some easy code changes (or possibly a plugin) that should do the trick.
Did you forget about this.

Brian
08-10-2007, 07:00 PM
Sorry, I must have missed your reply yesterday. I was thinking that this could be done via plugins, but it looks like it would take a little more work than I thought. I'll have to just add a new setting for the guest book so the view all link can be limited as well with the next release.

attroll
08-11-2007, 02:25 AM
Sorry, I must have missed your reply yesterday. I was thinking that this could be done via plugins, but it looks like it would take a little more work than I thought. I'll have to just add a new setting for the guest book so the view all link can be limited as well with the next release.
See if you had your forums set to “Database (automatic forum marking)” you would not have missed this. I keep telling you that you need to do this. LOL.

Wow. I thought I was ready to release this for the public on my web site. The only thing that has been holding me up since the beta testing is the My Categories module and the Guestbook that was suppose to be in RC1. You got the My Categories working the way I wanted them so now I am just waiting for this guest book. I don’t want to be a pain but will this be soon? The guest book is the last thing I am holding off before opening this to the public on my site.

ManagerJosh
08-11-2007, 03:23 AM
Guestbook works on my site :D

attroll
08-11-2007, 04:51 AM
Yes the guest book does work. I did not say it did not. In the Beta version I asked Brian to set it up so that a persons guest book replies would remain in the category they were posted in. So that if a person had a blog in two different categories that all the guest book replies would not be listing in one guest book but you would only see the replies in the category you were viewing. I hope that makes sense. Well not to make Brian look bad but he left this option out of RC1 and he was saying it would be in the next release and I ask how soon that would be.

I hope that clarifies it some.

Brian
08-11-2007, 10:17 AM
Actually, the option was added in RC1. We just have a difference of opinion on how the 'View All' link should work.
Until I can get a proper setting added and such in the next version, here's a new guestbook.php file with the changes applied so that it will only pull replies from one specific category when viewing all or replying.

attroll
08-12-2007, 05:53 PM
Thank you Brian I will try this later tonight.

attroll
08-12-2007, 06:23 PM
Brian I am getting the following error when trying to access the showentry page now.

Warning: main(./dyna_global.php) [function.main]: failed to open stream: No such file or directory in /vba_dyna_modules/dyna_guestbook.php on line 67

Fatal error: main() [function.require]: Failed opening required './dyna_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/atphotos/public_html/forum/vba_dyna_modules/dyna_guestbook.php on line 67

Brian
08-13-2007, 10:24 AM
That file needs to replace your dynamics/guestbook.php file, not the forum/vba_dyna_modules/dyna_guestbook.php file.

attroll
08-13-2007, 10:35 AM
That did it. Thank you.