Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links Manager II


Recommended Posts

also how can i make the images all one size and make them smoother? i have the autothumnailer contribution, but it's not affecting the images in the links page.

 

in addtion how can i make the column set to 4 columns instead of 3?

Link to comment
Share on other sites

also how can i make the images all one size and make them smoother? i have the autothumnailer contribution, but it's not affecting the images in the links page.

 

in addtion how can i make the column set to 4 columns instead of 3?

admin->configuration->Images->Subcategory Image Width (and Height).

 

admin->configuration->Maximum Values->Categories To List Per Row.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Jist installing this but have a problem as the setup fails due to site restrictions.

 

Does anyone have a copy of the sql for manual insertion.

 

Cheers :huh:

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Nice contribution obviously a massive amount of work, weel done.

 

I did have trouble with the setup file which I got round, it would be nice though if the package included the sql, so you have the option.

 

I have the following issues.

 

If the link submitted has no image either a blank box is displayed, or missing image error, it would be better to display nothing instead.

 

ie in /catalog/includes/boxes/links.php

 

line 31, instead of:

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

 

it would be better to have:

'text' => '<a href="' . $link['links_url'] . '" target="_' . $openMode . '">' . (!empty($link['links_image_url']) ? '<img src="' . $link['links_image_url'] . '" width="60" border="0" ><br>' : '') . $link['links_title'] . '</a>');

 

In admin when the link is edited you are given an error if you don`t provide a reciprocal, as admin you should`nt have to, also there is a bug here, with no reciprocal your given error, plus told did`nt give category even if you did, and returned to insert link mode not update.

 

The link to 'links' is via the infobox, but no instruction provided if site has no infobox .

 

 

Cheers ;)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 2 weeks later...
Hi!

 

Thanks for that contribution!

 

Some questions I have:

1. How to make a different Page <Titles>, like Categories Name?

Thanks! ;)

If you want to change the title of the page, install the Header Tags SEO contribution.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 weeks later...

Another Totally awesome contribution Jack, Grats on being so damn clever

 

It functions perfectly and I have STS running,

 

1 little problem I have is in the menu inside Admin it is displaying this:

 

Reports

Tools

Header Tags SEO -"AWESOME CONTRIBUTION BTW!"

BOX_HEADING_LINKS

BOX_LINKS_LINKS

BOX_LINKS_LINK_CATEGORIES

BOX_LINKS_LINKS_CONTACT

BOX_LINKS_LINKS_FEATURED

BOX_LINKS_LINKS_STATUS

 

 

oh, and how would I go about removing the ultra thick grey border in the submit_link.php

 

EDIT: I was also wondering if there is a way to require a minimum PR for a submitted link?

Edited by sytun
Link to comment
Share on other sites

Another Totally awesome contribution Jack, Grats on being so damn clever
Thanks but the original idea wasn't mine.

 

1 little problem I have is in the menu inside Admin it is displaying this:

 

Reports

Tools

Header Tags SEO -"AWESOME CONTRIBUTION BTW!"

BOX_HEADING_LINKS

BOX_LINKS_LINKS

BOX_LINKS_LINK_CATEGORIES

BOX_LINKS_LINKS_CONTACT

BOX_LINKS_LINKS_FEATURED

BOX_LINKS_LINKS_STATUS

That means the changes to the admin/includes/lanugages/english.php file are not present or can't be seen.

 

oh, and how would I go about removing the ultra thick grey border in the submit_link.php

You would need to edit include/languages/english/links_submit.php

 

EDIT: I was also wondering if there is a way to require a minimum PR for a submitted link?

No, but that is a good idea.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

where or what fle do I edit to be able to change the position where the links show up? I need them to show up right at the bottom of the page so the left and right columns show up correctly. Right now the right column is showing under the links and not on the right side of the page.

 

Thanks

Link to comment
Share on other sites

It sounds like there is mistake in your links.php file. Did you change the one in the contribution? It should display properly.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Didn't change a thing with the links Manager II. did you take a look at http://goughsgifts.com/links.php.

 

I'm not good with PHP so I really don't have a clue how to get this to display it correctly.

 

Thanks

 

 

 

 

It sounds like there is mistake in your links.php file. Did you change the one in the contribution? It should display properly.

 

Jack

Edited by computel
Link to comment
Share on other sites

When you use a template like that, not all contributions will just plug right in. The file has to be edited to make it work with your shop. You will need to edit the three links manager files in the root. Comparing them to one of the other pages, like privacy.php, is usually the easiest way to go.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Thanks for contribution, Jack!

I just installed it (v.1.18) and it looks like it works in Admin panel and it shows new "links" in the box on my page.

Well, minor problem, I hope it's something simple:

wnen I type something in search links, anything, I got

 

Parse error: parse error, unexpected T_STRING in /home/www/mydomain.com/includes/languages/english/links_submit.php on line 20

 

Of course it shows my real domain name in that message, not a mydomain.com.

 

Can you please advise what I should check at first?

I didn't create any categories yet, but I think that shouldn't be a problem.

 

Thank you for help!

And BTW, your Header Tag SEO is great! Thanks a lot!

Computers777dotcom

Link to comment
Share on other sites

Thanks. Did you edit the english/links_submit.php or are you using the original? If you edited it, then you made a mistake with the text changes. Try going back to the original and see if that will work, then make the changes you need to it one at a time until you find the problem.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Thanks. Did you edit the english/links_submit.php or are you using the original? If you edited it, then you made a mistake with the text changes. Try going back to the original and see if that will work, then make the changes you need to it one at a time until you find the problem.

 

Jack

 

Thanks Jack,

I came home, found your message and made it work in no time.

Now when I click search it shows me page to fill link info in. (I don't have any links yet).

Thank you very much again.

 

Mike

Computers777dotcom

Link to comment
Share on other sites

/catalog/admin/links_featured.php

 

Line: 67

while ($list = tep_db_fetch_array($linkFeatured_query))
 {
$linkFeatured[] = array('id' => $list['links_id'], 'text' => $list['links_title'] . " - " . $list['expires_date']);
if (tep_db_num_rows($linkFeatured_query) == 1)
 $linkFeaturedShow = ($list['links_all_pages'] ? 'Checked' : '');
 }

 

I think there is a bug with $linkFeaturedShow which makes the links_all_pages_show checkbox checked only if there is one row in $linkFeature_query.

Link to comment
Share on other sites

Another just a wonderful contribution.

I noticed some things, though.

 

1. The file links_db_update.php doesn't create field links_rating field. (I created it manually after I got an error while inserting new record)

 

2. The addition V 1.19 mention adding .addslashes function to avoid error for category names where sign ' included in the name. I think that function must be added for Titles too. (the title of link I tried to add has ' sign.)

 

Thanks Jack and all who help make this contribution!

 

P.S. Sorry, I guess file links_setup creates field links_rating, but anyway, it's not there. Correct me if I am mistaken.

Edited by AlwaysNewbie

Computers777dotcom

Link to comment
Share on other sites

I found out that reference to links_rating field exist in link_submit.php file from anti-robotics, not in original link_submit file. Sorry, that was my fault. Also, in original file also addslashes function does exist.

Sorry again.

Edited by AlwaysNewbie

Computers777dotcom

Link to comment
Share on other sites

Hello,

 

I have tried to find a solution to the error message I now get when you go to my links page, but have not been able to find one. It used to work and I don't remember changing anything in my links files recently, but I just discovered that when you click to go to my links.php page it looks like it will go then you get this at the top of the page:

 

Warning: mysql_query() [function.mysql-query]: Unable to save result set in bla..bla...bla.../includes/functions/database.php on line 44

2008 - MySQL client ran out of memory

 

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]

 

2013 - Lost connection to MySQL server during query

 

select count(*) as total from sessions where sesskey = '85a7f0f6b20152ef64d270b92831f404'

 

[TEP STOP]

 

Does anyone have any clue how to fix this??? I only get this error message in links and only on the store side, admin appears to be working fine.

 

Thanks in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...