Author |
Message |
|
Look in the template files in the template folders.
|
 |
|
Only realistic way of searching both entries and comments would require you to make your own output format as you couldn't really use the current guestbooks formatting. As to searching both tables possibly a JOIN may do it. Then again maybe not. I'll think about it.
|
 |
|
My last post make sense to you?
|
 |
|
Having looked yes it would be simple(ish) to do. Bit more complicated if you want to do more than search for a single string (ie if you want to use operators in the search). It would be just a case of checking if they aer performing a search in index.php and then creating the query for the search and passing it on to the entry retrieval (echo $gb->show_entries($entry, $SEARCHQUERY) and then adding the new variable to the functions that get called and switching the query in get_entries
|
 |
|
Oh and as to limitting yes just use LIMIT
|
 |
|
Not off the top of my head no. I get funny about people downloading a guestbook then using it as something else and complaining that it doesn't do something that a script dedicated to what they want would have. Thats a generic rant btw. The other one I got asked for recently was adding statistics to the guestbook
As a quickies I'd say it would be simple enough. It's just a case of changing the query done for a normal guestbok display to the search query then it would be formated and paginated.
|
 |
|
I am curious as to why people would want to search a guestbook :-/
|
 |
|
if you are using 2.3.2 or 2.3.3 simply open up gb.class.php and use find to locate the text you want to replace. If you mean in my mod then yes the idea is the same. Just replace as you need.
|
 |
|
Did you run the database upgrade script I wrote?
|
 |
|
You only just added the human verification?
|
 |
|
Wow there's a lot of spam entries in there. Anyway you may have HTML disabled but you do have AGcode enabled. They simply used [url=http://www.someaddress.com]someaddress.com[/url]
|
 |
|
Read the sticky thread - READ THIS BEFORE POSTING ANY QUESTIONS!
|
 |
|
Aktualisieren Sie 2.3.3 und Siehe, wenn dies es repariert. Ersetzen Sie nur alle Ihre Gästebücherakten AUSSER admin/config.inc.php mit den Akten für 2.3.3
----------------------
Update to 2.3.3 and see if this fixes it. Just replace all your guestbook files EXCEPT admin/config.inc.php with the files for 2.3.3
|
 |
|
I found this - http://www.winzip.com/xdir.htm which says that if using classic interface of Winzip you need to "Be sure the Use folder names check box is checked."
|
 |
|
Winzip should work fine. Cannot see any reason it should ignore the files paths. I wonder if there is not an option in it. I'll see if I cannot have a look at the Winzip options.
|
 |
|