PDA

View Full Version : Hack Request- User's can get their status!


Jeepha
03-29-2003, 01:40 AM
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_nopermission_awaiting_moderation")."\ ");");
}
else {
if($bbuserinfo[usergroupid] == 4) {
eval("standarderror(\"".gettemplate("error_nopermission_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