• [MOD] guestbook 5 0 5 1
Currently:  

Author Topic: [MOD] guestbook  (Read 525912 times)

0 Members and 1 Guest are viewing this topic.

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD] guestbook
« Reply #180 on: October 01, 2006, 08:55:59 PM »
You have 4images 1.7.3 and want to use the captcha function for this guestbook MOD?

I have done a little tutorial: http://www.4homepages.de/forum/index.php?topic=14873.0

Ciao by Flo[/b]

Project offline

Offline dzsin

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] guestbook
« Reply #181 on: October 06, 2006, 08:56:40 PM »
It does work for 1.7.3

For everybody with database problems. check if your prefix for the table guestbook maches with the prefixes of your other tables...

ex.

default is 4images_guestbook

if you change the prefix when you install 4images to something else (gallery_) change the guestbook prefix manually in phpmyadmin as it automatically creates 4images_guestbook and not gallery_guestbook

that worked for me...
« Last Edit: October 14, 2006, 03:46:22 PM by dzsin »

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD] guestbook
« Reply #182 on: October 14, 2006, 09:32:44 AM »
When I want to edit a guestbook comment, it says: username still exists

Thats right but...

Project offline

Offline fgabriel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] guestbook - delete comments on the control panel
« Reply #183 on: November 10, 2006, 08:17:44 PM »
how can i delete comments on the control panel
any chance?
i couldnt delete in user session because i dont login in my site
i use control panel to set all and upload photos
 :roll:

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD] guestbook
« Reply #184 on: November 19, 2006, 12:47:42 PM »
When I want to edit a guestbook comment, it says: username still exists

Thats right but...

Hi Flo,
here's the solution:

Quote

Johnny_H wrote:
Works fine this mod  

but i have a little slight problem...

"User name already exists."

when i try to post an entry.... seems only one nick can post.. how to disable?

It is set to restrict one nick can post once each day. If you want to disable it. Find two times in guestbook.php

Code: [Select]
if ($comment_user_name == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['name_required'];
      $error = 1;
    } elseif ($site_db->not_empty("SELECT user_name FROM ".
                              GUESTBOOK_TABLE.
                           " WHERE user_name= '".strtolower($comment_user_name)."' AND comment_date > ".(time()-60 * 60 * 24))) {
      $msg .= (($msg != "") ? "<br />" : "").$lang['username_exists'];
      $error = 1;
   }


change them to
Code: [Select]
if ($comment_user_name == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['name_required'];
      $error = 1;
    }
Alessio
my homepage: http://www.webax.it

Offline mikevid

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] guestbook
« Reply #185 on: November 21, 2006, 07:39:28 PM »
I have this mod and working great in one installation, and I'm trying to install it for another site.  I really like this mod, so much that I'm installing it again!  :)

I'm using a clean installation of 1.7.3 but I'm getting an error whenever I load it.  I've re-read all posts in this thread and I can't find an answer.  

Here's the error: Line 72 Char 16 - Unterminated string constant.  I checked line 72, and here's an excerpt from that section of the code:
Code: [Select]
if ($action == "removecomment") {
  if (!$comment_id || ($config['user_delete_guestbook'] != 1 && $user_info['user_level'] != ADMIN)) {
    header("Location: ".$site_sess->url($url, "&"));
    exit;
  }

Does anyone have any ideas?

Offline fgabriel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] guestbook - delete comments on the control panel
« Reply #186 on: November 21, 2006, 08:17:30 PM »
how can i delete comments on the control panel
any chance?
i couldnt delete in user session because i dont login in my site
i use control panel to set all and upload photos
 :roll:


well the phpadmin work :!:  delete sql values

Offline fgabriel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] guestbook
« Reply #187 on: December 01, 2006, 07:07:22 AM »
how to show number o entrys of the guestbook in a html page?
thanks

Offline Alessio

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Webax.it [Alessio's photogallery]
Re: [MOD] guestbook
« Reply #188 on: December 12, 2006, 09:28:32 AM »
I have installed this mod and it worked fine for several days, now it works but with some error messages.

when I go to http://www.webax.it/guestbook.php I have this error
Notice: Undefined variable: comment_text in /mounted-storage/home28b/sub001/sc24851-FNHZ/www/guestbook.php on line 422

when I write a message I have this error
Notice: Undefined variable: user_country in /mounted-storage/home28b/sub001/sc24851-FNHZ/www/guestbook.php on line 287

when I delete a message I have these errors
Notice: Undefined variable: comments in /mounted-storage/home28b/sub001/sc24851-FNHZ/www/guestbook.php on line 447
Notice: Undefined variable: contents in /mounted-storage/home28b/sub001/sc24851-FNHZ/www/guestbook.php on line 446

These errors occours perhaps after installing MOD Multi-Language support for any text.


UPDATE: I have resolved the problems adding to php file this code
error_reporting(E_ALL ^ E_NOTICE);
« Last Edit: December 12, 2006, 12:59:08 PM by Alessio »
Alessio
my homepage: http://www.webax.it

Offline live@ct

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
Re: [MOD] guestbook
« Reply #189 on: January 10, 2007, 08:55:28 AM »
How can I implement a function to autodelete msgs every day

Thanks!! :D
Existen 10 tipos de personas, los que entienden el codigo binario y los que no.

Offline LabSen

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] guestbook
« Reply #190 on: January 14, 2007, 12:01:08 AM »
ich habe mit 4images 1.7.4 das Problem, dass ich, wenn ich alle Ausfülle für eine GB EIntrag diese Meldung bekomme: Das Feld Kommentar muss ausgefüllt werden!

Ihr könnt es selber unter www.pascalsenn.info/guestbook.php testen. Wie kann man das Problem lösen?

------------------------------------

I have a problem with 4images 1.7.4. wehn I make a register in my GB, then comes the message: The field comment must be stuffed (ausgefüllt?)!

You can self visit on www.pascalsenn.info/guestbook.php. How I can to resolve the problem?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: [MOD] guestbook
« Reply #191 on: January 14, 2007, 09:00:10 AM »
Hallo LabSen,

habs mal getestet...
bei mir klappt alles, bis:
Code: [Select]
Es existiert bereits ein User mit diesem Usernamen. Name: test

Hab mich mit diesem Mod jedoch noch nie beschäftigt, daher kann ich Dir hier nicht weiterhelfen.

Gruß
Kurt

Offline LabSen

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] guestbook
« Reply #192 on: January 14, 2007, 10:17:16 AM »
Hallo LabSen,

habs mal getestet...
bei mir klappt alles, bis:
Code: [Select]
Es existiert bereits ein User mit diesem Usernamen. Name: test

Hab mich mit diesem Mod jedoch noch nie beschäftigt, daher kann ich Dir hier nicht weiterhelfen.

Gruß
Kurt

Dein Fehler sollte behoben sein. Abedr hat bei mir nichts genützt

Offline callmefreak

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD] guestbook
« Reply #193 on: March 23, 2007, 09:32:32 AM »
uh could someone reupload the install file?

Offline dgandy

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Sims Fashion Barn
Re: [MOD] guestbook
« Reply #194 on: March 23, 2007, 07:58:31 PM »
Please re-upload the install zip. I installed everything but get an error whrn I go to download the zip http://140.112.132.43/install_guestbook.zip
If it's been done before, you can do it too! If it's never been done before, you can be the first!