Photopost photos in CMS widget
Widget for Photopost
This is a simple way to get your http://www.photopost.com photos in a CMS widget by using the inc_features.php that comes with Photopost. I can not give any advice or support for this code. It is verry simple so I advice you to try it. I hope this works for you. 1: In your Photopost dir make a new php file with this code Code:
<?php include "Full path to your /gallery/inc_features.php"; echo "$photopostfeature" ; ?> 2: Create a PHP Direct Execution widget using this code. Alter the require_once path if needed Code:
ob_start(); echo '<div>'; echo '<center>'; require_once './gallery/inc_latest.php'; echo '</center>'; echo '</div>'; $output=ob_get_contents(); ob_end_clean(); Setting you can edit in inc_features * Number of photos to display * Number of columns (1 for vertical) * which type of images do you want to show (random, most_view, latest) * translate the words "comments, photos, by, Featured Photos" And... If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database! in inc_features.php Download No files for download. Screenshots |
Similar Mods
vBulletin CMS Widgets 3x CMS widget : Widget with 3 tabs, like on Blogs page. | vBulletin 4.x Add-ons |