![]() |
vBulletin Options
1 Attachment(s)
Ok, so I know that if you want a field to be called from the edit profile page, you use the following code:
PHP Code:
What I would like to know how to do, is the following. I want to be able to tell the users what options they have selected. This will be displayed in USERCP template. I have removed the whole USERCP template code and customized it with a table (see screenshot) Example: If a user has selected "Receive E-Mail From Administrators" It will show on the USERCP: "You DO allow e-mail from administrators" If they are browsing as invisible, "You DO show as invisible" Obviously, these would be IF commands, so that if the box is ticked, it will say DO, if unticked, it will say DO NOT. What am I asking for? Well I have checked the variable list and can't see anything, so I would like to know which code to use for the following: Receive E-Mail Notification of Private Message Default Thread Subscription Mode Receive E-Mail from Administrators Receive E-Mail from other members These can all be found at: profile.php?do=editoptions |
yeahh, i need to know this too please!
|
I believe it's in the $userinfo[options] field. You'll need to decode that number there. I know I've seen how it's done. Check out /includes/functions_user.php and see if it's in there.
|
do you have a line number or any way of going about this?
|
To be honest, I really don't know how to do what you want. I found these lines in profile.php:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 10:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|