Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Blog Comments vBAdvanced CMPS (formatted) Details »»
Blog Comments vBAdvanced CMPS (formatted)
Version: 2.00, by optrex optrex is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

Category: vBulletin Blog - Version: 3.8.1 Rating:
Released: 02-20-2009 Last Update: 02-26-2009 Installs: 31
Additional Files  
No support by the author.

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
  • Comments will not display if they have not been approved.
  • Configurable number of comments
  • Includes smilies
  • Includes URL formatting
  • Allows for text format such as bold
  • Configurable word count in comments
Instructions
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

File Type: zip blog_comments.zip (1.2 KB, 256 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-22-2009, 05:50 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
I got probem when comment link is clicked from CMPS homepage, user is redirected to blogs but they got '...forums/blog.php/blog.php'
Note that it says two times 'blog.php'....than I got trouble with images navbar and stuff

Any suggestions

Thanks for this nice hack, very usefull for my homepage

Regards
Goran
Reply With Quote
  #33  
Old 03-22-2009, 09:00 AM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Line 7, your website should be in the format

Code:
$website = "http://www.domain.net"; //full website URL including http
not
Code:
$website = "http://www.domain.net/forum/blog.php"; //full website URL including http
Reply With Quote
  #34  
Old 03-22-2009, 06:09 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx that resolved my problem

Cheers
Reply With Quote
  #35  
Old 06-26-2009, 09:48 AM
dpnow dpnow is offline
 
Join Date: Jul 2006
Location: Hemel Hempstead UK
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this and it's at the bottom of our forum portal page here:

http://dpnow.com/forum2/cmps_index.php

But I have to say the formatting is not very inspiring - can anyone point me in the right direction for making it present itself more like the Recent Threads module output above on that page?

How would you improve it if it was your site?

Ian
Reply With Quote
  #36  
Old 07-01-2009, 08:28 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the latest version of the blog installed and I am trying to get this single file version of the blog comments installed. However, I get the following error message:

Parse error: syntax error, unexpected T_STRING in /homepages/xx/xxxxxx/htdocs/xxxx/modules/blog_comments.php on line 10

Line 10 of your code is asking for the database password.

What I notice in this single file is there is no database option for inputing the "Server Name". My host doesn't use "Localhost" for this.

Anyway how can I fix this error?

THANKS!
Reply With Quote
  #37  
Old 07-01-2009, 08:52 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was able tofix your module by making manual edits to include my database info.

Also, you have the default table prefix as vb and it is usually always vb_. So people will get an error with the prefix set as vb only.

I fixed your file this way:

1. I had to comment out
//$database
//$username
//$password

2. I had to manually edit and input my database info like this:

Code:
$link = mysql_connect ("xxxx.perfora.net", "dbxxxxxxxx", "pwxxxxx") or die("I cannot connect to the database");
mysql_select_db ("dbxxxxxxx");
Now that I manually edited your file it works fine. I believe you have a number of errors in your current zip file.
Reply With Quote
  #38  
Old 07-03-2009, 01:21 AM
Chimpie's Avatar
Chimpie Chimpie is offline
 
Join Date: Nov 2007
Location: Sarasota, Florida
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only thing I would like to see added to this (unless I'm missing it here) is a way to add Entries to the list, not just comments.
Reply With Quote
  #39  
Old 07-03-2009, 07:25 AM
peleh peleh is offline
 
Join Date: May 2009
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm running wordpress + vbulletin + vbridge, does this mod work on wordpress?
Reply With Quote
  #40  
Old 07-07-2009, 03:33 AM
Dstephan Dstephan is offline
 
Join Date: Aug 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chimpie View Post
The only thing I would like to see added to this (unless I'm missing it here) is a way to add Entries to the list, not just comments.
I'd like this too - I don't really want comments on my front page, but having links to actual blogs would be great.
Reply With Quote
  #41  
Old 07-07-2009, 03:57 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a separate cmps mod for showing blogs entries.

So far no blog mods are properly formatted.

We need blog mods formated to match how nice vba recent threads block looks!

Its shocking that no one has created a proper blog mod yet for vba.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15682 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete