vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Coppermine Box on User Profile (https://vborg.vbsupport.ru/showthread.php?t=152989)

joeyhavlock 07-22-2007 12:44 AM

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

Defkalion 07-24-2007 05:55 AM

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.

joeyhavlock 07-24-2007 07:31 PM

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 (Post 1299832)
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.


Defkalion 07-25-2007 11:15 AM

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.

zeus_r6 01-01-2008 01:07 AM

Quote:

Originally Posted by Defkalion (Post 1301075)
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!

waller99 01-18-2008 10:37 PM

Thanks a ton Defkalion. Just what I needed.


All times are GMT. The time now is 07:39 AM.

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.01221 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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