
03-22-2008, 03:02 AM
|
|
|
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Leica.Robbiani
Hi there,
I've changed 2 Plugin's to get this Mod work, Thread Description - Edit Post and the Thread Description - Update Description.
The original code of the first one is
PHP Code:
<plugin active="1" executionorder="5"> <title>Thread Description - Edit Post</title> <hookname>editpost_update_start</hookname> <phpcode><![CDATA[if ($postinfo['postid'] == $threadinfo['firstpostid']) { $vbulletin->input->clean_gpc('p', 'description', TYPE_STR); $edit['description'] =& $vbulletin->GPC['description']; }]]></phpcode> </plugin>
my code is
PHP Code:
<plugin active="1" executionorder="5"> <title>Thread Description - Edit Post</title> <hookname>editpost_update_start</hookname> <phpcode><![CDATA[$vbulletin->input->clean_gpc('p', 'description', TYPE_STR); $edit['description'] =& $vbulletin->GPC['description'];]]></phpcode> </plugin>
In the second Plugin I've just changed in the if-question the AND in an OR.
With this little changes it works correctly for me on 3.6.8PL2.
Leica Robbiani
|
Tried that... no show.
Any other tips?
|