 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
February 4th, 2012, 05:38 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
| 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.
|
| |
February 4th, 2012, 10:26 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,693
|
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.
|
| |
February 4th, 2012, 10:41 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
|
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.
|
| |
February 4th, 2012, 10:52 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,693
|
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 |
| |
February 4th, 2012, 10:57 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
|
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.
|
| |
February 4th, 2012, 01:51 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,693
|
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.
|
| |
February 4th, 2012, 01:56 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
|
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.
|
| |
February 4th, 2012, 02:02 PM
|
#8 (permalink)
| | Member Verified Customer
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
|
| |
February 4th, 2012, 02:08 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
| Quote:
Originally Posted by firstrebel 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...
|
| |
February 4th, 2012, 02:11 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,693
|
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.
|
| |
February 4th, 2012, 02:16 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
| Quote:
Originally Posted by Chuck S 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.
|
| |
February 4th, 2012, 02:18 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,693
|
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.
|
| |
February 4th, 2012, 02:21 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 267
| Quote:
Originally Posted by Peter 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
|
| |
February 4th, 2012, 02:25 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
| Quote:
Originally Posted by Chuck S 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.
|
| |
February 4th, 2012, 02:39 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,693
|
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.
|
| |
February 4th, 2012, 02:48 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Feb 2006
Posts: 419
| Quote:
Originally Posted by Chuck S 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.
|
| |
February 4th, 2012, 05:08 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,693
|
Yeah we would have no idea what custom code you created and used. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:39 PM. | |