If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Remove Comment Ability  XML
Forum Index » Support Forum
Author Message
Cory
Newbie

Joined: 02/02/2005 05:50:55
Messages: 2
Location: Salem, NH
Offline

What file do I have to edit to remove the comment icon and link that shows next to the post date when viewing the guestbook?

Thanks in advance,

Cory
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

Most likely in the gb.class.php
Cory
Newbie

Joined: 02/02/2005 05:50:55
Messages: 2
Location: Salem, NH
Offline

ET,

Thanks for your help. I did a little further research, and it's actually a line in the Templates/entry.php file.

Got it taken care of.

Cory
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Why bother removing it since you can password protect it?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

Cory wrote:ET,

Thanks for your help. I did a little further research, and it's actually a line in the Templates/entry.php file.

Got it taken care of.

Cory


Well, that would prevent it from being listed, but won't stop mischevious folks from filling in the comment page/post information to access the comment page - Carbonize is right, you can password it to prevent people from posting comments.
white owl
Newbie

Joined: 06/02/2005 03:11:45
Messages: 3
Location: far northern california
Offline

in my entry.php file the comment section looks like this:


<td width="68%" class="font1" valign="top">

<div align="left" class="font3"><img src="$GB_PG[base_url]/img/post.gif" width="9" height="9">$DATE&nbsp;$HOST

<a href="$GB_COMMENT"><img src="$GB_PG[base_url]/img/edit.gif" width="18" height="13" border="0" alt="$LANG[AltCom]"></a>

$EMAIL

</div>

<hr size="1"><div align="left">

$USER_PIC $MESSAGE

</div>

$COMMENT

</td>



so would someone please show me how it should look to disable comments and comment icon?

thank you,
white owl
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

white owl wrote:so would someone please show me how it should look to disable comments and comment icon?




Try this first before actually removing it to see if that is what you really want outta there.

And my recommendation before you actually make any changes is to save a copy of the original entry.php in a file on your harddrive that you can upload at a later date if you change your mind or discover you pulled out too much or some such thing.... I notice that tooooo many folks that post about their problems on here just start changing lines without a good backup plan for fixing their mistakes.

---------------
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum