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 - New Blogs/Comments in Forum Search Results (https://vborg.vbsupport.ru/showthread.php?t=182609)

entertain 03-17-2009 02:28 PM

No, you have to change this in the plug-in which is called "Add Blogs to Search Page" :)

dartho 03-17-2009 08:53 PM

Thanks, entertain. Main product file updated. mooncreek, just re-install the latest version.

mooncreek 03-17-2009 09:02 PM

Thanks - I made entertain's edit and it is working sweetly.

Hi5 03-27-2009 05:00 PM

this is great

would love to see something like this for album comments!

cad2go 07-25-2009 03:32 PM

3.8.3 Works a treat! ty

jibi 08-16-2009 11:26 PM

Dartho, it appears that unpublished, pending blogs are also listed. Any way to fix this?

dartho 08-16-2009 11:35 PM

I'll look into it...

jibi 08-17-2009 02:22 AM

*EDIT: Disregard my previous response in case you received it via email notification.

In your Product XML file, find the following:
AND blogtitle.state = 'visible'

Add below it:
AND blogtitle.pending = '0'

This should take care of pending blog entries (that are likely currently scheduled but not published).

Also, be sure to update the version number in the XML. It appears the 0.0.10 version still reflects 0.0.9b.

nascartr 08-17-2009 04:09 PM

Quote:

Originally Posted by dartho (Post 1568559)
I haven;t tested this, but you could edit the "Add Blogs to Search Page" plugin, search for
Code:

if ($datecut == "") {
and replace it with

Code:

if ($vbulletin->userinfo['lastvisit'] != 0) {
$datecut = $vbulletin->userinfo['lastvisit'];
}
else {

This should then only show the new blogs/comments since the last visit - much the same way as a "New Posts" search does...

Let me know how it goes...


Would it be possible to get this added into the next release? I have to edit the plugin with each upgrade.

Per1213 09-04-2009 04:01 PM

Quick query.

New blogs/comments seem to disappear after a certain (and very short) period of time even if I haven't gone and seen the blog post/comment. It is almost as though if someone clicks the new blog then it disappears from the search results for the whole community and not just that one individual user.


All times are GMT. The time now is 06:08 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.01088 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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