Subject: Top Ten Links

Posted on: 16/07/08 02:14am
By: Anonymous

Can I increase the Top Ten Links to Top 100 Links ?

Re: Top Ten Links

Posted on: 16/07/08 05:44am
By: beewee

Sure, just open the functions.inc file from the Links plugin, search for "10" and you'll find a few lines with LIMIT 10 or similar. Change the 10 to 100 and there you go.

Re: Top Ten Links

Posted on: 17/07/08 08:15am
By: Anonymous

To Increase the amount of links displayed on the links and stats page

I had to edit " ORDER BY hits DESC LIMIT 100" in /public_html/links/index.php page.



To change the Title " Top Ten Links" to Top 100 Links I had to edit public_html/plugins/links/language/english.php

$LANG_LINKS_STATS = array(
'links' => 'Links (Clicks) in the System',
'stats_headline' => 'Top 100 Links',
'stats_page_title' => 'Links',
'stats_hits' => 'Hits',
'stats_no_hits' => 'It appears that there are no links on this site or no one has ever clicked on one.',
); /public_html/plugins/links/language/english.php


in the public_html/plugins/links/functions.inc page I had to Edit

function plugin_showstats_links ($showsitestats)

" ORDER BY hits DESC LIMIT 100"


in The /public_html/plugins/links/config.php pahe I had to Edit $_LI_CONF['linksperpage'] = 100;


Now I have Top 100 links showing on the Links Page and Top 100 in the stats page.

I had to do both because when the title "Top Ten Links" waas changed in /public_html/plugins/links/language/english.php was changed the title was changed on both pages. :banana:

Re: Top Ten Links

Posted on: 08/02/09 12:45pm
By: Anonymous

In Ver 1.5.1

The File you need to edit to change the amount of links listed is

public_html/links/index.php

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=83801