vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Mass Activation Code or Email password reminder to Users (https://vborg.vbsupport.ru/showthread.php?t=71177)

mamboking 05-18-2005 07:27 PM

do you mind sharing the code?

Quote:

Originally Posted by Dennis Olson
I also have a template conditional in the Header template that tells these users that they need to activate their accounts. It also gives the CORRECT link for them to request a new confirmation email.


Dennis Olson 05-18-2005 07:39 PM

Immediately above this statement in your header template:

$_phpinclude_output

Add:

Code:

<if condition="$bbuserinfo[usergroupid] == 3">
  <div align="left" style="color: red; background-color: white; border: 1px solid black; padding:2px">Your account is awaiting email confirmation to activate. Please click the activation link in the email you were sent, or visit <a href="register.php?$session[sessionurl]do=requestemail">this page</a> to resend the activation email. If you did not receive the email then it's possible it was blocked by your email client. In this case you can either disable your blocker software or enter a new email address in <a href="profile.php?$session[sessionurl]do=editpassword">your profile</a>.</div>
</if>

Note that you can add conditionals for ANY usergroup you like. I also have one for banned and inactivated users.

Cyricx 05-18-2005 08:17 PM

I use sabres hack, very very effective and keeps that stuff cleaned up rather nicely :)

SpaceStar 10-20-2005 06:36 PM

Quote:

Originally Posted by nautiqeman
does this work?

It worked very well on my site as well :)

auz1111 10-24-2005 01:19 PM

Quote:

Originally Posted by Dennis Olson
Immediately above this statement in your header template:

$_phpinclude_output

Add:

Code:

<if condition="$bbuserinfo[usergroupid] == 3">
  <div align="left" style="color: red; background-color: white; border: 1px solid black; padding:2px">Your account is awaiting email confirmation to activate. Please click the activation link in the email you were sent, or visit <a href="register.php?$session[sessionurl]do=requestemail">this page</a> to resend the activation email. If you did not receive the email then it's possible it was blocked by your email client. In this case you can either disable your blocker software or enter a new email address in <a href="profile.php?$session[sessionurl]do=editpassword">your profile</a>.</div>
</if>

Note that you can add conditionals for ANY usergroup you like. I also have one for banned and inactivated users.


nice one! thanks :)


All times are GMT. The time now is 06:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01089 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete