Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 11:34 pm EST
Geeklog Forums
Top Ten Links
Tor
Anonymous
Can I increase the Top Ten Links to Top 100 Links ?
9
9
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
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
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
9
10
Quote
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:
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:
7
9
Quote
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
The File you need to edit to change the amount of links listed is
public_html/links/index.php
7
6
Quote
All times are EST. The time is now 11:34 pm.
- 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