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
Scheinbar wurde die Datei nicht vollständig oder fehlerhaft übertragen.
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?
Keine Ahnung. Was steht denn in der Doku/Readme? Wenn alles funktioniert, wozu noch etwas ändern?
Mein Englisch is nich soo besonders.
http://forum.coppermine-gallery.net/index.php/topic,47974.html
Quote from: Stramm on October 31, 2007, 01:59:25 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)
make_form($display_profile_form_param, $form_data);
and replace with
//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?
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?
Quote from: robbi77 on June 09, 2009, 09:34:30 PM
Aber was ich mit der style.css und theme.php machen soll weiß ich nich genau
Quotecopy/ 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)
Quote from: robbi77 on June 09, 2009, 09:34:30 PM
soll ich den code dort hinzufügen oder komplett tauschen?
-> Hinzufügen sollte ausreichen.