Quote:
Originally Posted by bananalive
Find in plugin Easy Forms Part 1:
PHP Code:
$postdm->set('userid', $postuserid);
Add below:
PHP Code:
$postdm->set('thumbnailurl', $newpost['thumbnailurl']);
|
I tried that and then submitted an image URL with and without [url] tags in the box created in step.2
Quote:
Originally Posted by steve71
- I had version 3.7 so I uploaded the new one you posted anyway and over-wrote the current.
- I created a custom question and in the PHP box I put:
$answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
- Form Hook Before Submit I put:
$vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR);
$newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
- In the new question box I created I tried pasting an image url both with and without [img] tags but no thumbnail.
|
Should I undo steps 1-3 and only edit the plugin Easy Forms Part 1?