Private Messaging System for CPG 1.5 - Page 2 Private Messaging System for CPG 1.5 - Page 2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Private Messaging System for CPG 1.5

Started by cmfa, February 22, 2011, 10:04:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cmfa

What you want to achieve? It is added by the plugin.

CMFA

allvip

#21
I made the changes to theme.php,style.css and installed the plugin.
It removes the head of the page (head tags,body,menu).I I have is the maintable with no css.
I have no other plugins.
Copermine dafaul install and default curve theme on localhost.

allvip

#22
Quote from: kodif on September 09, 2011, 06:21:32 PM
Aditional info:

In codebase.php it looks like this
// User menus
//        $thisplugin->add_filter('template_html','pms_user_menu');

// Some filters
$thisplugin->add_filter('thumb_caption','pms_add_link_thumb');
$thisplugin->add_filter('file_data','pms_add_link_normal');
$thisplugin->add_filter('template_html','pms_loginform_start');
// new filter for profile
$thisplugin->add_filter('profile_add_data','pms_profile_edit');


I changed to
// User menus
        $thisplugin->add_filter('template_html','pms_user_menu');

// Some filters
$thisplugin->add_filter('thumb_caption','pms_add_link_thumb');
$thisplugin->add_filter('file_data','pms_add_link_normal');
$thisplugin->add_filter('template_html','pms_loginform_start');
// new filter for profile
$thisplugin->add_filter('profile_add_data','pms_profile_edit');


After I uncommented this line, plugin seems to work fine .....

I can belive I did not saw the solution for this problem in Reply #13.

allvip

Display pm status info when logged in - this will add some statistics (Private Messages:  2 unread, total 9)
Display login form - will show a login box if a user isn't logged in, the above stats at that place when logged in.

No pm status is displayed and no login form.

I treyed even adding {LOGIN_FORM} in template.html next to {SUB_MENU} or {GALLERY} but nothing.Is showing {LOGIN_FORM} text on the page.






heavensportal

I have a question about this mod.

Is it solely for just PM's?

My gallery is bridged so what I need for our gallery is a mod to go with the add to favorites ---only I would like to have it that be so that instead of just adding a favorite image we can add a favorite artist AND get an email notification when they upload a new image.

I am hoping this gets folks to comment more...

Will this mod work for this or do you know of one that will, I think Stramm had this feature in his addon at one time.

Αndré

Due to frequent support requests regarding the login button, I added version 2.1 to the initial post, which should work as expected and also fixes an issue during the installation for newer PHP versions.

nambroque

I have installed the plugin, and also translated it into Spanish (attached), but I have some problems/doubts:
-I cannot change into Spanish the "Send PM" button which appears next to the usernames, as it is not in the english.php file
-The icons do not work
-When you receive a notification by mail it says: "If you don't want to receive these notification emails anymore just update your profile and unmark the 'Notify me on new private messages' checkbox". But this option does not appear in "My profile"

My gallery:
Galería Fotometeo