Welcome to Geeklog Tuesday, May 21 2013 @ 05:41 PM EDT
|
||||||||
![]() |
Forum Index > Extensions > PHP Blocks |
New Topic
|
Post Reply
|
Top Ten Links |
|||
| Anonymous: Tor |
|
||||||
![]() |
Can I increase the Top Ten Links to Top 100 Links ?
|
||||||
|
|||||||
| beewee |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 08/05/03 Posts: 969 |
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 |
||||||
|
|||||||
| Anonymous: Tor |
|
||||||
|
|
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: |
||||||
|
|||||||
| Anonymous: Tor |
|
||||||
|
|
In Ver 1.5.1
The File you need to edit to change the amount of links listed is public_html/links/index.php |
||||||
|
|||||||
| Content generated in: 0.18 seconds |
|
|
|