[CDB] Previous / Next topic button

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[CDB] Previous / Next topic button

Post by dmzx »

Extension Name: Previous / Next topic button
Author: dmzx

Extension Description:

Displays Previous / Next button in topic.

Extension Version: 1.0.2

Version 1.0.2
Work from version 3.1.0-RC5

Version 1.0.1
Add after buttons top and bottom

Screenshot:
Image

Extension Download:
http://dmzx.github.io/Previous-Next-buttons

Installation:
  1. 1. Download the latest release.
    2. Unzip the downloaded release, and change the name of the folder to `prevnext`.
    3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
    4. Copy the `prevnext` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/prevnext/composer.json
    5. Navigate in the ACP to `Customise -> Manage extensions`
    6. Look for `Previous / Next topic` under the Disabled Extensions list, and click its `Enable` link.
Last edited by dmzx on Sun Jul 05, 2015 7:19 pm, edited 3 times in total.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
tahoebuff
Registered User
Posts: 1429
Joined: Tue Jul 20, 2004 12:33 am
Location: Nevada
Name: Michael
Contact:

Re: [DEV] Previous / Next topic button

Post by tahoebuff »

Great idea :)

Can you add a redirect to the prior place you were if there is no previous or next topic? Currently it just stays on the "there are no" page.
leschek
Registered User
Posts: 838
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Previous / Next topic button

Post by leschek »

Nice one.
Would be possible to add language files for the Previous / Next topic?
Buttons are quite big right now, so I would like to change texts in them to arrows and have text visible only when user hovers over button with mouse.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Previous / Next topic button

Post by Jessica »

Nice extension!
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Previous / Next topic button

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Previous / Next topic button

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [DEV] Previous / Next topic button

Post by Volksdevil »

Hi mate, just uploaded latest version and when there is no next/previous topic I don't get a redirect?

I just get a page "There are no newer/older topics in this forum."

Example at http://www.corradog60.com/viewtopic.php?t=91 "PREVIOUS" link is at bottom of page ;)

EDIT: Would it not be better to not show the prev/next buttons if there is no prev/next?
Last edited by Volksdevil on Fri May 29, 2015 4:07 pm, edited 2 times in total.
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Previous / Next topic button

Post by martin123456 »

You have a large board so it may take some clicking try it here http://www.martins-place.dyndns.info/vi ... hp?f=2&t=4 you can see the buttons as a guest.

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Previous / Next topic button

Post by Mauron »

What about having icon buttons instead of plain text ones?
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [DEV] Previous / Next topic button

Post by Volksdevil »

The redirect still doesn't work for me, I wouldn't say I have a large board?
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
tahoebuff
Registered User
Posts: 1429
Joined: Tue Jul 20, 2004 12:33 am
Location: Nevada
Name: Michael
Contact:

Re: [DEV] Previous / Next topic button

Post by tahoebuff »

Volksdevil wrote:The redirect still doesn't work for me, I wouldn't say I have a large board?
Same here...putting together a new board. It has just me and a test user. Two forums...just a few topics and posts. Have Prosilver and two other styles on it and none redirect.
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am
Contact:

Re: [DEV] Previous / Next topic button

Post by Miri4ever »

Would be nice having previous topic button at left side and next topic button at right site. And maybe instead the long texts just an arrow left and arrow right.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Previous / Next topic button

Post by dmzx »

Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
Locked

Return to “Extensions in Development”