Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Profile Member Link for Coppermine Gallery Details »»
User Profile Member Link for Coppermine Gallery
Version: 1.00, by DILLIGAF DILLIGAF is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 08-01-2006 Last Update: Never Installs: 13
Uses Plugins Template Edits
 
No support by the author.

It?s my time to give back to the vb.org community. Our site is using Coppermine Photo Gallery for our members and we needed a way to have a link in the member?s profile that would go directly to their gallery and not just the general page. So, with a little bit of code, I wrote it. (very little that is) I felt there may be others that can use this little add-on to link there members too. If you use it please remember to click install, it will let me know if this hack was worth posting or not.


REQUIREMENTS: 1) Coppermine Gallery (http://coppermine-gallery.net/) 1.4.0 or better (Installed and working)
2) VB Bridge (Installed and working for Coppermine)

VERSION: 1.0

VERSIONS SUPPORTED: 3.5.X (maybe 3.6.x? but untested)

PROCESS: One plug-in install, and one template mod

INSTALL TIME: One minute or less

DIFFICULTY: Super Easy


INSTALL INSTRUCTIONS:
******* Step One *************
Download the CMG_memberlink_plugin.xml and add it as a new plug-in with the Plugin Manager in your AdminCP


******** Step Two *************
******** Add this line into your MEMBERINFO template where you want gallery link to show********
******** Make sure to edit the URL to point to your gallery *****
Code:
<a href="http://www.YOURDOMAINNAME.com/YOUR GALLERY/index.php?cat=$cmcatid" title="View My Gallery">View My Gallery</a>



******* Step Three ************
Click the install button on vBulletin.org

****** Step Four ************
Enjoy!

Show Your Support

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

Comments
  #2  
Old 08-02-2006, 07:26 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, any screen shoot?
Reply With Quote
  #3  
Old 08-02-2006, 07:34 PM
SIN77 SIN77 is offline
 
Join Date: Jun 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was thinking about installing coppermine, if i do this will be a nice add on
Reply With Quote
  #4  
Old 08-02-2006, 10:46 PM
DILLIGAF's Avatar
DILLIGAF DILLIGAF is offline
 
Join Date: Apr 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pehchaan
Thanks, any screen shoot?
It's a bit hard to show a text link of what it does in a screen shot. All it does is add the members category id for coppermine to the end of the URL link to the gallery.
Reply With Quote
  #5  
Old 08-05-2006, 01:57 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about a screen shot of your admincp and usercp?To show us what it will look like.Im just curious,This hack enables members with permission to start there own gallery? Or is this a done manually per member request?
I just want to make sure this is the hack I have been searching for. Thank You.
Reply With Quote
  #6  
Old 08-07-2006, 01:02 AM
DILLIGAF's Avatar
DILLIGAF DILLIGAF is offline
 
Join Date: Apr 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie
How about a screen shot of your admincp and usercp?To show us what it will look like.Im just curious,This hack enables members with permission to start there own gallery? Or is this a done manually per member request?
I just want to make sure this is the hack I have been searching for. Thank You.
Coppermine gives ever member their own gallery when you install the VB bridge for itl. It is a baic few steps to setup the bridge. The VB Bridge is included with Coppermine. The little hack I created just makes a link to the user's gallery for others to view.
Reply With Quote
  #7  
Old 07-24-2007, 04:58 AM
joeyhavlock's Avatar
joeyhavlock joeyhavlock is offline
 
Join Date: Jul 2007
Location: New York
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if the member has not created a gallery in coppermine yet?
Reply With Quote
  #8  
Old 09-28-2007, 03:19 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool i was looking for this, works in 3.6.8
Reply With Quote
  #9  
Old 12-24-2007, 09:54 PM
zeus_r6 zeus_r6 is offline
 
Join Date: Jun 2007
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great...now to figure out how to get that link into the postbit!
Reply With Quote
  #10  
Old 03-10-2008, 11:19 AM
liquidrage liquidrage is offline
 
Join Date: Aug 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To add it to your postbit.
Make this into an xml file.

Code:
   <?xml version="1.0" encoding="ISO-8859-1" ?> 
  <plugins>
  <plugin active="1">
  <title>CMG Post User</title> 
  <hookname>postbit_display_complete</hookname> 
  <phpcode>$cmuserid = sprintf("1%04d",$post['userid']);</phpcode> 
  </plugin>
  </plugins>
It is basically the same thing as the other one. You'll need both. Save it and import that.

Then, the HTML part in the postbit that you're adding will look like:
Code:
<a href="http://www.YOURDOMAINNAME.com/YOUR GALLERY/index.php?cat=$cmuserid " title="View My Gallery">View My Gallery</a>
Again, it's the same thing as above, just with a different variable name. The differences in the XML file are just the unique name, and that the hook fires are the postbit.

Example:
http://www.flyersphans.com/forums/
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 12:30 AM.


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.05150 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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