The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Nope
Looking through the vB admin cp files, maybe I should be writting the values out to a cookie upon submit. Then do various verification checks in the do=updatemanager part of the code with a cookie read? |
#12
|
|||
|
|||
Change
PHP Code:
PHP Code:
Change PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#13
|
||||
|
||||
<font color="darkgreen">Where can I find documentation on clean_array_gpc or clean_gpc or GPC? php.net doesnt have these so I assume they are vB specific but there in nothing on vb.org about it but members code.
Edit: found it at vb.com and still no help from it. Telling me GPC is a wrapper doesnt help the situation at all. Why is vB so damn freaking limited on its technical documentation.</font> |
#14
|
|||
|
|||
Well modifications aren't exactly supported so
If you haven't already you can try Quote:
Did you get anywhere even with the changes I suggested? |
#15
|
||||
|
||||
That API link should come in handy. Thanks
Part of the issue is that I am learning PH and vB code stuff at the same time. I dont think its hard at all just lacking information. I have got as far as I have by going over all the code in vB and trying to decipher it. So far so good. I have custom pages added and tempaltes etc but its so much easier with templates/php code but to go on php alone is harder for me. I originally started with this https://vborg.vbsupport.ru/showthread.php?t=83122 but it doesnt have anything on validating the data and whats the proper safe logic. This is taking way too long for something that I think is simple. I just need to know how its done so I can integrate that into my code. PHP Code:
--------------- Added at 11:18 --------------- What is the diff of "...clean_array_gpc('r'" and "...clean_array_gpc('p'"? Its not in the docs. --------------- Added at 20:46 --------------- I ended up recoding the code block from scratch. I clean_array_gpc'd in each if/elseif conditional along with the vars set by the GPC call. Seems to work now. Guess it was some code error that I just couldnt track down. I did find that die('<pre>'.print_r($vbulletin->GPC, true).'</pre>'); will give me the output of whats in the array for "debugging" which helped too. Thanks for all your time and assistance |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|