Smart Pagination

Started by Bugo, October 25, 2011, 11:33:06 AM

Previous topic - Next topic

go-


impreza

Great and useful

I have a suggestion - to be a scroll button to start and end pages

Rewind That every one of one position and two of all the items to the last page

How do I turn off limit the number of pages - there are two buttons next to each side of the page - this is an oversight
Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

impreza

badly it works with Simple Portal - the home page
Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

impreza

It's obviously not a problem with SimplePortal. You need to add this line as the second line in the pagination.css file:


.sp_page_index strong,
Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

tMicky

Quote from: impreza on May 10, 2012, 03:42:59 AM
It's obviously not a problem with SimplePortal. You need to add this line as the second line in the pagination.css file:


.sp_page_index strong,

where does one find pagination.css?

Bugo

/Themes/default/css dir.

tMicky


Biology Forums

Good mod.

I removed the margin-right: 3px; (I thought it was a bit unnecessary)

Antechinus

Bugo, nice mod, but it doesn't generate consistent presentation on action=unread and action=unreadreplies. Any chance of updating it so it'll handle those pages too? AFAICT it's just a couple of additions to hooks.php and Subs-Pagination.php.

Bannockburn

Any tips on making this work for 2.0.11? Right now it makes it invisible and spitting out only "<!-- Smart Pagination -->" in the code.

spiros

I get this error (php 7.1)

2: Parameter 1 to smart_pagination_buffer() expected to be a reference, value given

Posted here more info: https://www.simplemachines.org/community/index.php?topic=560303.0

d3vcho

Try to change this:

function smart_pagination_buffer(&$buffer)
{
global $context, $txt;

if (isset($_REQUEST['xml']) || empty($context['page_index'])) return $buffer;


To:

function smart_pagination_buffer($buffer)
{
global $context, $txt;

if (isset($_REQUEST['xml']) || empty($context['page_index'])) return $buffer;
"Greeting Death as an old friend, they departed this life as equals"

spiros

That edit fixed the error, but disabled the mod functionality.
Hmmm, or maybe not, maybe something like nginx or Memcache affecting this mod as sometimes it displays the css changes and others not.

wylekk

Поставил новую версию и посыпались ошибки, на smart_pagination_1.0.smf21 ошибок нет, только не везде стрелки есть.

Тип ошибки: Общие
2: array_merge(): Argument #1 is not an array
https://site.ru/index.php?action=profile;u=14326;area=alerts_popup;counter=3
/home/admin/web/site.ru/public_html/Sources/Class-SmartPagination.php (Строка 47)



Тип ошибки: Неопределенные
8: Undefined index: page_index
https://site.ru/index.php?action=profile;u=14326;area=alerts_popup;counter=3
/home/admin/web/site.ru/public_html/Sources/Class-SmartPagination.php (Строка 41)

Sudhakar Arjunan

I have installed on 2.1 beta 1 but cannot see update.
Do I have some settings to enable.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Sudhakar Arjunan

Type of error: General
The callable SmartPagination::hooks could not be called.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Portugal

Hi Bugo,

You go to update this good mod to works well on 2.0.1.7 version? It gives error if instaled.

Thanks in advance

gevv

Hi,

Should be included in the core  ;D
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Advertisement: