![]() |
|
|
Mod Options |
Photopost Pro Random Image Widget Details »»
|
|||||||||||||||||||||||
|
Photopost Pro Random Image Widget
Developer Last Online: Jul 2010
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:
Important Notes:
You can see this widget in action on my site, http://www.njpinebarrens.com Download Now Only licensed members can download files, Click Here for more information. Show Your Support
|
|||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Is this for Photopost Callery og for Photopost Pro?
|
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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. Last edited by ZippySLC : 31 Jan 2010 at 15:27. |
|
#5
|
|||
|
|||
|
OK
What am I doing wrong My site takes a very long time to load in Template Name??? vbcms_widget_execphp_page Last edited by MattZ DSLR : 31 Jan 2010 at 17:57. |
|
#6
|
||||
|
||||
|
You can leave the template name as the default vbcms_widget_execphp_page.
What is the URL to your site? |
|
#7
|
|||
|
|||
|
Pm Send
Last edited by MattZ DSLR : 31 Jan 2010 at 21:22. |
|
#8
|
||||
|
||||
|
I don't see the random image widget on your CMS.
|
|
#10
|
||||
|
||||
|
Wouldn't load at all, or would load very slowly?
|
|
#11
|
|||
|
|||
|
OK the link works but there is no photo
Do you know y this could be? |
|
#12
|
||||
|
||||
|
Send me a PM with the code you're using. (Edit out your database information)
I'll take a look. |
|
#14
|
||||
|
||||
|
Thanks.
Two things: 1. Is the table prefix for your gallery pp_ 2. It might also be because your images are not viewable by unregistered users, but I'm not quite sure. |
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 07:51.






