It doesn't work over here, using fresh install 1.1.2 and this extension only...
Here's the output:
<script language="JavaScript" name="randyPic"><!--
showImage();
//--></script><input type="text" name="SpamCheck" /></td>
fmimoso- You might be having the same error I was. Make sure that the location of randy.js in your default.php is equal to where it exists on your server.
For example- I extracted the extension files into: /extensions/GuestPost v1.4/ - but the default.php is hardcoded to: /extensions/GuestPost/randy.js.
Solved. The problem was exactly that. Thanks for your help. ;)
The images weren't displaying either as pravin stated above: the solution was to hardcode the images' address in randy.js.
Once again: thanks. :)
is there any way to disable the guest posting part of this plugin, so that there's just an option for users to log in? i like the convenience of the quick login form, but i don't want to enable anonymous posting really.
HEllo Minisweeper....
This looks great.
Problem is i can't get it to work...
check this out for example:
http://www.culturalanimation.com/discuss/comments.php?DiscussionID=2&page=1#Item_0
I get this message...
Some problems were encountered
You do not have permission to add comments to discussions.
Do i have to set up a user first named guest or something?
Thnx in advance!
Paul
Oh.. erm sorry to waste your time Minisweeper! RTFI eh, doh!
I'll go try that - and i am sure it will work now!
It's great that you answerwed such a dumb question for me lol!
Thanks again
Paul
Change line 37 to: if ($Context->Session->UserID <= 0 && $Context->Discussion->CategoryID == 1) { I havnt tested that but give it a shot and see if it works. I'm not sure if the discussion class is in there but we'll soon see.
I also wanted to limit guest posting to a particular category, but "$Context->Discussion->CategoryID == 1" didn't work for me. I kept getting a... umm, undefined property error, I believe.
But using "$CommentGrid->Discussion->CategoryID" seems to work.
Well, I'm a bit late here. I wanted to suggest (as in Guestbook # 6) the addition of an array of category ids where Guest Post would appear/not appear. Well, as anybody wished everyone a good day today ? Have a nice day everybody !
I just installed this extension and am getting this error. I created a guest account, edited the default.php file to reflect this and activated the extension...
Fatal error: Call to a member function on a non-object in /home/sitedirectory/public_html/comments/extensions/GuestPost/default.php on line 20
Comments
Looks like it can't find the .js file.
Posted: Saturday, 21 July 2007 at 11:31AM
For example- I extracted the extension files into: /extensions/GuestPost v1.4/ - but the default.php is hardcoded to: /extensions/GuestPost/randy.js.
But using "$CommentGrid->Discussion->CategoryID" seems to work.
Have a nice day everybody !