![]() |
Latest Blog in Postbit Using Carp for vBulletin 4.x
1 Attachment(s)
This is an update for nevetS' mod for 3.5 at https://vborg.vbsupport.ru/showthread.php?t=91781 and gotlinks' update for 3.6 at https://vborg.vbsupport.ru/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 https://vborg.vbsupport.ru/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:
2. Create a new plugin called Carp Configuration and attach it to hook location: global_bootstrap_init_start PHP Code:
PHP Code:
4. Edit postbit (and/or legacy): Find: PHP Code:
PHP Code:
For postbit_legacy, use this code instead (thanks to 993ti who posted this here: PHP Code:
|
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:
PHP Code:
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): 2so I would use the following code in postbit: PHP Code:
|
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 Code:
ob_start(); |
Thanks, 993ti. Added in OP and credited to you. :)
|
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
|
Now working very great when I used the postbit_legacy code :D I was too Dunky first time :p
|
Works great on 4.0.3
Thanks so much for this great mod! |
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:
Quote:
|
Try this:
|
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. |
All times are GMT. The time now is 12:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|