Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 09:48:09 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155535
Posts in
21713
Topics by
7737
Members
Latest Member:
chris85
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Guestbook Backend Question
Pages: [
1
]
Go Down
Author
Topic: Guestbook Backend Question (Read 306 times)
andyeswecan
Offline
Posts: 6
Guestbook Backend Question
«
on:
March 18, 2010, 02:51:47 PM »
Hey guys....
In the guestbook module, is there any way to limit the amount of entries which appear in the admin area page?
For example, If I could only show 'non-approved' entries in the admin?
I have over 1,000 entries and it makes loading the admin page impossible, as it tries to load every entry into that one area
thanks in advance
Andrew
Logged
deb01
Offline
Posts: 75
Re: Guestbook Backend Question
«
Reply #1 on:
March 18, 2010, 03:24:18 PM »
Hello,
I have checked this in options of guestbook and could not find any option. I think there is no such possibility except fiddling around in PHP code of guestbook module.
Logged
andyeswecan
Offline
Posts: 6
Re: Guestbook Backend Question
«
Reply #2 on:
March 18, 2010, 03:31:46 PM »
Hi thanks for the reply.... I've actually figured it out by changing the SQL query in the modify.php to only display unapproved items...
$query_entries = $database->query("SELECT *, INET_NTOA(`ip_addr`) AS `user_ip` FROM `".TABLE_PREFIX."mod_guestbook` WHERE `section_id` = '$section_id' AND `approved` = '0' ORDER BY position $order ");
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...