Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Blog Comments vBAdvanced CMPS Details »
Blog Comments vBAdvanced CMPS
Mod Version: 1.00, by optrex (Member) optrex is offline
Developer Last Online: Mar 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.5 Rating: (4 votes - 3.75 average) Installs: 35
Released: 18 Mar 2008 Last Update: 18 Mar 2008 Downloads: 356
Not Supported Additional Files Is in Beta Stage  

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 in a module on your vba portal page.

Features
Comments will not display if they have not been approved.

Instructions
Click install and download the attached zip file
Edit comments.php and change the variables to allow connection to your database.
Edit cmps_comments_block.php and change the path.
Upload comments.php to your forum directory.
Upload cmps_comments_block.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 - cmps_comments_block.php
Identifier - call it what you want
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 left or right block.

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases vBadvanced CMPS ~ Zoints Newest Blog Entries Tigga vBulletin 3.6 Add-ons 11 02 Apr 2007 15:45

  #31  
Old 16 Sep 2008, 06:13
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Jan 2007
Talking Got It Working!

Finally Got This Working!
Finally got this working with the help of member "rainyleaves". Here are better instructions and a code fix which is missing from the author's zip file comments.php file. The missing code is for selecting your database table prefix which is missing.

IMPORTANT NOTE: IMG Tags Can Stretch Sideblock
IMG tags with longer urls will break this if you set this as a side block. Your cmps page will get stretched breaking your layout! NOTE: More coding is needed to correct this issue. Suggestion: (temp fix) You may want to use this mod as a center block instead.

INSTRUCTIONS:
  1. Edit the cmps_comments_block.php file.
  2. The path in this file must be entered in full url format like this:
  3. include('/homepages/xx/xxxxxxxx/htdocs/foldername/comments.php');
  4. If you use a normal url here it wont work such as: http://www.domain.com/folder/comments.php you will get error messages with that type of url.
  5. Once you have your correct url entered upload the cmps_comments_block.php file to your modules folder.
  6. Next edit the comments.php file which I have attached here that contains the correct fixed code. In the blue highlighted text you must enter in your correct database information.
  7. The red text represents the new code that allows this mod to select your correct table prefix. Example: vb_ which is the default prefix. This code fix will select your correct prefix for you. You do not edit anything here. Without this code in the comments.php file there is no way for this module to work and you will receive the errors that have been reported in this thread. NOTE: The author should correct his original zip file with this updated comments.php file that I have attached here.
  8. Optional: You can choose how many comments to include in the block. This number is marked in green. I set it to 10 in the example below.
  9. Next you must change the two urls to match your site. I labeled these in orange.
  10. Upload the comments.php file to your forum root.
  11. The rest of the author's instructions are correct. (see author's original instructions on how to make a new cmps module.)
Here is the corrected contents of the comments.php file with color highlights to match my above instructions:
Blue = Where you must enter your database information
Red = New table prefix code
Green = Number of comments to include: 10 or 5 or whatever.
Orange = Change the two urls to match your site.

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

Ok this now works for me but I had to set it as a center block since my members use IMG tags in their blog comments. I hope you all find my instructions helpful. Thanks to "rainyleaves" for helping with the missing table prefix code. Again use the attached fixed comments.php file until the author updates his original zip file.

HAPPY BLOGGING!
Attached Files
File Type: zip comments (fixed).zip (1.1 KB, 15 views)
__________________
Yotsume
Kaydev Media Productions
Check out my mods
:
EYO-AIM, FlashChat Combo-Module for vBadvanced 3.6x or 3.7x
Reply With Quote
  #32  
Old 16 Sep 2008, 18:17
rainyleaves rainyleaves is offline
 
Join Date: Mar 2004
Congratulations! Yotsume.
Reply With Quote
  #33  
Old 30 Sep 2008, 04:53
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Jan 2007
More Poor Code Problems!

More Poor Code Problems!

This mod has more problems. If a member posts a comment and makes a few color changes to their text the code will expand the block and destroy the layout of your site by stretching it. Please how can we make it so this mod will not show code in the comments? its showing the raw code and not the styled comments.

So already can you fix this please! This is the only comment cmps mod and its got big problems for site owners!

Please update your mod with a fix so code doesnt show in the comments.
__________________
Yotsume
Kaydev Media Productions
Check out my mods
:
EYO-AIM, FlashChat Combo-Module for vBadvanced 3.6x or 3.7x
Reply With Quote
  #34  
Old 30 Sep 2008, 07:47
optrex optrex is offline
 
Join Date: Sep 2005
I have the same issues with the mod myself but I cannot post an update atm as I am in the process of emigrating from one side of the world to the other and do not have regular PC access. The problem is due to the way the db parses the code into a text string, it just nees some stuff stripping out of it. Shouldn't be too difficult for someone.

Either that or ask your members to post only text based comments.
Reply With Quote
  #35  
