'poster_id' => IDEAS_POSTER_ID,
to this
'poster_id' => $user->data['user_id'],
'poster_id' => IDEAS_POSTER_ID,
'poster_id' => $user->data['user_id'],
In the next version, is there any chance that you will move that data out of the hidden forum and put it in it own table? I mean the idea system is great, but how it was done I felt that it could be better.callumacrae wrote:That'll give you a permissions error. The reason that the user doesn't post the topic is so they cannot modify their first post (it contains data besides the idea), but they can still edit their replies to ideas. It also means they don't need permissions to create new topics in the ideas forum.
How hard would it be to do something like:callumacrae wrote:That'll give you a permissions error. The reason that the user doesn't post the topic is so they cannot modify their first post (it contains data besides the idea), but they can still edit their replies to ideas. It also means they don't need permissions to create new topics in the ideas forum.
While what you said is true, but what about all those permission issues that cropped up?Kamahl19 wrote:I prefer using topics/posts mechanism as much as possible. It is not goot to reinvent the wheel, create new posting mechanism and new tables.. I have created really huge websites, blogs and even newspapers based on phpBB topics mechanism. So why create new table.
DavidIQ wrote:Ideally the Ideas module wouldn't go by the hidden forum's permissions at all. It would have its own separate set of permissions just like Titania does. This is planned for a future release/update. Once this is done then there really shouldn't be any reason why the idea proposer couldn't be the one listed as the creator. Simply prevent the first post from being edited in that case.
The forum would still be there but it can remain completely hidden/invisible. With separate permissions for Ideas they could be named more appropriately instead of going by "Can view forum", etc. Using already existing tables doesn't sound like a bad idea at all, which is what Kamahl19 said. What was done in Titania is really almost a mirror duplication of the posts table and for this it seems like it would end up being the same so why not just use what is already there. Even the UMIL installer could take care of creating the forum.*Daniel wrote:So would that mean that there is no more hidden forum for it? Or not quite?
Fix your cookie settings! If you are unable to, just make sure that the link to ideas useserobeson wrote:I've installed this successfully within a sub directory (/forums/ideas), but I am losing login session every time I go into ideas. Any ideas why or suggestions on how to maintain the login session when navigating between forums and ideas?
Thanks
append_sid
.Code: Select all
'S_DISPLAY_REPLY_INFO' => ($topic_data['forum_type'] == FORUM_POST && ($auth->acl_get('f_reply', $forum_id) || $user->data['user_id'] == ANONYMOUS)) ? true : false,
Users should already be able to reply to ideas, whether it's in the idea center or the idea topic....erobeson wrote:Users are unable to post replies to ideas because the buttons aren't showing up on the view topic page. My educated guess after reviewing the code is that the hidden ideas forum permissions are set so that users other than anonymous are not allowed to post. Can't check that however, because the ideas forum is not showing up in ACP.
My guess is that it's related to this line in ideas.phpAny suggestions on how to enable logged-in users to post replies to ideas?Code: Select all
'S_DISPLAY_REPLY_INFO' => ($topic_data['forum_type'] == FORUM_POST && ($auth->acl_get('f_reply', $forum_id) || $user->data['user_id'] == ANONYMOUS)) ? true : false,
thanks
Give them permissions to reply to the topics in the forum. It doesn't hurt to let them, which is why I didn't add another permission.erobeson wrote:Users are unable to post replies to ideas because the buttons aren't showing up on the view topic page. My educated guess after reviewing the code is that the hidden ideas forum permissions are set so that users other than anonymous are not allowed to post. Can't check that however, because the ideas forum is not showing up in ACP.
My guess is that it's related to this line in ideas.phpAny suggestions on how to enable logged-in users to post replies to ideas?Code: Select all
'S_DISPLAY_REPLY_INFO' => ($topic_data['forum_type'] == FORUM_POST && ($auth->acl_get('f_reply', $forum_id) || $user->data['user_id'] == ANONYMOUS)) ? true : false,
thanks