vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   vBulletin Blog - Blog Comments vBAdvanced CMPS (https://vborg.vbsupport.ru/showthread.php?t=173381)

optrex 03-17-2008 10:00 PM

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.

optrex 03-18-2008 08:37 AM

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

FleaBag 03-18-2008 05:44 PM

Real nice, thanks a lot!

rainyleaves 03-19-2008 04:16 AM

Thanks for your mod. :)

You need prefix.
Quote:

$result = mysql_query("SELECT username,title,pagetext,dateline,state,userid,blog textid
FROM " . TABLE_PREFIX . "blog_text

Hornstar 03-20-2008 05:15 AM

very nice, however if you know how to get the blog comments to show on a non VB page, that would be fantastic.

optrex 03-20-2008 08:07 AM

Quote:

Originally Posted by hornstar1337 (Post 1469359)
very nice, however if you know how to get the blog comments to show on a non VB page, that would be fantastic.

I will try and sort something out if I get time.

JBMoney 03-31-2008 02:58 PM

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?

optrex 03-31-2008 06:53 PM

sounds like it.

Use Module Wrapper Template - yes
Use clean file output - yes

JBMoney 04-01-2008 04:23 PM

Can this be used on the Forum Home page too? If so, how?

JBMoney 04-01-2008 04:24 PM

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?


All times are GMT. The time now is 10:10 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.01156 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete