Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 03-21-2008, 05:26 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't this defeat the purpose of the blog? Why not just have a forum as a "blog" then? What would be the need to install the blog?
Reply With Quote
  #13  
Old 03-21-2008, 07:06 PM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not at all. Blogs work differently to the forums, but there is no way to tell users that an addition has been made to the blog (or comments) without them checking the blog page every time. This brings it to their attention by integrating it into the new posts search, its just like telling them there is a new blog!
Reply With Quote
  #14  
Old 03-22-2008, 03:07 AM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I set the time to close thread it does not work.

In other words , when I follow your 0.25 delay it resets itself to 0 every time.

The settings ONLY allow for whole numbers of one hour or more, not fractions of an hour.
Reply With Quote
  #15  
Old 03-22-2008, 11:05 AM
pcoskat pcoskat is offline
 
Join Date: Apr 2002
Location: atlanta
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to add the username of the original blogger? (currently, all fo the posts in the blog forum are posted by News Bot (and i understand why). Once you open the post, however, it would be nice to know who wrote the original text. Thanks.
Reply With Quote
  #16  
Old 03-22-2008, 09:12 PM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pcoskat View Post
Is there anyway to add the username of the original blogger? (currently, all fo the posts in the blog forum are posted by News Bot (and i understand why). Once you open the post, however, it would be nice to know who wrote the original text. Thanks.
No problem. You need to add {rss:dc:creator} to the body template (wherever you want it put)

as an example

PHP Code:
[url={rss:link}]Click here to be taken to {rss:dc:creator}'s Blog...[/url] 
Reply With Quote
  #17  
Old 03-22-2008, 11:50 PM
molieman's Avatar
molieman molieman is offline
 
Join Date: Oct 2006
Location: Ocala, FL
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, added that to my site. Working fantastic!!!!
Reply With Quote
  #18  
Old 04-03-2008, 02:38 PM
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

added this to my site but just wondering is it now duplicating as I'm posting the blog content on my forum?

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

Quote:
Originally Posted by Milad View Post
This is a mere workaround, it won't solve the problem
Absolutely. We do need real integration. But at least this is a way to alert members of new blogs.
Reply With Quote
  #20  
Old 04-19-2008, 02:50 PM
mdvaldosta mdvaldosta is offline
 
Join Date: Dec 2005
Location: Valdosta, GA
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes we do. Simply showing new blog posts in the "new posts" search would be perfectly fine.
Reply With Quote
  #21  
Old 04-19-2008, 03:47 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand now and like this feature now that I thought about it more.

Now, is there a way to make it so the post shows only a preview of the blog and then a link that says click here to read more?
Reply With Quote
Reply


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 03:06 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.04871 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)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
  • (3)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