Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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

Category: vBulletin Blog - Version: 3.7.5 Rating:
Released: 03-17-2008 Last Update: 03-17-2008 Installs: 37
Additional Files Is in Beta Stage  
No support by the author.

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.

Show Your Support

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

Comments
  #22  
Old 06-26-2008, 09:24 PM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 06-26-2008, 11:28 PM
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by optrex View Post
If you want help, you need to click install, but to give you a clue, your path is wrong.
Can you tell me what my path should look like? I really like the hack and would really like to have it work. You're help is appreciated.

BTW, I originally clicked "Installed" but when I couldn't get it to work, I then clicked "Uninstalled".
Reply With Quote
  #24  
Old 06-28-2008, 07:04 PM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/path/to/forum/comments.php

change /path/to/forum/

to your forum path
Reply With Quote
  #25  
Old 08-30-2008, 08:26 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #26  
Old 08-30-2008, 08:52 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by optrex View Post
check your main DB and look for the table blog_text
It thinks its missing. If you can see it then your reference to the DB is wrong
What do you mean your reference to the DB is wrong? What reference and where? How about real instructions please.

That listing for me shows as: vb_blog_text

My table prefix is the default. vb_

So what gives here?
Reply With Quote
  #27  
Old 09-05-2008, 07:45 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #28  
Old 09-15-2008, 05:30 PM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting only white pages. Verified correct db settings and forum path.
Reply With Quote
  #29  
Old 09-15-2008, 05:47 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tormodg View Post
Getting only white pages. Verified correct db settings and forum path.
Yea this module would be great if iit worked and the instructions were better written. Be even been if it was ACTUALLY supported! I've been waiting for help but get nothing!

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...
Reply With Quote
  #30  
Old 09-15-2008, 07:08 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
$result = mysql_query("SELECT username,title,pagetext,dateline,state,userid,blogtextid
FROM blog_text
WHERE title = ''
    AND state = 'visible' 
ORDER BY dateline desc 
LIMIT 5" ) or die(mysql_error());
while($row = mysql_fetch_array( $result )) {
I tried my table prefix in here: WHERE title = '' like WHERE title = 'vb_'

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!
Reply With Quote
  #31  
Old 09-15-2008, 08:41 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
// You may need to change the db_table_prefix if you altered it from default to something else or removed it
$result = mysql_query("SELECT username,title,pagetext,dateline,state,userid,blog textid
FROM " . TABLE_PREFIX . " blog_text
Thsi mod will not work because the designer left out any way for all of us to enter in our table prefix in this line of code. For this mod to work and not spit back this error:

Quote:
Table 'dbxxxxxxxxxxx.blog_text' doesn't exist
This mod needs the proper code for calling the table prefix. Anything I have tried does not work. Can anyone post the correct line of code here to the blog_txt table will include our correct vb_ prefix?

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!
Reply With Quote
Reply

Thread Tools

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 03:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06671 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete