collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 691
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: [News Block] Pagination.. page 1 thats it  (Read 8777 times)

0 Members and 1 Guest are viewing this topic.

Offline xeon365

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2.0.5
  • SP Version: 2.3.5
[News Block] Pagination.. page 1 thats it
« on: September 17, 2013, 02:23:56 PM »
Dunno why but it seems the news block only shows "Pages: [1] " , when it should have lots more pages to show, not even sure if it ever worked at showing more pages but I think it did once.

Can check here http://kraftzone.net

Showing this boards topics... http://kraftzone.net/forum/index.php?board=6.0 

as you can see lot more topics, should be lot more pagination pages on the portal frontpage not just 1.

Seems broken 

Offline xeon365

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2.0.5
  • SP Version: 2.3.5
Re: [News Block] Pagination.. page 1 thats it
« Reply #1 on: September 18, 2013, 05:52:44 PM »
any ideas?

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: [News Block] Pagination.. page 1 thats it
« Reply #2 on: September 20, 2013, 06:51:44 AM »

  You can try this: http://simpleportal.net/index.php?topic=12758.msg63491#msg63491

... it is a custom php block that requires you to manually change some settings at the onset of it including board id(s).

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: [News Block] Pagination.. page 1 thats it
« Reply #3 on: September 20, 2013, 02:36:48 PM »
In the settings for the block, what are the numbers for the following:

Topics to Display:
Starting Post ID:
Posts Per Page:

Offline xeon365

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2.0.5
  • SP Version: 2.3.5
Re: [News Block] Pagination.. page 1 thats it
« Reply #4 on: September 22, 2013, 08:35:09 PM »
Topics to Display:4
Starting Post ID:  1
Posts Per Page: 7


makes no difference it only shows 1 page



also  http://simpleportal.net/index.php?topic=12758.msg63491#msg63491

i did look at that already, but its kinda ugly, and doesn't show comments posted and few other things i didn't like about it...

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: [News Block] Pagination.. page 1 thats it
« Reply #5 on: September 24, 2013, 01:34:58 AM »
Still need help with this?

I looked into the problem on your site and noticed that actually manually filling in the link /?articles=4 and /?articles=8 do not work.

Anything in your Forum Error Log, perhaps? What other mods do you have installed?

Offline xeon365

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2.0.5
  • SP Version: 2.3.5
Re: [News Block] Pagination.. page 1 thats it
« Reply #6 on: September 24, 2013, 04:47:54 AM »
what you mean articles?

there is no article pages.. the thing is set to show news topics from the news announcement board which http://kraftzone.net/forum/index.php?board=6.0

which it does.. only the first 4.. but no pages for all the rest of the topics in that forum board.

these are the other mods

    Mod Name    Version    
1.    Avatar On Board RC1    2.1    [ Install Mod ] [ List Files ] [ Delete ]
2.    Spoiler BBCode    1.1.3    [ Uninstall ] [ List Files ] [ Delete ]
3.    SSI Topics and Replies    2.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    Ohara YouTube Embed    1.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    SMF 2.0.3 Update    1.0    [ List Files ] [ Delete ]
6.    SimplePortal    2.3.4    [ Uninstall ] [ List Files ] [ Delete ]
7.    SMF 2.0.4 Update    1.0    [ List Files ] [ Delete ]
8.    Aeva Media    1.4w    [ Uninstall ] [ List Files ] [ Delete ]
9.    SMF 2.0.5 Update

Offline xeon365

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2.0.5
  • SP Version: 2.3.5
Re: [News Block] Pagination.. page 1 thats it
« Reply #7 on: September 24, 2013, 05:05:30 AM »
Topics to Display:4
Starting Post ID:  1
Posts Per Page: 7

Just tried something

Topics to Display: 4000
Starting Post ID:  1
Posts Per Page: 7


Now it shows the pages... it seems Topics to display doesn't mean the number of topics to show per page... but the total in all pages.. and posts per page is yeh...

well that was confusing... anyway its solved now :)

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: [News Block] Pagination.. page 1 thats it
« Reply #8 on: September 24, 2013, 02:42:37 PM »
That was one of my guesses yeah, the wording is a bit confusing.

?articles is what controls the pagination for displaying which page

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: [News Block] Pagination.. page 1 thats it
« Reply #9 on: September 25, 2013, 11:30:07 AM »
You have to make sure that Topics to Display setting is higher than Posts per page setting. Otherwise all topics to be displayed will on the first and there won't be any more topics left to be displayed on the other pages.
And slowly, you come to realize... It's all as it should be...

Offline Mr Ed.

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 2.0.6
  • SP Version: 2.3.2
Re: [News Block] Pagination.. page 1 thats it
« Reply #10 on: January 05, 2014, 08:48:02 AM »
Is this solved yet?
Because if not:

This did the trick for me in SP 2.3.2:

Quote from: grafitus link=issue=374.com1010#com1010 date=1272994892
On the ./Sources/PortalBlocks.php file (Line 1328).
Code: (Now) [Select]
$page_index = constructPageIndex($current_url . '?sa=news', $start, $limit, $per_page);
Code: (Should be) [Select]
$page_index = constructPageIndex($current_url . 'sa=news', $start, $limit, $per_page);
Detail:
http://simpleportal.net/index.php?topic=5172.msg31450#msg31450
http://simpleportal.net/index.php?topic=5172.msg31493#msg31493

http://simpleportal.net/index.php?issue=374.com3041#com1335


Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: [News Block] Pagination.. page 1 thats it
« Reply #11 on: January 06, 2014, 12:54:01 PM »
I'm sure that issues had been fixed for 2.3.5.
And slowly, you come to realize... It's all as it should be...

Offline Mr Ed.

  • Semi Newbie
  • *
  • Posts: 7
  • SMF Version: 2.0.6
  • SP Version: 2.3.2
Re: [News Block] Pagination.. page 1 thats it
« Reply #12 on: January 18, 2014, 06:23:26 AM »
Agree. Updated the other day to 2.3.5 and pagination was fine.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: [News Block] Pagination.. page 1 thats it
« Reply #13 on: January 24, 2014, 03:46:06 PM »
Thank you for the confirmation. The most recent versions are always the best and way to go.
And slowly, you come to realize... It's all as it should be...