The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
New Blogs/Comments in Forum Search Results Details »» | |||||||||||||||||||||||||||
New Blogs/Comments in Forum Search Results
Developer Last Online: Oct 2023
This add-on will include recent blogs and blog comments in your forums search results - This includes "New Posts" and "Today's Posts" results...
Options Maximum number of search results to return Maximum age of comments/blogs to be included in search results Limitations There is no tracking of if a blog has been read or not - if a blog/comment fits in with the above criteria it will be displayed in the search results whether it has been read or not. This can probably be coded in by a more experienced coder than myself - any assistance appreciated. Although I like the extra exposure the blogs get from this so it is not an issue for me. Version History 0.0.1 - Initial release - marked beta until I get some feedback. 0.0.2 - added table prefixes to query 0.0.3 - added table prefixes to query - again :erm: 0.0.4 - fixed the query causing issues on DBs with table prefixes (Confirmed working now) 0.0.5 - removed title tags from listings till I get time to fix issue with title breaking display 0.0.6 - fixed links in results to link to blogs/blogs/comments in the same way search results link to forums/threads/posts 0.0.7 - fixed broken image link, removed errant "<" 0.0.8 - Added fix where blog drafts were showing up in searches as per this post by KrisP 0.0.9 - Now only shows the latest comment from each blog 0.0.9a - Fixed but in 0.0.9 0.0.9b - Fixed date time display to be consistent with rest of forum 0.0.10 - Fixed small bug which sjhows on some systems as per this post by entertain 0.0.11 - Fixed bug where pending blogs were being displayed as per this post by jibi Dependencies You must have vBulletin Blogs Installed Installation Instructions 1. Install Product File 2. Add a single line to your search_results template as below: Edit your "search_results" template search for: Code:
<tr> <td class="tfoot" colspan="$threadcolspan" align="$stylevar[right]"> <if condition="$show['results']"> <span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span> <else /> </if> </td> </tr> </table> Code:
<br />$blogsinsrch There is another work around HERE which offers an alternative way to integrate blogs with Forum search results... Extra Notes To only show new blogs/comment since last visit (in much teh same way as "New Posts" works) see Post Number 41 of this thread For a vBAdvanced module of this add-on, see Post Number 83 Supporters / CoAuthors Show Your Support
|
Comments |
#32
|
||||
|
||||
okay, I've added it
now to see if the members notice it down there.. it would be nice to get the blog post mixed in with the threads new post btw.. [high]* Brandon Sheley clicked install last night [/high] |
#33
|
|||
|
|||
Works wonderfully now!
Bravo |
#34
|
||||
|
||||
Looks good.
Would it be possible to list every blog only once? Sometimes I get the same blog listed 6 times, because there where 6 comments. |
#35
|
||||
|
||||
To place the latest blogs below the list of page numbers (so you don't have to scroll past it to click on the next page), do this:
Below: PHP Code:
PHP Code:
|
#36
|
|||
|
|||
I'll see what I can work out...
|
#37
|
||||
|
||||
I see that it shows moderated blogs, so when members click on the link the get a no permissions page.
|
#38
|
|||
|
|||
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] |
#39
|
||||
|
||||
Thank you! This is wonderful and one of the things I was hoping for to get the blogs more visible.
Is there any way that when a member has read a blog or comment or marked as read under New Posts they could work in a similar manner as posts do? |
#40
|
|||
|
|||
Alfa1 - does the standard Blogs page show moderated blogs?
Zweeper - do you have an example? Dabbi - there may be a way, but I wanted to give the blogs more attention When I next do some tweaks/updates to my site I'll have another look at this add-on |
#41
|
||||
|
||||
Thanks Dartho!
I want them to get attention as well which is why I really like this mod, but if a member has read them already it would be handy if they would disappear until a "New Post" or Comment were added like posts do when using New Posts. I'm concerned that if they see the same thing each time they may mentally ignore that area which sort of defeats the purpose of getting them more visible I would think. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|