DownloadMake a guest user account and define the username and password in the default.php file and it should just add the add comments form to all pages and allow guests to post. It will log them in and immediately back out again in order to do so. I suggest you choose a hard to guess password since otherwise someone will just log into the guest account properly, change its password, and break the extension. If people are posting while not logged in it will add a warning that they are posting as guest.
The extension will not work in conjunction with the AddComments extension since that requires the fields to be filled in (if you're php savvy you could just remove that requirement from the addcomments/default.php and it should work fine)
As of v1.3, if a guest enters their own name into the Username box and leaves the password box free, it will head up the post with their name. This requires the HTML formatter to be installed.
Let me know how it goes.
0 • •
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Btw. in addons it says requires version 1.0.1 but works fine with my 1.0 as well (if someone is interested).
One suggestion: As for now, the guest can only participate in threads. Would it be too complicated to allow it to make new threads as well?
Thanks again!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •As for making whole discussions, it is a lot more work yes. There's a whole load more permission checking in place at a higher level than for just adding comments (un-signed in users cant even view the post.php page - all users can see the comment grid it's just a matter of adding more stuff to it)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Some problems were encounteredThe requested username and password combination could not be found.
I get the above error.
I've made the guest account and entered the details in default.php
I tested the account by logging in with the details.
Any ideas?
Later:
I manually entered the guest account details and they were accepted, post successful.
Somehow, they are not being picked up from the default.php definitions.
Yes I double-checked my typing.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Grab the new version 1.1f and see if that helps.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Shame, I've had over 1400 unique visitors in the last 4 weeks, only 2 registered, I'd like to try allowing guests to post and see if it makes a difference.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Before you do that, I assume it works if you put a username and password in..?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •After the comment is added, Guest remains logged in with access to the Account tab, not good!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Also, changing GuestUsername to $GU on line 84 now logs out the guest properly.
Thanks sincerely for your interest and patience not to mention talent!
Later: Also, line 54 should be...
$Head->AddStyleSheet('extensions/GuestPost/style.css');- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •No probs though, no talent about it it's entirely guesswork :D Seriously though I'm not sure why any of those things fixed it... Hmm...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •