The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
$vbulletin->userinfo['fieldxx']
Hi guys,
i tried something for this link but i could not. Look, i created userfield as radiobuttons and options: yes and no i want change userfield with link. i must write some code at misc_start hooks. i want when Code:
misc.php?do=changefield&message=yes i wrote some codes but not worked: PHP Code:
|
Благодарность от: | ||
GiayTrang |
#2
|
||||
|
||||
You are trying to change a field based on what is in the URL? If you are going to change the field, you would need to access the database and update it.
|
#3
|
||||
|
||||
yes i want change field with url. how do access the database and update it? i could not insert in plugin (in plugin)
|
#4
|
||||
|
||||
You would need to first clean the variable and then write a query to update it.
https://vborg.vbsupport.ru/showthrea...hlight=cleaner If you look at most any of the php files, you'll see examples of how to do this. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|