if ($user->uid && $user->access > 0) {
$output .= t('Welcome To My Site '. $user->name .' The time is );
return $output;
unset($output);
}
else {
$output .= t('To Login Please go to http://www.mysite.co.za/?q=user');
}
return $output;
unset($output);
}
This will solve your problem.
please transfer the amount on my paypal a/c [mkbansal84@gmail.com is my paypal id](if you want)
Ive tried this and other things and its still doesn't work. The funny thing is that when I disable the Require e-mail verification when a visitor creates an account check box its works. So my question is what do you set the global $user variable to if a user is registered and not verified?
In Open Source I Trust! Everybody Else Must Pay Cash!
Comments
solution
use
if ($user->uid && $user->access > 0) {
$output .= t('Welcome To My Site '. $user->name .' The time is );
return $output;
unset($output);
}
else {
$output .= t('To Login Please go to http://www.mysite.co.za/?q=user');
}
return $output;
unset($output);
}
This will solve your problem.
please transfer the amount on my paypal a/c [mkbansal84@gmail.com is my paypal id](if you want)
I will see if this works and pay
Hi I
I will see if this works and if it does I will make the payment.
In Open Source I Trust! Everybody Else Must Pay Cash!
This still doesnt work
Ive tried this and other things and its still doesn't work. The funny thing is that when I disable the Require e-mail verification when a visitor creates an account check box its works. So my question is what do you set the global $user variable to if a user is registered and not verified?
In Open Source I Trust! Everybody Else Must Pay Cash!