Live Preview doesn't work on forum posts
kenorb - January 22, 2009 - 14:35
| Project: | Live |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Live Preview doesn't work on forum posts.
There is an error:
Error requesting data!
#1
Using D6 and Advanced Forums, this excellent module fails for creating forum posts with the above error, using plain text. The comment portion works correctly.
I have confirmed that by simply deselecting Forum Post in the options for Live allows the user to preview the post as normal.
I am highly interested in seeing this fixed, I love this module! Let me know how I may help.
Some additional troubleshooting:
This fails for a normal authenticated user, but not an administrator (live preview of a forum post works for an admin).
Authenticated user IS checked for both "use live comment preview" and "use live node preview".
Maybe the bug is in permissions setting?
Lily
#2
Try 6.x-1.2. I has a fix to properly use "use live node preview" permission and several other permission + filters fixes. I'm marking this as fixed; reopen if you still encounter the same problem on forum node type. If it's anything else, open another issue.
#3
Advanced Forum really isn't necessary for most sites, anyway. The default forum module already provides most of the forum features. You can also theme the regular forum module a lot easier.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.
#5
I’m encountering the exact same problem as #1, comments work perfectly and the Administrator can view forum topic previews but everyone else gets an error. I’m using Drupal 6.14, Advanced Forum 2.0 alpha2 and Live 1.2. Through trial and error (I’ve really no idea what I’m doing) I’ve stopped the error message appearing by deleting:
|| !node_access('update', $node)
from line 23 of live.node.inc. I did this after searching through the forum.module and seeing the only node_access call was for create. This makes the preview appear but the username is Anonymous and the date/time is wrong. If I submit this entry the output shows as it should, username and date/time are correct. Everything else I’ve tried editing so far has either no impact or errors. I’m guessing this is a permissions problem (how they’re called, the tokens sought?) as forum nodes are separate from general content nodes in the permissions page. Any assistance (even if it breaks the rest of the functionality, I only plan on using Live currently for a forum) is appreciated, thanks.