[TIP/TRICK] Resend Activation Code

Started by [SiNaN], July 29, 2008, 11:31:30 AM

Previous topic - Next topic

[SiNaN]

This trick will allow you to add a small link on the login box saying "Need another activation email?"

../Themes/default/Login.template.php

They appear twice.

Find:

$txt[315], '</a><br /><br />

Replace:

$txt[315], '</a><br /><a href="', $scripturl, '?action=activate;sa=resend;">', $txt['activate_not_completed2'], '</a><br /><br />

Screen shot attached.
Former SMF Core Developer | My Mods | SimplePortal

青山 素子

This link is already in the headers on all the themes right under the guest welcome.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Hoochie Coochie Man

İnadına SMF 1.1.X

ccbtimewiz

Quote from: Motoko-chan on July 29, 2008, 11:38:59 AM
This link is already in the headers on all the themes right under the guest welcome.

True, but it isn't on the default login box. This code puts it on that area.

[SiNaN]

Just some people didn't see that (me too):

http://www.simplemachines.org/community/index.php?topic=231734.0

If you think that its useless, change its prefix and ignore. ;)
Former SMF Core Developer | My Mods | SimplePortal

Sabre™

I keep getting this after I click on it.

An Error Has Occurred!
You are not allowed to access this section


Im making an assumption that it has something to do with guest permissions??
If so...  which one?   What do I need to change?

Thank You :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


codnerd

Agreed Sabre, I am getting the same error as you. I'm press sure it is because sa=....

ccbtimewiz


codnerd

I can't look at the register link logged in... lol

Sabre™

#9
Quote from: Sabre™ on August 11, 2008, 12:18:13 AM
I keep getting this after I click on it.

An Error Has Occurred!
You are not allowed to access this section
Quote from: codnerd on August 11, 2008, 01:11:13 AM
Agreed Sabre, I am getting the same error as you. I'm press sure it is because sa=....

Make sure your registration settings are set to  "member activation", then it will work.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


[SAP]Francis


Vehicles Forum

Founded By Francis Morissette

vmgamer

I think this feature is enabled by default

Advertisement: