[TYPO3] AdminReview and ConfirmPID in "sr_feuser_register"

Jérémy Lecour jeremy.lecour at gmail.com
Thu Aug 17 17:39:04 CEST 2006


I don't understand anything !!

I was playing around with that confirmPID constant, once on 535,
another time on 539, …

Once I got it working as expected (the message for the user and the
one for the admin), but it was on the Auth page, so I had the loginbox
on top of the message (for the Admin) and on top of the
sr_feuser_register loginbox (for the user after the activation of his
account).

I've compared the setup of the 2 pages and the setup of the 2 plugins
and everything is the same, but if I swith the confirmPID back to the
real confirmation page, it doesn't work anymore and if I switch it
another time to the first page (that was working once), it doesn't
work anymore.

Of course, each time I'm clearing the cache and the temp_CACHED.

I'm LOST !

2006/8/17, Jérémy Lecour <jeremy.lecour at gmail.com>:
> Hi,
>
> I'm using "sr_feuser_register" to handle registration, … on a private portal.
> The most of it is working (registration, confirmation, admin
> reviewing, …) but I can't get the direct links in e-mails to go back
> to the site and display messages correctly.
>
> For the Admin, in the e-mail he receives to Accept/Reject the
> registration, ha has 2 direct links. When he clicks on one of them,
> the action is happening, but no message is shown, even if I have a
> plugin on the current page, with no CODE specified (like said in the
> doc)
>
> For the user, it's the same. After he receives the confirmation of the
> oppenning of his account, the link goes to the page (specified by
> confirmPID in TS Constants), but there is no message at all, just the
> link to the page "createPID".
>
> My Page tree (excerpt) :
> 438 - Home (redirects to 535)
> -- 535 - Auth : loginbox + sr_feuser_register (no CODE)
> -- -- 539 - Confirm : sr_feuser_register (no CODE)
> -- -- 532 - Logout
> -- -- 534 - Register : sr_feuser_register (CODE = CREATE)
> -- -- 533 - Edit : sr_feuser_register (CODE = EDIT)
> -- 453 - Services (limited to logged in users, redirects to 471)
> -- -- 471 - Presentation
> 439 - Storage Folder
>
> My constants :
> plugin.tx_srfeuserregister_pi1 {
>         pid = 439
>         loginPID = 535
>         editPID = 533
>         registerPID = 534
>         confirmPID = 535
>         linkToPID = 471
>         formFields = username, password, first_name, last_name, email
>         requiredFields = username, password, email
>         file.templateFile = fileadmin/templates/services/register.html
>         userGroupUponRegistration = 6
>         userGroupAfterAcceptation = 2
>         enablePreviewRegister = 0
>         enableAdminReview = 1
>         autoLoginRedirect_url = 471
>         enableAdminNotifyConfirmation = 0
>         enableAdminNotifyOnRegister = 0
>         enableAdminNotifyOnApprove = 0
>         enableAdminNotifyOnRefuse = 0
>         enableAdminNotifyOnUpdate = 0
>         email = services at myportal.com
>         useShortUrls = 1
>         pidTitleOverride = My Portal
>         siteName = My Portal
> }
>
> If I set confirmPID to 539, the result is the same, but on that page I
> only have the plugin sr_feuser_register and not the loginbox that is
> present on the Auth page (535) alongn with the sr_feuser_register.
>
> If any of you have any idea about how I can get a message for the
> Admin and the user, I'd like to hear
>
> --
> Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
> webdesigner, webmaster et développeur web
> Trésorier du PLUG : Provence Linux User Group
> http://www.plugfr.org/
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


-- 
Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
webdesigner, webmaster et développeur web
Trésorier du PLUG : Provence Linux User Group
http://www.plugfr.org/



More information about the TYPO3-english mailing list