![]() |
How to manipulate $_GET?
I want to make a hook in memberlist.php and therefore want to change an empty $sortfield = $vbulletin->input->clean_gpc('r', 'sortfield', TYPE_STR); to value 'lastvisit'. How can I manipulate the $_GET variable?
|
You have to edit the $_REQUEST variable.
PHP Code:
|
That might not work as he's cleaning it. Try this:
PHP Code:
|
both codes work great! Thank you both very much!
|
All times are GMT. The time now is 12:48 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:
|