Yeah, did that, still allows me to post without selecting an attribute.nou nou wrote: ↑Tue Apr 24, 2018 7:49 pm And you did this? viewtopic.php?p=14990076#p14990076
That fixed it for me.
Code: Select all
if ($post_data['attr_id'] == \ernadoo\qte\qte::REMOVE && ($event['mode'] == 'post' || ($event['mode'] == 'edit' && $event['post_data']['topic_first_post_id'] == $event['post_id'])) )
Code: Select all
if ($post_data['attr_id'] == 0 && ($event['mode'] == 'post' || ($event['mode'] == 'edit' && $event['post_data']['topic_first_post_id'] == $event['post_id'])) )
I see. Any ideas as to why the first example doesn't work for me though? I stripped the forum down so it was default prosilver and no other mods, so am stumped as to why it wasn't working.
Sort by attribute would be awesome indeed.nou nou wrote: ↑Tue Apr 24, 2018 7:51 pm I must say, once it works it's pretty superb what this extension does.
The ONLY thing I'm missing is the ability to click the attribute and get a search result with it. I know I can go into the search for it, but being able to do that directly would be amazing. That, or even better being able to sort by attribute.
That's a pretty sweet feature, actually... nice!