Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
How to get blogs in new posts search Details »»
How to get blogs in new posts search
Version: 1.00, by optrex optrex is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

Category: vBulletin Blog - Version: 3.7.5 Rating:
Released: 03-19-2008 Last Update: Never Installs: 21
Is in Beta Stage  
No support by the author.

Many people are concerned over the lack of integration of the blog system with the main forum software. I see many posts asking "how do I get my blogs to show up in new posts?"

Basically you need to utilise the blog RSS feed and get it to post a blog as a post.

This is how to do it.

From your admincp - RSS Feed Manager
Add a new RSS Feed
Feed enabled: Yes
URL of feed: http://www.yoursite.com/blogs/feed.rss
Check every: 30 mins
Feeds to fetch: 0
Username: choose or make a new one - blog bot or something
Forum: chose an existing one or make a new forum and select options as you see fit, or see below.
Allow Smilies: yes
Display Signature: no
convert html to bb code: yes


Title template: {rss:title}
Body template:

PHP Code:
{rss:content:encoded}
[
url={rss:link}]Click here to be taken to the Blog...[/url]
[
url="http://www.yourwebsite.com"]Name of your forum [/url
In the next sections, pick what you want but also make sure you do the following
Thread action delay 1
Close thread after delay: yes

Making a new forum
When making a new forum for your blog posts, chose the setting your want for other users, but make sure of the following:

Act as forum: yes
Index New Posts in Search Engine: yes
Forum is open: yes

You can chose whether the forum is hidden or visible, but make sure the username you specified above is in a group that can post to this forum.

Permissions

I didn't want others to post so they have no post permissions. To get to the blog, they click on the link in the post and get taken there directly. To be able to see the posts they must have.

Can View Forum: yes
Can View Thread Content: yes
Can View Others' Threads: yes
Can Search Forums: yes


A working version is at www.midlandsweather.org.uk
My blog forum (so that you can see an example of the posts made is at www.midlandsweather.org.uk/mwf-blog


Please click ***install*** if you use this.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-19-2008, 04:00 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope that Scythe succeeds with this:
Quote:
Originally Posted by Scythe42 View Post
But before that I need to code some stuff so that new entries vom vbBlog show up under New Posts. That's currently more important for my site.
Reply With Quote
  #23  
Old 04-19-2008, 10:42 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't seem to be working for me unless I manually run the scheduled job.....
Reply With Quote
  #24  
Old 04-22-2008, 04:47 PM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SBlueman View Post
Doesn't seem to be working for me unless I manually run the scheduled job.....
In your cheduled task mamanger is your RSS robot running?

*
*
*
0, 10, 20, 30, 40, 50
active: yes
Reply With Quote
  #25  
Old 04-24-2008, 12:06 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, those are the settings in place. I find I have to go into the RSS Feed Manager, reset the last time checked and then manually run the scheduled task.
Reply With Quote
  #26  
Old 04-24-2008, 09:16 AM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats sounds like an issue with the RSS vb side of things. Might be best to get that checked out with vb
Reply With Quote
  #27  
Old 05-24-2008, 06:29 PM
icest0rm's Avatar
icest0rm icest0rm is offline
 
Join Date: May 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a good workaround, but we definitely need some sort of plugin that integrates the blog into the new posts without the use of an RSS feed. These posts from the rss feeds will unnecessarily accumulate. Anybody working on a real plugin?
Reply With Quote
  #28  
Old 06-16-2008, 02:52 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@icest0rm - Sorry to hijack the thread, but I've made a basic product to show recent blogs/comments in search screens over here. The results are not as integrated as this modification but may be enough for some. I've also linked back to this thread in that add-ons description.
Reply With Quote
  #29  
Old 06-16-2008, 01:29 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i just tried this nice feature ... it seems to runs correctly but when i do a preview of my feeds i've got this ...

Code:
This feed supports content:encoded. Your imported feeds may appear nicer if you use {feed:content:encoded} in your bodytemplate instead of {feed:description} and enable the Convert HTML to BB Code option.
also i've a question: when it create the thread with the feed it puts ALL the text of my 'new entry' so my question is: can i decrease the number of the words of my entries, so the feed only create a preview?
Reply With Quote
  #30  
Old 10-30-2008, 12:58 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If someone already has a blog made and adds to it should this show? I am trying this out and everything looks okay but am getting no preview of feed when testing it.
Reply With Quote
  #31  
Old 10-30-2008, 01:31 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Figured it out, forgot to set blogs to be viewable by unregistered members.
Reply With Quote
Reply

Thread Tools

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


All times are GMT. The time now is 08:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06626 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete