The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Show page numbers

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Solved Show page numbers

Post by FIB on March 10th 2015, 11:47 am

Is it possible to show page numbers ?


HERE...



phpbb2


Last edited by FIB on March 15th 2015, 4:09 pm; edited 1 time in total

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 11th 2015, 5:33 pm

Anyone ?

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by brandon_g on March 11th 2015, 5:42 pm

I do not believe there is, I think this will automatically only take you to the first page of the topic. The latest topics widget and going to the topic from the forum will take you to the last page.


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5140
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 11th 2015, 6:20 pm

@FIB

In this way: ?


JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 11th 2015, 6:46 pm

No I wanted it to be like this

1 2 3 4 5 etc

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 11th 2015, 7:01 pm

@FIB

I'll confess: I did not understand!
You could show that in a sample image?

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 11th 2015, 7:31 pm

Something like this


FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 11th 2015, 11:05 pm

@FIB
Now I understood, but you think it makes sense to have page numbering in the category ?!
And that number would have to be shown to the last topic in the "Last Posts" correct?

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 11th 2015, 11:12 pm

@JScript wrote:@FIB
Now I understood, but you think it makes sense to have page numbering in the category ?!

I would like to try it and see how it works? for each forum of the last posts

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by brandon_g on March 11th 2015, 11:27 pm

Or how about just a 'last post' or 'last page' button instead of each number from 1 up?


Last edited by brandon_g on March 11th 2015, 11:34 pm; edited 1 time in total


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5140
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 11th 2015, 11:32 pm

The last post is already there but I guess I wanted something better than this......


FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 11th 2015, 11:35 pm

@FIB
Something like this: ???


If not, then I still do not understand!

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by brandon_g on March 11th 2015, 11:35 pm

Well if you have 150 pages in 1 topic how earth would you fit it all in 1 tiny space like that? It has to end at somepoint (Last Page button kicks in)


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5140
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 11th 2015, 11:38 pm

@JScript wrote:@FIB
Something like this: ???


If not, then I still do not understand!

JS

Yes like that with an added link 'Last post'

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 11th 2015, 11:51 pm

@brandon_g
Simple, in the same way that is done in this image below:


@FIB
Well, it's a nice challenge!
If I have a free time, I can do, or we can wait for another user to make!

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 11th 2015, 11:53 pm

@JScript wrote:@brandon_g
Simple, in the same way that is done in this image below:


@FIB
Well, it's a nice challenge!
If I have a free time, I can do, or we can wait for another user to make!

JS


Thank you ! even if you don't have time I still thank you for your time and understanding Wink



phpbb2

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 12th 2015, 12:16 am

@FIB

I found only two ways that I can do:
1- With a request to the sub forum /fxx to obtain the numbering;
2- Knowing the number of "Posts Per Page", just calculate the amount and distribute in a unified way, would not need a request!

I will first test with the request ...

JS


Last edited by JScript on March 12th 2015, 12:41 am; edited 1 time in total (Reason for editing : Spell check!)

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 12th 2015, 12:22 am

Thank you Wink

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 12th 2015, 6:13 pm

@FIB
Hi, try this:

In your ACP: Modules -> HTML&JAVASCRIPT -> JavaScript codes management -> [Create a new JavaScript]
Title *: <- Whatever you want
Placement : <- In the home page
Javascript Code * : <- Select, copy and paste the code below in this field:

Link: http://help.forumotion.com/t139541p30-show-page-numbers#948072

Note: In the above code, modify the value of the variable postsPerPage, this value can be taken from the ACP "General -> Messages and e-mails -> Configuration -> Posts Per Page:

For now the code only works on phpBB2 version, then I will do for all versions!

Result:


I hope you enjoy!

JS


Last edited by JScript on March 13th 2015, 12:29 am; edited 2 times in total (Reason for editing : New code!)

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by Hagoromo Otsutsuki on March 12th 2015, 6:17 pm

Nice codes!

Hagoromo Otsutsuki
Forumember

Male Posts : 514
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 12th 2015, 7:25 pm

Works great but doesn't seem to be on all forums? its missing from about 33 of them


FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 12th 2015, 7:45 pm

@FIB
I tested the code in a simple test forum, which is not consistent with the reality of a full board, but if you can give me the address of your forum, I could test directly on it!

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 12th 2015, 8:50 pm

@JScript Do you want admin access? sent you a pm Wink

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 12th 2015, 9:09 pm

@FIB wrote:Do you want admin access? sent you a pm Wink
Not at all!
You should never give admin permissions to anyone, only to staffs!

I have not read and neither I will read your MP, I ask that you please remove it.

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 12th 2015, 9:13 pm

@JScript Ok no problem my forum is www.ourbulgariaforum.com


But you won't see it unless you have an account?

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 12th 2015, 9:16 pm

@FIB
Then you simply create an account with only membership rights and post user name and password!

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 12th 2015, 9:17 pm

Ok @JScript I'll send you a pm

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 12th 2015, 10:03 pm

@FIB
The code is working normally on your forum!

Note that only have paging in topics that contain more than one page.

The code search for topics that contain the following structure: /txxxpxxx-
Where p represents paging and the numbering following corresponds to the page!

See: http://i.imgur.com/yfCuHx6.png
The topics that I have marked not have more than one page!

Example:
1- No paging: http://www.ourbulgariaforum.com/t7328-forum-access
2- With paging: http://www.ourbulgariaforum.com/t7326p20-time-to-check-your-profile

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on March 12th 2015, 10:26 pm

Ok @JSCRIPT thank you sorry I have taken your time for my mistake Embarassed One more question... How is the text size changed? only asking just in case it needs to be bigger with the numbers.

Thank you very much for you help with this.

FIB
Forumember

Male Posts : 484
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on March 12th 2015, 10:42 pm

@FIB wrote:One more question... How is the text size changed? only asking just in case it needs to be bigger with the numbers.
I do not quite understand your question, but you want to change the font size?

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum