Gossamer Forum
Home : Products : Gossamer Links : Discussions :

LinksSQL 2.0.1: kind of a bug report...

Quote Reply
LinksSQL 2.0.1: kind of a bug report...
Hi,
I've downloaded the new version of LinksSQL - 2.0.1. For me, the only one plus was that this version correctly works with YahooSubCats plugin, I needed this...
Other working is maybe some kind of dissapoint. Earlier, I have the LinksSQL 2.0.0. beta 4, and it hasn't the following:
1) I try to guess, 2.0.1. incorrectly works with permissions. I need to set some permissions manually (f.e., .htacces/.htpasswd), also globals.txt was with incorrect permission. It doesn't matter which server I have, 'cause beta works normally with that.
2) I have misunderstood spaces in final HTML code when displaying links in Categories, so I need to compress HTML code obligately for correct design.
3) Some radio-buttons options in Setup (f.e., build_new_gb, build_cool_gb, build_category_yahoo) are not displayed at all (they are empty) by default, and the setting value is not displayed, even after I set it.

Of course, new "feature" with adding new link (you need to go to the some of the category), when we have no more drop-down list (it was already mentioned here) is NOT a _hot_ feature.

Hope that helps in your work.
Waiting for new version...


Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
Well, I can help with your last question if I understand you right...

If you want to be able to add a new link from any page on your site, including non cgi generated pages, simply add a link to add.cgi as follows...

/cgi-bin/add.cgi?ID=0

This will then display the add form with the categories in a dropdown with the corect "ID'S" embeded in the dropdown box.

Make sure you have db_gen_category_list set to Yes in the Admin Build Options.

This is what I use and it works flawlessly.
Hope that helps!


Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
Unfortunatelly, it doesn't work fo rme... :(
Guess, I need to change something in a code to get this working...

Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
It should do,

Make sure you have...

1: db_gen_category_list set to Yes in the Admin Build Options.
2: Your add.html page is in the templates directory.
3: You have <%Category%> in the add.html page.
4: You do a build in the admin.



Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
Oh, thanks... ;)
I guess, there is no sense in setting ID=0 in a URL field, 'cause this option is saying "Generate a category list. If you have a long set of categories, set this to No so that you don't get very large _drop down lists_."

I didn't know even it was set to No or Yes (this problem is described in the 1st post), but I have set it to YES and now it works normally... thanks for solving this point!

Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
> I guess, there is no sense in setting ID=0 in a URL field, 'cause this option is saying "Generate a category list.

I use the ID=0 becouse of some probs I had, but yes, you dont need the ID tag in the URL.

As for the radio boxes not keeping the settings, this shows on my sytem too, prehaps a fix is in the works?

-Cheers.

Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
Hi,

We will be relasing 2.0.2 today as soon as we get some issues with Links 2.0 => Links SQL 2 importing fixed.

1. I'll double check to make sure the permissions are set properly.
2. I'm not sure about this one. Can you explain a bit more?
3. Yes, this is a bug in the template parser that will be fixed with 2.0.2.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
About 2nd question... this is not the big bug, and in the final version of catalog after setting all templates we can surely compress HTML output... there is only no logic. For example, I have the following template for link.html:
<ul>
<li>
<img src="<%build_images_url%>/default/img/heart.gif" width=16 height=16 alt="<%Title%>" border=0 align="absmiddle"> <b>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="<%Title%>"><%Title%></a>
</b>

<%if Description%>

<font size=2><%Description%></font>
<%endif%>

<%if isNew%>
<small><sup class="new"><font color=#C60B27>new</font></sup></small>
<%endif%>

<%if isChanged%>
<small><sup class="new"><font color=#C60B27>update</font></sup></small>
<%endif%>

<%if isPopular%>
<small><sup class="pop"><font color=#C60B27>pop!</font></sup></small>
<%endif%>




<small> <font color="#808080">(<b>Hits:</b> <%Hits%> <b>Rating:</b> <%Rating%> <b>Votes:</b> <%Votes%>) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a></font></small>

<%if isLinkOwner%>
<small><a href="<%db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Update</a></small>
<%endif%>
</ul>

When displaying FIRST link of the category, it seems like it is displayed with COMPRESSED code, f.e.:

<ul><li><img src="/images/default/img/heart.gif" width=16 height=16 alt="Amazing Love" border=0 align="absmiddle"> <b><a href="/jump.cgi?ID=3220&d=1" target="Amazing Love">Amazing Love</a></b>
<font size=2>Lonely Tonight?..</font>
<small><sup class="pop"><font color=#C60B27>pop!</font></sup></small>
<small> <font color="#808080">(<b>Hits:</b> 1 <b>Rating:</b> 0.00 <b>Votes:</b> 0) <a href="/rate.cgi?ID=3220&d=1">Rate It</a></font></small></ul>


Other links after 1st are displayed normally, but via this "compressing" 1st link looks different from others, see a screen shoot:

http://www.geocities.com/lee_fatung/sites_example.jpg

With yellow marked those "spacing" areas. You can see, that the first link (why?) is different from others, there is like "one" space between image and link, and others contains "two" spaces. That's the reason. Of course, compressing the pages gives the same result anywhere.

Quote Reply
Re: LinksSQL 2.0.1: kind of a bug report... In reply to
Still about 2nd question...
I've just downloaded and installed ver. 2.0.2, and there is no this bug anymore. Also permissions work well. Guess, this release is more "stable", so thank you very much for your work!