Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12371
Latest: wkingyork
New This Month: 2
New This Week: 2
New Today: 1
Stats
Total Posts: 40210
Total Topics: 7081
Most Online Today: 27
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 28
Total: 29

Author Topic: Log Number displayed  (Read 2986 times)

0 Members and 1 Guest are viewing this topic.

Offline jacci

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • maths made easy
Log Number displayed
« on: May 10, 2009, 10:07:47 pm »
Thanks for adding the option to choose the number of logs to display, this is very useful indeed.
Not really sure if this is a bug or not, or this is just how it will have to work.

It appears that the default number of logs to display is 10. If i choose 50, and then sort via name or date or whatever, it reverts back to displaying only 10, not the 50 I have selected. As it does also everytime i navigate back to the logs page.

If changing that behaviour is too problematic, is it possible for me to 'hack' the code itself to change the default number? I know if i do it this way, i will have to keep doing it each upgrade, but i can live with that moreso than changing the dropdown everytime i re-sort my logs or go to view them again.

 I had a poke around in the downloads2.template and found where the drop down array is and can add my own custom number of logs to display but couldnt figure out how to turn the default from 10 to 50 or another number.
thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Log Number displayed
« Reply #1 on: May 10, 2009, 10:09:50 pm »
Search for
Code: [Select]
$logsPerPage = 10;
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline jacci

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • maths made easy
Re: Log Number displayed
« Reply #2 on: May 10, 2009, 10:28:37 pm »
You are a genius!!
Thanks, that is perfect.
I have been using the Lite version for about 6 months or so, and am SOOOO glad I upgraded to the Pro.
The support you offer is amazing and I am telling everyone about it!

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
5847 Views
Last post January 27, 2007, 07:31:35 pm
by mohoganybrwn
4 Replies
4003 Views
Last post November 10, 2008, 08:02:56 pm
by jsdoyle
2 Replies
3964 Views
Last post December 17, 2008, 07:21:05 pm
by Bar Nuthin
16 Replies
7254 Views
Last post June 03, 2012, 04:09:47 pm
by shuban
1 Replies
3835 Views
Last post May 29, 2013, 08:25:17 am
by Labradoodle-360

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal