Bump Thread for myBB 1.4
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #10
RE: Bump Thread for myBB 1.4
(02-06-2012 02:34 AM)Zenk Wrote:  The only thing that is missing is - there is no information when has the thread been last bumped. Hard to keep track for moderators, if the thread has been bumped before its time.

The plugin records the last bump time in threads table. Maybe you can use it for displaying the info.
Something like this:
Find:

PHP Code:
eval('$bumpthread = "'.$templates->get('showthread_bumpthread').'";');

Add this code before the code above:

PHP Code:
$thread['lastbump'] = my_date($mybb->settings['dateformat'], $thread['lastpostbump']).', '.my_date($mybb->settings['timeformat'], $thread['lastpostbump']);


Then put the {$thread['lastbump']} code to the showthread_bumpthread template.

By default, the value is the same as the lastpost value when you activate the plugin.


02-07-2012 02:05 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Bump Thread for myBB 1.4 - TriTop - 07-23-2010, 09:37 PM
RE: Bump Thread for myBB 1.4 - ZiNgA BuRgA - 07-23-2010, 09:55 PM
RE: Bump Thread for myBB 1.4 - TriTop - 07-23-2010, 10:06 PM
RE: Bump Thread for myBB 1.4 - Zenk - 01-31-2012, 03:48 AM
RE: Bump Thread for myBB 1.4 - ZiNgA BuRgA - 01-31-2012, 04:49 PM
RE: Bump Thread for myBB 1.4 - Zenk - 02-02-2012, 10:38 PM
RE: Bump Thread for myBB 1.4 - RateU - 02-03-2012, 02:50 AM
RE: Bump Thread for myBB 1.4 - ZiNgA BuRgA - 02-03-2012, 09:34 AM
RE: Bump Thread for myBB 1.4 - Zenk - 02-06-2012, 02:34 AM
RE: Bump Thread for myBB 1.4 - RateU - 02-07-2012 02:05 AM
RE: Bump Thread for myBB 1.4 - Zenk - 02-07-2012, 03:09 AM
RE: Bump Thread for myBB 1.4 - Sama34 - 02-11-2012, 02:00 PM
RE: Bump Thread for myBB 1.4 - ZiNgA BuRgA - 02-11-2012, 06:47 PM
RE: Bump Thread for myBB 1.4 - Sama34 - 02-12-2012, 06:02 AM
RE: Bump Thread for myBB 1.4 - kcc - 02-24-2012, 08:46 PM
RE: Bump Thread for myBB 1.4 - RateU - 02-25-2012, 01:52 AM
RE: Bump Thread for myBB 1.4 - kcc - 02-25-2012, 05:47 AM
RE: Bump Thread for myBB 1.4 - ZiNgA BuRgA - 02-25-2012, 04:45 PM
RE: Bump Thread for myBB 1.4 - kcc - 02-26-2012, 06:53 AM
RE: Bump Thread for myBB 1.4 - faxcon - 03-30-2015, 08:30 AM
RE: Bump Thread for myBB 1.4 - Shemo - 04-06-2015, 07:41 AM
RE: Bump Thread for myBB 1.4 - faxcon - 04-07-2015, 11:32 AM
RE: Bump Thread for myBB 1.4 - Shemo - 04-11-2015, 09:52 AM
RE: Bump Thread for myBB 1.4 - asilkmutt - 02-12-2018, 12:30 PM
RE: Bump Thread for myBB 1.4 - .mouni - 02-12-2018, 12:56 PM

 Standard Tools
Forum Jump: