The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Simple Profile Pic Gallery Details »» | |||||||||||||||||||||||||
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
|
Comments |
#42
|
||||
|
||||
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> $gobutton </td> </tr> </table> 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 /> 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 |
#43
|
||||
|
||||
@ 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. |
#44
|
||||
|
||||
@ StarBuG -- VERY nice. Thanks!
|
#45
|
||||
|
||||
Quote:
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';} #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; } Hope this helps |
#46
|
||||
|
||||
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. |
#47
|
||||
|
||||
Quote:
I think most users would appreciate this |
#48
|
|||
|
|||
works like a charm...
|
#49
|
||||
|
||||
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! |
#50
|
||||
|
||||
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). |
#51
|
||||
|
||||
Quote:
I'm only starting to learn php and wouldn't know how to do that sort of thing yet. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|