
06-28-2009, 05:15 PM
|
|
|
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by steve71
Bump
Just wondering if you've had any time...even if you just added a thumbnail upload option if its easier than integrating or calling up the hook from threadthumbnails
Then we could remove the edit option for threads and prevent any altering of the form output.
|
- import attached product file
- Create a Custom Question
- PHP code:
PHP Code:
$answer = '<input type="text" id="thumbnailurl" name="thumbnailurl" value="'.htmlspecialchars($newpost[thumbnailurl]).'" />';
- Form Hook: Before Submit:
PHP Code:
$vbulletin->input->clean_gpc('p', 'thumbnailurl', TYPE_STR); $newpost['thumbnailurl'] =& $vbulletin->GPC['thumbnailurl'];
|