![]() |
|
Mod Options |
![]() |
|||||||||||
Blog Comments vBAdvanced CMPS (formatted)
![]() Developer Last Online: Mar 2011 ![]() ![]() ![]()
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 http://www.vbulletin.org/forum/showthread.php?t=173381 Allows smilies Allows URL's Allows formatting [BBCODE] Bold etc Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
vBulletin Blog Blog Comments vBAdvanced CMPS | optrex | vBulletin 3.7 Add-ons | 42 | 21 Feb 2009 12:29 |
Add-On Releases vBadvanced CMPS ~ Zoints Newest Blog Entries | Tigga | vBulletin 3.6 Add-ons | 11 | 02 Apr 2007 15:45 |
Comments |
#2
|
|||
|
|||
Additional Info
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: http://www.vbulletin.org/forum/showp...4&postcount=17 Instructions to display avatars if using vbseo: http://www.vbulletin.org/forum/showp...7&postcount=25 enjoy ![]()
__________________
My Hacks: Multiple Menu's - Announcement Background Color - Blog Comments on vBA - Blog posts in new search My Sites: Midlands Weather - NZ Weather No members have liked this post.
Last edited by optrex; 09 Mar 2009 at 10:23. |
#3
|
||||
|
||||
![]()
I updated to this new fixed version and it works perfectly!
THANK YOU!!!! Suggestion: You should change your description to say:
__________________
Yotsume Kaydev Media Productions Check out my mods: EYO-AIM, FlashChat Combo-Module for vBadvanced 3.6x or 3.7x No members have liked this post.
|
#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 No members have liked this post.
|
#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.
__________________
My Hacks: Multiple Menu's - Announcement Background Color - Blog Comments on vBA - Blog posts in new search My Sites: Midlands Weather - NZ Weather No members have liked this post.
Last edited by optrex; 21 Feb 2009 at 20:42. |
#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)? No members have liked this post.
|
#7
|
||||
|
||||
BWJ, I agree with your suggestion about adding the title of the blog post.
![]() Great job optrex! I'll be watching this one ![]()
__________________
No members have liked this post.
|
#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. ![]() ![]() No members have liked this post.
|
#9
|
|||
|
|||
Originally Posted by BWJ
Q1 - That's something I've tried to do before. I think it is possible, because vb does something similar in the "all blogs comments" pages. But as yet, I can't work it out with my basic php knowledge as the blog text table displays a blank title field for comments.![]()
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?
__________________
My Hacks: Multiple Menu's - Announcement Background Color - Blog Comments on vBA - Blog posts in new search My Sites: Midlands Weather - NZ Weather No members have liked this post.
|
#10
|
|||
|
|||
Originally Posted by inciarco
1) Good suggestion, I'll have a look.![]()
2) This one I think is more difficult. Can you give a legit example that would break a center column positioning?
__________________
My Hacks: Multiple Menu's - Announcement Background Color - Blog Comments on vBA - Blog posts in new search My Sites: Midlands Weather - NZ Weather No members have liked this post.
|
#11
|
|||
|
|||
Originally Posted by optrex
Okay... I thought there was a reason... ![]()
![]()
Originally Posted by optrex
Admin categories will be fine. I don't mind a manual edit. Optrex - thank you for looking into this... ![]()
![]() No members have liked this post.
|
#12
|
|||
|
|||
Well it took me a while, But I have integrated the suggestions made above.
We now have word limits (better than character limits) for the number of words displayed and we also have the blog entry titles etc as requested. I have also re-written the code to be one file rather than the 2 previously. The variables are also clearer and easier to change. Install time is now less than 5 mins for a noobie ![]()
__________________
My Hacks: Multiple Menu's - Announcement Background Color - Blog Comments on vBA - Blog posts in new search My Sites: Midlands Weather - NZ Weather No members have liked this post.
Last edited by optrex; 27 Feb 2009 at 13:42. |
#13
|
||||
|
||||
You have a typo here:
$limit = 5; //replace 5 with the umber of comments Should say: number I will have to update again and give this new version a try. Thanks for the much needed great work!
__________________
Yotsume Kaydev Media Productions Check out my mods: EYO-AIM, FlashChat Combo-Module for vBadvanced 3.6x or 3.7x No members have liked this post.
|
#14
|
|||
|
|||
We are just getting our blog going and comments are not frequent. Can you code a version that displays Recent Blog Entries vs. Recent Comments. and if there is a recent comment display the comment
No members have liked this post.
|
#15
|
|||
|
|||
I have a mod that picks up new blog entries and puts them into your "new posts". See my signature. Otherwise I need to take a look and put something fresh together, I have some ideas in mind.
__________________
My Hacks: Multiple Menu's - Announcement Background Color - Blog Comments on vBA - Blog posts in new search My Sites: Midlands Weather - NZ Weather No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:04.