Jump to content
Jack_mcs

Links Manager II

Recommended Posts

Every update has worked with existing links so there is no reason why you cannot do that. If it were my shop, after making a backup, I would install all of the files as if in a new install, overwriting your existing files. Then run the links_db_update.php file. That will update your Links settings without doing any damage. The last step would be to figure out what is missing with the tables associated with the links. The easiest way would be to export the data (not the structure) for all of your link manager tables, then delete them all of those tables, run the new sql, then upload the data sql file you created. I'm pretty sure all of that will work. Otherwise, you will need to go through the updates one at a time.

 

Jack

Share this post


Link to post
Share on other sites

Can someone please guide me in the right direction?

 

I'm trying to display more then 1 featured link in /includes/boxes/links.php

 

When i add one more line like the following code. it just displays the same link twice:

 

$info_box_contents[] = array('align' => 'center',

'text' => '<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>' .

'<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>');

 

I want it to display 10 different featured or regular links.. whichever is easier to do.

 

Thank you

Share this post


Link to post
Share on other sites
How do i connect this ver son of Link Manager to SEO URL.

 

Many Thanks

You need to make a change to the Ulimate SEO file. There was a version of that in the contribution section but it was removed for some reason. There is a thread here somewhere with the code you need. You should use google to seach for it:
site:forums.oscommerce.com Ultimate SEO Links Manager

 

Jack

Share this post


Link to post
Share on other sites
Can someone please guide me in the right direction?

 

I'm trying to display more then 1 featured link in /includes/boxes/links.php

 

When i add one more line like the following code. it just displays the same link twice:

 

$info_box_contents[] = array('align' => 'center',

'text' => '<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>' .

'<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>');

 

I want it to display 10 different featured or regular links.. whichever is easier to do.

 

Thank you

The code in the box only selects one link at a time. You will need to change this statement
$link = tep_db_fetch_array($link_featured_query);

to

while($link = tep_db_fetch_array($link_featured_query))

and then enclose the code below it in {}. The result code should look something like

while($link = tep_db_fetch_array($link_featured_query))
{
$info_box_contents = array();
$info_box_contents[] = array('align' => 'center',
							 'text' => '<a href="' . $link['links_url'] . '" target="_' . $openMode . '"><img src="' . $link['links_image_url'] . '"</a><br>' . $link['links_title']);
}

 

Jack

Share this post


Link to post
Share on other sites

thank you for that. It worked

 

for other people that want to do this, here's the whole code for /includes/boxes/links.php

 

<!-- links.php //-->

<tr>

<td>

<?php

 

 

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_LINKS);

 

new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_LINKS));

 

while($link = tep_db_fetch_array($link_featured_query))

{

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => '<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . $link['links_title'] . '</a><br>');

 

new infoBox($info_box_contents);

}

?>

</td>

</tr>

<!-- links.php_eof //-->

Share this post


Link to post
Share on other sites

I just installed this contribution, and I can add categories and links in the admin part, but the links are not showing up on my site.

I looked through the forum and did the following things:

- Language of the links is set to all

- I have added dutch to the languages in links.php (language id 5)

- I changed LINKS_DISPLAY_SPANISH to LINKS_DISPLAY_DUTCH and set it to true in the admin configuration

- Both English and Dutch languages are set to true

 

But regardless of these things I gtried, the links are still not showing up. The link count si also still showing 0.

 

Any thoughts abotu what could be the problem? Do I need to change anything else to be able to use and extra language.

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

No, the links don't even show up when I change the language to English.

When I do a search for links I can get my links to show, but when I click them I get redirected to the category page, stating that there are no links.

Share this post


Link to post
Share on other sites

I can't think of what might cause that. All I can suggest is to go over your link settings. Also, if possible, install the contribution into a clean shop. If it still fails, then you are either making a mistake in the installation or something on your server is causing a problem (which I doubt).

 

Jack

Share this post


Link to post
Share on other sites

i have a problem i just installed the latest version 1.7 with the update to oscommerce version rc1 using php5 it was a clean install on the link index page http://angelstoyshop.com/osCommerce/links.php i get teh error

 

1064 - You have an error in your SQL syntax near '( links_description ld, links_to_link_categories l2c, link_categories lc ) on (l' at line 1

 

select l.links_status from links l LEFT JOIN ( links_description ld, links_to_link_categories l2c, link_categories lc ) on (l.links_status = 2 and ld.language_id = '1' and l2c.links_id = l.links_id and lc.parent_id = '0')

 

[TEP STOP]

and on the admin index page http://angelstoyshop.com/..../admin/links.php i get

 

1064 - You have an error in your SQL syntax near '( links_description ld ) on ( l.links_id = ld.links_id ) ' at line 1

 

select count(*) as total from links l left join ( links_description ld ) on ( l.links_id = ld.links_id )

 

[TEP STOP]

 

in the \includes\classes\split_page_results.php the code has been changed to this $this->sql_query .= " limit " . max($offset, 0) . ", " . $this->number_of_rows_per_page;

 

what could be causing the proble and how do i solve it

 

thanks

lenard

Share this post


Link to post
Share on other sites
mysql version 5

thanks

lenard

I just tried it on a server running mysql 5.2 and it runs as expected. The error appears to be mysql related but maybe it is just an installation problem?

 

Jack

Share this post


Link to post
Share on other sites

I could get my links to show in a fresh install. But I did notice a difference. I can set the status of the links now, where in my shop, this is not possible. There are only blank lines instead of the different statusses. I think this might have something to do with my problem.

Any idea what could be causing this?

Share this post


Link to post
Share on other sites

Found it after a a little longer search.

Seems that I had to insert the status codes in the database for my language id.

Share this post


Link to post
Share on other sites

Access Denied

No Right Permission Access

Please contact your Web Administrator to request

more access or if you found any problem.

 

 

When im tring to go to Links Manager II

 

any ideas??

Share this post


Link to post
Share on other sites

Sounds like you have the admin access contribution installed and you haven't enabled the Links Manager files.

 

Jack

Share this post


Link to post
Share on other sites
Sounds like you have the admin access contribution installed and you haven't enabled the Links Manager files.

 

Jack

yup i have done that it works now :D but do i have to create categories by my self or is it possible to feed it of my database ?

Thanks

Share this post


Link to post
Share on other sites

To create a category, you click on the Link Categories section in admin and click on Add Category.

 

Jack

Share this post


Link to post
Share on other sites

Hello Community,

 

yesterday I also installed this great contribution - but had to spend all night and plenty hours today to find the problem with the Categories.

Finally - after turning off the SEO safe URL Option - I've got my test setup running and I like it very much.

 

However one problem left: When having the Reciprocal Link Option on, my system is not able to recognize to check the phrase at the full link I have entered - but hitting "Visit Reciprocal Link" shows my partner link entries.

 

Since I like this feature I would like to use it - but the failing Link check is prohibiting the partner link request.

 

Has anyone else observed such and is there a hint how to fix this?

 

Thanks for productive feedbacks and greetings from Germany

 

babba

Share this post


Link to post
Share on other sites

I installed this contrib. 1.17V and when I go into the admin, enter the link info and then click on check link it gives me this message: Error Reading URL

Is there something I missed. I checked the installation again and it seems to be fine. I just dont know if I missed something.

Thanks For any help this looks like a great contribution

David

Share this post


Link to post
Share on other sites
I installed this contrib. 1.17V and when I go into the admin, enter the link info and then click on check link it gives me this message: Error Reading URL

Is there something I missed. I checked the installation again and it seems to be fine. I just dont know if I missed something.

Thanks For any help this looks like a great contribution

David

I think a few people have had this problem but I can't get it to fail except when the link is invalid or not working. Have you tried to visit it manually?

 

Jack

Share this post


Link to post
Share on other sites
I think a few people have had this problem but I can't get it to fail except when the link is invalid or not working. Have you tried to visit it manually?

 

Jack

I'm not sure how to visit it manually. I have never done that. Would you advise uninstalling it and trying an earlier version?

thanks

David

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×