vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > vBa CMPS v3.x & 2.x > Add-On Modules (version 3.x & 2.x)

Reply
 
Thread Tools Display Modes
  #41  
Old 09-29-2007, 06:02 AM
Bergman Bergman is offline
Junior Member
 
Join Date: Sep 2004
Posts: 9
Default Re: VB Blogs Module

Quote:
Originally Posted by kirkus-tat View Post
I'm still getting drafts.

But thanks for sharing anyway, Bergman.

This thing will eventually evolve into a really nice module.
Hmm, it should not show drafts ... this part should sort them away.


WHERE blog.state='visible'


A draft should have blog.state='draft'

I have found one more issue and that is that "private" blog entries still shows up. Dont know wich table that value is in.
Reply With Quote
  #42  
Old 09-30-2007, 05:20 PM
Pingu Pingu is offline
Junior Member
 
Join Date: Jan 2005
Posts: 6
Default Re: VB Blogs Module

I've taken Guganei's query to skip deleted blogs, and added a bit to only use blogs that are visible for everyone. Small change. I'm sure the entire module can be a lot more mature and intelligent but for now this works for me:

Code:
$latestblogs = $db->query(" 
   SELECT blogid, blog.title, blog_user.title AS blogname, username, dateline, userid, views
   FROM " . TABLE_PREFIX . "blog
   LEFT JOIN blog_user ON blog_user.bloguserid=blog.userid
   WHERE blog_user.deleted=0 AND blog_user.options_everyone=3
   ORDER BY dateline DESC 
   LIMIT 5
Reply With Quote
  #43  
Old 10-01-2007, 01:52 PM
trana trana is offline
Senior Member
 
Join Date: Apr 2005
Posts: 290
Default Re: VB Blogs Module

Quote:
Originally Posted by trana View Post
Not working 100% for me. My links are formatted /forum\blogs.php?xxxxx. When the links are clicked on it takes you to the blog page but no images show up, they point to the root of my site instead of /forum.

Any idea what I have to do to fix this?

Thanks!
Any ideas?
Reply With Quote
  #44  
Old 10-02-2007, 04:08 AM
Pingu Pingu is offline
Junior Member
 
Join Date: Jan 2005
Posts: 6
Default Re: VB Blogs Module

Change the path to blog.php in the blog_navbar_link template.
Reply With Quote
  #45  
Old 10-09-2007, 11:58 PM
gorp gorp is offline
Member
 
Join Date: Dec 2004
Posts: 76
Default Re: VB Blogs Module

I got this error:
Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:

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

MySQL Error : Unknown column '0' in 'field list'
Error Number : 1054
Reply With Quote
  #46  
Old 10-11-2007, 05:12 PM
Bergman Bergman is offline
Junior Member
 
Join Date: Sep 2004
Posts: 9
Default Re: VB Blogs Module

I had missed the "private entry" part in the last query. The following works perfect for me.

PHP Code:
SELECT blogidblog.titleblog_user.title AS blognamecomments_visibleusernamedatelineuseridviews
   FROM 
" . TABLE_PREFIX . "blog
   LEFT JOIN blog_user ON blog_user
.bloguserid=blog.userid
   WHERE blog
.state='visible' and blog.pending=and blog_user.options_everyone=3
   ORDER BY dateline DESC 
   LIMIT 3 
I dont think that the "blog_user.deleted=0" posted above is a safe way to filter deleted blog posts. Use "blog.state='visible' and blog.pending=0 and blog_user.options_everyone=3" instead.

Hope that it works for you also.
Reply With Quote
  #47  
Old 10-17-2007, 11:14 PM
imprezion imprezion is offline
Junior Member
 
Join Date: Oct 2007
Posts: 28
Default Re: VB Blogs Module

can any help? how to install the module file?
Reply With Quote
  #48  
Old 10-18-2007, 04:35 AM
enteens enteens is offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
Default Re: VB Blogs Module

Quote:
Originally Posted by nostalgia View Post
Thanks!!

But Your original file has some error.
Then, I created new module from your source.

Thanks.

Yes it had some error , yours is working nostalgia
Thanks
Reply With Quote
  #49  
Old 10-18-2007, 04:38 AM
enteens enteens is offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
Default Re: VB Blogs Module

hai gorp , i had the same error
install nostalgias module its working

imprezion --> to install module , goto admincp > vba cmps > Download / Upload Module
Reply With Quote
  #50  
Old 10-30-2007, 05:53 AM
PoetJC's Avatar
PoetJC PoetJC is offline
Thickness Personified
 
Join Date: Apr 2006
Posts: 48
Default Re: VB Blogs Module

weird:
The file you have uploaded is not a valid module file.

Any suggestions?

Thanx,

Jacquii.
__________________
JacquiiDesigns.com • One of a Kind
Poetry in Color Forum • Celebrating Diversity With The Typed Word
WLSJourney.org • Shaping Ourselves Into Healthier People
JacquiiCooke.com • Poetica Magnifique


Reply With Quote
  #51  
Old 11-06-2007, 02:31 PM
Kseki Kseki is offline
Member
 
Join Date: Jul 2005
Posts: 70
Default Re: VB Blogs Module

Quote:
Originally Posted by PoetJC View Post
weird:
The file you have uploaded is not a valid module file.

Any suggestions?

Thanx,

Jacquii.
me too.
Reply With Quote
  #52  
Old 11-07-2007, 03:28 AM
Buffer.OverRun Buffer.OverRun is offline
Junior Member
 
Join Date: Nov 2005
Posts: 23
Default Re: VB Blogs Module

I've tried both versions on 3.6.8 & neither function.

EDIT: I managed to get it to work by manually creating the php file, template, & module.
I will post full instructions when I get a chance.

Last edited by Buffer.OverRun; 11-07-2007 at 03:46 AM.
Reply With Quote
  #53  
Old 11-07-2007, 04:51 PM
ludachris ludachris is offline
Senior Member
 
Join Date: Oct 2005
Posts: 184
Default Re: VB Blogs Module

Got Nostalgia's module to work, but then I deleted it to try and make some visual changes to the module and reupload it and am now getting this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/vba_cmps_admin.php on line 3374

I reverted to his original code and reuploaded and it gives the same error.
Reply With Quote
  #54  
Old 11-07-2007, 05:17 PM
ludachris ludachris is offline
Senior Member
 
Join Date: Oct 2005
Posts: 184
Default Re: VB Blogs Module

Quote:
Originally Posted by ludachris View Post
Got Nostalgia's module to work, but then I deleted it to try and make some visual changes to the module and reupload it and am now getting this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/vba_cmps_admin.php on line 3374

I reverted to his original code and reuploaded and it gives the same error.
Got it to work by downloading it again and uploading it. I then tweaked some code in the php file that was uploaded to the modules directory instead of trying to tweak the actual module file.
Reply With Quote
  #55  
Old 11-09-2007, 10:24 PM
PoetJC's Avatar
PoetJC PoetJC is offline
Thickness Personified
 
Join Date: Apr 2006
Posts: 48
Default Re: VB Blogs Module

Quote:
Originally Posted by Buffer.OverRun View Post
I've tried both versions on 3.6.8 & neither function.

EDIT: I managed to get it to work by manually creating the php file, template, & module.
I will post full instructions when I get a chance.
That's very kind of you - I look forward to your post.
Thanx

Jacquii.
__________________
JacquiiDesigns.com • One of a Kind
Poetry in Color Forum • Celebrating Diversity With The Typed Word
WLSJourney.org • Shaping Ourselves Into Healthier People
JacquiiCooke.com • Poetica Magnifique


Reply With Quote
  #56  
Old 11-10-2007, 08:07 AM
Macahan Macahan is offline
Junior Member
 
Join Date: Nov 2007
Posts: 18
Default Re: VB Blogs Module

Quote:
Originally Posted by PoetJC View Post
That's very kind of you - I look forward to your post.
Thanx

Jacquii.
Me too. I've tried to do it manually without success.
Reply With Quote
  #57  
Old 11-10-2007, 10:08 PM
Eq4bits Eq4bits is offline
Junior Member
 
Join Date: Oct 2006
Posts: 18
Default Re: VB Blogs Module

What edit needs to be made in the modules>vb_blogs.php file to get the path in the module to link correctly? My cmps_index.php is in my '****.net/members/' directory, and the links to blogs and users are 'pointing' to ****.net/members/blog.php?=....
I tried changing all instances of
Code:
<a href=\"blog.php?.....****">****</a>";
to
Code:
<a href="http://www.****.net/forums/blog.php?.....****">****</a>";
but that not only didn't work but wouldn't allow cmps_index.php to load at all....

other than that I had no problems installing the '2nd' module in this thread. No drafts or private blogs present at this time so I have encountered the problems with regard to those as mentioned in previous posts....

Last edited by Eq4bits; 11-10-2007 at 10:10 PM.
Reply With Quote
  #58  
Old 11-12-2007, 02:30 PM
Eq4bits Eq4bits is offline
Junior Member
 
Join Date: Oct 2006
Posts: 18
Default Re: VB Blogs Module

Quote:
Originally Posted by ericgtr View Post
You can change that in the Module settings. Admin CP > vBa CMPS > Edit Modules > [vb_blogs] scroll down and find Module Link.
I put 'http://www.****.net/forums/blog.php' there and it still 'points' to 'http://www.****.net/members/blog.php' . Did I enter the path incorrectly?
Reply With Quote
  #59  
Old 11-14-2007, 03:14 AM
Illustrious Illustrious is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Default Re: VB Blogs Module

It claims it is not a valid module file (on RC2).
Reply With Quote
  #60  
Old 11-20-2007, 06:56 PM
technot technot is offline
Junior Member
 
Join Date: Nov 2007
Location: norway
Posts: 2
Default Re: VB Blogs Module

it loads fine here as well, but i can not get the links to the blogs to show the right directory. it just shows blog.php?b=1 etc instead of /forum/blog...

i've tried "hacking" the vb_blogs.php, i tried setting the module link to /forum/blog.php .. nothing helps :P
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin Blogs versus vBadvanced Dynamics Kaelon Pre-Sale Questions 0 08-12-2007 05:24 PM
Collapse and Expand on Blogs attroll Feedback & Suggestions 2 05-21-2007 06:10 PM
vBulletin Blogs coming attroll Feedback & Suggestions 10 03-25-2007 03:55 PM


All times are GMT -4. The time now is 09:18 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.