Plugins
CodoPm: notify of a new private message

One more question:
Is there a simple way to know if you have a new PM?

Thanks

One more question: Is there a simple way to know if you have a new PM? Thanks

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

Ok. I'm trying to do a plugins based on similar_topics which read pms to see if there is new and show a counter in a small block under existing counters.
It's difficult for me as i have to learn both smarty and object programming ( I learnt only linear programming).
I hope have somehing usable before the end of the week.

It will simply give a counter for new pms and a link to profiles/pm to read it.
hope it will be enough for everyone ...

please be patient smile

Ok. I'm trying to do a plugins based on similar_topics which read pms to see if there is new and show a counter in a small block under existing counters. It's difficult for me as i have to learn both smarty and object programming ( I learnt only linear programming). I hope have somehing usable before the end of the week. It will simply give a counter for new pms and a link to profiles/pm to read it. hope it will be enough for everyone ... please be patient :)

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

ok! seem to be finished ! to be tested !
@adesh1414127033 : why only one message per sender/receiver ? is it a bug ? if you change thread_hash to from_to_initialpost, you can have multiples messages from one to the same another, no ?
how can i access directly pms ? seem not to be possible to access with profile#pms ...

attached version 1

maybe some bugs, I miss informations on translations with smarty !!
just enable plugins and add a block under ui elements/blocks/add block/block_topic_info_after and/or block_category_list_after.

http://officielffss.asso.st/pmcounter.zip

ok! seem to be finished ! to be tested ! @adesh1414127033 : why only one message per sender/receiver ? is it a bug ? if you change thread_hash to from_to_initialpost, you can have multiples messages from one to the same another, no ? how can i access directly pms ? seem not to be possible to access with profile#pms ... attached version 1 maybe some bugs, I miss informations on translations with smarty !! just enable plugins and add a block under ui elements/blocks/add block/block_topic_info_after and/or block_category_list_after. http://officielffss.asso.st/pmcounter.zip

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

edited Oct 17 '16 at 4:59 pm

Yes it s a plugin. just unpack it in plugins dir . My forum is also 3.6, so no worries. Maybe a little buggy, as m'y forum is under development.

Yes it s a plugin. just unpack it in plugins dir . My forum is also 3.6, so no worries. Maybe a little buggy, as m'y forum is under development.

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

edited Oct 17 '16 at 7:06 pm

did you add a block ?

just enable plugins in admin and add a block under ui elements/blocks/add block/block_topic_info_after
5805d3b5c994f.png

don't (yet) work with multiple blocks. seem impossible to have it under categories. maybe a typo error in combobox ( "catgory" instead of "category"smile looking for that too! hope @adesh1414127033 will answer shortly for a common way of debugging !!

5805d3a6a37a6.png

did you add a block ? just enable plugins in admin and add a block under ui elements/blocks/add block/block_topic_info_after ![5805d3b5c994f.png](serve/attachment&path=5805d3b5c994f.png) don't (yet) work with multiple blocks. seem impossible to have it under categories. maybe a typo error in combobox ( "catgory" instead of "category") looking for that too! hope @adesh1414127033 will answer shortly for a common way of debugging !! ![5805d3a6a37a6.png](serve/attachment&path=5805d3a6a37a6.png)

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

edited Oct 18 '16 at 8:51 am

be carefull if you change position. I think there is a bug if you try to modify block location. you have to delete block and create it again ( looking for that also! too many work for a single human!)

be carefull if you change position. I think there is a bug if you try to modify block location. you have to delete block and create it again ( looking for that also! too many work for a single human!)

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

not possible, i think ( not yet familiar with blocks).
I'll try to allow multiple blocks for same plugin. With this option, you will be able to add it in first page and on post page.
looking for a way to add it at block_main_menu, with notifications ?

not possible, i think ( not yet familiar with blocks). I'll try to allow multiple blocks for same plugin. With this option, you will be able to add it in first page and on post page. looking for a way to add it at block_main_menu, with notifications ?

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

I have it working including with multiple blocks (not sure if the message count is right) Thank You... would be good if plugin could be integrated with https://codoforum.com/documentation/adding-notifications-to-your-plugin smile

I have it working including with multiple blocks (not sure if the message count is right) Thank You... would be good if plugin could be integrated with https://codoforum.com/documentation/adding-notifications-to-your-plugin :)

Given up on Codoforum :(

yeah! good idea!
But it will be difficult as notifications are topic/category based smilesmile
will try with null topic and category.

concerning user list, I'll have a look after finishing my own forum smile

yeah! good idea! But it will be difficult as notifications are topic/category based :( :( will try with null topic and category. concerning user list, I'll have a look after finishing my own forum :)

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

I don't know, i have not a production environment to verify! based on 2/3 messages in my test base.. Waiting for @adesh1414127033 response to confirm...

edit: The number of messages is false. trying to determine why, by the count is right in the database, but false if you count messages displayed !! looking for that...

I don't know, i have not a production environment to verify! based on 2/3 messages in my test base.. Waiting for @adesh1414127033 response to confirm... edit: The number of messages is false. trying to determine why, by the count is right in the database, but false if you count messages displayed !! looking for that...

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

I have it working including with multiple blocks (not sure if the message count is right) Thank You... would be good if plugin could be integrated with https://codoforum.com/documentation/adding-notifications-to-your-plugin smile

How did you with multiple blocks ? It don't work in 3.6 smile

>I have it working including with multiple blocks (not sure if the message count is right) Thank You... would be good if plugin could be integrated with https://codoforum.com/documentation/adding-notifications-to-your-plugin :) How did you with multiple blocks ? It don't work in 3.6 :(

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

@phig330 do you mean multiple plugins in one region or one plugin in multiple regions (which I don't think is yet possible with codoforum)

@phig330 do you mean multiple plugins in one region or one plugin in multiple regions (which I don't think is yet possible with codoforum)

Given up on Codoforum :(

@phig330 do you mean multiple plugins in one region or one plugin in multiple regions (which I don't think is yet possible with codoforum)

@hard_as_snails the same plugin in multiple regions. to have counter on first page and under post infos.. how did you solved this problem ?

ps: I made two or three little corrections in counter. I'll post a new version tonight.

>@phig330 do you mean multiple plugins in one region or one plugin in multiple regions (which I don't think is yet possible with codoforum) @hard_as_snails the same plugin in multiple regions. to have counter on first page and under post infos.. how did you solved this problem ? ps: I made two or three little corrections in counter. I'll post a new version tonight.

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

@phig330 not sure that is possible at present, you would need multi-select in the add blocks area??

@phig330 not sure that is possible at present, you would need multi-select in the add blocks area??

Given up on Codoforum :(

not necessary. just add two blocks with same plugin. but there is an error ( because object is re-declared) and i have not enough klowledge in object programming to solve it...

not necessary. just add two blocks with same plugin. but there is an error ( because object is re-declared) and i have not enough klowledge in object programming to solve it...

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

Plugin could be integrated with https://codoforum.com/documentation/adding-notifications-to-your-plugin

hello, @hard_as_snails ! On the way smile
news version of plugin avaiable, correcting message count ( seem to be more accurate) an a small esthetic correction.
http://officielffss.asso.st/pmcounter.zip

>Plugin could be integrated with https://codoforum.com/documentation/adding-notifications-to-your-plugin hello, @hard_as_snails ! On the way :) news version of plugin avaiable, correcting message count ( seem to be more accurate) an a small esthetic correction. http://officielffss.asso.st/pmcounter.zip

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

edited Oct 19 '16 at 2:57 pm
12
481
23
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft