Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2007, 12:44 AM
joeyhavlock's Avatar
joeyhavlock joeyhavlock is offline
 
Join Date: Jul 2007
Location: New York
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Coppermine Box on User Profile

Hi All,

Can someone steer me in the right direction...

I want to be able to put a box on the users profile page which shows images that the user has placed into my coppermine gallery.

I am already using cpmFetch to display photos on my homepages and it works great. Ultimately I would like to somehow do the same thing but with the users images, say the last 4 uploaded, to appear in a box on their user profile.

Thanks much!
Joey
Reply With Quote
  #2  
Old 07-24-2007, 05:55 AM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Joey,

I am looking for something similar (or maybe it's the same thing).

I have integrated vb and coppermine, and the users are uploading successfully photos in the galleries (NOT their personal galleries, but public galleries > this means that one album has photos from different users).

I would like to have a link that creates a query for each user, that shows all the photos that have been uploaded by this user in the public galleries.
Reply With Quote
  #3  
Old 07-24-2007, 07:31 PM
joeyhavlock's Avatar
joeyhavlock joeyhavlock is offline
 
Join Date: Jul 2007
Location: New York
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is exactly what I am trying to do. I am using the cpmFetch tool, which works great, but have not figured out a way to pass the query of "owner=username" where username is the name of the person which uploaded the files. I have no problem using cpmFetch for hardcoded queries, but this one really has me stumped. If you figure it out, please let me know, either here or via email at Joey@Havlock.com. If I figure it out I will post it here, or if you give me your email I will do the same...

Anyone else have any ideas?????

Thanks
Joey

Quote:
Originally Posted by Defkalion View Post
Hi Joey,

I am looking for something similar (or maybe it's the same thing).

I have integrated vb and coppermine, and the users are uploading successfully photos in the galleries (NOT their personal galleries, but public galleries > this means that one album has photos from different users).

I would like to have a link that creates a query for each user, that shows all the photos that have been uploaded by this user in the public galleries.
Reply With Quote
  #4  
Old 07-25-2007, 11:15 AM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Joey,

I found a solution. If you place this link

HTML Code:
<a href="http://www.yourforum.com/coppermine/thumbnails.php?album=lastupby&uid=$post[userid]" target="_blank">My photos</a>
in your postbit template (that's where I put it anyway, you can put it anywhere you like),

the result is a link for each user's page in coppermine (named here "my photos", where all of his uploads are shown, no matter which gallery he has been uploading to.

Does this help you as well?

Defkalion.
Reply With Quote
  #5  
Old 01-01-2008, 01:07 AM
zeus_r6 zeus_r6 is offline
 
Join Date: Jun 2007
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Defkalion View Post
Joey,

I found a solution. If you place this link

HTML Code:
<a href="http://www.yourforum.com/coppermine/thumbnails.php?album=lastupby&uid=$post[userid]" target="_blank">My photos</a>
in your postbit template (that's where I put it anyway, you can put it anywhere you like),

the result is a link for each user's page in coppermine (named here "my photos", where all of his uploads are shown, no matter which gallery he has been uploading to.

Does this help you as well?

Defkalion.
Thank you! I've been looking for a solution to get a postbit link from my vbulletin to my coppermine gallery for a while now!
Reply With Quote
  #6  
Old 01-18-2008, 10:37 PM
waller99 waller99 is offline
 
Join Date: Oct 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a ton Defkalion. Just what I needed.
Reply With Quote
Reply


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 02:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14124 seconds
  • Memory Usage 2,214KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete