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

Reply
 
Thread Tools
Simple Profile Pic Gallery Details »»
Simple Profile Pic Gallery
Version: 1.0.1, by Christine Christine is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-22-2005 Last Update: 10-24-2005 Installs: 62
Template Edits
Additional Files  
No support by the author.

This is a rework (with mod permission) using the concept and templates from VeloCD's v3 Hack

This addition does not make any changes to the database like the other one did, so if you have that installed, you need to revert your customprofilepic table to vB standard to eliminate the additional fields and set the correct index. PM me if you need assistance with that.

What this does: Display all profile pics in a sortable table

Permissions: Same as the Memberlist: If they are listed on the member list and have uploaded a profile pic, they will be in the profile pic list AND if they can view the member list, they can view the profile pic list.

If requested, I can add a security token for this, but I really don't want to have to repeat "rebuild your bitfields" on every other post. :devious:

Instructions to install:

1. Upload picgallery.php to your forums directory
2. Install the product in the zip file
3. Add a link for picgallery.php somewhere in the navbar

The default is set for 15 pics per page and 3 per row, and this can be overriden in the vBulletin Options area of the ACP.

Enjoy!

### UPDATE ###

v 1.5.0: Added a sort view to show the admin team
v 1.5.1: Fixed html display problem

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 11-05-2005, 04:39 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a suggestion.

Many members asked me (for the former gallery I used) how to add a picture to the gallery.

So I made a short explanation above the gallery.

To add this

Find:

Code:
<option value="desc"<if condition="$sortorder == 'desc'"> selected="selected"</if>>$vbphrase[rr_pic_gallery_desc]</option>
      <option value="asc"<if condition="$sortorder == 'asc'"> selected="selected"</if>>$vbphrase[rr_pic_gallery_asc]</option>
      </select>&nbsp;
      $gobutton
    </td>
  </tr>
</table>
below that add:

Code:
<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr><td class="thead" align="center"><h3>How to add your picture here</h3></td></tr>
<tr><td class="thead" align="center">To add your picture to this list click on <a href="usercp.php" target="_blank">User CP</a> in the Forum Navigation then In "Settings & Options" click on <a href="profile.php?do=editprofilepic" target="_blank">Edit Profile Picture.</a></td></tr>
<tr><td class="thead" align="center">There you can either upload your photo or link to it. We hope you like this feature.</td></tr>
</table>

<br />
Example can be found here:
http://www.hiphop-battles.com/forum/picgallery.php


One more Request:

Can you pleace add your script to the "who is online" Location plz

So that it does not show the url but instead "Picture Gallery" or something
Reply With Quote
  #43  
Old 11-05-2005, 04:43 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ SuperFly -- Okay, then blow away the gallery mod and fix the other one for making smilies.

I can assure you this is working, and as it isn't using any file edits or plugins, it isn't stepping on anything. Other than a vB setting for display row/column, phrases and new templates -- it isn't touching anything else in the system.
Reply With Quote
  #44  
Old 11-05-2005, 04:43 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ StarBuG -- VERY nice. Thanks!
Reply With Quote
  #45  
Old 11-05-2005, 05:01 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Christine
@ StarBuG -- VERY nice. Thanks!
I got the location thing solved but it could be made better with phrases and such:

for anyone who wants to know:

In the Plugin Manager:

#1 click on [Add New Plugin]
#2 Hook Location = online_location_process
#3 Title = Profile Picture Who is Online Location
#4 Plugin php code:
Code:
if($filename=='picgallery.php'){$userinfo['activity'] = 'Picture Gallery';}
#5 SAVE

#6 click on [Add New Plugin]
#7 Hook Location = online_location_unknown
#8 Title = Profile Picture Who is Online Unknown Location
#9 Plugin php code:
Code:
if($userinfo['activity'] == "Picture Gallery") {
	$userinfo['where'] = "<a href=\"picgallery.php" . $vbulletin->session->vars[sessionurl_q] . "\">Forum Profile Picture Gallery</a>"; 
	$userinfo['action'] = "Viewing Profile Pictures";
	$handled = true;
}
#10 SAVE

Hope this helps
Reply With Quote
  #46  
Old 11-05-2005, 05:06 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another nice one.

I am using Andreas' WhoseOnline addition found here: https://vborg.vbsupport.ru/showthrea...threadid=83247

Much easier way of adding in all of the custom files if you have more than one.
Reply With Quote
  #47  
Old 11-05-2005, 05:30 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Christine
Another nice one.

I am using Andreas' WhoseOnline addition found here: https://vborg.vbsupport.ru/showthrea...threadid=83247

Much easier way of adding in all of the custom files if you have more than one.
You could/should implement the location directly into the product.xml

I think most users would appreciate this
Reply With Quote
  #48  
Old 11-05-2005, 07:48 PM
o1dirtydog o1dirtydog is offline
 
Join Date: Aug 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works like a charm...
Reply With Quote
  #49  
Old 11-06-2005, 06:33 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is *awesome*!

Works great, but not yet making it live until the ability to view a specified thumbnail size is created as we don't use the default size we allow slightly larger picture sizes for our members. Even at 2 pics per column it scrolls to the right. Look forward to seeing a fix for this!
Reply With Quote
  #50  
Old 11-06-2005, 06:51 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed?

Thumbnailing isn't a feature of this hack. It is designed to work with the vB default profile pic feature using the limits set up in the AdminCP. If you allow those pics to be ginormous, then you may want to add a thumbnailing routine to it?

That, or you can limit the view to 175x175 px in the templates so that all pics show up that size (noting that it will skew smaller pics that wouldn't have been thumbnailed anyway).
Reply With Quote
  #51  
Old 11-06-2005, 07:01 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Christine
Fixed?

Thumbnailing isn't a feature of this hack. It is designed to work with the vB default profile pic feature using the limits set up in the AdminCP. If you allow those pics to be ginormous, then you may want to add a thumbnailing routine to it?

That, or you can limit the view to 175x175 px in the templates so that all pics show up that size (noting that it will skew smaller pics that wouldn't have been thumbnailed anyway).
"Fixed" was a poor choice of words. I was just hoping that this feature would make it into this product or someone would come along and create an add-on for it to limit the sizes.

I'm only starting to learn php and wouldn't know how to do that sort of thing yet.
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 07:26 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.04925 seconds
  • Memory Usage 2,312KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (3)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
  • (4)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