Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adriano Faria Posted August 8, 2018 Author Posted August 8, 2018 You better use same size for all icons. You can see the last one is smaller. But I’ll take a look in next version. AmericanRev2 1
CavySpirit Posted August 10, 2018 Posted August 10, 2018 How can I rename "Links Directory" on my menu to just "Directories". I need it shorter. Thanks.
Adriano Faria Posted August 10, 2018 Author Posted August 10, 2018 7 hours ago, CavySpirit said: How can I rename "Links Directory" on my menu to just "Directories". I need it shorter. It’s a language bit. Change it in ACP -> Customization -> Languages. CavySpirit 1
Bluto Posted August 10, 2018 Posted August 10, 2018 In a future release, would it be possible to have an option to turn off the duplicate link protection? I'm working on a project which duplicate links isn't an issue. I couldn't find any settings to turn that protection off. If there is a setting, please let me know. Thanks! Adriano Faria 1
Adriano Faria Posted August 10, 2018 Author Posted August 10, 2018 Ok, I’ll add a setting. Currently you can edit a file to allow this. Let me know if you want me to show you how to do it. Bluto 1
Bluto Posted August 10, 2018 Posted August 10, 2018 (edited) 3 minutes ago, Adriano Faria said: Ok, I’ll add a setting. Currently you can edit a file to allow this. Let me know if you want me to show you how to do it. Sure, I'd love the code. Thanks for adding the setting. ? Edited August 10, 2018 by Bluto
Adriano Faria Posted August 10, 2018 Author Posted August 10, 2018 OK. I’ll post here within an hour (when I reach my PC). Bluto 1
Bluto Posted August 10, 2018 Posted August 10, 2018 (edited) Thank You. No rush. Whenever you get a chance. Edited August 10, 2018 by Bluto
Adriano Faria Posted August 10, 2018 Author Posted August 10, 2018 Open applications\links\sources\Link\Link.php and find: $return['url'] = new \IPS\Helpers\Form\Url( 'link_url', ( $item ) ? $item->url : '', TRUE, array( 'allowedProtocols' => array( 'http', 'https' ) ), function( $val ) use ($item) { if( \IPS\Request::i()->do == 'submit' ) { $count = \IPS\Db::i()->select( 'COUNT(*)', 'links_links', array( 'link_url=?', $val ) )->first(); if ( $count ) { throw new \InvalidArgumentException('link_in_use'); } } } ); Change to: $return['url'] = new \IPS\Helpers\Form\Url( 'link_url', ( $item ) ? $item->url : '', TRUE, array( 'allowedProtocols' => array( 'http', 'https' ) ) ); @Bluto Bluto 1
Alexander Dearden Posted August 10, 2018 Posted August 10, 2018 I recently bought this addon for our little community, but for the life of me I cannot get the star ratings to even show up. I have added the ability to the group, and enabled it in the settings for the category. It is working on my blogs setup, and I can make it work in the normal forum. Have you any suggestions?
Adriano Faria Posted August 10, 2018 Author Posted August 10, 2018 Star rating is tied to reviews. Enable reviews in categories and then when someone review a link,
Alexander Dearden Posted August 10, 2018 Posted August 10, 2018 I have fixed it! It seems that if you just rename the default link directory and use that the star ratings don't work, at least they didn't for me. I just created new directories, and they have worked just fine.. So I guess I have solved it!! Thanks any way.
Alexander Dearden Posted August 10, 2018 Posted August 10, 2018 Nope not fixed ? I can now see the stars, I just cant with any user give any stars. 28 minutes ago, Adriano Faria said: Star rating is tied to reviews. Enable reviews in categories and then when someone review a link, Got it !!!!!! Thank you...
Adriano Faria Posted August 10, 2018 Author Posted August 10, 2018 (edited) The only way to stats appears is enabling the REVIEWS, as I told 29 minutes ago: Edited August 10, 2018 by Adriano Faria
Alexander Dearden Posted August 10, 2018 Posted August 10, 2018 2 minutes ago, Adriano Faria said: The only way to stats appears is enabling the REVIEWS, as I told 29 minutes ago: I had reviews enabled.
Adriano Faria Posted August 10, 2018 Author Posted August 10, 2018 1 minute ago, Alexander Dearden said: I had reviews enabled. Then starts will appear when someone is submitting a review:
Alexander Dearden Posted August 10, 2018 Posted August 10, 2018 1 minute ago, Adriano Faria said: Then starts will appear when someone is submitting a review: They do now.. The mistake I made (if you can call it a mistake) was that I just renamed the default directory that came with Links Directory, that didn't show up any stars at all, I did have the "Allow review" thing checked, but it didn't work. I then created other directories, and they were fine, just the original one wasn't. I have it sorted now, I just deleted the original default directory, and all is well with the world. Thanks for your help.
Sonya* Posted August 20, 2018 Posted August 20, 2018 When sorting links by rating within a category view, the links with one 5-star review are displayed above links that have more than one 5-star reviews. Like this: Link 1 (5 stars, 1 review) Link 2 (5 stars, 4 reviews) Link 3 (5 stars, 10 reviews) I would list other way: the more reviews, the higher in the list. Is it possible to add number of reviews to the rating sorting?
Adriano Faria Posted August 20, 2018 Author Posted August 20, 2018 That’s not how it works. I can only sort by one column and it is rating. Number of ratings do not count here. Same happens in Downloads, etc.
Sonya* Posted August 20, 2018 Posted August 20, 2018 4 minutes ago, Adriano Faria said: That’s not how it works. I can only sort by one column and it is rating. Number of ratings do not count here. Same happens in Downloads, etc. Is it something to be changed in the core?
Adriano Faria Posted August 20, 2018 Author Posted August 20, 2018 I need to see if I can make a workaround. I’ll let you know tomorrow. Sonya* 1
Sonya* Posted August 20, 2018 Posted August 20, 2018 Yes. I can see the "wrong" sorting in downloads as well https://invisioncommunity.com/files/category/163-utilities-and-stats/?sortby=file_rating&sortdirection=desc Adriano Faria 1
Adriano Faria Posted August 20, 2018 Author Posted August 20, 2018 Then I won’t take a look. It’s a core thing. I mean, probably a workaround can be applied somewhere but I rather do it properly following IPS pattern. I’d suggest you create a topic in Feedback forum. Sonya* 1
mardiv Posted September 10, 2018 Posted September 10, 2018 Hi, Can I make fields (Title, Description) as optional fields and not requied?
Recommended Posts