Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 2 [3] 4 5 6 7   Go Down

Author Topic: [cpg1.4.x]: Advanced Guestbook integrated with Coppermine  (Read 258552 times)

0 Members and 1 Guest are viewing this topic.

calvinite

  • Contributor
  • Coppermine novice
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • The Prichard Collection
Re: Advanced Guestbook integrated with Coppermine
« Reply #40 on: March 26, 2009, 09:48:35 pm »

Well, I finally figured it out, without loosing too much hair. I reinstalled as you suggested, to upgrade to the new version, but it was still giving the same error. After much frustration, I finally came to realize I was pointing the Guestbook link to index.php when it was supposed to be pointed to guestbook.php, which calls index.php (Such a simple blunder to wreck an afternoon). Once I figured that out, the guestbook started working again and looks great.

But that wasn't the last of it. The Guestbook link took me to the admin login page, but when I logged in, it inserted the extra guestbook in the URL. I tried many combinations of URLs in both $GB_PG["base_url"] and $GB_PG["admin"] and ended up puting the full web URL in both, and it now works.

I kept the Guestbook link in the CPG code as I did in my original post, Integrating Advanced Guestbook into CPG, which you replied to and posted your integration. By putting it in the code, it isn't visible without logging in; which is my preference. Others may like it visible, which your method does and redirects to the login if a user is not logged in.

So, I truly appreciate your suggestions and help and I really like your integration. I don't think I'd have been able to figure out these issues without your help.

Ciao!
Logged
I started with nothing, and have most of it left.

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #41 on: March 27, 2009, 12:51:09 am »

I'm glad you solved your issues, but...would you like to help me finding a generally suitable solution?
In guestbook/admin/config.inc.php, please replace $GB_PG["base_url"] and $GB_PG["admin"] lines with these:
Code: [Select]
$GB_PG["base_url"] = $CONFIG['ecards_more_pic_target']."guestbook";
$GB_PG["admin"]    = "guestbook/admin.php";

Then, open guestbook/templates/admin_enter.php and change
Code: [Select]
<form method="post" action="$GB_PG[admin]">to
Code: [Select]
<form method="post" action="$_SERVER[PHP_SELF]">
Now check if admin login (and of course the other admin functions) work fine.
« Last Edit: March 27, 2009, 12:57:09 am by Ludo »
Logged

calvinite

  • Contributor
  • Coppermine novice
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • The Prichard Collection
Re: Advanced Guestbook integrated with Coppermine
« Reply #42 on: March 27, 2009, 01:21:44 am »

LUDO RULES!

Your solution works, now we are both happy campers. I posted a message, logged in to the admin section and deleted it, all with no problems. I'd say this issue is resolved!

'preciate ya!

calvinite
Logged
I started with nothing, and have most of it left.

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #43 on: March 27, 2009, 01:25:06 am »

Thank you very much, I will upgrade the integration package to v. 1.0.2 ASAP with the new settings
Logged

calvinite

  • Contributor
  • Coppermine novice
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • The Prichard Collection
Re: Advanced Guestbook integrated with Coppermine
« Reply #44 on: March 27, 2009, 01:32:52 am »

You are very welcome. Am I correct in assuming that these updates to the package will now allow the new version of the integration to be installed in the root, or a subdirectory, of a CPG installation and function properly from either location?
Logged
I started with nothing, and have most of it left.

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #45 on: March 27, 2009, 01:44:39 am »

Yes, it will...better, it should  ;D
Maybe even Cath22 issues could get solved (they were admin login-related too)
« Last Edit: March 27, 2009, 01:52:59 am by Ludo »
Logged

calvinite

  • Contributor
  • Coppermine novice
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • The Prichard Collection
Re: Advanced Guestbook integrated with Coppermine
« Reply #46 on: March 27, 2009, 01:52:59 am »

Great. I can't say enough how much I appreciate your help and if I can be of help to you again in the future, let me know.
Logged
I started with nothing, and have most of it left.

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Advanced Guestbook integrated with Coppermine
« Reply #47 on: March 27, 2009, 03:05:49 am »

@Ludo: I just try to see the themo and it shows:
Code: [Select]
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /membri2/vanrokken/lang/spanish.php on line 1276 What version of spanish language file are you using?
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #48 on: March 27, 2009, 09:22:40 am »

Fixed.
It wasn't matter of version, but of a comma missing after a definition added by me  :-\ :-[
Next upgrade will be guestbook language following automatically the one chosen in Coppermine...
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #49 on: March 27, 2009, 09:58:51 am »

Done!
Released version 1.0.2 of integration package, with following updates:
- fixed credits text in admin footer
- now guestbook language follows selection (or default one) in Coppermine
- fixed a bug with admin login (thanks to calvinite)
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Advanced Guestbook integrated with Coppermine
« Reply #50 on: March 27, 2009, 02:23:58 pm »

Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #51 on: March 27, 2009, 02:29:01 pm »

Thanks  ;)
Logged

Cath22

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 77
    • Fotofantastic
Re: Advanced Guestbook integrated with Coppermine
« Reply #52 on: March 30, 2009, 08:03:06 pm »

Yes, it will...better, it should  ;D
Maybe even Cath22 issues could get solved (they were admin login-related too)
I'm sure going to try it when I find the time. Let you know the results

Greetz
Cath
Logged
qui custodiet ipsos custodes

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: Advanced Guestbook integrated with Coppermine
« Reply #53 on: April 01, 2009, 06:55:01 pm »

Thanks for the mod Ludo can you tell me how to update my existing guestbook with the new version ?
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #54 on: April 02, 2009, 10:16:49 am »

Just replace all files.
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: Advanced Guestbook integrated with Coppermine
« Reply #55 on: April 02, 2009, 12:38:00 pm »

Thanks Ludo :)
Logged

Cath22

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 77
    • Fotofantastic
Re: Advanced Guestbook integrated with Coppermine
« Reply #56 on: April 02, 2009, 08:17:32 pm »

Well I have removed all previous guestbook stuff and installed the new one, but guess what...... after succesfull installing, logging in is the same, it accepts my name and password and as soon I click one of the menuoptions i get the login screen again,  >:( so it didnt work for me sorry to say.

Cath
Logged
qui custodiet ipsos custodes

tjiepie

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Advanced Guestbook integrated with Coppermine
« Reply #57 on: May 02, 2009, 06:07:48 am »

I added the Advance Guestbook.Type: 2.4.4
 

After i running the install process, I get these code on the index page:

 
Code: [Select]
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'hide addresses'@'srv77.one.com' (using password: NO) in

[hide-addresses]bl/guestbook/lib/mysql.class.php on line 45
Connection Error


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

MySQL Error : Connection Error

Error Number: 1045 Access denied
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Advanced Guestbook integrated with Coppermine
« Reply #58 on: May 02, 2009, 09:24:52 am »

Is /bl your CPG root directory?
Guestbook gathers database connection parameters by including /include/config.inc.php, so the only reason to get a db connection error is a wrong guestbook directory placement, if CPG works.
Logged

tjiepie

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Advanced Guestbook integrated with Coppermine
« Reply #59 on: May 02, 2009, 03:44:27 pm »

Is /bl your CPG root directory?

Yes  ;) it's the gallery root
Logged
Pages: 1 2 [3] 4 5 6 7   Go Up
 

Page created in 0.03 seconds with 19 queries.