Extension talk:Guestbook

Who marked the extension Abandoned?
--Mcmilk 21:56, 17 April 2010 (UTC)
 * it just works...why should I change it ?

Feature Request
Hey, I was wondering if there was a way to change the name of the guestbook on my personal wiki page. I'm trying to make an endorsement page for an organization that I run, and want to use the guestbook extension as an endorsement page, however I would like to change then mane from "guestbook" to "endorsements"
 * No problem, just do it ;)--Mcmilk 21:56, 17 April 2010 (UTC)

This is great, do you think it could be set up to make a questbook for each talk page?

Hi, i have problem with your goestbook. When i click on reply icon, it shows "no such special page"

- You need to adjust the following in your gbook.php: $GetRequestSeperator = "& a m p ;"; Without the spaces.. --KnusperGilb 10/04/2009

- User:Esteiger: another solution is to implement url rewriting such as described on Page_Title_--_.htaccess

Hi, (0.12a) I have a problem with my guestbook pages ; I deleted 1st-2nd message and I have 3-4-5-6-7-8-9-10 mess on page0 / 3-4-5-6 mess on page1 / 7-8-9-10-11-12 mess page2.

You can add these lines to you code :

line 359 : $b_change=$this->text('b_change'); and replace line 388 $moderate .= ""; by $moderate .= "";
 * Paul.D

XSS Lücke:
HTML Injection ist in diesem Formular möglich. Einfach folgendes in z.B "name:" eingeben und return drücken:

http://www.mcmilk.de/wiki/?title=Special:Guestbook&action=add

Code:

">

Help
I can't use the tools or the reply function please help. Thanks [mailto:webmaster@mymathnotebook.com webmaster@mymathnotebook.com]
 * Could you include more detail please? Also, this may be a better place to ask.  Mønobi 23:14, 24 February 2008 (UTC)

- see solution above. --KnusperGilb 10/04/2009

Edit and Reply Buttons do not function
I'm running version 1.12 of MediaWiki and when you click on either of the two buttons on a post you get this message:

'''No such special page

You have requested an invalid special page.

A list of valid special pages can be found at Special:Specialpages.

I have rechecked that the files are in their proper places and so forth, I am assuming that there is some PHP code wrong?

TeraS

- see solution above. --KnusperGilb 10/04/2009

Solution was to change my wiki to short URLs and then it works fine...

TeraS

Captcha does not work
although I have the gd installed and working the captcha das not show. What can I do know --DaSch 15:22, 14 December 2008 (UTC)
 * by now the captcha is working, there is a picture displayed, but there are no numbers or characters --DaSch 20:53, 16 December 2008 (UTC)

Blocking users with the built-in $wgUser->isBlocked function
To ensure blocked users or IP addresses cannot edit/post in the guestbook you can add the following few easy lines to 2 files in the extensions/guestbook folder. I used version 0.13 of the extension.

First backup the $wiki/extensions/guestbook/gbook.php and gbook.i18n-en.php files.

Then open gbook.php within a text editor and replace the following block of text:

function ParseUserInput { require_once("captcha-class.php"); global $wgRequest, $want_captcha; /* we are called the first time */

with the following block of text:

function ParseUserInput { require_once("captcha-class.php"); global $wgRequest, $want_captcha; // following if statement was added by moorej 31st Aug 2010 to ensure blocked users cannot use guestbook global $wgUser; if ( $wgUser->isBlocked ) { $this->error($this->text("err_blocked")); return; }  /* we are called the first time */

Then open gbook.i18n-en.php and replace the following block of text:

'err_captcha'    => "Sorry, the captcha is epmty!" );

with the following block of text:

'err_captcha'    => "Sorry, the captcha is epmty!", 'err_blocked'    => "Sorry, you are not permitted to edit this guestbook!" );

Upload the files to the server.

Test. You can block your own IP address and Username for 2 hours as part of the test unless you have multiple IPs to play with. To block users and IPs browse to your Special:Block page. Any questions email me at james at futureofmankind dot co dot uk