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)

dartho 07-06-2008 11:45 PM

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...

Dabbi 07-07-2008 12:09 AM

Thank you so much, that looks like it did the trick. :)

dartho 07-07-2008 12:36 AM

No worries, Dabbi :up:

Quote:

Originally Posted by Zweeper (Post 1563978)
when i use the [font] bb code, then somethin goes wrong with the indexing?!
for example, post a blog like this:
[ FONT="Fixedsys"]
bla bla bla
[ /FONT]

BTW - I just tested this Zweeper - didn't see anything unusual?

Zweeper 07-07-2008 07:07 AM

hm you are right, i had this error only once... so it's ok. sorry ;)

Zweeper 07-15-2008 06:37 AM

post a blog like this and look in your search:





Code:

Jetzt ist der Angelurlaub also vorbei.

http://img410.imageshack.us/img410/4203/imgp0462bx9.jpg

Nach einer kaffeelastigen Gewaltaktion gestern Nacht,
w?hrend der wir den Fischen nur 2,5 Stunden Ruhe geg?nnt hatten, steht die Bilanz:
10 Schleien,
1 Rotauge (oder halt ein Fisch mit roten Augen und gr?nem Fell) und
4 m?chtige Karpfen.
 
Die Karpfen haben wir auch direkt vor Ort geschlachtet und gegessen.
Ger?uchert und gegrillt, wobei mir gegrillt besser geschmeckt hatte.
 
Die anderen Fische wurden in einen anderen Weiher gebracht, damit sie sich dort einmal umschauen konnten.
 
Abgesehn von dem wahnsinnig entspannendem Ausblick dem man auf dem Steg, beim angeln hat, gab es auch sehr viele andere sch?ne Momente mit 9 jungen Enten, einem Eisvogelp?rchen, jungen Rotkehlchen und nem kleinem Hecht mit Fisch im Maul *orange*
 
 http://img411.imageshack.us/img411/5635/imgp0465jj4.jpg
 
Bin trotzdem froh dass es jetzt vorbei ist, ich muss unbedingt mal wieder l?nger schlafen.
W?re mir die Katze heute Morgen nicht unsanft ins Gesicht gesprungen w?re ich vermutlich immer noch schlafen... >:(
 
http://img147.imageshack.us/img147/7964/imgp0449wt4.jpg

Meine Hoffnung ist, dass, wenn meine H?nde nicht mehr nach Fisch riechen auch die Hunde und Katzen aufh?ren an mir herum zu lecken und sich daf?r meine Freundin mal wieder Blicken l?sst *orange*

http://img521.imageshack.us/img521/1483/imgp0454uo5.jpg


dartho 07-16-2008 07:05 AM

oops... I think if you edit the blogsinsrch template and remove the 2 occurrences of title="$blogsrch[pagetext]" that should fix it until a new release is done.

Zweeper 07-16-2008 08:48 AM

no, this dont works

dartho 07-16-2008 01:55 PM

sorry - the blogsinsrch_bit template ...

I probably won't have time to have a good look till Friday

carrlos 07-21-2008 03:28 AM

I've been waiting on this since......FOREVER!!!!!!!!!!

INSTALLED!!!!!

EvilJohn 08-11-2008 08:47 AM

Thank you. Sharing FTW.

carrlos 09-01-2008 05:12 PM

Can you make the links in the seach page go to the page of the blog comment? Each link goes to the first page of the blog. Thanks in advance! Great product!

dartho 09-02-2008 07:09 AM

Just added this in 0.0.6 with minimal testing...

carrlos 09-02-2008 03:26 PM

Thanks dartho! I'm hoping the link feature is working as you say! Thanks!

carrlos 09-02-2008 06:16 PM

Here is an example of what is happening to me with 0.0.6.

http://www.maximus.ws/forum/files/ma...log_search.gif

I am running 3.7.3.

Edit: It appears that instead of forum/images/buttons/lastpost.gif, the link for the last post button is coming out forum/images/wf/buttons/lastpost.gif!!!

BTW, why didn't you integrate the modification that you wrote in post #41? It works really good!

carrlos 09-02-2008 07:10 PM

Ok, I opened the product in Dreamweaver and removed the "wf" directory and added your mod from post #41. Everything is fine on that end but I don't know how to get rid of the "<" that appear!

dartho 09-02-2008 09:48 PM

Oops... - Just fixed up the image path and errant "<" download latest 0.0.7 version

I didn't integrate the stuff in post #41 as I don't want it set up like that on my site and that's what I wrote this mod for :)

carrlos 09-02-2008 10:47 PM

Downloading and installing!! :D

carrlos 09-03-2008 02:29 AM

Perfect! The only other change that would be nice is for the "bold" to go away once the link has been accessed like the other search results! :)

JackFranklin 10-30-2008 12:58 AM

Hey, in this post
https://vborg.vbsupport.ru/showpost....9&postcount=41

You say to edit the plugin but I am confused as to what file exactly to edit?

Thanks.

furst 10-30-2008 01:54 AM

thanks for this mod

dartho 10-30-2008 02:12 AM

Quote:

Originally Posted by JackFranklin (Post 1655709)
Hey, in this post
https://vborg.vbsupport.ru/showpost....9&postcount=41

You say to edit the plugin but I am confused as to what file exactly to edit?

Thanks.

If you're unsure how to edit a plug-in, you could edit the product file and do the same search /replace before you install it...

bjkinzluvr 10-30-2008 06:36 AM

I can't even figure out how to get the blog feature on my forum, let alone use your add-on to help integrate it. Can you help me with that? I know it's out of the scope of this, but I would apprecite it.

dartho 10-30-2008 09:12 AM

blogs isn't a 'feature' per se, its an additional product you need to purchase from www.vBulletin.com

Hornstar 10-30-2008 08:42 PM

I may give this a go shortly, just wondering has anyone used it with vb 3.8 and vblog 2 yet?

dartho 10-31-2008 12:53 AM

I've not tested that scenario - I must say I'm suprised the VB team didn't integrate blogs and searches themselves in the latest versions?

Kalina 11-21-2008 01:43 AM

Is there any way to stop the time stamp from showing in Military time and to appear in my forums time style instead... instead of 21:34:34 can it be 9:34pm... also, the time is showing as one hour earlier than the blog post/comment was made...

dartho 11-21-2008 03:04 AM

Sorry - I'm not going to be doing any updates to this one (no time / motivation).

As such I've changed it's settings to "Not Supported" and "Re-usable Code" which means I'm not necessarily going to help, however anyone else can copy/use/enhance the existing code to create a new product which will hopefully be better than this one.

KrisP 11-30-2008 05:01 AM

Seems blog drafts are showing up in search results - anybody got a fix for that?

KrisP 11-30-2008 05:40 AM

Found it:

In plugin search_start change
. " AND blog_text.state = 'visible'"
TO
. " AND blogtitle.state = 'visible'"

Alfa1 11-30-2008 02:02 PM

Thanks for the update.
Does anyone have a fix for blogs showing up multiple times, when there are multiple comments?

dartho 12-08-2008 10:30 PM

I think I've worked out how to limit the results to only the latest comment for each blog... New version up in a minute

Alfa1 12-09-2008 01:37 AM

Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT blog_text.blogid, blog_text.state, blog_text.blogtextid, blog_text.username, blog_text.userid, date( FROM_UNIXTIME( blog_text.dateline ) ) AS date, time( FROM_UNIXTIME( blog_text.dateline ) ) AS time, blogtitle.userid AS authorid, blogtitle.username AS author, blogtitle.views AS views, pagetext, blogtitle.title AS title, blog_text.title AS text_title
FROM vb6_blog_text
INNER JOIN (
SELECT max( blogtextid ) AS blogtextid
FROM vb6_blog_text AS blog_text
GROUP BY blogid
)blogtextids ON blog_text.blogtextid = blogtextids.blogtextid
INNER JOIN vb6_blog AS blogtitle ON blogtitle.blogid = blog_text.blogid
WHERE blog_text.dateline >=1228188924
AND blogtitle.state = 'visible'
ORDER BY blog_text.dateline DESC
LIMIT 15;

MySQL Error : Unknown column 'blog_text.blogid' in 'field list'
Error Number : 1054
Request Date : Tuesday, December 9th 2008 @ 04:35:24 AM
Error Date : Tuesday, December 9th 2008 @ 04:35:24 AM
Script : http://www.mysite.com/forum/search.php?do=getnew

dartho 12-09-2008 02:27 AM

Ah - I see the problem... just a sec, new version coming.\\

New version up 0.0.9a - problem will have only affected those with table prefixes

Alfa1 12-09-2008 02:42 AM

Works great. Thanks!

dartho 12-09-2008 03:03 AM

Quote:

Originally Posted by Kalina (Post 1669754)
Is there any way to stop the time stamp from showing in Military time and to appear in my forums time style instead... instead of 21:34:34 can it be 9:34pm...

Just updated again - 0.0.9b - time/date disaply should be same as rest of forum now...

EvilJohn 12-15-2008 07:15 PM

updated to 0.0.9b I am using 3.8.0 RC1 and vbblog 2.0 RC1 Everything working fine. I am also using the template change in post #41. Thank you for the update. :)

nonwa 12-21-2008 05:04 AM

Please help
Please tell me How can I show this mod in Forum Home (No need to Search anything)
Thanks

dartho 12-21-2008 06:02 AM

Shouldn't be too hard, I'll look into it...

Hugo Holbling 12-21-2008 10:43 AM

I use this mod in combination with Blog Stats Forum Home and they seem to do the job.

nonwa 12-22-2008 09:22 AM

Quote:

Originally Posted by dartho (Post 1690100)
Shouldn't be too hard, I'll look into it...

Thank You very much. That's very kind of you.


All times are GMT. The time now is 01:37 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.01298 seconds
  • Memory Usage 1,810KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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