Old 15 Oct 2008, 21:07
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Jan 2007
Originally Posted by optrex View Post
I have the same issues with the mod myself but I cannot post an update atm as I am in the process of emigrating from one side of the world to the other and do not have regular PC access. The problem is due to the way the db parses the code into a text string, it just nees some stuff stripping out of it. Shouldn't be too difficult for someone.

Either that or ask your members to post only text based comments.

You do realize you have the ONLY Blog Comments module designed to date. Your module is just one step away from perfection. We need to prevent img tabs from showing inside the block. I co NOT have the members of my blog not use img tags in their blogs.

Please someone look at the code of this hack and come up with a way to strip img tags from being pulled into the block. I am going to ask around to other designers who have other types of comments blocks how they are able to prevent this problem in their mods.
__________________
Yotsume
Kaydev Media Productions
Check out my mods
:
EYO-AIM, FlashChat Combo-Module for vBadvanced 3.6x or 3.7x
Reply With Quote
  #36  
Old 13 Nov 2008, 07:10
fourat's Avatar
fourat fourat is offline
 
Join Date: Mar 2008
How i add Recent , Random entries & recent comment to vBadvanced CMPS in the center column under recent threads ? (like attached picture)

i want to add it under recent threads .. it will be beautiful
can you do that ?

templates shown in picture :
- blog_entry_featured
- blog_home

http://img515.imageshack.us/my.php?image=85ah4.gif
Attached Images
File Type: jpg 85.jpg (123.4 KB, 27 views)

Last edited by fourat; 13 Nov 2008 at 07:58.
Reply With Quote
  #37  
Old 13 Nov 2008, 08:49
optrex optrex is offline
 
Join Date: Sep 2005
Thats a standard feature in the blog settings
Reply With Quote
  #38  
Old 13 Nov 2008, 09:48
fourat's Avatar
fourat fourat is offline
 
Join Date: Mar 2008
yes , but Possible that we use in vBadvanced CMPS
can you do it ?
its will seem so beautiful feature
Reply With Quote
  #39  
Old 20 Jan 2009, 23:07
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Question

With Long Path Images on the vBAdvanced Page the Blog Comments pesented with this Mod Affect the CMPS Pages where it is presented (Left, Center, or Right Column), because it doesn't Trim the Long Words.

My Best Regards.

Reply With Quote
  #40  
Old 23 Jan 2009, 00:23
optrex optrex is offline
 
Join Date: Sep 2005
* It is well documented that this hack does not work in its current state with images or url's in comments. I would suggest that for now you disable the following functionality in blog comments

Maximum Images Per Comment = 0

Then in usergroups, under blog comments
Allow Smilies = no
Allow BB Code = no
Allow [IMG] Code = no
Allow HTML = no

Last edited by optrex; 23 Jan 2009 at 08:27.
Reply With Quote
  #41  
Old 23 Jan 2009, 02:24
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Unhappy

Originally Posted by optrex View Post
* It is well documented that this hack does not work in its current state with images or url's. I would suggest that for now you disable the following functionality in blog comments

Maximum Images Per Comment = 0

The in usergroups, under blog comments
Allow Smilies = no
Allow BB Code = no
Allow [IMG] Code = no
Allow HTML = no
That's Not a Solution; the Solution is that the Developer creates the Code/Plugin that Reads Each Comment and Cut the Long Words, and offer the Option to Set that Max. Number of Characters on Words; you can see that functionality on vBAdvanced for the Latest Threads/Posts Module, where they offer that Option (to Cut Words Larger than X Characters).

For Now with that Problem is not Possible to Use this Mod at least not without offering Forumers Less Options on the Blogs, which wouldn't be Atractive (Blogs would be Boring that way).

My Best Regards.

Reply With Quote
  #42  
Old 23 Jan 2009, 08:26
optrex optrex is offline
 
Join Date: Sep 2005
Originally Posted by inciarco View Post
That's Not a Solution; the Solution is that the Developer creates the Code/Plugin that Reads Each Comment and Cut the Long Words, and offer the Option to Set that Max. Number of Characters on Words; you can see that functionality on vBAdvanced for the Latest Threads/Posts Module, where they offer that Option (to Cut Words Larger than X Characters
You are correct it is not a solution. Infact its a "work around" and in post 1 it is referred to as a "recommendation". I have provided a hack to the best of my ability that reaches the limits of my coding skills. It works, but its not perfect. Of course I would like it to work flawlessly, perhaps oneday, someone would like to work alongside me and improve it.

Until then, your option is to take it or leave it.

Of course you could always use one of the many other hacks that put blog comments onto vbA.....oh there are none .....perhaps that is a reflection on how difficult it is to modify?
Reply With Quote
  #43  
Old 21 Feb 2009, 12:29
optrex optrex is offline
 
Join Date: Sep 2005
To all of those who asked, this mod has now been updated to include formatting, smilies and URL's.

The updated version is at http://www.vbulletin.org/forum/showthread.php?p=1750571
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 16:25.

Layout Options | Width: Wide Color: