vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Member's Photo Gallery (https://vborg.vbsupport.ru/showthread.php?t=33034)

JJR512 12-09-2001 03:27 PM

I had considered making it possible for a member to add his/her own photo to the photo gallery, but didn't know if everyone would like that ability. Some boards might have people that would upload inappropriate photos.

xware 12-09-2001 04:43 PM

ok.
I make a new edit now.
this hack can't display in pagenav.
If you have many member photos,It's too slowly to display and the page is too long! ;) (I have 108 member photos)
I made a edit in main_photogallery.php and integrated pagenav to it.
In default my gallery display 10 photos perpage. If you want see more now can hit "1" "2"..."last page" and so on.
works well,thanks again. :p
My members love this hack. :D

212rikanmofo 12-09-2001 07:42 PM

love this hack, exactly what i need, a member profile/gallery section, can you add the ability to let other members rate them too? also can the user update his pic, and have more than 1 picture they can put up? and can they like edit all ther information? If you would like to see an example go here...

http://www.asianxo.com and goto the profile section, something how they have there, how users can upload and add pics and change info and rate other users... love the hack tho!

JJR512 12-10-2001 04:46 AM

I have performed an extensive re-write on this code based on some ideas from above. Mainly, I've included the pagenav functionality, as discussed by xware. Now, the default number of thumbnails per page will be 10, and if you have more than 10 members in your photo gallery, the pagenav feature will show up. You can change the default # per page, if you want, in the main_photogallery.php file; it's documented near the top.

xware, I'd be interested to see how you did it, just for comparison. :)

I've also added the letters function, as the built-in member list has, per the suggestion of Jakeman. :)

The new .ZIP file is attached to the original post above, but here is a shortcut: https://vborg.vbsupport.ru/attachmen...&postid=205482

MarkB 12-10-2001 05:46 AM

[QUOTE]Originally posted by JJR512
I had considered making it possible for a member to add his/her own photo to the photo gallery, but didn't know if everyone would like that ability. Some boards might have people that would upload inappropriate photos.

xware 12-10-2001 04:09 PM

ok,JJR512,here is your want .
;)
I edited the main_pg.txt and main_photogallery.php
you can use pagenav in display.
I think you can do better. ;)
wait....

DarkReaper 12-10-2001 08:45 PM

All that's needed for this to be truly 1337 is the ability for members to upload their own pictures in the same way they can upload avatars. A report picture thing might be ok, but there isn't one for avatars, and I've never seen them abused...

212rikanmofo 12-11-2001 01:11 AM

agreed, the ability for users to upload there own pictures and update ther own profile and can you make it so other members can rate other users like a rating system? and also can a member upload more than 1 pic to use in there profile? like at http://www.asianxo.com love this hack, great job! :D

TheComputerGuy 12-11-2001 09:29 AM

Find:
case 'gallery.php':
$userinfo[activity] = 'gallery';
break;

I can not find this

ToraTora! 12-11-2001 11:23 AM

Since BradC was the one who made up the photo upload in the first place.. he might be interested to know that it is being used in another script ya know :)

and he added the moderation part to his latest version. If I am not mistaken it was just adding another field in the database, and when the picture is uploaded it is set to I think "1" which means "Needs to be reviewed" and then.. the admins gets an email or sees that one needs to be moderated on the homepage (using vbportal) and then he can set it to "2" for "Approved" or "3" for not approved.

and as for the photo ranking.. or rating the picture, brad actually has had that set up for a long time. Last I heard once get gets it completed he was going to sell it to a few people who wanted to buy it.


All times are GMT. The time now is 06:21 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.01111 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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