Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Forum Sideblock - Recent Posts (with BBCodes parsed) Details »
Forum Sideblock - Recent Posts (with BBCodes parsed)
Mod Version: 1.3, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Jun 2020 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (2 votes - 5.00 average) Installs: 13
Released: 24 Feb 2016 Last Update: 06 Jan 2017 Downloads: 72
Not Supported DB Changes Uses Plugins Auto-Template Translations  

Overview:

This product, upon installation, creates a new forum block that will display the most recent posts (the entire content in a scrollable block) with BBCodes parsed, and gives you settings to control several aspects of this new forum block. The settings are divided into 3 main groups:

Forum Block Settings:

Maximum Height Of Forum Block: This allows you to set a maximum height for the total inner block content containing all of the posts. A vertical scrollbars is added as needed. The default value is 450.

Block Title: This allows you to set the displayed title of the forum block, without having to edit the forum block itself. It is recommended that you do not edit the title of the forum block in the Forum Block Manager because the uninstall code depends on the title being its original value in order to remove it. You may include the number of posts shown and the value of a defined phrase to be in the block title. For example, if I want the title of the block to be "MHB's 5 Most Recent Posts" (and I have chosen to display all of the most recent posts) then I would enter in this setting:

MHB's [POSTS] [PHRASE]

where "[POSTS]" will be replaced by the number of posts being displayed, and [PHRASE] will be replaced by either $vbphrase['markfl_recentposts_title'], which is set to "Most Recent Posts" or $vbphrase['markfl_recentpostsperthread_title'], which is set to "Most Recent Posts/Thread".

The default is "[POSTS] [PHRASE]".

Block Title CSS: This setting allows you to apply additional CSS to the forum block title. For example, if you wish for the title to be 25% larger and in red, you would enter:

font-size: 125%; color red

The default is blank.

If you wish to change any other aspect of the forum block (other than the title), then use the "Forum Block Manager" to do so.

Posts Settings:

Posts To Display: This setting allows you to decide whether all of the most recent posts (the number of which you set) will be displayed, or only the most recent post per thread. The default is "Only Most Recent Post Per Thread". If you change this setting once you have the product running, then I recommend you clear the system cache each time you change it.

Number Of Posts To Display: This allows you to decide how many posts will be displayed in the forum block, chosen as per the setting above. The default is 5 posts.

Maximum Height Of Posts: This allows you to set the maximum height (in px) of the post content block before a vertical scrollbar is introduced. The default is 120 px.

Thread Title Settings:

Maximum Thread Title Length: This allows you to set the maximum number of characters from the thread title that will be displayed.

Display Thread Icons?: Allows you to set whether thread icons will be displayed.

Display Thread Prefixes?: Allows you to set whether thread prefixes will be displayed.

Thread Title CSS: Allows you to apply additional CSS to the thread titles.

Each post consists of a header containing the post author's avatar on the left (links to their profile), and a link to the post within its thread (with a tooltip stating which forum the thread is in) with the date/time of the post beneath the link. Both the tooltip and the timestamp use phrasing. Below this header is the block containing the entire post content, with BBCodes parsed.



Updates:

Version 1.01:
  • Attempt to address reported db error.

Version 1.02:
  • Fixed error where height of block was hard-coded.

Version 1.1:
  • Combined queries.
  • Custom templates used to render output.
  • All CSS stored in template.
  • Fixed error causing block not to be removed upon uninstall.

Note: To update to version 1.1, please uninstall any previous versions first and remove any forum blocks left behind, and then install version 1.1.

Version 1.2:
  • All templates cached.

Version 1.3:
  • Block PHP restored.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  • Download and extract the attached .zip file.
  • Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  • Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  • Click "Import."
  • Configure the settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	markfl_rpfb_forumblock.png
Views:	546
Size:	29.1 KB
ID:	154239   Click image for larger version

