![]() |
Parse bbcode/clean_gpc.
I've been trying to do it this way but it keeps telling me I'm using clean_gpc wrong.
Code:
<?php Quote:
|
Try..
Code:
$input->clean_gpc('p', 'article', TYPE_STR); |
Still having the same problem :\ new code below.
Code:
<?php |
Try using $vbulletin->input->clean_gpc (and also $vbulletin->GPC to access the value).
|
kh99 always beats me to these things, but I just want to add that using -> after a variable should only be done if you have instantiated a class with it.
For example: PHP Code:
|
Quote:
|
Quote:
Quote:
|
Quote:
You were using $input, which is not an instance of any class- especially of vBulletin's! Can I ask why you were using $input? |
I don't know :\
|
All times are GMT. The time now is 03:59 PM. |
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:
|