vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Simple Profile Pic Gallery (https://vborg.vbsupport.ru/showthread.php?t=99134)

Christine 10-22-2005 10:00 PM

Simple Profile Pic Gallery
 
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: :D

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

platnum 10-24-2005 12:00 AM

Looks nice, I'll give it a try ;)

:O Woooo 1st post as well :D lol.

defi 10-24-2005 12:04 AM

...this looks promising.

dirtycrow 10-24-2005 05:33 AM

very nice. thank you.

dede1 10-24-2005 06:07 AM

Thanks

FleaBag 10-24-2005 08:49 AM

I really like this! I had been using Andreas' vBa Gallery addon but I think I'll switch to this! :)

Allan 10-24-2005 09:55 AM

Great Christine ;)

"Click Install"

ps: Files attach, French Language ;)

Snake 10-24-2005 03:53 PM

Very nice thank you.

Christine 10-24-2005 09:40 PM

My admin team requested a view for "Admin Team", so I added that and updated the zip file.

If you want that additional view, just override the file in your forums directory and reimport the product allowing overrides.

Allan 10-24-2005 09:50 PM

Very nice ;)

Mr Chad 10-24-2005 10:51 PM

hmm, is this creating a thumbnail or just resizeing it?

Christine 10-24-2005 11:12 PM

@chatbum -- it is using the built-in profile pic system and gathering the uploaded pics into a sortable gallery. You can set the max dimensions in the ACP.

Boofo 10-24-2005 11:14 PM

Will this allow the Admin to approve pics before they show up in the listing?

Christine 10-24-2005 11:20 PM

@Boofo -- Nope. It is just gathering what is in the database. An approval wouldn't be hard to add if you wanted to tag an addon to the profile pic upload to make them load as visible=0 and then put an approval routine in the ACP that changes them to visible=1.

Boofo 10-24-2005 11:26 PM

Quote:

Originally Posted by Christine
@Boofo -- Nope. It is just gathering what is in the database. An approval wouldn't be hard to add if you wanted to tag an addon to the profile pic upload to make them load as visible=0 and then put an approval routine in the ACP that changes them to visible=1.

Any way to incorporate how VeloCD did it in his hack into this one? ;)

Christine 10-24-2005 11:30 PM

I don't know -- I never installed that portion of the hack. There were a few elements of his code that broke after 3.0.2, so I just rewrote it back then and didn't include that functionality.

I will take a look at it for you though -- shouldn't be too difficult.

Boofo 10-24-2005 11:50 PM

Quote:

Originally Posted by Christine
I don't know -- I never installed that portion of the hack. There were a few elements of his code that broke after 3.0.2, so I just rewrote it back then and didn't include that functionality.

I will take a look at it for you though -- shouldn't be too difficult.

Thank you. That would be great! ;)

???`S?LV?R???` 10-25-2005 06:49 AM

It would be awesome to see the member pics thumbnailed to a certain size to better fit the page, incase the profile pics greatly vary in size.

???`S?LV?R???` 10-25-2005 07:34 AM

Quote:

Originally Posted by ???`S?LV?R???`
It would be awesome to see the member pics thumbnailed to a certain size to better fit the page, incase the profile pics greatly vary in size.

also if it read the html from the user's custom title, instead of just displaying the code from it lol.

SnowBot 10-25-2005 07:49 AM

Quote:

Originally Posted by ???`S?LV?R???`
also if it read the html from the user's custom title, instead of just displaying the code from it lol.

Just what i was going to ask, great minds and all that :)

Christine 10-25-2005 11:12 AM

Quote:

Originally Posted by ???`S?LV?R???`
also if it read the html from the user's custom title, instead of just displaying the code from it lol.

Thanks for that catch!

Fixed and uploaded. Just replace the php file, nothing needs to be done with the XML.

trancetopia 10-25-2005 12:47 PM

Another good mod to enhance the community aura. Thanks Christine.

StarBuG 10-30-2005 04:36 PM

THANK YOU

This is exactly what I was looking for.

*Clicks Install*

Boofo 10-30-2005 08:58 PM

Quote:

Originally Posted by Christine
@Boofo -- Nope. It is just gathering what is in the database. An approval wouldn't be hard to add if you wanted to tag an addon to the profile pic upload to make them load as visible=0 and then put an approval routine in the ACP that changes them to visible=1.

Any word on this yet, Christine? ;)

Andy R 10-30-2005 10:37 PM

Quote:

Originally Posted by ???`S?LV?R???`
It would be awesome to see the member pics thumbnailed to a certain size to better fit the page, incase the profile pics greatly vary in size.

I agree, it would really enhance the look of the page if thumbnails were shown. I know that would kind of move this script beyond the 'simple' category, but it would be great.

MissKalunji 10-31-2005 09:32 PM

how can i specify the thumbnail in profile.php?

Christine 10-31-2005 11:19 PM

@Boofo -- I haven't had time to look at it yet. Finishing up the last of the mods that I need, and then I am on it. :)

FleaBag 10-31-2005 11:23 PM

Fantastic! Thanks for the help Christine, working like a charm! :D

SnowBot 11-03-2005 07:45 PM

Quote:

Originally Posted by ???`S?LV?R???`
It would be awesome to see the member pics thumbnailed to a certain size to better fit the page, incase the profile pics greatly vary in size.

Any update on this part mate? I love this little mod, so useful and sweet but the the thumbnails would just finish it off :)

Thanks

Boofo 11-03-2005 08:32 PM

Quote:

Originally Posted by Christine
@Boofo -- I haven't had time to look at it yet. Finishing up the last of the mods that I need, and then I am on it. :)

Looking forward to it. Thanks, hon. ;)

SuperFly 11-05-2005 03:28 PM

for some reason my mod team cant access, says they dont have permission.

Christine 11-05-2005 03:36 PM

@SuperFly -- this uses the permission token for viewing the memberlist. Please make sure that this group is set to 'yes' for that on the usergroup level.

SuperFly 11-05-2005 03:37 PM

the thing is, theres nothing there to set permission for yes/no

Christine 11-05-2005 03:38 PM

Is it giving them a 'no permission' stop message, or a 'log in' prompt?

SuperFly 11-05-2005 03:40 PM

Its saying they have insufficient permission to go into there

Christine 11-05-2005 03:54 PM

Quote:

Originally Posted by SuperFly
the thing is, theres nothing there to set permission for yes/no

Make sure that this is set to YES

SuperFly 11-05-2005 04:15 PM

it is

SuperFly 11-05-2005 04:17 PM

its something i dont believe to do with this, because they cant see another extension for making smilies, for some reason, and its only my moderator group so this is weird.

Christine 11-05-2005 04:29 PM

I would try to remove that one completely and check to see if the gallery works. If it does, then you have a conflict with the other mod.

SuperFly 11-05-2005 04:37 PM

thing is, i installed it After the gallery mod.


All times are GMT. The time now is 04:43 PM.

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.01533 seconds
  • Memory Usage 1,789KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete