Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Photopost photos in CMS widget Details »
Photopost photos in CMS widget
Mod Version: 1.00, by Wild Bronco (Member) Wild Bronco is offline
Developer Last Online: Nov 2022 I like it Show Printable Version Email this Page

vB Version: 4.0.3 Rating: (0 vote - 0 average) Installs: 8
Released: 12 Apr 2010 Last Update: Never Downloads: 0
Not Supported Additional Files External Content  

Widget for Photopost

This is a simple way to get your Photopost 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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

My setup is D:/vB4dir/gallery/inc_features.php



2: Create a PHP Direct Execution widget using this code. Alter the require_once path if needed

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Photpost_widget.jpg
Views:	946
Size:	18.4 KB
ID:	115689  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin CMS Widgets 3x CMS widget : Widget with 3 tabs, like on Blogs page. Vaupell vBulletin 4.x Add-ons 55 23 Oct 2012 22:06

Comments
  #2  
Old 12 Apr 2010, 23:45
Wild Bronco Wild Bronco is offline
 
Join Date: Jan 2005
This post might show you how to exclude categories

http://www.vbulletin.org/forum/showp...6&postcount=62
Reply With Quote
  #3  
Old 17 Apr 2010, 06:34
antboy antboy is offline
 
Join Date: Oct 2005
Geiri - thats just what i need but when i set it up as per your instructions changing the path etc i get the following error - beautiful
Reply With Quote
  #4  
Old 25 Jul 2010, 06:01
hendri's Avatar
hendri hendri is offline
 
Join Date: Dec 2004
Real name: Hendri
I ALSO TRY BUT nothing show up .. path = url ?
__________________
INDO DRAGON
Reply With Quote
  #5  
Old 25 Jul 2010, 06:01
hendri's Avatar
hendri hendri is offline
 
Join Date: Dec 2004
Real name: Hendri
require_once './gallery/inc_latest.php';

need to change ? to path or url ?
__________________
INDO DRAGON
Reply With Quote
  #6  
Old 22 Aug 2010, 21:13
tattooz tattooz is offline
 
Join Date: Aug 2010
Anyone get this to work?
Reply With Quote
  #7  
Old 26 Aug 2010, 20:33
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
The problem is that the "dev" says to create this file and pop it into your photopost directory. He never says what it's for or how to access it via the widget. He basically misses a step... No biggy.

So this is what you do...

Create the file as specified. I called mine test.php.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I popped the test.php file into my photopost directory.

next, you have to reference the file you've created in the widget...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and that's it!

Hope this helps!
__________________
-=morrow=-

Last edited by morrow; 26 Aug 2010 at 20:40.
Reply With Quote
  #8  
Old 26 Aug 2010, 21:25
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
well not sure if it matters but even though the hack is free to access Photopost its for a paid addon Photopost , and as far as i know this section is for free addons only
Reply With Quote
  #9  
Old 26 Aug 2010, 21:44
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
I don't think anyone is pimping Photopost. This is simply a tutorial on how to create a vBulletin widget to access another application. The standard vBulletin installation has links to CNN and Ytube videos which encourage you to purchase various music and whatever other advertising those video's and/or newsclips may display. So what's the big deal? I'm actually greatful for guys like Geiri for posting something like this. I wouldn't have figured it out myself. I did a search for it and found it here. Had it not been here, I'd be SOL.

Thanks

***Edit - There is actually a much better version of this in the photopost forum.
__________________
-=morrow=-

Last edited by morrow; 27 Aug 2010 at 12:55.
Reply With Quote
  #10  
Old 04 Sep 2010, 21:07
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by morrow View Post
***Edit - There is actually a much better version of this in the photopost forum.
I can't find it. Do you have a link? TIA
Reply With Quote
  #11  
Old 15 Feb 2011, 23:15
stuartn stuartn is offline
 
Join Date: Apr 2006
Nope doesn't work for me either...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:16.

Layout Options | Width: Wide Color: