Welcome to Geeklog Wednesday, October 18 2017 @ 01:31 am EDT


Tor

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

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/2003
Posts: 969
Location:The Netherlands, where else?
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.
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Tor

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:

Tor

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

All times are EDT. The time is now 01:31 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content