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 Tue 10 Mar - 5:47

Is it possible to show page numbers ?


HERE...



phpbb2


Last edited by FIB on Sun 15 Mar - 10:09; edited 1 time in total

FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 11:33

Anyone ?

FIB
Forumember

Male Posts : 498
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 Wed 11 Mar - 11:42

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 : 5464
Reputation : 497
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Wed 11 Mar - 12:20

@FIB

In this way: ?


JS

JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 12:46

No I wanted it to be like this

1 2 3 4 5 etc

FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Wed 11 Mar - 13:01

@FIB

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

JS

JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 13:31

Something like this


FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Wed 11 Mar - 17:05

@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 : 169
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 17:12

@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 : 498
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 Wed 11 Mar - 17:27

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


Last edited by brandon_g on Wed 11 Mar - 17:34; edited 1 time in total


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5464
Reputation : 497
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 17:32

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


FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Wed 11 Mar - 17:35

@FIB
Something like this: ???


If not, then I still do not understand!

JS

JScript
Forumember

Male Posts : 741
Reputation : 169
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 Wed 11 Mar - 17:35

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 : 5464
Reputation : 497
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 17:38

@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 : 498
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Wed 11 Mar - 17:51

@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 : 169
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 17:53

@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 : 498
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Wed 11 Mar - 18:16

@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 Wed 11 Mar - 18:41; edited 1 time in total (Reason for editing : Spell check!)

JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Wed 11 Mar - 18:22

Thank you Wink

FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Thu 12 Mar - 12:13

@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 Thu 12 Mar - 18:29; edited 2 times in total (Reason for editing : New code!)

JScript
Forumember

Male Posts : 741
Reputation : 169
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 Thu 12 Mar - 12:17

Nice codes!

Hagoromo Otsutsuki
Forumember

Male Posts : 548
Reputation : 22
Language : English
Location : Fictional Battle Omniverse

http://fictionalomniverse.forumotion.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Thu 12 Mar - 13:25

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


FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Thu 12 Mar - 13:45

@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 : 169
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Thu 12 Mar - 14:50

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

FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Thu 12 Mar - 15:09

@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 : 169
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Thu 12 Mar - 15:13

@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 : 498
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Thu 12 Mar - 15:16

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

JS

JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Thu 12 Mar - 15:17

Ok @JScript I'll send you a pm

FIB
Forumember

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

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Thu 12 Mar - 16:03

@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 : 169
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Show page numbers

Post by FIB on Thu 12 Mar - 16:26

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 : 498
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Show page numbers

Post by JScript on Thu 12 Mar - 16:42

@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 : 169
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