The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Profile Gallery: Allow Users to Upload Member Profile Images Details »» | |||||||||||||||||||||||||||
Profile Gallery: Allow Users to Upload Member Profile Images
Developer Last Online: Nov 2023
This mod allows users to upload GIF, JPG, and PNG images so that they appear on the member profile page. That is, it basically allows your users to have a mini gallery displayed on their member profile page with pagination.
There are no vB options or template edits. You simply create a 777 directory and import the XML product file. Note however that there are a couple of requirements. You must have safe mode off and GD enabled for this mod to work! Permissions are controlled by canmodifyprofile, canprofilepic, and canadminusers, the latter of which allows admins with canadminusers permission to delete member profile gallery picures. See the attached screenshots. Final Notes: This mod should work just fine on stock vB, where safe mode is off and GD is enabled. Again, you must have safe mode off and GD enabled for this mod to work. It is doubtful that customization will be provided. Show Your Support
|
Comments |
#22
|
|||
|
|||
Does anyone here know if it's possible (and how) to create easy profile urls? For example: www.mysite.com/myprofile
|
#23
|
||||
|
||||
Thanks........
|
#24
|
|||
|
|||
Thanks! This is a great mod! I agree that it should at least have a picture amount and size limitation or else this mod could get out of hand on big boards. I do though, love how you have kept it very basic and very to the point.
Now I am just an Amatuer keep in mind, but here is what I did to show my profile photos on a seperate page. This will at least help untill the mod author or someone else shows us a better way. First, make a copy of member.php and name it member2.php. Then open member2.php and find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <if condition="$profilegallery_show[pagenav]"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom: 3px;"> <tr valign="bottom"> <td align="$stylevar[right]">$profilegallery_pagenav</td> </tr> </table> </if> <if condition="$profilegallery_canadmin OR ($bbuserinfo[userid] == $userinfo[userid])"> <form action="profile.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="updateprofilepic" /> <input type="hidden" name="profilegallery_do" value="deleteprofilegallerypic" /> <input type="hidden" name="profilegallery_userid" value="$userinfo[userid]" /> </if> <table class="tborder" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" align="center" width="100%"> <thead> <tr> <td class="thead" width="100%"> <a style="float: $stylevar[right];" href="#top" onclick="return toggle_collapse('profilegallery_piclist')"><img id="collapseimg_profilegallery_piclist" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_profilegallery_piclist].gif" alt="" border="0" /></a> <phrase 1="$userinfo[username]">$vbphrase[profilegallery_profile_gallery_pictures_by_x]</phrase> </td> <if condition="$profilegallery_canadmin OR ($bbuserinfo[userid] == $userinfo[userid])"> <td class="vbmenu_control" nowrap="nowrap"> <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="js_check_all(this.form)" /> </td> </if> </tr> </thead> <tbody id="collapseobj_profilegallery_piclist" style="$vbcollapse[collapseobj_profilegallery_piclist]"> <tr> <td class="alt2" style="padding: 0px;"<if condition="$profilegallery_canadmin OR ($bbuserinfo[userid] == $userinfo[userid])"> colspan="2"</if>"> <table border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" align="center" width="100%"> <tr> $profilegallery_picbits </tr> </table> </td> </tr> <if condition="$profilegallery_canadmin OR ($bbuserinfo[userid] == $userinfo[userid])"> <tr> <td class="alt2" colspan="2" align="center"> <input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" /> <input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" /> </td> </tr> </if> </tbody> </table> <if condition="$profilegallery_canadmin OR ($bbuserinfo[userid] == $userinfo[userid])"> </form> </if> <if condition="$profilegallery_show[pagenav]"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top: 3px;"> <tr valign="top"> <td align="$stylevar[right]">$profilegallery_pagenav</td> </tr> </table> </if> <br /> $footer </body> </html> HTML Code:
<a href="member2.php?u=$userinfo[userid]">View More Pictures</a> Now like I said, this may not be the correct method, but it works for me |
#25
|
|||
|
|||
Beautiful!! Thank you!!:up:
|
#26
|
|||
|
|||
Plz help...
My 777 dir is foro/images_black/profilegallery/ And im getting "Invalid File Path Specified" |
#27
|
|||
|
|||
Try getting rid of the underscore. Plus, I noticed images with an underscore in their name isn't well-liked by this hack either.
|
#28
|
||||
|
||||
Quote:
Quote:
Quote:
It says specifically that the author does NOT, so we'll have to figure this out ourselves. There is one way... In the read me provided with this mod it says Quote:
---- The only thing that I don't like about this mod, is the fact that staff can't monitor all 20k users' uploads, so we'll have to rely on members pointing out unacceptable pics to us. There should be a way to moderate, alert staff when a user uploads new pics. I donno how to set it up, if anyone has any ideas, i'll try to figure out how to do it. ---- Optionally, i'd like to see a way for users to setup folders on their profile galleries. This will not only make pages load faster and prevent them from becoming tooo large, but will also look much nicer. Like if a user wanted to upload pics from an event they went to, they wouldn't want them mixed in with pictures from an old event, or pictures of their dog (for example). Allowing them to create folders would solve this problem. |
#29
|
||||
|
||||
Cool I LIke it
|
#30
|
|||
|
|||
I have been searching for this.
|
#31
|
|||
|
|||
Thank you so much - it works for me.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|