The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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?
|
#2
|
||||
|
||||
You have to edit the $_REQUEST variable.
PHP Code:
|
#3
|
||||
|
||||
That might not work as he's cleaning it. Try this:
PHP Code:
|
#4
|
||||
|
||||
both codes work great! Thank you both very much!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|