FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  • Welcome
  • Guest

Action portal query
Page 1, 2  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components
View previous topic :: View next topic  
Author Message
prof
Novice
Novice
FLAG

Virtual Cash: 210

Joined: 18 Jan 2010
Posts: 21



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Thu Jul 14, 2011 8:18 pm    Post subject: Action portal query  Reply with quote

Forum: http://landytown.myfunforum.org/ (phpbb2)

Managed to setup the action portal previously to send a welcome PM to new registrants, we now have another requirement which we don't appear to be able to make work. Searched portal setup in here and how-to-do-it to no avail.

We'd like to be able to tag forum users such that when they start or respond to a topic, a group of people are sent a PM.

So far we've created an xprofile field (hidden and admin only), setup a filter which looks for this profile field = yes.

We've setup a group for the users we want to receive the PM and setup the action portal as follows:

In this instance all forum admins receive a PM.

Changing it to the following no longer sends a PM to the group members. The "monitors" group contains 2 of our 4 admin users.


Note: The filter works a treat  

Can you shed any light of what we might have done wrong please ?

Many thanks
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Thu Jul 14, 2011 8:41 pm    Post subject: Reply with quote

Very nice to see this being used imaginatively.

What you have looks right and it may be a bug in the system stopping it working.

You could set debug on the action and make a post as a moderated user and see what the debug says.

Myself I will try and duplicate the issue in the morning.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
BusyBee
Pupil
Pupil
FLAG

Virtual Cash: 410

Joined: 27 Jan 2010
Posts: 40



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Thu Jul 14, 2011 8:52 pm    Post subject: Reply with quote

This is what the debug mode says (we do work on the same forum  Wink )

Quote:

Enter ProcessAction

MatchAction LT_ModeratedUser replyself

MatchAction enabled1

MatchAction triggerforums1

MatchAction triggerlevel0

MatchAction trigger0 mode replyself

MatchAction check trigger0 mode replyself

MatchAction who6

Matched

Enter PerformAction

PerformAction LT_ModeratedUser on 0 users

PerformActionMessages LT_ModeratedUser on 0 users

1)Send pms
2)Send pms 18
3)Send pms 18
Done PerformActionMessages 1LT_ModeratedUser on 0 users

1)Send pms
2)Send pms 0
Done PerformActionMessages 2LT_ModeratedUser on 0 users

Exit PerformAction

Exit ProcessAction
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 9:29 am    Post subject: Reply with quote

Well on consideration, there is an issue here.

Target member is a filter, filters look at who was involved in an action, and are used to filter based on the people involved in an action.

As such it is a bit confusing what is meant to happen.

There is also a strong case that you should simply be able to select the group you want to send a PM to in the PM dialogue to save such confusion.

However and perhaps more to the point the code was buggy anyway and would not pick up the group members targeted.

That bug is now fixed.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
prof
Novice
Novice
FLAG

Virtual Cash: 210

Joined: 18 Jan 2010
Posts: 21



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 9:58 am    Post subject: Reply with quote

myff admin wrote:
Well on consideration, there is an issue here.
Target member is a filter, filters look at who was involved in an action, and are used to filter based on the people involved in an action.
As such it is a bit confusing what is meant to happen.
There is also a strong case that you should simply be able to select the group you want to send a PM to in the PM dialogue to save such confusion.


I have to admit that the purpose of each of the fields is confusing  

Quote:
However and perhaps more to the point the code was buggy anyway and would not pick up the group members targeted.
That bug is now fixed.


Excellent, off to test , many thanks

Back to top
View user's profile Send private message
prof
Novice
Novice
FLAG

Virtual Cash: 210

Joined: 18 Jan 2010
Posts: 21



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 10:16 am    Post subject: Reply with quote

Happy to report that testing has been successful  
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 10:25 am    Post subject: Reply with quote

Very pleased and as I said before very pleased to see someone both using the ACTION portal to imaginative ends and bug reporting in a fashion that made it a pleasure to help as the information was shown that I needed.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
prof
Novice
Novice
FLAG

Virtual Cash: 210

Joined: 18 Jan 2010
Posts: 21



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 11:10 am    Post subject: Reply with quote

Thanks for the praise, having been a software developer myself I am very aware of what's needed to get to a problem quickly.

One more question if I may, are there macro fields to indicate the forum name or better still thread title we could use to enhance the private message being sent ?

Many thanks again
Greg
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 11:24 am    Post subject: Reply with quote

No forum macros currently.

But I will have a bash soon. Won't be today I'm afraid.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
prof
Novice
Novice
FLAG

Virtual Cash: 210

Joined: 18 Jan 2010
Posts: 21



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 11:26 am    Post subject: Reply with quote

No worries, no rush.
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 2:21 pm    Post subject: Reply with quote

FORUM_FORUM_NAME FORUM_FORUM_DESC FORUM_FORUM_POSTS FORUM_FORUM_TOPICS

TOPIC_TOPIC_TITLE topic_TOPIC_POSTER TOPIC_TOPIC_VIEWS TOPIC_TOPIC_REPLIES

POST_POST_USERNAME

macros are now available.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
Ask Mr. Religion
Craftsman
Craftsman
FLAG

Virtual Cash: 4500

Joined: 01 Aug 2008
Posts: 423



Add Karma

rated by 3 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 5:34 pm    Post subject: Reply with quote

myff admin wrote:
FORUM_FORUM_NAME FORUM_FORUM_DESC FORUM_FORUM_POSTS FORUM_FORUM_TOPICS

TOPIC_TOPIC_TITLE topic_TOPIC_POSTER TOPIC_TOPIC_VIEWS TOPIC_TOPIC_REPLIES

POST_POST_USERNAME

macros are now available.
Not sure how these macros are separated. The underscoring _yada seems to render them as a jumble of what should be separated macro names.

AMR
_________________
Ask Mr. Religion (a.k.a. 'Patrick')
Founder, Reformed Theology Institute
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 6:22 pm    Post subject: Reply with quote

Space is the separator.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
BusyBee
Pupil
Pupil
FLAG

Virtual Cash: 410

Joined: 27 Jan 2010
Posts: 40



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Jul 15, 2011 6:46 pm    Post subject: Reply with quote

  So much for not for today then!!  Wink

Thank you very much, I will go and add a couple of them to the PMs sent by the Portal.
Back to top
View user's profile Send private message
BusyBee
Pupil
Pupil
FLAG

Virtual Cash: 410

Joined: 27 Jan 2010
Posts: 40



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Sat Jul 16, 2011 10:11 am    Post subject: Reply with quote

Sorry to be a bother, but it has stopped working.  

Earlier on, I added the macros {FORUM_FORUM_NAME} and {TOPIC_TOPIC_TITLE} to the PM and it then came back with an error "Internal Error". So I removed them to make sure it wasn't just a typo and it still crashed.

I then went onto the other forum (which hadn't been modifed with FORUM and TOPIC macros yet) - we have 2 fori: one "live" and a "play" one to test out modifications - and it crashed too.

This is the log produced with or without FORUM and TOPIC macros added:
Quote:
Enter ProcessAction

MatchAction LT_ModeratedUser replyself

MatchAction enabled1

MatchAction triggerforums1

MatchAction triggerlevel0

MatchAction trigger 0 mode replyself

MatchAction check trigger0 mode replyself

MatchAction who 6

MatchAction SUCCESS LT_ModeratedUser

Matched

Enter PerformAction LT_ModeratedUser 6

PerformAction LT_ModeratedUser on 1 users
FilterActionCommands LT_ModeratedUser 6
unfiltered

PerformActionCommands LT_ModeratedUser frogAdmin

PerformActionCommands1 -1 on frogAdmin
PerformActionCommands1 -1 on frogAdmin
PerformActionCommands1 -1 on frogAdmin
PerformActionMessages LT_ModeratedUser on 1 users

1)Send pms
2)Send pms 18
3)Send pms 18


We do not have any problem posting when users are not "moderated" and the portal is not used.

We also noticed when it was working that although we were receiving PMs, we were not getting the emails notifying of a new PM as per normal (I really hope this makes sense!!).

Many thanks for your help.  

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components All times are GMT
Page 1, 2  Next
Page 1 of 2
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum