Version of script: 1.6
Thinking about doing the admin by editing the txt-files "entries" and "banned_ip" thus making removal of the delete, comment and ip buttons an option. How can I remove those?
I read somewhere in this forum replacing the icons by transparent ones, but that won't make the GBook any narrower, which is one of the things I hope to achieve.
Thanks, Peter
admin by editing the txt-files
You can change the code in gbook.php file.
Lines 556-562 (is shown in the private messages)
Lines 1015-1021 (the regular messages)
The first <td style="width:50% ...> holds the added date.
The second <td style="width:50% ...> holds the admin images.
My best bet would be to remove the second td and only leave the first td without the width style.
I hope this helps.
Greetings,
Henrie
Lines 556-562 (is shown in the private messages)
Code: Select all
<td style="width:50%" class="smaller">'.$lang['t31'].' '.$added.'</td>
<td style="width:50%; text-align:right">
<a href="gbook.php?a=delete&num='.$num.'"><img src="images/delete.gif" width="14" height="14" alt="'.$lang['t32'].'" style="border:none; vertical-align:text-bottom" /></a>
<a href="gbook.php?a=reply&num='.$num.'"><img src="images/reply.gif" width="14" height="14" alt="'.$lang['t33'].'" style="border:none; vertical-align:text-bottom" /></a>
<a href="gbook.php?a=viewIP&num='.$num.'"><img src="images/ip.gif" width="14" height="14" alt="'.$lang['t09'].'" style="border:none; vertical-align:text-bottom" /></a>
</td>
Code: Select all
<td style="width:50%" class="smaller">'.$lang['t31'].' '.$added.'</td>
<td style="width:50%; text-align:right">
<a href="gbook.php?a=delete&num='.$i.'"><img src="images/delete.gif" width="14" height="14" alt="'.$lang['t32'].'" style="border:none; vertical-align:text-bottom" /></a>
<a href="gbook.php?a=reply&num='.$i.'"><img src="images/reply.gif" width="14" height="14" alt="'.$lang['t33'].'" style="border:none; vertical-align:text-bottom" /></a>
<a href="gbook.php?a=viewIP&num='.$i.'"><img src="images/ip.gif" width="14" height="14" alt="'.$lang['t09'].'" style="border:none; vertical-align:text-bottom" /></a>
</td>
The second <td style="width:50% ...> holds the admin images.
My best bet would be to remove the second td and only leave the first td without the width style.
I hope this helps.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.