The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Blog Comments vBAdvanced CMPS (formatted) Details »» | |||||||||||||||||||||||||||
Add blog comments to your portal !
One of the main problems with the vB blog module is its poor integration with the main forum. This module allows you to show the last 5 blog comments (number is configurable) in a module on your vba portal page. It displays a short version of the comment, the blog title, and the person who commented, with built in links to the commment, user profile and the blog post itself. This was the first and is still the only blog comments module for vBAdvanced Features
Click install Download the attached zip file Edit blog_comments.php and change the variables to allow connection to your database. Upload blog_comments.php to your modules directory. From your admincp - vba cmps Add new module PHP file Title - call it what you want Active - yes File to include - blog_comments.php Identifier - call it what you want Initialize BB Code Parser - YES Select clean file output Link - choose either blog home or comments page as you wish Save and add to the page of your choice, the module has been designed to be a center block on the basis that long URL titles will push the margins. You can however place it where you want. 28th Feb 2009 - VERSION 2 Version 2 has been completely re-coded to make install land confiuration simpler. Rather than 2 files, there is now only one. This must be installed in the modules folder. Allows blog titles Allows configurable word count to be displayed Links to user profile, blog and comment included. Made variable changes easier in file. 22nd Feb 2009 Version upgrade from https://vborg.vbsupport.ru/showthread.php?t=173381 Allows smilies Allows URL's Allows formatting [BBCODE] Bold etc Download Now
Show Your Support
|
Comments |
#2
|
|||
|
|||
Working example at Midlands Weather Forum
Version 2: Upgrade path Delete the 2 files previously used and start again with this new single file install. Now added Configurable word limit in latest comments Blog titles and links to blog areas - profile, blog post, comment etc. Instructions to display comments from specific category: https://vborg.vbsupport.ru/showpost....4&postcount=17 Instructions to display avatars if using vbseo: https://vborg.vbsupport.ru/showpost....7&postcount=25 enjoy |
#3
|
||||
|
||||
I updated to this new fixed version and it works perfectly!
THANK YOU!!!! Suggestion: You should change your description to say: Quote:
|
#4
|
||||
|
||||
hello!
tried but works not ... what must change in comments.php (mean table prefix)? my database have no table prefix - "FROM " . TABLE_PREFIX . "blog_text.." - what make here? get comments in top of my cmps page .... ?? must be center block? regards macc |
#5
|
|||
|
|||
Hey Macc,
If its appearing at the top of the page, you need to select the clean output from within vba (as per vba instructions with any php module). This also means it must be working, so no need to change " . TABLE_PREFIX . " however you can remove it if you want (exactly what I put in bold) You can place the block where you like, but long URL titles (not the length of the URL themselves) will push the margins, hence its been "designed" for center placement. **Updated** to those who have already installed this version, there is no need to update, I just re-uploaded the file with some typo corrections in the comments. |
#6
|
|||
|
|||
Thank you for this mod!...
1) Question/suggestion: How about including the title and author of the blog entry? To make it easier for the viewer to see what the comment is all about. Example from your homepage: If we take the latest comment in this latest blog comment module Comment by Stourbridge Weather Thanks. The Snow was quite bad near you Dolly. Suggestion 1A: SW's Ski Trip to Italy by Stourbridge Weather Comment by Stourbridge Weather Thanks. The Snow was quite bad near you Dolly. or like this - Suggestion 1B: Comment by Stourbridge Weather in SW's Ski Trip to Italy by Stourbridge Weather Thanks. The Snow was quite bad near you Dolly. 2) Question: Is it possible to take advantage of the blog categories and only retrieve the information from entries from only one specific blog category (instead of all the categories as it is now)? |
#7
|
||||
|
||||
BWJ, I agree with your suggestion about adding the title of the blog post.
Great job optrex! I'll be watching this one |
#8
|
||||
|
||||
Ideas: Can You Add 2 Options?
1. Option to Limit the Number of Characters Displayed on the Comment. (Imagine a Comment of 1,000 or more Characters to be Displayed on CMPS ) 2. Option to Limit the Length of Words in the Comments. Very Big Words or Words that are not Separated would Break the CMPS Layout, so it'd be Good to be able to Limit that. Good Improvements, Thank You For Sharing Them. :up: |
#9
|
|||
|
|||
Quote:
Q2 I will look into, but it may have to be a manual edit based on category id rather than name. I take it you are also thinking admin categories rather than user ones - or both? |
#10
|
|||
|
|||
Quote:
2) This one I think is more difficult. Can you give a legit example that would break a center column positioning? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|