PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page

#1 2005-12-17 06:46:22

Razmooze
Member
From: Sweden, Göteborg
Registered: 2005-11-21
Posts: 58
Website

Sort Posts Mod 1.0.2

Code:

##
##
##        Mod title:  Sort Posts Mod
##
##      Mod version:  1.0.2
##   Works on PunBB:  1.2.10
##     Release date:  2005-12-17
##           Author:  B. Rasmus Anthin (scratty@gmail.com)
##
##      Description:  This mod enables each user to select whether he/she wants
##                    to sort the posts in chronological (PunBB standard) or
##                    reverse chronological order by a checkbox in the profile
##                    page -> Display -> "Set your options for viewing posts".
##
##   Affected files:  profile.php
##                    viewtopic.php
##                    lang/English/profile.php
##                    lang/Swedish/profile.php
##
##       Affects DB:  new user option:
##                       'reverse_posts'
##
##            Notes:  This mod is compatible with the subforum mod
##                    (no additional changes needed).
##
##                    There is a collision with the Real Name mod at
##                    section 16-17. So make sure to add u.realname in the
##                    query to keep the Real Name mod intact (or make a diff
##                    if you're uncertain). There might be a collision with
##                    Calendar mod on this row too, so be vigilant.
##
##                    Skip the swedish translation at 22-23 if you don't have
##                    swedish installed.
##
##                    Line numbers might be slightly off, so use the
##                    search/find function primarily.
##
##         Updating:  version:     affects sections/db:
##                    1.0.1        16-17, 18-19, no database change.
##
##          History:  version:     changes:
##                    1.0.1        Post id's are now displayed correct when
##                                 sorting in reverse chronological order.
##                    1.0.2        Added readme_Easy_Poll.txt for instructions
##                                 on how to get post order to affect polls
##                                 too.
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download here

Offline

 

#2 2005-12-17 06:48:17

Razmooze
Member
From: Sweden, Göteborg
Registered: 2005-11-21
Posts: 58
Website

Re: Sort Posts Mod 1.0.2

Please note that this mod hasn't changed. I've only added a readme file for getting posts sorted correctly in poll-threads.

Offline

 

#3 2007-07-12 21:17:41

alicson
Member
Registered: 2005-02-25
Posts: 13
Website

Re: Sort Posts Mod 1.0.2

does this work with punbb version 1.2.15?

thanks!!

Offline

 

#4 2007-07-13 02:22:28

Mark
Moderator
From: North West England
Registered: 2005-06-06
Posts: 1252
Website

Re: Sort Posts Mod 1.0.2

it should do yes


Cant find something you want? try searching
Also try the wiki
MSN - mark@21s6.com

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.