Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
photopost latest uploads by user x in profile Details »»
photopost latest uploads by user x in profile
Version: 1.00, by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 08-29-2007 Last Update: Never Installs: 24
Uses Plugins Template Edits
Code Changes  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-19-2007, 06:42 PM
mirzonni mirzonni is offline
 
Join Date: Sep 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #13  
Old 09-19-2007, 09:54 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mirzonni View Post
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
Reply With Quote
  #14  
Old 10-02-2007, 11:09 PM
Wild Bronco Wild Bronco is offline
 
Join Date: Jan 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stabatha View Post
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.
Reply With Quote
  #15  
Old 10-29-2007, 05:35 AM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #16  
Old 10-30-2007, 08:40 AM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #17  
Old 10-30-2007, 11:24 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AngelBlue View Post
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 "/"
Reply With Quote
  #18  
Old 10-30-2007, 11:29 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AngelBlue View Post
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
Reply With Quote
  #19  
Old 11-09-2007, 12:55 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 11-09-2007, 01:37 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 11-09-2007, 07:17 PM
asj's Avatar
asj asj is offline
 
Join Date: Jul 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:20 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.04592 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete