The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]() Quote:
Really appreciate you taking time on this. I followed your instructions and it worked like a charm - now when I make a reply in a thread, the icon automaticly changes to the iconID I set in ur code. Thanks a lot! |
#12
|
||||
|
||||
![]()
or if you want to use the datamanager, try this ;
Code:
if(is_member_of($vbulletin->userinfo, X)) { $thread =& datamanager_init('Thread', $vbulletin, ERRTYPE_SILENT, 'threadpost'); $thread->set_existing($threadinfo); $thread->set('iconid', Y); $thread->save(); unset($thread); } |
#13
|
|||
|
|||
![]() Quote:
Can I ask you what the difference is between your code and Andrew's? I mean ofc I can see the code is different, but other than the obvious, can you tell me whats the difference? Is your code more smooth for the server etc? ![]() |
#14
|
||||
|
||||
![]()
The datamanager (Paul's method) is the suggested way to do it, merely because it updates all the caches, etc.
|
#15
|
|||
|
|||
![]()
For some reason this code stopped working...
It worked perfect for 24hours, then just stopped working... I've posted in 4-5 different threads on different boards and the icon remains the default one. I'm the only super-admin with access to the plugin-codes and I've not changed anything, only double and tripple checked that the code is still there as it was the first 24hours where it worked fine. I'm using the datamanage code from Paul M. Any ideas why it would stop working? ![]() ![]() (add) Tried Andrews code and that works. However Paul M's code also worked like a charm the first 24hours, so I'm really confused, and wonder if Andrew's code will also only work temporarely hehe. |
#16
|
|||
|
|||
![]()
Any help would really be appreciated!
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|