Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Order Stickies
Author Message
Nickman Offline
Manager
*******
Management

Posts: 2,699
Joined: May 2008
Reputation: 67
Post: #1
Order Stickies
Mod Description: Allows you to rearrange your stickies!

Link to Mods DB: Get It
01-26-2009, 07:26 PM
Visit this user's website Find all posts by this user
madshark Offline
Member
***

Posts: 185
Joined: Feb 2009
Reputation: 0
Post: #2
RE: Order Stickies
i was just wondering how to get this done .. and voila! it on mybbsource !!!
04-12-2009, 04:04 AM
Find all posts by this user
markreviss Offline
Junior Member
**

Posts: 12
Joined: Apr 2009
Reputation: 0
Post: #3
RE: Order Stickies
rearrange how?
04-23-2009, 02:23 PM
Find all posts by this user
okitai Offline
Member
***

Posts: 79
Joined: Oct 2008
Reputation: 0
Post: #4
RE: Order Stickies
Move each one up or down in relation to others (if you have more then one).

Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
04-23-2009, 10:33 PM
Visit this user's website Find all posts by this user
Bluepower10 Offline
Teh Awesumnessest
Premium Users

Posts: 156
Joined: Apr 2009
Reputation: 0
Post: #5
RE: Order Stickies
I get an error when I try to extract. :/

[Image: mybbsig.php]
[Image: 1_1998.gif]
Join Traffikr to get more hits and users for your site, guaranteed!
04-25-2009, 12:25 PM
Visit this user's website Find all posts by this user
Gene53 Offline
Junior Member
**

Posts: 28
Joined: Mar 2009
Reputation: 0
Post: #6
RE: Order Stickies
Cool and useful idea, I'll give it a try.

Cheers,
Gene
05-07-2009, 12:27 PM
Find all posts by this user
DJBoddington Offline
Junior Member
**

Posts: 21
Joined: Oct 2008
Reputation: 0
Post: #7
RE: Order Stickies
oooh sounds good Wink

Will try it out soon Big Grin
05-10-2009, 12:32 AM
Find all posts by this user
thomasblack Offline
Junior Member
**

Posts: 3
Joined: May 2009
Reputation: 0
Post: #8
RE: Order Stickies
Very cool, installed ! Big Grin
05-26-2009, 04:41 AM
Find all posts by this user
Nickman Offline
Manager
*******
Management

Posts: 2,699
Joined: May 2008
Reputation: 67
Post: #9
RE: Order Stickies
(04-25-2009 12:25 PM)Bluepower10 Wrote:  I get an error when I try to extract. :/

Try using 7zip
05-26-2009, 12:10 PM
Visit this user's website Find all posts by this user
mflammia Offline
Junior Member
**

Posts: 4
Joined: Jul 2009
Reputation: 0
Post: #10
RE: Order Stickies
New to this so bear with me.

Following the instructions I have uploaded the 'Docs' and 'Upload' to the root directory - Not sure but the root directory already has a directory called 'Uploads', so not sure if this is the same thing?

Made the first modification to the forumdisplay.php file and now get the following error?

MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'stickorder' in 'order clause'
Query:
SELECT t.*, (t.totalratings/t.numratings) AS averagerating, r.uid AS rated, t.username AS threadusername, u.username FROM mybb_threads t LEFT JOIN mybb_users u ON (u.uid = t.uid) LEFT JOIN mybb_threadratings r ON(r.tid=t.tid AND r.uid='1') WHERE t.fid='5' AND (t.visible='1' OR t.visible='0') ORDER BY t.sticky DESC, stickorder DESC ,t.lastpost desc LIMIT 0, 20

After that I dont know what the instructions mean?

Template edit:
Edit forumdisplay_thread

Find:
{$prefix} {$gotounread}{$thread['subject']}{$thread['multipage']}

Add after:
{$stickorder}
Hi, still need help with the above but think the later part means to do this with the code below?

<span>{$stickorder} {$prefix} {$gotounread}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$stickorder} {$thread['subject']}</a>{$stickorder} {$thread['multipage']}</span>

----------------------------------------------------------------------------------------------------------------------------------

<span>{$prefix} {$gotounread}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
Ok, worked it out.

Apply the plugin first and the code above. Thanks
(This post was last modified: 07-19-2009, 04:27 AM by mflammia)
07-19-2009, 03:40 AM
Find all posts by this user




User(s) browsing this thread: 4 Guest(s)