-
Link Manager 3.0 Support Thread
Links Manager 3.0 is now available in the downloads section.
https://www.zen-cart.com/downloads.php?do=file&id=191
This update has been revamped to remove the tables that were in the previous versions and has been updated to be compatible with Zen Cart version 1.3.6. Fixed all line break <br /> errors.
-
Re: Link Manager 3.0 release
Thank You Clyde...I am sure that many will benefit from this
-
Re: Link Manager 3.0 release
I installed the contribution, and have added a link to test it out, however while the box appears on the screen as I would expect it to do, the submitted link does not. I changed its status to approved, but still nothing. Any ideas?
You can see what I'm talking about at www.excellentsoaps.com
-
Re: Link Manager 3.0 release
When I viewed your page this is in the box "Home Improvement" as a link??
Did you find and correct this?
-
2 Attachment(s)
Re: Link Manager 3.0 release
I found there's a problem with the submit button in the submit link page. And the heading font size looks to small i think..Hope it can be fix
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
kobra
When I viewed your page this is in the box "Home Improvement" as a link??
Did you find and correct this?
No, home Improvement is a category. There should be a link in that section and there is on the admin side but not on the main page
-
Re: Link Manager 3.0 release
When I click on home improvement it takes me to the links page:
Quote:
Links
Home Improvement
Looking through your categories sidebox, I do not see a category named "Home Improvement", I am confused??
-
Re: Link Manager 3.0 release
Kobra,
Links Manager allows the definition of "categories" in which to put links. These "links categories" have no connection to the regular Zen Cart Categories.
Take a look at my TEST SITE for a demo.
New Subject:
An updated version 3.0.1 of Links Manager is now available in the downloads section. It takes care of the issues raised by Miles plus a couple of other bug fixes.
Also, Add the following declaration to your stylesheet.css
.linkstext {
margin: 0;
padding: 10px;
}
This will space out the links a bit.
-
Re: Link Manager 3.0 release
kernphilip,
I'm still trying to figure out why You can get to the "link page" but can't navigate to the actual link.
I've added links both from the admin panel and the submit link page and can't reproduce the problem.
-
Re: Link Manager 3.0 release
Clyde,
Glad you chimed in as I am talking through me hat as usual....as I have not installed this module but was trying to look at the obvious and as it turns out incorrectly....
-
Re: Link Manager 3.0 release
Kobra,
No problem. Looks like we've got another storm on the way.
-
Re: Link Manager 3.0 release
Thanks for the update Clyde!
Everything's fine accept for my Links Help Popup. I have a dark background color for my site and so it appears to this popup where i can't read the text because it's black in color. Id post this thread before about a month ago. I changed all other popup backgrounds color to white accept for this.
Is there any class ID's should i create to make changes for this popup? Thanks.
-
Re: Link Manager 3.0 release
You can make the following changes:
in includes/templates/YOUR_TEMPLATE/popup_links_help/tpl_main_page.php
find the following code:
PHP Code:
<div class="centerColumn" id="ezPageDefault">
and change to:
PHP Code:
<div class="centerColumn" id="popupLinksHelp">
In your stylesheet.css add the following declaration
#popupLinksHelp {
background: #fff;
}
-
Re: Link Manager 3.0 release
Thanks Clyde! It's fixed. I've been waiting for this issue to be solved.
Here's my popup collections:
Code:
#popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart, #popupLinksHelp {
background-color: #ffffff;
background-image: none;
}
I have to change all of these because of the dark background color.:wink2:
-
Re: Link Manager 3.0 release
background-color: #ffffff; should do the trick.
glad I could help.
-
Re: Link Manager 3.0 release
I'm reasonable sure that I installed it correctly, and I overwrote it with 3.0.1 which fixed the submit button error but now clicking submot does not submit anything it jsut clears the page. Any ideas why?
-
Re: Link Manager 3.0 release
I've been trying (without success) to access your site for about an hour.
-
Re: Link Manager 3.0 release
Yeah I just got home from my day job to find my host down :( I'll see if I can't have them fix it soon.
-
Re: Link Manager 3.0 release
Well it just took a server reset. My site is back up, feel free to poke around http://www.excellentsoaps.com
-
Re: Link Manager 3.0 release
Still having a problem accessing your site.
-
Re: Link Manager 3.0 release
Well it looks like it might be time to migrate hosts. in the meantime I think that it is up again. (I can get to it at least)
-
Re: Link Manager 3.0 release
I've been trying every 10 mins for the past hour and still no luck.
-
Re: Link Manager 3.0 release
ugh. I twas working last night. Kobra mentioned a different hosting solution that I might be better off with. It is definatly time to move.
-
Re: Link Manager 3.0 release
Great work Clyde! :)
However, I've found a few problems when running under php 5.2.0.
I was receiving the following error messages when trying to add link categories from the admin.
Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in D:\server\xampp\htdocs\beyondeuphoria\748596\link_categories.php on line 110
Warning: reset() [function.reset]: Passed variable is not an array or object in D:\server\xampp\htdocs\beyondeuphoria\748596\includes\classes\object_info.php on line 29
Warning: Variable passed to each() is not an array or object in D:\server\xampp\htdocs\beyondeuphoria\748596\includes\classes\object_info.php on line 30
A little query to Google lead me to this thread...
http://drupal.org/node/90345
So I hacked your code a little (with only a rough idea of what I was doing) and came up with this edit to admin/link_categories.php. I simply replaced the code on line 109 with the following...
Code:
// bof php5 fix - aclarke - 281206
$cInfo_array = array_merge((array)$link_categories->fields, (array)$links_count->fields);
// eof php5 fix - aclarke - 281206
I've also noticed two more errors (which I am attempting to fix at the moment).
1 - If no links categories exist and you view the links page (from your shop/catalog - not admin) the following error message is displayed.
Code:
Fatal error: Class 'infoBox' not found in path\to\zencart\includes\templates\custom\templates\tpl_links_default.php on line 61
2 - When trying to add links from admin this error message was displayed.
Code:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in path\to\zencart\admin\includes\functions\html_output.php on line 333
Without fixing these errors (mainly number 2) I am unable to add any links!
Anyway... as previously mentioned I'm working on a fix for these.
Thanks again for creating a great contribution and I'll post back with my solutions/results asap.
:)
-
Re: Link Manager 3.0 release
Alex,
Thanks for the update.
I'll incorporate your php5 fix and do an upgrade.
I'm not sure about the other errors. mainly because if no categories exist then the link sidebox won't appear at all (or it shouldn't) and technically you wouldn't be able to navigate to the links page. You can if you type the url into the browser navigation bar.
to correct this just change line 61 in tpl_links_default.php to
PHP Code:
<?php echo TEXT_NO_CATEGORIES; ?>
I'll check the other error and see if I can find a fix.
-
Re: Link Manager 3.0 release
Alex,
Try as I might, I was unable to duplicate your #2 error when adding links from Admin.
-
Re: Link Manager 3.0 release
Thanks for the quick reply.
The 'line 61 in tpl_links_default.php' fix worked great. I'm not using the links sidebox and infact link to the links page using a standard hyperlink (located in the footer of my site).
Maybe it would be helpful to others to include this 'fix' in the next release?
As for the other error (number 2) I'm using php 5.2.0 and I don't think (not tried yet) this error will occur with earlier versions of php.
If I get a moment I'll test it out and post my results.
Thanks again for your hard work with this contribution. :)
-
Re: Link Manager 3.0 release
Alex,
I just put together an update with your php5 fix in admin/links_categories.php and the fix for tpl_links_default.php line 61.
The other error may well relate to php5. My host is using 4.4.2 and as I said, I couldn't reproduce the error (I added half a dozen links from admin).
-
Re: Link Manager 3.0 release
Is there a way to arrange the links in a different order than the default? I would like for my links to show from latest to oldest with the lates being number 1 and so on. Does anybody know if that is possible?
Thanks in advance for your time
-
Re: Link Manager 3.0 release
I can work on a sort order for the links and see what I can come up with. Right now the default order is all there is.
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
clydejones
Alex,
I just put together an update with your php5 fix in admin/links_categories.php and the fix for tpl_links_default.php line 61.
The other error may well relate to php5. My host is using 4.4.2 and as I said, I couldn't reproduce the error (I added half a dozen links from admin).
Mmm... I'll look into this over the weekend and report back.
Quote:
Originally Posted by
clydejones
I can work on a sort order for the links and see what I can come up with. Right now the default order is all there is.
Talking about sort orders... would it be possible to display the most popular (links with most clicks) first? This would be a nice feature. :)
-
Re: Link Manager 3.0 release
Quote:
2 - When trying to add links from admin this error message was displayed.
PHP Code:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in path\to\zencart\admin\includes\functions\html_output.php on line 333
Without fixing these errors (mainly number 2) I am unable to add any links!
Alex,
Evidently this has something to do with line 365 in admin/links.php
PHP Code:
echo zen_draw_pull_down_menu('links_category', $categories_array, $lInfo->links_category, '', true);
and its interaction with this function in admin/includes/functions/html_output.php
PHP Code:
function zen_draw_pull_down_menu
at line 325
-
Re: Link Manager 3.0 release
Sort Order Update:
I'll incorporate this into the regular release at a later date, but for now if you want to have sort order options for your links you can use this.
Unzip the files:
run the included links_sort_order.sql using the Zen-Cart Sql Patches tool
(admin -> tools -> install sql patches)
Change the YOUR_TEMPLATE folder to match the name of your custom directory
FTP the includes folder to your site
Attachment 1173
-
Re: Link Manager 3.0 release
Once the the sort order option is installed just go to admin ->configuration -> links manager -> select sort order and choose the option you want.
-
Re: Link Manager 3.0 release
Excellent! :)
I'm currently working on a fix for my 'error number 2'.
Everything works fine when running php 5.1.6, but on my live server I'm running php 5.2.0. :(
However, it houldn't be too hard to fix this... I'll post back when I'm done.
Thanks again for your support and this great contribution! :)
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
clydejones
Alex,
Evidently this has something to do with line 365 in admin/links.php
PHP Code:
echo zen_draw_pull_down_menu('links_category', $categories_array, $lInfo->links_category, '', true);
and its interaction with this function in admin/includes/functions/html_output.php
PHP Code:
function zen_draw_pull_down_menu
at line 325
Isn't it lines 478 - 495 that are causing this error?
Code:
<?php
$link_statuses = array();
$links_status_array = array();
$links_status = $db->Execute("select links_status_id, links_status_name from " . TABLE_LINKS_STATUS . " where language_id = '" . $_SESSION['languages_id'] . "'");
while (!$links_status->EOF) {
$link_statuses[] = array('id' => $links_status->fields['links_status_id'],
'text' => $links_status->fields['links_status_name']);
$links_status_array[$links_status->fields['links_status_id']] = $links_status->fields['links_status_name'];
$links_status->MoveNext();
}
echo zen_draw_pull_down_menu('links_status', $link_statuses, $lInfo->links_status);
if ($action == 'edit' || $action == 'update') {
echo ' ' . ENTRY_LINKS_NOTIFY_CONTACT;
echo zen_draw_checkbox_field('links_notify');
}
?>
-
Re: Link Manager 3.0 release
Ok, it appears that line 489 is causing all the problems.
Code:
echo zen_draw_pull_down_menu('links_status', $link_statuses, $lInfo->links_status);
I've also noticed that the admin menu doesn't work on my links.php page.
-
Re: Link Manager 3.0 release
I could be.
The error:
Code:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in pathtozencartadminincludesfunctionshtml_output.php on line 333
points to line 333 in html_output.php which is inside the function for drawing the dropdown.
-
Re: Link Manager 3.0 release
That's what I'm thinking, but I'm not sure how to fix it. :(
-
Re: Link Manager 3.0 release
Ok, I've sorted it.
Just replacing line 333 in admin\includes\functions\html_output.php with the following worked.
Code:
// bof php5 fix - aclarke - 301206
if (empty($default) && isset($GLOBALS['$name'])) $default = stripslashes($GLOBALS['$name']);
// eof php5 fix - aclarke - 301206
However, my admin menu still doesn't work when I'm on the links.php page. :(
Also, when adding a new link the category field is marked as required? Is this correct? I've just added a link without a category (as I have no categories setup yet) and it didn't nag me to specify a category.
-
Re: Link Manager 3.0 release
Clyde,
Just wondering if ther eis a way to have Ultimate SEO URLs rewrite the URLs of all links pages.
For example, I would like my links URLs to read like this...
www.mysite.com/links/links-category-name.html
instead of this...
www.mysite.com/links.html?lPath=6
Do you know of any easy way to do this?
BTW - Have a great new year! :)
-
Re: Link Manager 3.0 release
Alex,
To be honest, I don't know. I don't use either of the seo contributions.
BTW: I'm working on a re-write of the contribution. I was looking at some of the template code compared to several of the "submit" something templates and saw a lot of things that could be improved.
If I write, can you test?
Happy New Year!
-
Re: Link Manager 3.0 release
Sure - It'd be good to test it out.
If you want me to test before releasing any updates to the community just PM me. :)
-
Re: Link Manager 3.0 release
Will do.
I sometimes feel it is better to just start from scratch. instead of trying to re-write some of the older contributions. But since the framework is already there it, why reinvent the wheel.
-
Re: Link Manager 3.0 release
Exactly. Good luck coding and I look forward to the results! :)
-
Re: Link Manager 3.0 release
I got your contribution to work on my site (after changing hosts; Thanks kobra!)
But I do have a question. With many link exchange programs they ask you what page your link to their site is.
Well, in my case their link is on http://www.excellentsoaps.com/catalo...ain_page=links
but when I put that page into their reciprocal link checker it always comes up negative. What link should I be putting in?
-
Re: Link Manager 3.0 release
The checker says that because the link redirects - its not the actual address in the link.
I have the same thing going on with me, no solution yet. I'm gonna experiment/watch what happens here.
-
Re: Link Manager 3.0 release
Is there a specific reason that you have Zen Cart installed in a sub directory and not at the root?
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
kernphilip
I got your contribution to work on my site (after changing hosts; Thanks kobra!)
But I do have a question. With many link exchange programs they ask you what page your link to their site is.
Well, in my case their link is on
http://www.excellentsoaps.com/catalo...ain_page=links
but when I put that page into their reciprocal link checker it always comes up negative. What link should I be putting in?
I'll try adding a link to and from my TEST SITE and see if we can work out the problem.
NB: Categories should be used with the contribution (as I said, I'm re-writing a lot of the original code and will try to work out the use or non-use of categories for links for those that just prefer a links page and not categorizing the links.)
-
Re: Link Manager 3.0 release
OK, the link to your site is here:
LINK TO YOUR SITE
The Link on your site to mine should be under Zen-Cart Development.
-
Re: Link Manager 3.0 release
I added your link to my links under Zen Development category. Now the issue is that if i had received your link through a link exchange program (like link-metro or something similar) the page that contains the link to your site does not validate.
As for why i don't have zc in the root directory, i put it in a sub directory to avoid confusion with the blog and knowledge base that I'll put there eventually
-
Re: Link Manager 3.0 release
Clyde,
You are an animal!!! I can't keep my test site in order and reload every so often as it begins to look like a collage of this and that.
kernphilip,
You might consider having one at the root, the cart, blog or knowledgebase....whichever one is the most used / most important.
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
clydejones
I'll try adding a link to and from my
TEST SITE and see if we can work out the problem.
NB: Categories should be used with the contribution (as I said, I'm re-writing a lot of the original code and will try to work out the use or non-use of categories for links for those that just prefer a links page and not categorizing the links.)
Clyde,
Remember my post a while back...
Well... I was also having problems setting up link partnerships (due to my link partners not being able to find their recipricol links.
I'm if we can get Ultimate SEO URLs and Link Manager to play nice this will solve the problem. I'll look into this and post back.
Can't wait for the new Link Manager! :)
-
Re: Link Manager 3.0 release
I've been trying to change the links appearance: instead of yoursite.com/index.php?main_page=redirect_links&action=links&goto=7 to the actual address its redirecting to. I'm doing this cuz some link exchanges have checkers that look for a physical link and not a redirect. So far the only thing that has happened is that I, for some reason, have my own address showing up instead :( . I really don't mind losing the ability to track clicks.
-
Re: Link Manager 3.0 release
The link should look like this yoursite.com/index.php?main_page=links&lPath=2
At least right now. As I said, a re-write is in the works but it will take some time.
-
Re: Link Manager 3.0 release
Can't wait for that to come out. And if you need any testers I'll be glad to test it out for you on my site.
Until then I'll see what my playing around with the code will lead me to :D.
Pete
-
Re: Link Manager 3.0 release
Any suggestions on how to block out spammers? A friend of mine is being spammed bigtime through her Links Manager.
-
Re: Link Manager 3.0 release
Right now the default behavior is to require approval of the links by the administrator. When in the admin panel just delete the unwanted links submissions.
I can add a require "registered users" only can submit a link option to the new version which is being written.
-
Re: Link Manager 3.0 release
Hi,
Just to inform you that this contrib doesn't work in a multilingual site
( I have a site with 4 languages and the categories are showing 4 times on the sidebox) ... doesn't look good
Do you think that is possible to solve , ??
Thanks in advance
Chris:sleepy:
-
Re: Link Manager 3.0 release
I'll check and see what can be done.
BTW: you might want to validate your site to fix some of the 1000+ errors.
-
Re: Link Manager 3.0 release
Hi clydejones,
Could you take a look at my website http://www.lindseysjewelry.com and tell me what did I do wrong with the links mod. When I click on view all links and move my mouse over submit link I see this:
IMAGE_BUTTON_SUBMIT_LINK
could you please point my in the direction on fixing this. :dontgetit
Thanks In Advance. :smile:
-
Re: Link Manager 3.0 release
Try adding the following to
includes/languages/english/extra_definitions/links.php
define('BUTTON_SUBMIT_LINK_ALT', 'submit link');
see if that helps.
-
Re: Link Manager 3.0 release
Cant add it becuase it is already there. :dontgetit
-
Re: Link Manager 3.0 release
OK, check for either of these two files
includes/languages/english/links.php
includes/languages/english/YOUR_TEMPLATE/links.php
add the following to the file.
define('IMAGE_BUTTON_SUBMIT_LINK', 'Submit Link');
Save and upload to your server
-
Re: Link Manager 3.0 release
:thumbsup: Thanks Clyde that worked.
Thanks for your help and for the fast responses.
-
Re: Link Manager 3.0 release
Not at all, glad to help.
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
soapin_mama
Any suggestions on how to block out spammers? A friend of mine is being spammed bigtime through her Links Manager.
I am haveing the same problem, yeah in admin you can deleted it but is there a way to just block have setting for certain key words. How do you report a whois of the spam?
-
Re: Link Manager 3.0 release
I'm putting the finishing touches on a new version of Links Manager that will incorporate these new features.
1. Option to have only registered users submit links
2. Ability to set the sort order of the links - by title, by date(newest to oldest) and by click count(highest to lowest).
3. Option to use a modified version of the CAPTCHA User Verification Mod by Funkey.
Two versions will be included, an Upgrade version for those who already have Links Manager installed and a New Install version.
NB: The CAPTCHA should prevent spamming by automated bots, but will do very little to prevent spam by someone willing to take the time to fill in the Links Submit form manually. I'm putting together a list of domain names and IP addresses of the spammers I find and adding them to my .htaccess file.
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
clydejones
I'm putting the finishing touches on a new version of Links Manager that will incorporate these new features.
1. Option to have only registered users submit links
2. Ability to set the sort order of the links - by title, by date(newest to oldest) and by click count(highest to lowest).
3. Option to use a modified version of the CAPTCHA User Verification Mod by Funkey.
Two versions will be included, an Upgrade version for those who already have Links Manager installed and a New Install version.
NB: The CAPTCHA should prevent spamming by automated bots, but will do very little to prevent spam by someone willing to take the time to fill in the Links Submit form manually. I'm putting together a list of domain names and IP addresses of the spammers I find and adding them to my .htaccess file.
looks good !! do you thing to the multilingual support ? :smartass:
tanks in advance
Chris
-
Re: Link Manager 3.0 release
not sure of exactly what you mean.
-
Re: Link Manager 3.0 release
Clyde - Thanks so much for this impressive module, it's a very complete package!
My Question concerns the links_submit_success page, where I see following:
Shop Home :: Links :: NAVBAR_TITLE
For the life of me I can't find where that NAVBAR_TITLE might be so that I could correct it. Any thoughts?
Thanks! Tim
-
Re: Link Manager 3.0 release
Two other quick questions:
In admin/extra/links when I edit a link there is a check-box for: Rating:
What is that and it's purpose?
And secondly, in admin/configuration/links manager: To correctly answer this question, for example:
Display Link Image & Title?
I must put in a number that is an indicator of my choice, correct? 0 means none, 1 is link only etc. Is that correct?
thanks again -
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
MeltDown
Clyde - Thanks so much for this impressive module, it's a very complete package!
My Question concerns the links_submit_success page, where I see following:
Shop Home :: Links :: NAVBAR_TITLE
For the life of me I can't find where that NAVBAR_TITLE might be so that I could correct it. Any thoughts?
Thanks! Tim
go to includes/languages/english/YOUR_TEMPLATE and open links_submit_success.php You'll find the following:
define('NAVBAR_TITLE_2', 'Success');
delete the highlighted portion save the file and upload to your server.
NB: the update version I'm working on will eliminate the need for this page. It will also include a few extras including a modified version of the CAPTCHA contribution.
Quote:
Originally Posted by
MeltDown
Two other quick questions:
In admin/extra/links when I edit a link there is a check-box for: Rating:
What is that and it's purpose?
And secondly, in admin/configuration/links manager: To correctly answer this question, for example:
Display Link Image & Title?
I must put in a number that is an indicator of my choice, correct? 0 means none, 1 is link only etc. Is that correct?
thanks again -
The rating is legacy code from a really old version of links manager and can safely be ignored (just leave it set to 0.) It will be removed in the update.
The numbering of these three options:
Display Link Image & Title 1
Display Link Description 2
Display Link Click Count 3
is actually their sort order. Again, this is being addressed in the update.
Hope this helps.
-
Re: Link Manager 3.0 release
That took care of it, Clyde :P
I'm looking forward to the new version, as well. I realize that it must be on the complicated side trying to get all the bits and pieces to mesh. Thanks for the effort!
Tim
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
titangen
Hi,
Just to inform you that this contrib doesn't work in a multilingual site
( I have a site with 4 languages and the categories are showing 4 times on the sidebox) ... doesn't look good
Do you think that is possible to solve , ??
Thanks in advance Chris:sleepy:
[FONT=Times New Roman]I have 3 languages and the same pr:cry: blem. I like to show only the English link.[/FONT]
[FONT=Times New Roman]The customer can at a new link from all languages to the English page. [/FONT]
[FONT=Times New Roman]Is this possible? [/FONT]
[FONT=Times New Roman]Thanks for supp:yes: rt .[/FONT]
-
Re: Link Manager 3.0 release
Is there any way to prevent the links side box from "growing" when you enter a long catagory name?
I've made up on as an example at my site HERE
-
Re: Link Manager 3.0 release
2faristababa
sideboxes/links.php
Find (~23 line)
Code:
$links_query= ("select lc.link_categories_id, lc.link_categories_sort_order, lcd.link_categories_id, lcd.link_categories_name from " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lc.link_categories_status = '1' and lc.link_categories_id = lcd.link_categories_id order by lc.link_categories_sort_order, lcd.link_categories_name");
Replace by
Code:
$links_query= ("SELECT lc.link_categories_id, lc.link_categories_sort_order, lcd.link_categories_id, lcd.link_categories_name
FROM " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd
WHERE lc.link_categories_status = '1'
AND lc.link_categories_id = lcd.link_categories_id
AND lcd.language_id = '" . (int)$_SESSION['languages_id'] . "'
ORDER BY lc.link_categories_sort_order, lcd.link_categories_name");
-
Re: Link Manager 3.0 release
Never mind, I figured out that in admin-configuration-links manager you can adjust maximum length of link category name to display from 20 to a smaller number, say, 15. Longer names will truncate, and the sidebox will not expand.
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
a_berezin
2faristababa
sideboxes/links.php
Find (~23 line)
Code:
$links_query= ("select lc.link_categories_id, lc.link_categories_sort_order, lcd.link_categories_id, lcd.link_categories_name from " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lc.link_categories_status = '1' and lc.link_categories_id = lcd.link_categories_id order by lc.link_categories_sort_order, lcd.link_categories_name");
Replace by
Code:
$links_query= ("SELECT lc.link_categories_id, lc.link_categories_sort_order, lcd.link_categories_id, lcd.link_categories_name
FROM " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd
WHERE lc.link_categories_status = '1'
AND lc.link_categories_id = lcd.link_categories_id
AND lcd.language_id = '" . (int)$_SESSION['languages_id'] . "'
ORDER BY lc.link_categories_sort_order, lcd.link_categories_name");
a_berezin,
Thanks, I've included the change in the update version.
The only thing left now is to get the "all links display page" working correctly.
-
1 Attachment(s)
Re: Link Manager 3.0 release
Quote:
Originally Posted by
clydejones
I've included the change in the update version.
May be you include updated install sql?
Quote:
Originally Posted by
clydejones
The only thing left now is to get the "all links display page" working correctly.
What a problem?
-
Re: Link Manager 3.0 release
I downloaded and installed the version that was available 2 weeks ago. Should I update? Download again, reinstall and use the new sql that a_berezin just posted above?
-
Re: Link Manager 3.0 release
No, you don't need to update. This sql only for new installation.
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
wtashby
I downloaded and installed the version that was available 2 weeks ago. Should I update? Download again, reinstall and use the new sql that a_berezin just posted above?
No, you don't need to update the version you have.
A completely new version is on its way. I'm just working out a couple of problems I didn't expect, but the new version should be available soon.
-
Re: Link Manager 3.0 release
clydejones,
Quote:
Originally Posted by
clydejones
The only thing left now is to get the "all links display page" working correctly.
Describe the problem.
-
Re: Link Manager 3.0 release
[FONT=Arial]Firstly Thanks, you are a big help:smile: .[/FONT]
[FONT=Arial]I like to show only the English link.[/FONT]
[FONT=Arial]The customer can at a new link from all languages to the English page.[/FONT]
[FONT=Arial]· I have to up load the languages fills to all the languages?[/FONT]
[FONT=Arial]If I up load them, I can only see the links I at to this language.[/FONT]
[FONT=Arial]· Is it possible to maximise the Description to 1 or 2 line?[/FONT]
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
a_berezin
clydejones,
Describe the problem.
I'll PM you, probably tomorrow.
-
Re: Link Manager 3.0 release
Dublicate English links to all other laguages links.
Where maximize description?
-
Re: Link Manager 3.0 release
[FONT=Arial]I like to show only the English link.[/FONT]
[FONT=Arial]The customer can at a new link from all languages to the English page.[/FONT]
[FONT=Arial][FONT=Symbol]·[/FONT][FONT=Arial]I up load the languag fills to all the languages.[/FONT][/FONT]
[FONT=Arial][FONT=Symbol]·[/FONT][FONT=Arial]I install the [/FONT][FONT=Verdana]links_sql.zip[/FONT][FONT=Verdana] from [/FONT][FONT=Verdana]a_berezin[/FONT][/FONT]
[FONT=Arial][FONT=Symbol]·[/FONT][FONT=Verdana]I change the sideboxes/links.phpFind (~23 line)[/FONT][/FONT]
[FONT=Arial]Works good but I have to make the link for every languages again.[/FONT]
- [FONT=Arial]It is possible to minimize the Description in the admin -configuration-links manager that's fine.[/FONT]
- [FONT=Arial]I can’t find a tool to maximise the Description to 1 or 2 lines.[/FONT]
[FONT=Arial]The customer shut have only the possibility to at maximise 45 letters as Description. [/FONT]
[FONT=Arial][FONT=Arial]There is a tool for this p:blush:sting? [/FONT]
[/FONT]
-
Re: Link Manager 3.0 release
I just updated to 3.0 and have email problems like I did with the earlier version. I fixed it before but can't for the life of me remember what I did to fix it. In testing my links submission, I am getting
"Link submittal at Doodlebuckets Fuzzi Bunz Cloth Diaper Depot
$EMAIL_MESSAGE_HTML"
in the body of my emails.
Any advice on how to fix this?
Thanks!
-
Re: Link Manager 3.0 release
-
Re: Link Manager 3.0 release
I was involved in that thread. It didn't fix it before. It doesn't fix it now. I am at a loss to remember how, but I did fix it previously. Any other ideas?
Amy
-
Re: Link Manager 3.0 release
I'm trying to narrow down where the problem is. In includes/languages/english/links_submit.php the part dealing with email is as follows:
define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME . ' link exchange.');
define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");
define('EMAIL_WELCOME', 'We welcome you to the <b>' . STORE_NAME . '</b> link exchange program.' . "\n\n");
define('EMAIL_TEXT', 'Your link has been successfully submitted at ' . STORE_NAME . '. It will be added to our listing as soon as we approve it. You will receive an email about the status of your submittal. If you have not received it within the next 48 hours, please contact us before submitting your link again.' . "\n\n");
define('EMAIL_CONTACT', 'For help with our link exchange program, please email the store-owner: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n");
define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us during a link submittal. If you have a problem, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");
define('EMAIL_OWNER_SUBJECT', 'Link submittal at ' . STORE_NAME);
define('EMAIL_OWNER_TEXT', 'A new link was submitted at ' . STORE_NAME . '. It is not yet approved. Please verify this link and activate.' . "\n\n");
Could something here need to be modified?
-
Re: Link Manager 3.0 release
Amy,
I don't think any changes need to be done there. That just defines the text that "should" show up in the e-mails.
Let me check a couple of other files. (something else on the todo list for the new version.)
Can I ask how you are sending your test submittals from the links_submit page or from your admin panel?
-
Re: Link Manager 3.0 release
Thanks for looking into it. I am doing a test on the links submit page. I have not tried anything through the admin. I so wish I could remember how I did it before!
-
Re: Link Manager 3.0 release
OK, I just sent myself an email through Links_contact in admin and the email came through like this:
$EMAIL_SUBJECT
$EMAIL_MESSAGE_HTML$EMAIL_FOOTER_COPYRIGHT$EMAIL_DISCLAIMER
$EMAIL_SPAM_DISCLAIMER$EXTRA_INFO
My header logo didn't show up either.
Amy
-
Re: Link Manager 3.0 release
I also get
Warning: Invalid argument supplied for foreach() in /home/doodlebu/www/www/store/includes/functions/functions_email.php on line 380
Warning: Cannot modify header information - headers already sent by (output started at /home/doodlebu/www/www/store/includes/functions/functions_email.php:380) in /home/doodlebu/www/www/store/admin/includes/functions/general.php on line 34
after I send the email from admin
-
Re: Link Manager 3.0 release
Quote:
Originally Posted by
Doodlebuckets
I also get
Warning: Invalid argument supplied for foreach() in /home/doodlebu/www/www/store/includes/functions/functions_email.php on line 380
Warning: Cannot modify header information - headers already sent by (output started at /home/doodlebu/www/www/store/includes/functions/functions_email.php:380) in /home/doodlebu/www/www/store/admin/includes/functions/general.php on line 34
after I send the email from admin
OK, to solve this problem.
Open admin/links_contact.php
find the following code:
zen_mail($mail_query->fields['links_contact_name'], $mail_query->fields['links_contact_email'], $subject, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'link_exchange');
Delete the highlighted portion. Save the file and upload to your server.
-
Re: Link Manager 3.0 release
Thanks! That fixed the one error. But when I got the email I sent through admin, I got the same $EMAIL_MESSAGE_HTML in my email text. Still racking my brain on this end LOL
-
Re: Link Manager 3.0 release
Hi
I may be looking in the wrong plce but I cannot find this download, i have tried in the downloads section under every section, am I just missing it?
yoursMarie
-
Re: Link Manager 3.0 release