Prevent Unconfirmed Email Addresses from Browsing Community

Prevent Unconfirmed Email Addresses from Browsing Community [Paid] v1.3.0

No permission to buy ($10.00)

Wutime

Well-known member
Wutime submitted a new resource:

Prevent Unconfirmed Email Addresses from Browsing Community - Prevent users with unconfirmed email address from browsing community until confirmed

Prevent all newly registered users with unconfirmed email addresses from viewing community pages until they’ve confirmed their email address.

Features include:
  • Show detailed message warning users to confirm email (versus default XF notice)
  • Option to add account email update link within message (on/off [default=on])
  • Option to remove other notices from displaying (remove default XF notice [default=off])
  • The message is forced site-wide except on “Account” pages (to...

Read more about this resource...
 
Can translate "You have the following option(s)".
Hey :), here is the solution for this missing phrase. In the template wutime_preventemailconfirm_message of this addon, replace the following line:
HTML:
<li>You have the following option(s):
with this:
HTML:
<li>{{ phrase('wutime_options_phrase_warn_msg') }}

Then create an expression in English with the title
CSS:
wutime_options_phrase_warn_msg
and for the text of the expression: "You have the following option(s):" (of course! ;))

Then finally, all you have to do is create the 2nd expression in the language of your choice. Same process, you give the same title
CSS:
wutime_options_phrase_warn_msg

That's all!

Great addon, thanks Wutime! I regularly have users who do not confirm their email and sometimes some of them reconnect several times without changing anything.
 
Last edited:
When "Remove other notices when warning message is showing" is enabled and a user is awaiting confirmation from edit , the notice disappears.
 
Cannot see the latest V for download.

Order:

2060

Woah, you took up a lot of space for that message. Try a CTRL+SHIFT+V next time. :)

Your order was Apr. 14, 2023, that's 14+ months ago. The license expired.
 
Last edited:
Woah, you took up a lot of space for that message. Try a CTRL+SHIFT+V next time. :)

Your order was Apr. 14, 2023, that's 14+ months ago. The license expired.
That was copy and paste :) -- I've locally got a high resolution so I'm using the in built screen capture and crop tool.

1719214018861.webp

Clicking resend email from the yellow notice doesn't work. The top one does -->

1719214040472.webp

which produces

1719214051625.webp

but the yellow redirects to /account-confirmation/resend without a popup initiation.
 
First of all, Thank you @Wutime for this nice addon. And I would like to update people who doesn't want to use addon.
  1. Add a new user group for Unconfirmed Users. You can add user banner, user CSS etc, to easily identify these users.
  2. Add User group promotion, and apply the rule as "User state is: Awaiting Email Confirmation"
  3. Run the "Rebuild user group promotions" cron
  4. Change the following phrases
Find below phrase and add the following HTML code​
your_account_is_currently_awaiting_confirmation_confirmation_sent_to_x
HTML:
<table border="0" style="border-collapse: collapse; width: 100%; height: 24px;">
<tbody>
<tr style="height: 15px;">
<td style="width: 100%; height: 15px; background-color: #ff0000; vertical-align: middle;" colspan="2">

<h3 style="text-align: center;"><span style="color: #ffffff;"><strong>YOUR ACCOUNT IS CURRENTLY AWAITING EMAIL VERIFICATION</strong></span></h3>
</td>
</tr>
<tr style="height: 18px;">

<td style="width: 12%; height: 18px; vertical-align: middle;">
<p><img src="/https://www.svgrepo.com/show/407712/warning.svg" alt="" width="40%" alt="" /></p>
</td>
<td style="width: 87.8426%; height: 18px; vertical-align: middle;">To access the full content of the forum, please click the verification link sent to the email address (<strong><span style="color: #339966;">{email}</span></strong>) you provided during registration. If you have entered your e-mail address <span style="color: #00ccff;"><strong>incorrectly</strong></span>, please update it by navigating to Your <strong>Account > <a href="/account/account-details">ACCOUNT DETAILS</a></strong>.</td>
</tr>
</tbody>
</table>
Find below phrase and add the following HTML code​
resend_confirmation_email
HTML:
<table border="0" style="width: 100%; border-collapse: collapse; background-color: #0094FF;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;">
<h3><span style="color: #FFFFFF;"><strong>RESEND ACCOUNT VERIFICATION EMAIL</strong></span><span style="color: #FFFFFF;"><strong></strong></span></h3>
</td>
</tr>
</tbody>
</table>
Result
1734341891094.webp
 
Last edited:
Like @ENF pointed out, this is only targetted towards the "unconfirmed" usergroup, which isn't usually a usergroup googlebot would be viewing your website under.
Hello again, I want to ask, since Xenforo core acts in a certain way and I want to know if it's the same with this plugin.
I want unregistered/guest to see the forum (read only).
But I want "waiting email confirmation" users to see only the warning to confirm their emails (View = no)
This goes against XF behavior since all non-valid users get the same permission from the unregistered/guests.

My question is: does your plugin take care of this?
Where guests can see the board but not the unconfirmed.
 
My question is: does your plugin take care of this?
Where guests can see the board but not the unconfirmed.
Guests can see the board, but once registered, until they've confirmed, they're forced to confirm their email.

It's exactly what's in the description:

Prevent all newly registered users with unconfirmed email addresses from viewing community pages until they’ve confirmed their email address.

A warning message is shown to the user notifying them they need to confirm their email address before continuing to browse the community.

Does that answer your question?
 
Back
Top Bottom