The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
![]() PHP Code:
|
#22
|
||||
|
||||
![]()
i dont see $profilefields2[fieldx] in that code
I think the code would be something like this: PHP Code:
However.... i know i have to edit alot where it sais $webpage['text'] but how would i edit it so that it works as $profilefields2['fieldx'] where x is the profilefieldid |
#23
|
||||
|
||||
![]()
i'm assuming webpage[text] is the field you're reffering to from the useroptions right?
then that being the case you could just select that field with a query assign it to webpage text and voila you have what you need. but in these peoblems it's hard to help as it's less about pointing out the error in the code, it's more about building the code and with limted info that's very hard ps replace you're iff's with trinary operators and also you'll find data from the DB selects alot faster when columns are specified as opposed to wild cards. |
#24
|
||||
|
||||
![]()
I'm sorry but i am not a php coder, i am still in the learning process when it comes to php. If i have not been sepcific as to what it is i want to do let me say it once more
![]() The $webpage[text] has limits as to what html is allowed.... i would like the same for $post[fieldx] (where x is the ID of the profile field). I would just like for $post[fieldx] to follow the same html rules as $webpage[text] Thanks once again, Gio |
#25
|
||||
|
||||
![]()
what is the query $webpage?
|
#26
|
||||
|
||||
![]()
[high]*gio~logist takes a ballpark*[/high]
PHP Code:
|
#27
|
||||
|
||||
![]()
nope, it will be above that and it should say something like $webtext = $DB_site->query("
etc |
#28
|
||||
|
||||
![]()
this is what i've seen so far that looks anything like what you posted
PHP Code:
|
#29
|
||||
|
||||
![]()
find the $row variable's creation.
|
#30
|
||||
|
||||
![]()
THIS?
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|