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]   Go Down

Author Topic: PMS V1.1  (Read 5079 times)

0 Members and 1 Guest are viewing this topic.

robbi77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
PMS V1.1
« on: June 07, 2009, 10:49:13 pm »

Hallo!
Nach der Installation des PMS hab ich ein Problem.
Wenn ich oben rechts auf "Privat Message" klicke kommt folgende Fehlermeldung:

Parse error: syntax error, unexpected T_RETURN in /www/htdocs/w00a54ac/gallerie/plugins/cpg_pms/include/pms.inc.php on line 528

Muß ich da noch etwas einstellen oder ändern?

Gruß
Roberto
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: PMS V1.1
« Reply #1 on: June 07, 2009, 11:04:07 pm »

Scheinbar wurde die Datei nicht vollständig oder fehlerhaft übertragen.
Logged

robbi77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
Re: PMS V1.1
« Reply #2 on: June 08, 2009, 09:42:55 pm »

Ich habs nochmal hochgeladen und installiert, siehe da es geht.
Mit hilfe des Post von stramm sogar die buttons hinbekommen.
Nur etwas weiß ich nich muß ich jetzt die style.css und theme.php noch ändern?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: PMS V1.1
« Reply #3 on: June 08, 2009, 10:14:53 pm »

Keine Ahnung. Was steht denn in der Doku/Readme? Wenn alles funktioniert, wozu noch etwas ändern?
Logged

robbi77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
Re: PMS V1.1
« Reply #4 on: June 08, 2009, 10:19:29 pm »

Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: PMS V1.1
« Reply #5 on: June 09, 2009, 07:46:38 am »

Installation:
- unzip and upload to your plugins folder, use the plugin manager to install it
- have a look into the folder images_to_move
   -> copy all images within this folder to your themes images folder (eg themes/classic/images)
   -> copy/ paste the contents from css_changes.txt to your themes css file (eg themes/classic/style.css)
   -> copy/ paste the contents of theme_changes.txt to your theme.php (eg themes/classic/theme.php)
       [no biggie if you don't do that, however the 'send PM' link won't then display next to the username within comments]
   -> if you want to display a 'send PM' link in the user profile, you'll have to manually edit profile.php. Version 1.1 of the plugin introduces a plugin hook in profile.php to reduce the editing amount.

in profile.php find (at the end of the code)
Code: [Select]
        make_form($display_profile_form_param, $form_data);
and replace with
Code: [Select]
        //added for plugin support - PMS
$profile_data = CPGPluginAPI::filter('profile_add_data', array ( 0 => $display_profile_form_param, 1 => $form_data ));
        make_form($profile_data[0], $profile_data[1]);

Was davon hast du denn schon erledigt?
Logged

robbi77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
Re: PMS V1.1
« Reply #6 on: June 09, 2009, 09:34:30 pm »

Ich habe die images in die themen ordner kopiert.
und den code in der profile.php getauscht.
Die Buttons werden auch angezeigt.

Aber was ich mit der style.css und theme.php machen soll weiß ich nich genau
soll ich den code dort hinzufügen oder komplett tauschen?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: PMS V1.1
« Reply #7 on: June 10, 2009, 07:56:41 am »

Aber was ich mit der style.css und theme.php machen soll weiß ich nich genau

Quote
copy/ paste the contents from css_changes.txt to your themes css file (eg themes/classic/style.css)
copy/ paste the contents of theme_changes.txt to your theme.php (eg themes/classic/theme.php)

soll ich den code dort hinzufügen oder komplett tauschen?

-> Hinzufügen sollte ausreichen.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.