Latest Blog in Postbit Using Carp for vBulletin 4.x
This is an update for nevetS' mod for 3.5 at Latest Blog Feed in Postbit using Carp RSS and gotlinks' update for 3.6 at 3.6 Working Recent Blog Mod ( Uses Carp Free ) 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 3.6 Working Recent Blog Mod ( Uses Carp Free ) 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:
global $vbulletin;
PHP Code:
global $vbulletin;
4. Edit postbit (and/or legacy): Find: PHP Code:
<vb:if condition="$post['rank']">
PHP Code:
<!-- latest blog hack -->
For postbit_legacy, use this code instead (thanks to 993ti who posted this here Spoiler (click to open)
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(); CarpCacheShow($post[field6]); $blogentry = ob_get_contents(); ob_end_clean(); vB_Template::preRegister('postbit_legacy',array('blogentry' => $blogentry)); Close
PHP Code:
ob_start();
Download
Latest-Blog-in-Postbit-Suite.txt (2.7 KB, 35 downloads) Supporters / CoAuthors
Screenshots |
Similar Mods
Add-On Releases 3.6 Working Recent Blog Mod ( Uses Carp Free ) | vBulletin 3.6 Add-ons |
Latest Blog Feed in Postbit using Carp RSS | vBulletin 3.5 Add-ons |