PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Couple of queries (http://www.photopost.com/forum/photopost-pro-how-do-i/146464-couple-queries.html)

martyn83 September 10th, 2011 04:40 AM

Couple of queries
 
Hi guys,

Installed Photopost over on my site Fiat Scotland (google it, can't link apparently)

What I'd like to do, is try and link each users gallery into the users userprofile.

Is this possible?

Also, when someone clicks the user profile in the gallery it takes them to a page with blank info. Again, I can't link, but if you go onto Fiat Scotland dot com then into the gallery, you'll see what I mean. Is this an issue, fault or something which requires a mod?

I'm not at all great at coding, so any help would be appreciated :)

Thanks,
Martyn

Chuck S September 10th, 2011 11:39 AM

well you also need to say put a hyphen between fiat and scotland. ;)

There is nothing wrong by design the gallery and forum profiles are separate

If I might suggest you can check out the new Photopost Pro 8 beta that has alot of the plugins mods you want.

martyn83 September 10th, 2011 05:43 PM

Whoops. Forgot the hyphen. Ma bad!

Erm, just tried the upgrade. In itself, that was fine, but defaulted to a black layout. No VB4 header etc. Tried integration and now have the following:

Warning: chdir() [function.chdir]: open_basedir restriction in effect. File(/home/sites/yoursite/web) is not within the allowed path(s): (/home/martyn83:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/martyn83/public_html/fiat/upload/photopost/header-inc.php on line 57

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/martyn83/public_html/fiat/upload/photopost/header-inc.php on line 58

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/martyn83/public_html/fiat/upload/photopost/header-inc.php on line 58

Fatal error: require() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/martyn83/public_html/fiat/upload/photopost/header-inc.php on line 58


Running upgrade again runs so far then gives the following errors:

Error performing MySQL command: DROP TABLE pp_ecards;
Error: Unknown table 'pp_ecards'

Error performing MySQL command: ALTER TABLE pp_sort ADD sortby VARCHAR( 1 ) NOT NULL DEFAULT 'b';
Error: Duplicate column name 'sortby'

Error performing MySQL command: ALTER TABLE pp_sort ADD sortdir VARCHAR( 3 ) NOT NULL DEFAULT 'asc';
Error: Duplicate column name 'sortdir'

So, erm, yeh. Back to square one I guess lol

Chuck S September 10th, 2011 07:31 PM

duplicate errors are not a bad thing that just means you ran them

Your chdir issue just means you have the wrong path to your forum in the config-int.php file on the $vbpath line.

As far as layout there are instructions for that in the install file there is a list of css things you need to add to vbulletin as well as the plugins as well.

Code:

Content visible to verified customers only.

martyn83 September 11th, 2011 02:35 AM

Thanks, that's brought the gallery back again :)

Now to integrate the Photopost album onto main usercp, as it's still the old ones there at the mo :)

Just having a look for this, and no joy? I'm probably missing something obvious, but can't see one that's specific to Vb4?

Further, the Featured Photo on the index would be good as well - is this available for the version I've just installed?

Thanks as always,
Martyn

martyn83 September 11th, 2011 03:06 AM

Ok, my main forum index now has a Featured Photos box - but I'm guessing this was an inbuilt option from the latest version of Photopost, as I haven't uploaded any mods this morning to VB to display such a box.

Problem is, the photo's themselves aint showing just at the minute - just the user and file names.

**Update - theres also now Photopost info in Userprofiles, again I cant remember pro-actively making any settings changes to implement this. But, like on the homepage, it's info only and no thumbnails at the moment. Anyone any ideas? Cheers

Chuck S September 11th, 2011 08:37 AM

Yes you have not set your data url in the edit integration settings correctly I would think. I would suggest in admin area of photopost under edit integration the data url needs to have a trailing slash.

martyn83 September 11th, 2011 08:41 AM

Seems theres a trailing slash there already?

URL to your PhotoPost DATA directory /photopost/data/

Chuck S September 11th, 2011 08:49 AM

That is an incorrect url

martyn83 September 11th, 2011 08:59 AM

That'd be the one :D

Thanks again
Martyn

Chuck S September 11th, 2011 09:07 AM

couple things are off on your site.

First did you upload the contents of the photopost additional.css to your vbulletin style edit templates edit css templates section to there additional.css?

Reason I ask is I am unable to find an additional.css stylesheet for that custom style you have and as you see your gallery stuff looked a little wonky.

martyn83 September 16th, 2011 04:54 PM

Quote:

Originally Posted by Chuck S (Post 1291300)
couple things are off on your site.

First did you upload the contents of the photopost additional.css to your vbulletin style edit templates edit css templates section to there additional.css?

Reason I ask is I am unable to find an additional.css stylesheet for that custom style you have and as you see your gallery stuff looked a little wonky.

I thought I had, but I have re-added to the bottom of the additional.css file now. Should that update automatically or do I have to follow some of the upgrade/installer again?

Also seem to be having an issue with some images on upload, some pics get the following error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10368 bytes) in /home/martyn83/public_html/fiat/upload/photopost/image-inc.php on line 116

Am I right in thinking this requires an edit in php.ini?

Thanks,
Martyn

Chuck S September 16th, 2011 08:48 PM

yep looks lots better now

As far as the upload error this should help

http://www.photopost.com/forum/1220845-post2.html

martyn83 September 17th, 2011 01:44 PM

Thanks Chuck.

I still see no overall difference in the layout, but that's fine. If it's fixed something that's fine.

One thing I did spy is on the gallery index.

Clicking on Most Recent / Most Popular / Random forces the previews as wide as possible.

Also, the gallery thumbnails are tiny still. Not sure how to fix this?

**edit** just tried that fix for the memory, makes no difference :(

Chuck S September 17th, 2011 04:29 PM

I see an obvious difference in the layout your css now shows in the gallery

You can read more into the discussion in the thread I linked but using GD2 to process images you are going to have restrictions on sizes of images because it is part of PHP.

martyn83 September 17th, 2011 04:41 PM

Ok, as long as the upload failing is down the res of the image that's ok. I can live with that.

I honestly can't see any changes to the layout, so can only take your word for it :) Still having width issues when clicking random images etc though.

Chuck S September 17th, 2011 06:57 PM

I really do not know what you mean by width issues without you pointing out your issue. Your style css thing I see a big difference take the additional.css statements away and you can see what I saw without then in there. ;) You had no style in the gallery.

martyn83 September 18th, 2011 05:29 AM

Odd....that being the case, I can only imagine it's because you're on as a guest?? I'm logged in and it's not changed to the best of my knowledge. One of the previous fixes you pointed out put the gallery back into our forum style.

RE the width issues, I'll get some screenshots for you when I get home tonight. Currently in Glasgow picking up some family, so will sort out pics later.

Cheers,
Martyn

Chuck S September 18th, 2011 10:56 AM

Not a problem I would suspect if your constraining your site width you want to make sure in your upload options make your medium thresholds low enough so your medium image does not break your page width. That is one thing I notice about your site your site is pretty darn skinny. ;)

martyn83 September 18th, 2011 04:37 PM

1 Attachment(s)
This was gained from clicking Most Popular images. Hope this helps :)

(Incidentally, clicking any of those popular/recent options does the same)


All times are GMT -5. The time now is 12:15 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97