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 |
#32
|
|||
|
|||
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 |
#33
|
|||
|
|||
Line 7, your website should be in the format
Code:
$website = "http://www.domain.net"; //full website URL including http Code:
$website = "http://www.domain.net/forum/blog.php"; //full website URL including http |
#34
|
|||
|
|||
Thanx that resolved my problem
Cheers |
#35
|
|||
|
|||
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 |
#36
|
||||
|
||||
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! |
#37
|
||||
|
||||
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"); |
#38
|
||||
|
||||
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.
|
#39
|
|||
|
|||
i'm running wordpress + vbulletin + vbridge, does this mod work on wordpress?
|
#40
|
|||
|
|||
I'd like this too - I don't really want comments on my front page, but having links to actual blogs would be great.
|
#41
|
||||
|
||||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|