![]() |
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. |
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. |
daveite:
Do you by any chance have this add-on installed: https://vborg.vbsupport.ru/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. |
Hi,
Can not see the link of Blog, please guide me. |
Cannot see what link? The link in the postbit or postbit_legacy?
|
Quote:
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. |
Hello,
When using Legacy (Vertical) Postbit Template the blog feed will not show, any way around this? |
Quote:
2. Check that you have the right field# in the additional code. That said, I'm not sure how well suited this is for postbit legacy forums... at best, the blog post title is going to have to wrap condierably. I've never really liked and never used the postbit legacy format so I can't tell you exactly how to modify the display. You may need to play with it a bit. Can you post a screenshot of (1) what the legacy display looks like now and (2) the code in your legacy postbit? |
Is this possible to grab blogs made in the vb-blog stuff on the suite - I only want members most recent blogs from there to show in the postbit.
|
Quote:
|
All times are GMT. The time now is 04:51 PM. |
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:
|