Remove "Admin Reply" button

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
lobmbc
Posts: 6
Joined: Thu Mar 20, 2008 11:40 pm

Remove "Admin Reply" button

Post by lobmbc »

Script URL:
Version of script: V1.6
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

remove admin reply
admin reply
reply button
ban ip button

Also tried searching for "reply" in gbook.php

Write your message below:

Hi Chaps

our guestbook has more than one administrator. the guestbook is for a club website and the idea of multiple admin's is so the guestbook is monitored on a more regular basis than a single "volunteer" could do.

Unfortunately, one of the Admin's has a habit of posting "Admin reply's" that shouldn't be posted. I can't change the password and lock him out as he does a number of other roles within the club website and to "hack him off" would cause me grief from the club.

Simple solution, remove the "Admin Rely" button.

Can I do it without major problem??

Kev
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

A quick and easy way would be to disable the reply function, you can just open gbook.php in notepad or wordpad and change line 413 from

Code: Select all

function writeReply($num) {
to

Code: Select all

function writeReply($num) {
die('This function has been disabled!');
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
lobmbc
Posts: 6
Joined: Thu Mar 20, 2008 11:40 pm

Thanks Klemen

Post by lobmbc »

Thanks Klemen

that works a treat.

Kev
Post Reply