PDA

View Full Version : Profile Enhancements - photopost latest uploads by user x in profile


Delphiprogrammi
08-29-2007, 10:00 PM
hi,

This plugin will display the latest uploads made by user x in photopost in his/her profile page (member.php)This is an updated version to work with the latest vBulletin and photopost pro (PHP)

requirements

Photopost MUST be installed into the same database as vBulletin
You must have Photopost pro PHP version not vbGallery or the perl thingyinstall

download the attached plugin and edit the varibale $ppath an example would be


$ppath = "/home/username/public_html/forums/photopost";


after that import the plugin through the vBulletin plugin manager then edit template "MEMBERINFO"

find


<!-- / signature row -->
<br />
</if>


below add

<!--PhotoPost -->
<if condition="$profileimagebits">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat" colspan="$columns">$userinfo[username]'s Latest Gallery Submissions
<a style="float:right" href="#top" onclick="return toggle_collapse('memberinfo_pp')">
<img id="collapseimg_memberinfo_pp" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a></td>
</tr>
<tr id="collapseobj_memberinfo_pp">$profileimagebits</tr>
</table>
<br />
</if>
<!-- PhotoPost end -->


that's al folks

SocialNetworkBuzz
08-30-2007, 10:39 PM
Would be nice to give Chuck at PhotoPost credit for your hacks you are copying.

Delphiprogrammi
08-31-2007, 05:41 AM
Would be nice to give Chuck at PhotoPost credit for your hacks you are copying.

actually that one does not work with vBulletin 3.6.8 & Photopost 5.62 all i did whas make it work and put time in correcting the error messages

sensimilla
08-31-2007, 06:09 AM
Thanks I will give it a try!

Hornstar
08-31-2007, 06:39 AM
Thanks, I will let you know how it goes when I install it tonight. thanks.

Lea Verou
09-02-2007, 07:06 AM
Thank you!! Just what I needed!
I will definitely install later (in about a month) and click install + rate it then. :)
For the time being, I tagged it, so that I remember.

parabat
09-02-2007, 09:49 AM
Can we get something like this working for photoplog?

-PB

Delphiprogrammi
09-11-2007, 04:43 PM
Can we get something like this working for photoplog?

-PB

i don't own a photoplug licence but the chance that something similair already exists is big ... i would check the photoplog site

l3it3r
09-12-2007, 10:12 PM
Works good except that the tumbnails are showing up as black blocks:

l3it3r
09-12-2007, 10:24 PM
never mind :)

mirzonni
09-19-2007, 06:42 PM
Nice mod! I've followed all the instructions but nothing is showing in the profile. I've set up the path to be the same as the "Server Path to PhotoPost directory" in CONFIG-INT.PHP.

Any ideas?

Delphiprogrammi
09-19-2007, 09:54 PM
Nice mod! I've followed all the instructions but nothing is showing in the profile. I've set up the path to be the same as the "Server Path to PhotoPost directory" in CONFIG-INT.PHP.

Any ideas?

then you did not edited the template remember you need todo this for each and every style you use

Wild Bronco
10-02-2007, 11:09 PM
Would be nice to give Chuck at PhotoPost credit for your hacks you are copying.

I agree credit should go to Chuck
I was using his plugin til 3.6.8

But Thank you for upgrading it, Delphiprogrammi

Exellelent and is marked installed.

AngelBlue
10-29-2007, 05:35 AM
If you get black squares in peoples' profiles, instead of the images you want, then you need to replace :

<td style="background: url({$data_dir}{$pcat}/thumbs/$photo); background-color: #000000; background-repeat:

no-repeat; background-position: center;"><a href="{$url_path}/showphoto.php?photo={$pid}">$mthumb</a></td>

with

<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo); background-color: #000000; background-repeat:

no-repeat; background-position: center;"><a href="{$url_path}/showphoto.php?photo={$pid}">$mthumb</a></td>


The missing "/" in the first example is what is causing the black squares.

AngelBlue
10-30-2007, 08:40 AM
Additional problem : with this mod enabled, pictures from private (password-protected) galleries show up on peoples' profiles if they are amongst the last pictures uploaded by that person. This is potentially a big privacy problem.

Any chance of this mod being updated to exclude pictures in private galleries?

Delphiprogrammi
10-30-2007, 11:24 AM
If you get black squares in peoples' profiles, instead of the images you want, then you need to replace :

with


The missing "/" in the first example is what is causing the black squares.

No code modification is needed it's because your Photopost datadir is indeed missing a "/"

Delphiprogrammi
10-30-2007, 11:29 AM
Additional problem : with this mod enabled, pictures from private (password-protected) galleries show up on peoples' profiles if they are amongst the last pictures uploaded by that person. This is potentially a big privacy problem.

Any chance of this mod being updated to exclude pictures in private galleries?

urgh i don't even know it's possible to have password protected galleries with photopost.That would be indeed an issue but i have no idea to get around.I mean include the galleries to user profiles who do have the corrosponding access and exclude anywhere else no idea sorry however feel free to try and modify it yourself i wouldn't have a problem with it

AngelBlue
11-09-2007, 12:55 PM
Ok then, how about having a 'privacy' mode?
When this privacy mode is enabled, thumbnails of the person's pictures are not displayed.
Instead, all that is displayed is the date of their last upload, and a link to the search query which will show all their uploads that the user can see.
That way, anyone browsing their profile can tell when their last upload was (and thus, if they have new images to look at) and easily find the recent uploads, without giving away any private uploads the user has made.

ChU v2
11-09-2007, 01:37 PM
Is there a way to display on a different page? Similar to MySpace's "View More Pics"

I'm asking because let's say if a user had the MEMBERINFO template re-written to look like myspace, it would be helpful.

Thanks.

asj
11-09-2007, 07:17 PM
thanks

Konstantinos
01-14-2008, 03:32 PM
how do we get rif of the custom frames in this ? i dont need this circle thumb stuff it looks bad on my layout

zivester
05-29-2008, 05:42 PM
Is there a version of this that works with 3.7 ?
Oh it does... just gotta fix the links.. and for me, i removed the overlay.