myfreeforum.org Forum Index
 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 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


MODACTIONS Help
Goto page Previous  1, 2
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components
View previous topic :: View next topic  
Author Message
DSi
Craftsman
Craftsman

Virtual Cash: 770

Joined: 17 Sep 2006
Posts: 439
Location: New York, USA
Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jun 19, 2008 10:50 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
if just added "by {MODACTIONS_TRIGGER_USERNAME}" in the subject line here and modded you.

my pm got the by bit right. Did you get it?

Yeah, I got this as the subjcect line: Your account has been edited by an admin/mod by {admin (no pm's please)

I'll try it again on my forum...

Nope, still not working, all I get for the subject line is this: The account "editor" has been edited by

Here's my code:
Code:
adminmod_subjectObj.value ="The account \"{MODACTIONS_TARGET_USERNAME}\" has been edited by {MODACTIONS_TRIGGER_USERNAME} ";



24Forum.net
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42950

Joined: 22 May 2005
Posts: 19352

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jun 19, 2008 11:12 pm    Post subject: Reply with quote

Oh I see, you are doing the substitution in the Javascript itself.

I don't think the trigger macros are defined at that point. I am using the macros in the portal definition.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
DSi
Craftsman
Craftsman

Virtual Cash: 770

Joined: 17 Sep 2006
Posts: 439
Location: New York, USA
Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jun 19, 2008 11:26 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
Oh I see, you are doing the substitution in the Javascript itself.

I don't think the trigger macros are defined at that point. I am using the macros in the portal definition.

Where is the portal definition then? Besides, the TARGET macro is defined there, wouldn't the TRIGGER macro be defined as well? Or maybe the TRIGGER macro isn't defined at all in my template? Could that be possible?

24Forum.net
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42950

Joined: 22 May 2005
Posts: 19352

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jun 19, 2008 11:38 pm    Post subject: Reply with quote

The PM definition is in the MODACTIONS portal just look for it.

trigger macros should probably be defined in the javascript and I will try and add that soon.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
DSi
Craftsman
Craftsman

Virtual Cash: 770

Joined: 17 Sep 2006
Posts: 439
Location: New York, USA
Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jun 19, 2008 11:46 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
The PM definition is in the MODACTIONS portal just look for it.

trigger macros should probably be defined in the javascript and I will try and add that soon.


Oh, I see what you're saying now! I thought you meant in the cms_modactions.tpl template file

It's working flawlessly, thank you so much admin! I'm sorry for the trouble
_________________

24Forum.net
Back to top
View user's profile Private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 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