vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hack Request- User's can get their status! (https://vborg.vbsupport.ru/showthread.php?t=50941)

Jeepha 03-29-2003 01:40 AM

Hack Request- User's can get their status!
 
I have 120k registered users and I get about 150 emails a day on "why cant I post?"

It would be nice if they could click on a link that would look up their status and give them a canned answer: (Poorly written examples below)

Awaiting email validation:

"WHen you registered to the forums, an email was sent to the address you registered that contains information on how you can validate your account. CLICK HERE to send a new Email Validation...."

COPPA:

"You are registered as a child under age 13. When you registered a COPPA form was emailed to the address you provided for your parents. This form must be filled out and signed, then returned to us via fax or email. CLICK HERE to send a new form to your parents."

Unregistered:

"You need to register to the message boards before you can post. If you have already registered a user name, then you need to log in before you attempt to post."

I apologize if this hack already exists, I have looked for an hour and found nothing.

filburt1 03-29-2003 01:43 AM

Just add it to the nopermission templates. On my forums' it's bold and red.

Erwin 03-29-2003 01:43 AM

This hack already exists - custom error message for email confirmation users... try looking in the hack db.

Jeepha 03-29-2003 02:19 AM

Well, I could modify the existing no-permissions template, but Id rather have a custom no-permissions for each error.

I have found some examples in the hack db, but they explode my version 2.3.0 when implemented within admin/functions.php:

else {
if($bbuserinfo[usergroupid] == 3) {
eval("standarderror(\"".gettemplate("error_nopermi ssion_awaiting_moderation")."\ ");");
}
else {
if($bbuserinfo[usergroupid] == 4) {
eval("standarderror(\"".gettemplate("error_nopermi ssion_awaiting_coppa")."\");") ;
}

Is there an easier way to do this?

drives fast 03-30-2003 06:14 AM

what was the name of the hack you found?

I have been digging through the hack db and cannot find anything

Jeepha 03-31-2003 10:16 PM

Nevermind, got it working. Im using vbb2.30.

I find this very useful, I posted it in the hacks database if you want it.

drives fast 04-01-2003 12:40 AM

can you tell me the name of that hack? I cannot find it in the hack db


All times are GMT. The time now is 10:02 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.00956 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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