[Elgg 1.8-1.12 & 2.X: FAQ] v1.8.5

Release Notes

Changelog:

  • Fix to get answering of user questions working again on Elgg 1.8.19 (thanks to Brett for helping me to sort this out),
  • Added a missing language string in the German language file,
  • Minor code cleanup.
  • I'm running 1.8.5 on Elgg 1.8.19.  I've added categories, questions and answers as administrator but none of these are visible for other users even though the Site Stats shows the number of questions correctly and I can see them logged in as the Admin.  Any ideas?  It is just what I was looking for as a site help utility, but it's pretty useless as things stand.

  • @Alwyn: check out the FAQ plugin settings options on your site. There's the option "Should the FAQ be publicly available (otherwise only for admins)?". I suspect that this might be the issue on your site, i.e. the FAQs are currently not publicly available.

  • It was set to 'Yes'.  When I set it to 'No' the FAQ page is inaccessible to normal users.  So, it's publicly available but nothing can be seen.  At the moment I have two browsers up - one with Admin one a normal user, both on the same page, both searching for 'menu', and the Admin login has all the categories etc on display, but the normal user login has nothing - like a fresh install of the plugin.

     

  • What is the access level you saved the FAQs you created with? If they are "Private" only the creator (or other admins) can see them. Likewise, "Logged-in" FAQs are invisible when logged out. Though I'm not sure how it would be possible to save them as private as this access level should not be available for selection in the first place. If a category contains no FAQs a user is allowed to see (e.g. all FAQs in this category private) the category itself is also not shown.

    Could any other plugin causing the issue? I don't know of any that I would suspect. But I don't know which plugins you have installed.

     

  • Nope ... all Public (I checked that first).  Also, I'm only running 'Logged in'.

    It just seems unable to access the normal information for a normal user:

    "This FAQ contains 0 categories, with 0 questions/answers in total. "

    whereas for the admin user it is:

    "This FAQ contains 5 categories, with 6 questions/answers in total.
    There are 0 outstanding user questions that need an answer."

    I looked in the stats.php and start.php but there are no 'gatekeeper' issues with the functions providing these stats - they should return the right answers regardless of user.

    I've moved the plugin right to the bottom and flushed the caches, but still get the same output.  It will take some time to deactivate other plugins but I'll give it a go tomorrow and let you know.

    A look in the database on the web host shows up something that may be unusual - the owner_guid is set to 1 whereas the Admin guid is 33.  But I don't know enough about Elgg and the FAQ plugin to know if there is a reason for that.

    I don't know if any of this helps ... but happy to be guided and look at whatever you think might help.

  • Ok, I've tried adding FAQ items to my localhost install with the same plugins as the deployed version and it works!  So there is something different about the installations!  Hmmm....

  • @Alwyn: the owner_guid 1 is the site's guid. That's perfectly alright. The FAQs are created with the site itself as owner and not the admin user who created it. This should not be causing the problem.

    Unfortunately, I've no idea that would explain why it works on your test site and not on your productive site. Are they really exactly the same regarding the plugins in use? If you would disable all other 3rd party plugins on your production site temporarily, you could test if the problem is caused by any other plugin in the first place. Or it might help to copy the FAQ plugin's files again on the server over the current plugin folder. It's an unlikely explanation but maybe a file of the plugin is incomplete / missing for whatever reason.

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2016-12-11
  • Downloads: 6507
  • Recommendations: 29

Other Projects

View iionly's plugins