vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Indicate USER account status (https://vborg.vbsupport.ru/showthread.php?t=287320)

stryka 08-31-2012 07:57 PM

Indicate USER account status
 
Alot of times users login and they don't releasize the reason they can't post is cuz they didn't validate the activation email.

Is there any way to have a special msg for registered users who are not validated? somethign like "CLICK HERE" to resend validation or "Check your Junk mail for activation cuz your account is not ACTIVATED?"

The generic no access msg is not clear ...IMHO

ForceHSS 08-31-2012 08:12 PM

you could put something like guests see at the header
Quote:

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
just change the wording

stryka 09-16-2012 09:06 PM

Would like something specific... some ppl register and don't even know that they have to request activation email ... cuz their account is not activated

Quote:

Originally Posted by ForceHSS (Post 2361562)
you could put something like guests see at the header

just change the wording


perfphysio 04-01-2013 01:14 PM

I have to agree. In fact the user activation link and subsequent completion of registration is perhaps the poorest part of vbulletin. It would be great to see the vb team perform a customer user experience and signup pathway to make this more simple and robust.

Skivey 04-01-2013 01:24 PM

I have a piece of code in the postbit legacy template for all users that havent verified their account for use of cirtain forums. Perhaps you could use this?

HTML Code:

<if condition="$post['field35']"><div class="smallfont"><div class="highlight">Member Status: $post[field35]</div></div></if>
Field 35 is text field called "Account Status" and in it says "unverified". when a user verifies there acount it will be removed.

Im sure it could be played with to do what you want, like:

HTML Code:

<if condition="$post['usergroupid'] == xx"><div class="smallfont"><center>Account requires e-mail activation</center></div></if>
You would need to put this in the right place on your postbit or postbit legacy template, and al you need to do is replace xx with the usergroup number that is for account not verified

omardealo 04-04-2013 07:10 AM

u can use this code .

PHP Code:

<if condition="is_member_of($vbulletin->userinfo,'3')">
// here ur msg and u can use HTML . this msg only show for registered users who are not validated 
</if> 

Number 3 that's usergroup id for (Users Awaiting Email Confirmation) ..
and put code in header or any template u want


All times are GMT. The time now is 02:39 PM.

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.01304 seconds
  • Memory Usage 1,723KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete