![]() |
How to edit customfield for plugin
Hi,
We used to do something like this in vb3.x <hookname>profile_complete</hookname> PHP Code:
Any help is appreciated. Regards, |
It would work if you then preregister the array $customfields for use in the template you are going to use them in.
Cellarius wrote a really good article that you may be interested in - [vB4] Rendering templates and registering variables - a short guide |
Quote:
Can you please explain more? In cellarius article he is talking about forumhome that we add our template to it I have no problem with that. What i want to do is to add more options to user options and not in my template so the customfields array should be there in profile_copmlete or profile_start hook am realy :confused: Regards, |
cellarius is just giving examples in his tutorial. If you need to use variable $my_variable in template USERCP_SHELL, then you would write:
PHP Code:
|
Thanks again Lynne
I will try it .. Regards, |
All times are GMT. The time now is 06:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|