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 1, 2  Next
 
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: Sun Jun 15, 2008 5:27 pm    Post subject: MODACTIONS Help Reply with quote

I'm trying to get the MODACTIONS portal working on my forum ( http://24forum.net or http://24.myfreeforum.org ), and no matter what I do, I always get a blank actions.php screen, like so: http://img299.imageshack.us/img299/8488/actionphpfj4.jpg

Here is what the MODACTIONS settings look like: http://img299.imageshack.us/img299/3070/modactionskl9.jpg
It's not just set active/inactive, there are a bunch of other things too with the same settings.
Yes, I am part of the defined usergroup (Super Moderators).

When I click on "Moderate User" from a post or in a profile, that is the screen I get ( http://img299.imageshack.us/img299/8488/actionphpfj4.jpg ), instead of seeing all of the options I set.

Please help me!  

Thanks in advanced.

-DSi


_________________

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: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 15, 2008 5:49 pm    Post subject: Reply with quote

Is it really blank? or are is the style making it look blank?
_________________

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: Sun Jun 15, 2008 6:38 pm    Post subject: Reply with quote

It actually is blank, it was working before, when the Trigger Members was set to Admins and Mods, but then I changed it to Super Moderators, and it wasn't working. When I changed it back to see if that was the problem, it still wasn't working.
_________________

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: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 15, 2008 6:55 pm    Post subject: Reply with quote

I would play with the template and see if the switches are working. e.g:

<!-- IF MODACTIONS_SETINACTIVE_ALLOWED == 1 -->

is the bit that controls the set inactive checkbox, maybe the switch is not set, or maybe there is a javascript error preventing display, are you seeing javascript errors?
_________________

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: Mon Jun 16, 2008 10:45 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
I would play with the template and see if the switches are working. e.g:

<!-- IF MODACTIONS_SETINACTIVE_ALLOWED == 1 -->

is the bit that controls the set inactive checkbox, maybe the switch is not set, or maybe there is a javascript error preventing display, are you seeing javascript errors?

No, I'm seeing no errors, just a blank MODACTIONS screen, as I showed in the picture I linked in my first post.

I'm pretty sure it's not the template, because it was working originally, but now it's not.
_________________

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: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jun 17, 2008 1:57 am    Post subject: Reply with quote

You need to check and recheck the modactions, it was working and now its not, so what changed?
_________________

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: Wed Jun 18, 2008 2:43 am    Post subject: Reply with quote

I've checked and rechecked the MODACTIONS countless times, and the only thing that was changed was the Trigger Member. I'll check again tomorrow, but I'm almost positive that was the only thing that was changed.
_________________

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: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jun 18, 2008 4:21 am    Post subject: Reply with quote

http://24forum.net/action.php?action=MODACTIONS&popup=2&u=164

works for me, I changed the "who can trigger" bit to "mods and admins". You did say:

"When I changed it back to see if that was the problem, it still wasn't working."
_________________

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
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jun 18, 2008 4:31 am    Post subject: Reply with quote

and as suggested ealier looking as you I see:

Error: unterminated string literal
Source File: http://24forum.net/action.php?action=MODACTIONS&popup=2&u=164
Line: 577, Column: 29
Source Code:
adminmod_messageObj.value = "The following message has been sent to \"whycantkimdie?\"



e.g. bust javascript.
_________________

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
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jun 18, 2008 4:37 am    Post subject: Reply with quote

it is where you have edited the template. The default template has:

adminmod_messageObj.value = "The following message has been sent to \"{MODACTIONS_TARGET_USERNAME}\"

Quote:
"+messageObj.value+"
";

you have appended that and added a hardline break which is a javascript syntax error.
_________________

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
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jun 18, 2008 4:42 am    Post subject: Reply with quote

I might point out my first two posts said look at the style and javascript, and you carried on saying that was not wrong, without ever using the editor to check a default version of the template, or looking for javascript errors which firefox clearly reported and so does ie7.
_________________

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 1:17 am    Post subject: Reply with quote

Wow, thanks admin, I never would've caught that... I guess my OCD just got to me and I had to put that hard linebreak in there

Also, how do I change the subject (or message) of the PM in the MODPMESSAGE in order to show the username of the admin/mod that changed the user's settings? I tried putting {MODACTIONS_TRIGGER_USERNAME} in the subject line via cms_modactions.tpl, but it didn't work. Any ideas?
_________________

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: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jun 19, 2008 8:43 am    Post subject: Reply with quote

Can you expand on how you did {MODACTIONS_TRIGGER_USERNAME}? and what the result was?

It should work, but it is complex stuff and there are probably still bugs.
_________________

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 8:24 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
Can you expand on how you did {MODACTIONS_TRIGGER_USERNAME}? and what the result was?

It should work, but it is complex stuff and there are probably still bugs.

I tried putting it in the PM subject line, and in the PM message (first without the \", then with the \"), and neither of them worked, it acted as if it just weren't there, so it just showed something like "" instead of the 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: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

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

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?
_________________

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
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components All times are GMT + 1 Hour
Goto 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