Name:	markfl_rpfb_acp.jpg
Views:	508
Size:	133.7 KB
ID:	154240  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 25 Feb 2016, 17:20
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Max Taxable View Post
Okay to just upload the XML to overwrite?
The steps I recommend using to upgrade to version 1.1 are as follows:
  1. Uninstall old version.
  2. Delete any remaining forum blocks associated with this product that were left behind.
  3. Install new version.
  4. Reset your settings for this product.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #32  
Old 25 Feb 2016, 17:23
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
I did the uninstall, and got this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #33  
Old 25 Feb 2016, 17:26
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Max Taxable View Post
I did the uninstall, and got this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Edit the product to remove the uninstall code, then uninstall, then remove any blocks this product left behind. Then install the new version. Sorry for the inconvenience.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #34  
Old 25 Feb 2016, 17:33
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Annnnnd..... No forum sidebar block was created on new install.
Reply With Quote
  #35  
Old 25 Feb 2016, 17:46
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Max Taxable View Post
Annnnnd..... No forum sidebar block was created on new install.
I re-uploaded the product files to make sure I didn't make an error there...the install/uninstall works perfectly for me on both of my test sites.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #36  
Old 25 Feb 2016, 18:12
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by MarkFL View Post
I re-uploaded the product files to make sure I didn't make an error there...the install/uninstall works perfectly for me on both of my test sites.
THAAAAAAT worked. Successful uninstall and successful re-install.

BUT...

As mentioned by someone else earlier, the mean old lag is still there - only on first load with the default 60 min. cache setting. But every time when it's not cached. I have set it at zero so you can see.

Also, no more vertical scrollbars? And a change to the CSS of the thread titles?

I have it live at previous link for your perusal.
Reply With Quote
  #37  
Old 25 Feb 2016, 18:20
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
The vertical scrollbars are still there...at least they are on my 2 test sites. Have you changed the script name for your forum home? I have the CSS only being rendered when the script name is "index".
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #38  
Old 25 Feb 2016, 18:26
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by MarkFL View Post
The vertical scrollbars are still there...at least they are on my 2 test sites. Have you changed the script name for your forum home? I have the CSS only being rendered when the script name is "index".
Nothing's changed on my site since the last version scrollbars worked.

EDIT: It's weird - I get the scrollbars in my custom mobile style, (styleID=63) but not in vB default style or any other of the desktop styles.
Reply With Quote
  #39  
Old 25 Feb 2016, 18:30
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Max Taxable View Post
Nothing's changed on my site since the last version scrollbars worked.
In the previous versions, the CSS was inline, but now it's in a template, which is only added when the script name is "index" since that's the only place the sidebar displays (unless you are using a product that displays it elsewhere).
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #40  
Old 25 Feb 2016, 18:31
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
I've had to disable the block again, the lag is just murder.
Reply With Quote
  #41  
Old 17 Mar 2016, 18:08
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - Version 1.2:
  • All templates now cached.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #42  
Old 06 Jan 2017, 13:19
Rhodium Rhodium is offline
 
Join Date: Apr 2016
1.2 don't work for me, even in a clean installation :/
Reply With Quote
  #43  
Old 06 Jan 2017, 14:44
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Version 1.3:
  • Block PHP restored.

Originally Posted by Rhodium View Post
1.2 don't work for me, even in a clean installation :/
Uninstall version 1.2, and then install version 1.3...somehow the block's PHP code was dropped, but it's now restored.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #44  
Old 06 Jan 2017, 16:33
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Going to watch this one

Read the entire thread. Interesting. I'm going to wait until others report full success in installing and running this MOD before I download/install.

Don't give up on it MarkFL!
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | StopForumSpam
Reply With Quote
  #45  
Old 06 Jan 2017, 18:01
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Snowhog View Post
Read the entire thread. Interesting. I'm going to wait until others report full success in installing and running this MOD before I download/install.

Don't give up on it MarkFL!
It should be good to go now.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:14.

Layout Options | Width: Wide Color: