Jump to content

Links Directory

Featured Replies

  • Author

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. 

  • Replies 1.5k
  • Views 115.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I've removed two posts from this topic as there's no need to allow a support topic to descend to what is not far off insulting. Lets try to keep it civil. Thank you.

  • Adriano Faria
    Adriano Faria

    I can't reproduce: Not sure why it is pointing on a file called CATEGORIES.PHP, when the right one is CATEGORY.PHP. I should have changed that in some point, so it's a FALSE positive th

  • Adriano Faria
    Adriano Faria

    Yes: Actually, I've made a clean in a lot of things that I thought was not necessary. But this and a few other things I decided to keep but all of them are perfectly removeable by settings.

Posted Images

How can I rename "Links Directory" on my menu to just "Directories". I need it shorter.

Thanks.

  • Author
 

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.

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!

  • Author

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. 

 

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 by Bluto

  • Author

OK. I’ll post here within an hour (when I reach my PC).

Thank You.  No rush.  Whenever you get a chance.  :smile:

Edited by Bluto

  • Author

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

Thank You!  

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?

  • Author

Star rating is tied to reviews. Enable reviews in categories and then when someone review a link,

wWfMWIN.png

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.

 

Nope not fixed ? I can now see the stars, I just cant with any user give any stars. 

 
 

Star rating is tied to reviews. Enable reviews in categories and then when someone review a link,

wWfMWIN.png

Got it !!!!!! Thank you...

  • Author

The only way to stats appears is enabling the REVIEWS, as I told 29 minutes ago:

 

Edited by Adriano Faria

 
 

The only way to stats appears is enabling the REVIEWS, as I told 29 minutes ago:

 

I had reviews enabled.

 

  • Author
 

I had reviews enabled.

Then starts will appear when someone is submitting a review:

wWfMWIN.png&key=bba9ec002c8c9600fc5706d0

 
 

Then starts will appear when someone is submitting a review:

wWfMWIN.png&key=bba9ec002c8c9600fc5706d0

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. 

  • 2 weeks later...

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?

  • Author

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.

 

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? 

  • Author

I need to see if I can make a workaround. I’ll let you know tomorrow. 

  • Author

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. 

  • 3 weeks later...

Hi,

Can I make fields (Title, Description) as optional fields and not requied?

Recently Browsing 0

  • No registered users viewing this page.