Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Is it possible to delete the line where you see
how many entries and how many pages
there are in the guestbook
thanks
entries and page #
Yes it is possible.
In GBook version 1.43 find this line (it is line number 171).
To not display it you can delete it.
Or if you maybe want to put it back in the future you can comment it out by putting // at the start of the line, like this
Greetings,
Henrie
In GBook version 1.43 find this line
Code: Select all
echo '<p>We have '.$total.' entries displayed on '.$pages.' pages.<br>';
To not display it you can delete it.
Or if you maybe want to put it back in the future you can comment it out by putting // at the start of the line, like this
Code: Select all
// echo '<p>We have '.$total.' entries displayed on '.$pages.' pages.<br>';
Henrie
Re: entries and page #
and what line for Gbook 1.7?
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
Re: entries and page #
In Gbook 1.7 find the file overall_header.php , with standard install it is located in \templates\default\
Find the line (line number 39) To not display it, you can delete it.
Or if you maybe want to put it back in the future you can comment it out by putting <!-- at the start of the line and --> at the end of the line, like this
Greetings,
Henrie
Find the line (line number 39)
Code: Select all
<span class="gbook_entries_top"><?php echo $settings['number_of_entries']; ?> <?php echo $settings['number_of_pages']; ?></span>
Or if you maybe want to put it back in the future you can comment it out by putting <!-- at the start of the line and --> at the end of the line, like this
Code: Select all
<!-- <span class="gbook_entries_top"><?php echo $settings['number_of_entries']; ?> <?php echo $settings['number_of_pages']; ?></span> -->
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.