Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 230
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 249
Total: 249

Author Topic: Log Number displayed  (Read 4344 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: 16452
    • 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
6730 Views
Last post January 27, 2007, 07:31:35 pm
by mohoganybrwn
4 Replies
6100 Views
Last post November 10, 2008, 08:02:56 pm
by jsdoyle
2 Replies
5254 Views
Last post December 17, 2008, 07:21:05 pm
by Bar Nuthin
16 Replies
9774 Views
Last post June 03, 2012, 04:09:47 pm
by shuban
1 Replies
5419 Views
Last post May 29, 2013, 08:25:17 am
by Labradoodle-360

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal