vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Portal Software - CMPS Module: vbBlog View (https://vborg.vbsupport.ru/showthread.php?t=159534)

Imperator 10-04-2007 10:00 PM

CMPS Module: vbBlog View
 
A module showing the last 5 blog entries in the "CMPS News" style.

Imperator 10-05-2007 01:45 PM

Hi all,

this one creates a file "vbblogview.php" in your modules directory and a template "adv_portal_vbblogview". After installation edit the module and change the "Title Row Colspan" value to "5". Thats it! Put it somewhere in the center block of your page and you're done.

I coded this quick and dirty. So if you would like to translate it (it's currently in German) you need to modify the vbblogview.php file on your server. You will know what to change there ;-)

Have fun with it.

ang2el 10-05-2007 02:15 PM

Thanks.

But I am looking for English version so I will wait.

Amiga75 10-05-2007 02:26 PM

Funktioniert Super. Danke.:up:

Minish Link 10-06-2007 09:42 AM

Screenshots, a demo? and a English version.

Imperator 10-06-2007 04:53 PM

OK. Created an English version. Find it attached to this post. Here's a screenshot:

Attachment 70685

A demo is available at http://www.djkaltdorf.net. But as mentioned, it's a German page.

crkgb 10-08-2007 09:10 PM

Sorry I am a new to all this. I installed some mods but this one I can't figure out how to install. Please help ))

Does it also work with Vba?
3.6.8

rainyleaves 10-09-2007 01:11 PM

Awesome!! Thanks!!!

Imperator 10-09-2007 06:10 PM

Quote:

Originally Posted by crkgb (Post 1355762)
Sorry I am a new to all this. I installed some mods but this one I can't figure out how to install. Please help ))

Does it also work with Vba?
3.6.8

Hi!

This is not an Add-On for vBulletin itself. It is a module for the vbAdvanced CMPS system, a portal which integrates into vBulletin. You can find it here: http://www.vbadvanced.com.

To install simply open the vBa CMPS section in your board's admincp and select download/upload module (you need to unzip the file before you can upload it). Change the title row colspan value of the module to 5 after the module has been installed and place it somewhere in the center of your page. Thats it!

Hope this helps ;)

nickginger 10-09-2007 07:01 PM

All that I get is

"The file you have uploaded is not a valid module file."

What am I doing wrong please?

crkgb 10-09-2007 08:19 PM

IThank you. Got it installed. Here is the following problem which is present on the demo site as well.

The links to blog posts look as this:

testvb/blog.php?b=

This way they are led exact same place as blog.php. There is no id for the particular blog. Any fix for that?

Sychev_S 10-09-2007 08:39 PM

I get this error when importing english product:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/vba_cmps_admin.php on line 2986

crkgb 10-09-2007 08:49 PM

TYry German version. English one is corrupted. German actually does install but is pointless the way it is cause all the links lead to the general blog.php

Imperator 10-10-2007 08:47 AM

OK. Here's the update. The links now lead to the BLOGs instead of the blog main page. English version also should work in this version.

nickginger 10-10-2007 10:09 AM

I'm now getting the following error in the English version when trying to upload

[I]Database error in vBulletin 3.6.8:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO adv_modules
(`0`, `modcol`, `displayorder`, `active`, `userperms`)
VALUES
('', '0', '', '1', '1,2,3,4,5,6,7,8');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Date : Wednesday, October 10th 2007 @ 11:48:03 AM

yoyoyoyo 10-10-2007 10:16 AM

I'm getting the following error in the English version when trying to upload
Quote:

Invalid Module Specified
edit- tried again and it works as advertised - thanks

Imperator 10-10-2007 12:47 PM

Quote:

Originally Posted by nickginger (Post 1356774)
I'm now getting the following error in the English version when trying to upload

[I]Database error in vBulletin 3.6.8:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO adv_modules
(`0`, `modcol`, `displayorder`, `active`, `userperms`)
VALUES
('', '0', '', '1', '1,2,3,4,5,6,7,8');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Date : Wednesday, October 10th 2007 @ 11:48:03 AM

I have no clue where this comes from. Indeed there is no column "0" in adv_modules. Which version of CMPS do you run? I only tested it on v3.0 RC1.

However, I don't think that this is an error in the module file. The INSTERT INTO query comes from vba_cmps_admin.php (vba_cmps_admin.php?do=uploadmodule) in your vbulletin's admincp directory. This error could also appear when uploading other modules.

Sorry that I can't help you with this error. Maybe you can get support from the vbadvanced guys.

crkgb 10-11-2007 12:19 AM

Works perfect for me. Thanks for the fix ))

0tolerance 10-24-2007 10:22 AM

Quote:

Fatal error: require() [function.require]: Failed opening required '/mounted-storage/xxxxx/xxxxxxx/xxxxxxx/exasco/forum/modules/vbblogview.php' (include_path='.:/usr/local/lib/php/') in /mounted-storage/xxxxxa/sub002/xxxxxxxxxx/exasco/forum/includes/vba_cmps_include_top.php on line 112
im getting an odd error....
its odd because its trying to load something from the old directory my forum was in.... was originally exasco/forum/includes/vba_cmps_include_top.php
but i changed it a few months ago with a total upgrade to siteexasco/forum/includes/vba_cmps_include_top.php...
any suggestions to fix this?
i get this error with both versions

ludachris 10-25-2007 02:32 PM

Quote:

Originally Posted by nickginger (Post 1356774)
I'm now getting the following error in the English version when trying to upload

[I]Database error in vBulletin 3.6.8:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO adv_modules
(`0`, `modcol`, `displayorder`, `active`, `userperms`)
VALUES
('', '0', '', '1', '1,2,3,4,5,6,7,8');

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Date : Wednesday, October 10th 2007 @ 11:48:03 AM

I get the same exact error when trying to upload the module. I'm running the latest version of vba and vb 3.6.8. Looks like it's not isolated to just one person. Too bad, I really wanted to run this module. Guess I'll have to wait until it's working for everyone.

Rukas 10-29-2007 10:26 AM

How do we edit the template? All I see when I open it is $blogOut

Netaudio 10-29-2007 11:51 AM

also bei mir werden das modul & die php datei nicht erstellt beim hochladen,
ich bekomme nur leere module angezeigt

http://img529.imageshack.us/img529/1...enannt3dd0.jpg

VB 3.6.8 & CMPS v2.2.1

ludachris 11-30-2007 05:03 PM

edit: nevermind, I was trying to upload as a product, not a module.

FQR 01-01-2008 11:29 AM

Quote:

Originally Posted by Rukas (Post 1371030)
How do we edit the template? All I see when I open it is $blogOut

Edit "vbblogview.php" in your modules folder

FQR 01-01-2008 11:50 AM

Any way to keep Drafts from showing?:confused:

Alfa1 01-08-2008 03:53 PM

Are the bugs reported with this hack fixed?
Does this work for vbBlog 1.03?

ang2el 01-23-2008 07:21 PM

Quote:

Originally Posted by Imperator (Post 1356752)
OK. Here's the update. The links now lead to the BLOGs instead of the blog main page. English version also should work in this version.


I just installed to vbulletin Blog 1.0.4 it worked seamlessly.


Thank you very much.

Alfa1 01-24-2008 01:25 AM

I installed it, but links to the blog do not work. All latest blog links point to 'blog.php?b=' No Blog ID is added.

Mondi 04-28-2008 03:28 AM

Great stuff!
been looking for this and it's precisely what I wanted.

Excellent job - thnks [and installed!]

Goomzee 04-28-2008 04:57 AM

it;s show me error on my homepage

Quote:

Database error in vBulletin 3.6.10:

Invalid SQL:
SELECT blogid, title, username, dateline, userid, views, comments_visible FROM blog ORDER BY dateline DESC LIMIT 5;

MySQL Error : Table 'mkne_forums.blog' doesn't exist
Error Number : 1146
Date : Monday, April 28th 2008 @ 12:44:42 AM
Script : http://www.mknexusonline.com/
Referrer : http://www.mknexusonline.com/forums/online.php
IP Address : 202.61.51.198
Username : MKRayden
Classname : vb_database

pbrown 10-06-2008 11:25 PM

Nice module. I changed the text to English and edited the url for blog.php to /forums/blog.php and it works great.

Thanks,

plomaha 10-09-2008 12:08 AM

Imperator, where can I find that scrolling News Ticker displayed in the left-column on the German demo site you linked to? I would love to have a scrolling News Ticker like that on my home Page.
Thanks,
Doug
www.plomaha.com

yotsume 10-20-2008 08:21 PM

Please add this:

When someone makes a comment on a blog that needs to bump the blog to the top of the list of blogs. It doest not do anything. How can this be done please?

Or can you make the same style mod for blog comments to match this one where bb code and image code wont show and stretch the block. a cut off number for characters for comments.

Admiral Cuddles 11-16-2008 05:49 PM

I changed the link where the blogs should go, but that only changes the module title into a link, the other links to the blog posts all simply lead to "/blog.php?b=#" how do I change this to "/forum/blog.php?b=#"


All times are GMT. The time now is 06:34 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.01252 seconds
  • Memory Usage 1,800KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete