vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - photopost latest uploads by user x in profile (https://vborg.vbsupport.ru/showthread.php?t=156654)

Delphiprogrammi 08-29-2007 10:00 PM

photopost latest uploads by user x in profile
 
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 thingy
install

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

PHP Code:

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

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

find

HTML Code:

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

below add
HTML Code:

<!--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

Quote:

Originally Posted by Stabatha (Post 1329142)
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

Quote:

Originally Posted by parabat (Post 1330646)
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

Quote:

Originally Posted by mirzonni (Post 1342615)
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

Quote:

Originally Posted by Stabatha (Post 1329142)
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 :
Quote:

Originally Posted by code
<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
Quote:

Originally Posted by new code
<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

Quote:

Originally Posted by AngelBlue (Post 1370901)
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

Quote:

Originally Posted by AngelBlue (Post 1371791)
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.


All times are GMT. The time now is 10:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01170 seconds
  • Memory Usage 1,770KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete