PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 4th, 2012, 05:38 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
Show random images outside photopost

Hi, to show random photos outisde of Photopost in a wordpress widget I had the following code and it was working fine, but I tried again after updating to V8 and its not working.

Code:
Content visible to verified customers only.
This is what it shows:

Code:
Content visible to verified customers only.
How can I fix it to work ?

Thanks.
Peter is offline   Reply With Quote
Old February 4th, 2012, 10:26 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Feel free to discuss your code modifications in the mod corner but there is no support for your own little mods from our company.

I would suspect you modified that specific file to work with your wordpress.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 4th, 2012, 10:41 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
No, I have no modification at all, the only difference in the file is from a website to a mail for developer and from 2009 to 2011 for copyright, obviously changes you made, but nothing else.

This code isnt supposed to bring random files of PP ?

Code:
Content visible to verified customers only.
I have used that for years. See this 2006 thread. But now the error is the mentioned above.

Thanks.
Peter is offline   Reply With Quote
Old February 4th, 2012, 10:52 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Peter

Your trying to use some old vb3 include file in your wordpress which obviously it is not made for. Obviously your thread link even shows what I am saying. You modified a file that is for vbulletin to use in your wordpress.

Here is a thread posted over 7 years ago on this old include file for vb3. Maybe pay attention to the paragraph in bold where you need to set the proper database information for your gallery if your gallery and wordpress are in different databases.

PhotoPost Enhanced vB3 Index Integration
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 4th, 2012, 10:57 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
But where in the code you see Vbulletin ?

Code:
Content visible to verified customers only.
I just want to pull random images from photopost to my site.

Is that not posible in any way by photopost itself without having to code mods ?

That code was used without any single modification, yes, the integration was with VB, now its with XF, but I dont want anything from there, I want it from PP itself. Latest images or random, whats inc_features.php for ?

Thanks.
Peter is offline   Reply With Quote
Old February 4th, 2012, 01:51 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
You must not be following what I am saying here. The inc_features.php is a self photo block that was written years ago to include on the vbulletin 3 forum not for use in xenforo or wordpress both of which did not exist 7 years ago when that file was released.

You can check the mod corner to see if there are any random photo blocks you can use in wordpress. I have no knowledge of what blocks there are to use in your situation since the mod forums are outside support and we do not follow what ineractions users have with other users and what mods they care to post.

You could probally modify the file your talking about to work with wordpress and that is probally what you should do.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 4th, 2012, 01:56 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
Ok, now I get it.

As it was working fine when I had the integration with VB, I thought that has nothing to do with it, but it seems it uses VB as a bridge to display the images in other place.

Thanks, will try to find something.
Peter is offline   Reply With Quote
Old February 4th, 2012, 02:02 PM   #8 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
Peter.

Know how you feel. Mine stopped as well. Are you using this code on another domain to put gallery thumbs on that other domain?

Bob
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old February 4th, 2012, 02:08 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
Quote:
Originally Posted by firstrebel View Post
Peter.

Know how you feel. Mine stopped as well. Are you using this code on another domain to put gallery thumbs on that other domain?

Bob
No, same domain.

In homepage wordpress with that code in a widget and PP in a subdirectory of the same domain, just that.

Will look for a solution...
Peter is offline   Reply With Quote
Old February 4th, 2012, 02:11 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Peter I already told you how to solve your issue in post 4. Although as I said the block your talking about is written for vbulletin and as coded from us will only work with vbulletin unless you modify it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 4th, 2012, 02:16 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
Quote:
Originally Posted by Chuck S View Post
Peter I already told you how to solve your issue in post 4. Although as I said the block your talking about is written for vbulletin and as coded from us will only work with vbulletin unless you modify it.
I missed that link, I always confuse it with your sig.

Will try that, but what I see is that "inc_photopost.php" does not exist anymore. I'll play with that and see results.


Thanks.
Peter is offline   Reply With Quote
Old February 4th, 2012, 02:18 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Yes that file does not exist anymore but yes this who discussion is about vbulletin include files made for vb. You can follow any instructions in that old thread to get your database error to go away but like I said you will definately have to modify the file to remove any vb stuff if you want to use that file somewhere it is not designed to go.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 4th, 2012, 02:21 PM   #13 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
Quote:
Originally Posted by Peter View Post
No, same domain.

In homepage wordpress with that code in a widget and PP in a subdirectory of the same domain, just that.

Will look for a solution...
That code works OK in my gallery domain, just trying to get it working again on my other domain.

Bob
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old February 4th, 2012, 02:25 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
Quote:
Originally Posted by Chuck S View Post
Yes that file does not exist anymore but yes this who discussion is about vbulletin include files made for vb. You can follow any instructions in that old thread to get your database error to go away but like I said you will definately have to modify the file to remove any vb stuff if you want to use that file somewhere it is not designed to go.
Will do, thanks.
Peter is offline   Reply With Quote
Old February 4th, 2012, 02:39 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Yep you clearly laid out I think the modifications you made to that file to make it work outside vb in the thread you linked. I would suspect if you go back through your notes you will make a photo block that works with wordpress.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 4th, 2012, 02:48 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 434
Quote:
Originally Posted by Chuck S View Post
Yep you clearly laid out I think the modifications you made to that file to make it work outside vb in the thread you linked. I would suspect if you go back through your notes you will make a photo block that works with wordpress.
Oh no, the thread linked is too old, I started there, but the one I was using is exactly the one that its in v8, no changes at all, but yes, I will look into my backups to see what can I catch, for sure something is there. Also the one you linked can be helpful.

Thanks.
Peter is offline   Reply With Quote
Old February 4th, 2012, 05:08 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Yeah we would have no idea what custom code you created and used.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i show random vbgallery images on all pages ? Steelbelted vBGallery How Do I...? 1 November 21st, 2007 02:45 PM
Show Random Images on non PP Webpage bagpiper Photopost Pro How Do I...? 1 May 6th, 2007 10:16 AM
Show Random images on Index page? bertbrown Photopost Pro How Do I...? 1 December 5th, 2005 02:35 PM
Random images at top of vB don' show stack border lmongello Photopost Pro How Do I...? 7 September 25th, 2005 10:23 PM


All times are GMT -5. The time now is 11:34 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0