Resend Activation URL Mod - Instructions

14 years 9 months ago #17180 by moneybagsxp
Replied by moneybagsxp on topic Re:Resend Activation URL Admin Mod - Instructions
OK...it's kind of hard to troubleshoot w/o me being able to see it in front of me, but I'm sure we can get this:

From the user manager page, view the source of the generated HTML. search for:
[code:1]
cbResendConfirmURL(this.parentNode.id,
[/code:1]

and if possibly, supply me with this line, as well as a few before and a few after. I can review, and also compare to my own. If that's the source of the error, I need to see what's happening. (Are all parameters being passed correctly, etc.)

Maybe you could search for a few instances of such, and send me a couple of examples?

As for

You say you defined language vars, but yet they do not save? Please confirm.


What I mean is, did you complete the first step?


components/com_comprofiler/plugin/language/default_language/default_language.php (line 140) define display variables:
[code:1]
DEFINE('_UE_REG_CONFIRM_RESEND_SUB','Resend Activation URL Email Subject');
DEFINE('_UE_REG_CONFIRM_RESEND_DESC','Resend Activation URL Email Subject');
DEFINE('_UE_REG_CONFIRM_RESEND_MSG','Resend Activation URL Email');
[/code:1]

You may want to ensure your config file is Writable (chmod 777 in Unix). If you are seeing Resend Activation URL Email Subject TEXT on the Config tab, then you have defined the language variables. If your config file is writable, it should be saving, but that's a separate issue.

Cut-list:
  1. Figure out the JS issue (easy)
  2. Figure out the "non-saving" in your config (a bit harder)

Post edited by: moneybagsxp, at: 2006/07/17 05:38

www.pixelchutes.com - Where every pixel matters.

Please Log in to join the conversation.

14 years 7 months ago #21626 by manolao
Replied by manolao on topic Re:Resend Activation URL Mod - Instructions
Could someone pls post the edited files, so they can by used as a patch? I am having several problems just cutting and pasting...

Please Log in to join the conversation.

14 years 7 months ago #21630 by moneybagsxp
Replied by moneybagsxp on topic Re:Resend Activation URL Mod - Instructions
What version of CB are you using?

www.pixelchutes.com - Where every pixel matters.

Please Log in to join the conversation.

14 years 6 months ago #22535 by askmieke
Replied by askmieke on topic Re:Resend Activation URL Mod - Instructions
:blink: Okay... before I go through these edits live.. does this really work, or is there a recap or patch? I think I'm looking for a user link similar to forgot password to re-generate or resend the activation email.

Especially since there is no 'check email' in the registration process. The activation email could have gone to limbo.

Please Log in to join the conversation.

14 years 6 months ago #22539 by moneybagsxp
Replied by moneybagsxp on topic Re:Resend Activation URL Mod - Instructions
This probably is not for you then.

This is an Administrative-tool, creating a "Resend" link on the user manager page that uses AJAX to resend individual user activation emails.

Unfortunately, it currently does not allow user-invoked resends :(

www.pixelchutes.com - Where every pixel matters.

Please Log in to join the conversation.

14 years 6 months ago #23271 by skunk
Hi There

Thanks for this mod, everything seems to run fine until I get to the user list page where in IE I get a Javascript error, the same as scottm by the looks of it.

[code:1]
Line: 280
Error: Syntax error[/code:1]

The line in question plus a few lines either side in the admin page source code is:

[code:1]
} else {
return false;
}
}

//--><!]]></script>

<span id="cbResendActivation"><a href="#resend_now" onclick="return cbResendConfirmURL(this.parentNode.id, );" title="Resend Activation URL Now!">resend</a></span>
<form action="index2.php" method="post" name="adminForm">
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<tr>
[/code:1]

It looks like the $row->id variable is not being generated. I have very little experience with Javascript and AJAX so not sure what is going wrong here.

I have attached the three edited files. I am running cb 1.0.1.

Any help would be appreciated.

Skunk

Attachment com_comprofiler.zip not found

Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.493 seconds

Facebook Twitter LinkedIn