Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Latest Blog in Postbit Using Carp for vBulletin 4.x Details »
Latest Blog in Postbit Using Carp for vBulletin 4.x
Mod Version: 4.01, by djbaxter (Coder/Designer) djbaxter is offline
Developer Last Online: Jul 2017 I like it Show Printable Version Email this Page

vB Version: 4.0.6 Rating: (2 votes - 5.00 average) Installs: 15
Released: 27 Jan 2010 Last Update: 23 Aug 2010 Downloads: 29
Supported Uses Plugins Template Edits Re-usable Code Translations  

This is an update for nevetS' mod for 3.5 at http://www.vbulletin.org/forum/showthread.php?t=91781 and gotlinks' update for 3.6 at http://www.vbulletin.org/forum/showthread.php?t=163718 to make it work in 4.x.

If you already have Carp Free or Carp LE or Carp Evolution, great. If not, you'll have to download a copy from http://carp.docs.geckotribe.com/download.php (Carp Free is now renamed Carp LE). If you need to install Carp first, golinks has some instructions at http://www.vbulletin.org/forum/showthread.php?t=163718 and there are of course more detailed instructions at http://carp.docs.geckotribe.com/

Now, modify your vBulletin installation.

1. Add three custom profile fields - in my setup, they are as follows, but make a note of the field# for later in case yours are different:
  1. Name = Blog RSS Feed (RSS Only!)
    Single-Line Text Box Editable, Searchable, Members field6
    The member enters his blog feed here.
  2. Latest Blog Title
    Single-Line Text Box Searchable, Members field7
    This is filled automatically by Carp with the latest blog post at that feed.
  3. Blog URL
    Single-Line Text Box Searchable, Members field8
    This is the URL to the blog, filled by Carp and used in postbit to make the blog title a live URL.

2. Create a new plugin called Carp Configuration and attach it to hook location: global_bootstrap_init_start


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Create another plugin called Get Users Blog Entry and attach this to hook location: postbit_display_start


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


4. Edit postbit (and/or legacy):

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Remember to change field6 and field8 to correspond to the numbers of the custom fields for your forum.

For postbit_legacy, use this code instead (thanks to 993ti who posted this here:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	latest-blog-in-postbit.jpg
Views:	417
Size:	4.1 KB
ID:	111170  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases 3.6 Working Recent Blog Mod ( Uses Carp Free ) gotlinks vBulletin 3.6 Add-ons 17 17 Nov 2009 03:23
Latest Blog Feed in Postbit using Carp RSS nevetS vBulletin 3.5 Add-ons 81 15 Apr 2009 11:53

Comments
  #2  
Old 27 Jan 2010, 00:29
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
If you wish to restrict the latest blog display to only members in good standing, follow the instructions above but use the following code for postbit:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "G1,G2,G3,G4,G5" by the usergroup ID numbers of any groups who should NOT show the latest blog.

For example, I restrict privileges for new members for the first 10 posts so they don't get to display their blogs. Similarly, I don't want blog titles and links displayed for banned members.

Therefore, I disable this for the following groups:
New member (Registered Members): 2
Probation: 22
Banned: 20
Blocked: 30
Post Moderation: 28
so I would use the following code in postbit:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by djbaxter; 27 Jan 2010 at 01:14.
Reply With Quote
  #3  
Old 28 Jan 2010, 20:33
993ti 993ti is offline
 
Join Date: Dec 2005
Nice mod, thx, comes in handy on my forum
Might want to add that if you use postbit_legacy the plugincode of Get Users Blog Entry should be

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Twenteracingscene - Dutch car club (VB), Aibo forum (VB)
Streetcars (VB),
Reply With Quote
  #4  
Old 28 Jan 2010, 20:53
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Thanks, 993ti. Added in OP and credited to you.
Reply With Quote
  #5  
Old 19 Apr 2010, 21:57
ChaibiAlaa ChaibiAlaa is offline
 
Join Date: Apr 2010
Real name: Chaibi
I did everything, and the blog rss isn't showing, only the text "Recent Blog :" is showing up, no URL neither RSS title .. I did EVERYTHING without any expetion ! I even changed cache time to 1 minute and still nothing shown from my blog, here is the url of a thread where nothing shown in my profile http://www.blogging-talk.com/showthr...?t=3&p=4#post4
Reply With Quote
  #6  
Old 19 Apr 2010, 22:02
ChaibiAlaa ChaibiAlaa is offline
 
Join Date: Apr 2010
Real name: Chaibi
Now working very great when I used the postbit_legacy code I was too Dunky first time
Reply With Quote
  #7  
Old 08 Jun 2010, 17:55
Tryppnotic69 Tryppnotic69 is offline
 
Join Date: Nov 2007
Works great on 4.0.3

Thanks so much for this great mod!
Reply With Quote
  #8  
Old 16 Aug 2010, 15:00
daveaite's Avatar
daveaite daveaite is offline
 
Join Date: Jul 2009
Real name: David
It works perfectly but it affects my cms when a comment is posted in one of the articles via CMS and not the forums (SUITE Version 4.06), trying to figure out why it causes this error:

Fatal error: Call to undefined function CarpCacheShow() in /home/buypoe/public_html/includes/class_postbit.php(284) : eval()'d code on line 2
Is it because CMS does not use postbit and its trying to find it?
__________________

Introducing vBSocial 10
Reply With Quote
  #9  
Old 16 Aug 2010, 15:19
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Try this:
  1. Go into Admin CP | Plugins & Products | Plugin manager
  2. Find and edit the two p[lugins: Carp Configuration and Get Users Blog Entry
  3. Change the hook locations for both to global_complete
Reply With Quote
  #10  
Old 16 Aug 2010, 15:45
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Apparently, that didn't work for davaeaite.

Until recently, I wasn't using the CMS because it was too buggy. I'm just trying it out now and obviously something needs to be changed to register these variables more globally.

I'll update when/if I can figure it out. For now, it works for forum only.

Last edited by djbaxter; 16 Aug 2010 at 15:57.
Reply With Quote
  #11  
Old 16 Aug 2010, 17:19
daveaite's Avatar
daveaite daveaite is offline
 
Join Date: Jul 2009
Real name: David
Thanks for the reply and effort. The mod works perfectly on forums.

CMS it works until theirs a post on a particular thread and that particular article sends out an error.
__________________

Introducing vBSocial 10
Reply With Quote
  #12  
Old 20 Aug 2010, 02:03
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
daveite:

Do you by any chance have this add-on installed: http://www.vbulletin.org/forum/showthread.php?t=150761

If so, disable it and see if you still get the error. That worked with me with the new updated code for the plug-ins now posted above.

If you don't have that specific add-on installed, please look for any other products or plugins that modify the postbit and report them here.

Last edited by djbaxter; 20 Aug 2010 at 02:37.
Reply With Quote
  #13  
Old 17 Nov 2010, 04:51
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Hi,

Can not see the link of Blog, please guide me.
Reply With Quote
  #14  
Old 17 Nov 2010, 05:04
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Cannot see what link? The link in the postbit or postbit_legacy?
Reply With Quote
  #15  
Old 17 Nov 2010, 05:26
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Originally Posted by djbaxter View Post
Cannot see what link? The link in the postbit or postbit_legacy?
Its showing "recent blog" only...i cannot see the latest blog entry link..the field is empty.
Can you just tell me where might i be wrong?
Also the codes you have given above ..do we have to put it in postbit or posbit legacy or both?
please specify which code in which templates

Edit: Thanx it is done, Post Filed number not changed.

Last edited by BlueCheri; 17 Nov 2010 at 06:17.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:51.

Layout Options | Width: Wide Color: