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 - Latest Entry in Postbit (https://vborg.vbsupport.ru/showthread.php?t=179647)

furst 07-18-2008 01:47 PM

what if I give you ten bucks will you fix it?

Dabbi 07-18-2008 02:30 PM

Thanks.. that's okay... with a query would be fine since even with it this mod, once it's working well, will be a real asset to a vB board and very appreciated by many I'm sure. :)

King Kovifor 07-18-2008 09:16 PM

Quote:

Originally Posted by furst (Post 1578426)
what if I give you ten bucks will you fix it?

I would love money, but I prefer to stay free (as I have no paypal or anything) and I don't believe anyone should pay for a free mod.

King Kovifor 07-18-2008 10:35 PM

OK. Updated to 1.0.1, which fixes this issue. I was pulling the data from blog_text which stores both entries and comments. The comments didn't have a title (but still belonged to the user), which caused no link / title to show up. I am now correctly pulling the information from blog which does not include comments and always has a title.

briansol 07-30-2008 08:55 PM

showthread_query

use that hook
$hook_query_fields
$hook_query_joins

add the blog id, blog title to the fields
and the blog table to the join

King Kovifor 07-30-2008 09:21 PM

Quote:

Originally Posted by briansol (Post 1587771)
showthread_query


use that hook
$hook_query_fields
$hook_query_joins


add the blog id, blog title to the fields
and the blog table to the join

Will look into that and figure out how to use it.

Dabbi 07-30-2008 09:39 PM

Thank you for fixing the one problem. :cool: I've installed it and it's looks great now... but I was surprised to see that a draft I wrote up is showing even for reg members.

It seems to me that it would be best to leave drafts not visible until published. Is there by any chance an easy fix for this please? :)

King Kovifor 07-31-2008 03:44 PM

Quote:

Originally Posted by Dabbi (Post 1587806)
Thank you for fixing the one problem. :cool: I've installed it and it's looks great now... but I was surprised to see that a draft I wrote up is showing even for reg members.

It seems to me that it would be best to leave drafts not visible until published. Is there by any chance an easy fix for this please? :)

I didn't think of drafts. Guess I need to check visibility too.

Artes_Marciales 08-04-2008 05:54 AM

Great mod, but it use 1 query for uncached templates
https://vborg.vbsupport.ru/

Can you solve it?

Thanks!! : )

Artes_Marciales 08-08-2008 04:43 AM

Quote:

Originally Posted by Artes_Marciales (Post 1590969)
Great mod, but it use 1 query for uncached templates
http://img526.imageshack.us/img526/9498/uncahedhm5.jpg

Can you solve it?

Thanks!! : )

any reply?? : (

King Kovifor 08-09-2008 01:12 AM

Quote:

Originally Posted by Artes_Marciales (Post 1593858)
any reply?? : (

I've been away. Patience is a virtue. I will see about fixing this in an update soon.

furst 08-28-2008 01:54 AM

How about adding a little more to it? If the number of replies could be displayed (ideally as an option) next to the entry it may bring more attention to the discussion within the blogs. There could even be a different color for the number if there's a new comment on the blog entry. It would look something like this:

The title of latest blog entry (14)

And thanks for making this mod in the first place. I've had it installed since it was released and hope for updates.

yotsume 08-29-2008 10:59 AM

I will install when you get the draft issue resolved when this does not show drafts. I can't use this until that is fixed.

Dabbi 12-15-2008 12:00 AM

It's been a few months and I was wondering how fixing the draft showing issue is going? :)

King Kovifor 12-17-2008 12:33 AM

My brain is scattered right now. Since I am out of school for 2 weeks in < 1 week, I should have time to devote to updating some modifications. I have 3 on my list that need updated.

pspcrazy 01-20-2009 07:28 PM

Thanks looking forward to this plugin :)

thedudleys 01-23-2009 05:45 PM

this is working great for me on a forum of mine that is 3.8.0.

Quote:

Blog Entries: 1
Latest Blog Entry: I.P.R. Policy

2dub 03-13-2009 02:45 PM

Working fine for me thanks!

PrincessFiona 03-29-2009 02:23 PM

This is working great for me.

Kris

AndrewRich 06-08-2009 04:07 AM

Installed. One of my users reported a problem where they have a private blog, but their blog posts are appearing in the postbit even for other users who are not allowed to see the private blog.

I'd think a private blog should not appear there.

Per1213 08-20-2009 03:40 PM

Have all these issues been resolved yet?

AndrewRich 07-09-2010 10:19 PM

I changed the SQL statement from

Code:

        $sql = $this->registry->db->query("SELECT * FROM `" . TABLE_PREFIX . "blog` WHERE `userid`='" . $post['userid'] ."' ORDER BY `blogid` DESC LIMIT 1");
to

Code:

        $sql = $this->registry->db->query("SELECT * FROM `" . TABLE_PREFIX . "blog` WHERE `userid`='" . $post['userid'] ."' AND `state`='visible' AND `pending`='0' ORDER BY `blogid` DESC LIMIT 1");
adding "AND `state`='visible' AND `pending`='0' ". Now only "visible" posts which have been published (not "publish later") are displayed instead of all posts regardless of status. The problem of visible but non-public blog posts still remains.

I've attached the updated product file with the two changes above.


All times are GMT. The time now is 01:28 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
  • Page Generation 0.01235 seconds
  • Memory Usage 1,760KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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