If you read through the thread, you'll see that the links count is disabled. Hopefully it will be restored in a future release.
Printable View
Okie.
Thanks Clyde.
Try this for the click count:
Open includes/functions/links.php
Replace:
With:Code:////
// Return the links url
function zen_get_links_url($identifier) {
global $db;
$link = $db->Execute("select links_id, links_url from " . TABLE_LINKS . " where links_id = '" . (int)$identifier . "'");
$links_string = $link->fields['links_url'];
return $links_string;
}
Save and close.Code:////
// Return the links url
function zen_get_links_url($identifier) {
global $db;
$link = $db->Execute("select links_id, links_url from " . TABLE_LINKS . " where links_id = '" . (int)$identifier . "'");
if(ENABLE_LINKS_COUNT == 'true') {
$links_string = zen_href_link(FILENAME_REDIRECT, 'action=link&goto=' . $link->fields['links_id']);
} else {
$links_string = $link->fields['links_url'];
}
return $links_string;
}
Open includes/modules/pages/redirect/header.php
Find:
Add After:Code:case 'banner':
$banner_query = "SELECT banners_url
FROM " . TABLE_BANNERS . "
WHERE banners_id = :bannersID";
$banner_query = $db->bindVars($banner_query, ':bannersID', $_GET['goto'], 'integer');
$banner = $db->Execute($banner_query);
if ($banner->RecordCount() > 0) {
zen_update_banner_click_count($_GET['goto']);
zen_redirect($banner->fields['banners_url']);
}
break;
Save and close.Code:case 'link':
$link_query = "SELECT links_url
FROM " . TABLE_LINKS . "
WHERE links_id = :linksID";
$link_query = $db->bindVars($link_query, ':linksID', $_GET['goto'], 'integer');
$link = $db->Execute($link_query);
if($link->RecordCount() > 0) {
require(DIR_WS_FUNCTIONS . 'links.php');
zen_update_links_click_count($_GET['goto']);
zen_redirect($link->fields['links_url']);
}
break;
Don't forget to switch Enable Click Count to true under Configuration > Links Manager
Hello,
could you help me ?
I have links_manager_v3-5-3c and all banner images are in /images/links_image/ its posible to use my partners destination like src="http://test.com/ikon88x31.jpg" thank you for reply.... :oops:
Thank you .. and its posible to add button in admin/others/links for check all links not only one ;) ? thank you ... :blush:
i need help..my problem is i don't know how to add categories to the drop down menu in link manager 3.5.3 using zen 1.3.9h... I have searched threads to no avail please help ..please :frusty:
admin -> extras -> link categories in file manager or zen cart ?