![]() |
Blog Comments vBAdvanced CMPS
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. |
Updated version now at https://vborg.vbsupport.ru/showthread.php?p=1750571
to include fixes for smilies, & URL's Additional instructions see https://vborg.vbsupport.ru/showpost....0&postcount=31 Recommendations https://vborg.vbsupport.ru/showpost....0&postcount=40 |
Real nice, thanks a lot!
|
Thanks for your mod. :)
You need prefix. Quote:
|
very nice, however if you know how to get the blog comments to show on a non VB page, that would be fantastic.
|
Quote:
|
After I install this it writes the contents to the top of the page, above the header and all. There's no header either. Did I miss something?
|
sounds like it.
Use Module Wrapper Template - yes Use clean file output - yes |
Can this be used on the Forum Home page too? If so, how?
|
P.S. I did get it to work on the vbAdvanced page, but it's not converting BB links. Any way I can change it so it does?
|
Strange...installed the module...
Everything looks like it should be fine...permissions are fine... But nothing shows up on the vBadvanced front page where the module should be... Any thoughts? |
Hi, I already have a blog installed and everything is working fine. Is it possible to display the avatar pix in a module block?
-Angkor |
Quote:
|
Quote:
|
The only other thing I can think of is, have you uploaded the 2 files to the correct folders and made the changes required?
|
I'm not sure how I went wrong. I am getting this output:
Quote:
|
Didn't work for me. I kept getting a Line 2 error in cmps_comments_block.php file.
|
Quote:
It thinks its missing. If you can see it then your reference to the DB is wrong |
Quote:
|
I have a pathing issue using the mod myself.
My forums are installed at http://forums.mysite.com/ the vBA page resides at http://www.mysite.com/ The module shows up there but all the links use the www.mysite.com instead of forums.mysite.com. Is there a way to make this module understand vB's pathing? The rest of my vBA setups all path correctly. |
The only links that appear are
"comments" and the "username" , so you need to change www.mysite.com to blogs.mysite.com in comments.php to get the paths correct |
Quote:
BTW, I originally clicked "Installed" but when I couldn't get it to work, I then clicked "Uninstalled". |
/path/to/forum/comments.php
change /path/to/forum/ to your forum path |
I tried your mod. Entered my correct database info but it didn't work.
It gives me this message in the block: Table 'dbxxxxxxxxxxx.blog_text' doesn't exist So what did I miss? Your instructions are lacking and how you commented inside your files is also not clear enough. Hope you can help. THANKS! |
Quote:
That listing for me shows as: vb_blog_text My table prefix is the default. vb_ So what gives here? |
I need to bump here because I really need to get this block to work on my CMPS for my site. Can anyone help me out here?
THANKS! |
Getting only white pages. Verified correct db settings and forum path.
|
Quote:
The VB Blog system needs more modules design by better coders. The people over at VBA need to design the mods directly! We desperately need better blog full integrated mods asap! What I am going to do is look at the people who have posted in this thread and PM them for help and ask if they have got this to work and how... |
Where in the code do you set your table prefix? Your instructions inside the file lack. Please give better specific instructions so maybe one person can get this to work!
Code:
// You may need to change the db_table_prefix if you altered it from default to something else or removed it Nothing I do works and my error remains: Table 'db218080794.blog_text' doesn't exist My paths seems to be correct and my database info is correct. Some help please. Unfortunately this is the only mod for blog comments. It says beta but you did set it as supported so please support it! |
Quote:
Quote:
I don't know how to get the correct table prefix code entered on this line. I have compared this to the recent blog mod for VBA but that hasn't helped me. Just telling people here their url is wrong and database info is wrong is poor advise when the original code in comments.php is missing vital code need to make this mod work in the first place. Hello community wake up and lets fix this because we all need real blog blocks ASAP! |
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:
Blue = Where you must enter your database information Code:
<?php HAPPY BLOGGING! |
Congratulations! Yotsume.
|
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. |
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. |
Quote:
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. |
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 |
Thats a standard feature in the blog settings
|
yes , but Possible that we use in vBadvanced CMPS
can you do it ? its will seem so beautiful feature |
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. :( :confused:
My Best Regards. :) |
* 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 |
All times are GMT. The time now is 04:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|