DSi Craftsman

 Virtual Cash: 770
Joined: 17 Sep 2006 Posts: 439 Location: New York, USA Add Karma
 rated by 2 members
Add Comment
Show Comments
 |
Posted: Thu Jun 19, 2008 10:50 pm Post subject: |
|
|
| 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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Thu Jun 19, 2008 11:12 pm Post subject: |
|
|
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 |
|
 |
DSi Craftsman

 Virtual Cash: 770
Joined: 17 Sep 2006 Posts: 439 Location: New York, USA Add Karma
 rated by 2 members
Add Comment
Show Comments
 |
Posted: Thu Jun 19, 2008 11:26 pm Post subject: |
|
|
| 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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Thu Jun 19, 2008 11:38 pm Post subject: |
|
|
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 |
|
 |
DSi Craftsman

 Virtual Cash: 770
Joined: 17 Sep 2006 Posts: 439 Location: New York, USA Add Karma
 rated by 2 members
Add Comment
Show Comments
 |
Posted: Thu Jun 19, 2008 11:46 pm Post subject: |
|
|
| 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 |
|
 |