Quote:
Originally Posted by emtee
This hack seems to use a lot of queries for me when I move it down to above signature in postbit. It shows 3 uncached templates for EACH POST: itemshop_invpostbit_begenning, itemshop_invpostbit_end, itemshop_invpostbit_item. So when someboy view a thread with 25 posts, it would use 100+ queries just for that thread view alone!
Do you have any fix for this?
By the way, in a later release, can you change itemshop.php to imageshop.php because this hack is incompatible with the RPG Integration hack because both use the same itemshop.php filename.
Many thanks in advance.
|
Do a file edit in showthread.php
Look for
Code:
'editor_clientscript',
'editor_jsoptions_font',
'editor_jsoptions_size',
);
replace with
Code:
'editor_clientscript',
'editor_jsoptions_font',
'editor_jsoptions_size',
'itemshop_invpostbit_begenning',
'itemshop_invpostbit_end',
'itemshop_invpostbit_item',
);
you may also want to add it to showpost.php