![]() |
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 |
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. |
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 |
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. |
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 |
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 |
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. |
Seems theres a trailing slash there already? URL to your PhotoPost DATA directory /photopost/data/ |
That is an incorrect url |
That'd be the one :D Thanks again Martyn |
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. |
Quote:
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 |
yep looks lots better now As far as the upload error this should help http://www.photopost.com/forum/1220845-post2.html |
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 :( |
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. |
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. |
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. |
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 |
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. ;) |
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