![]() |
Photopost Pro Random Image Widget
1 Attachment(s)
Hey all,
One of the things that I missed from my transition from Drupal to vBCMS was my Photopost random image block. It's one of the features that my visitors seem to really like as well. After some trial and error, I managed to create a working vBCMS widget that utilizes the "Random Image Anywhere" code submitted by Garrynz on the Photopost site. Now, I will say that I am not a huge fan of the way that Garrynz's code works (variables are defined in the code rather than looking at the config files), but it's a quick and dirty way to get this work. In no way are your database details visible to anybody, so don't worry - it's more of an aesthetic thing than a security thing. Anyway, to utilize this widget, follow these steps: 1. Go into your AdminCP, vBulletin CMS, Widgets, and click on "Add New Widget" 2. Create a new widget of type "PHP Direct Execution" and name it what you want. This name gets used in the header of the widget. I chose "Random Image." 3. Paste the following code in, making changes for your specific environment: PHP Code:
You can see this widget in action on my site, http://www.njpinebarrens.com |
Is this for Photopost Callery og for Photopost Pro?
|
Actually, there is a file that you can download from Photopost, and re-upload in your "Gallery". Then you run it from your Gallery cp. This will create a "product" file that you upload in your vb products section.
This will create a thumbnail strip that you can specify weather you want newest or newest pics. Plus the amount of images you want to show up. You can make the changes in the Plugin section. You can see how I have 6 images are 'random' on my website This of course, if it's Photopost Gallery |
Froggfish,
Photopost Pro, but it might work for regular Photopost (vBGallery) as well. Taz, I saw their plugin, but I don't think that works on the CMS side. Additionally, it takes up a lot of space. This is just a quick and dirty way to display one random image and be done with it. Your site design is very nice, by the way. |
OK
What am I doing wrong My site takes a very long time to load in Template Name??? vbcms_widget_execphp_page |
You can leave the template name as the default vbcms_widget_execphp_page.
What is the URL to your site? |
Pm Send
|
I don't see the random image widget on your CMS.
|
I took it out as home page wouldn't load :(
|
Wouldn't load at all, or would load very slowly?
|
All times are GMT. The time now is 06:07 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:
|