The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
I have written what I consider to be my first "big" hack...well, maybe it's only medium. It's certainly my most ambitious project to date.
Basically, what it is is a gallery of photos of your members. Obviously, the hack does not include these photos! You need to get your members to submit to you a photo of themselves. You then need to use an image editing app to create a smaller thumbnail image. Create a new directory and upload the photos to it (you don't absolutely need a unique directory for the photos, but it's good for organization). You can make this directory anywhere; I have mine as a first-level directory inside my www root folder, but you can stick it inside your forums root directory or anywhere else. For each member you include in the Photo Gallery, you specify the URL to both images anyway, so it really doesn't matter. This hack involves adding a new table to your database. Please make a backup of your database first! You are solely responsible for protecting your message board. At this time, adding a member to the Photo Gallery involves direct database manipulation, such as through phpMyAdmin or direct query. This is easy, and full instructions are provided. I hope to be able to come up with some way to do this through the Admin CP, but that will require some more learning on my part (or assistance from one of you! ). I have tested this on my board, and do not have any problems. However, since this is my biggest project so far, and the first one I've written that includes sql syntax that I devised, it's possible that I have not written this hack in the most optimal or efficient way possible. I don't consider this to be beta, though, as it is fully operational; however, if someone has any pointers on writing better code, please let me know. Demo: My own Photo Gallery Note: The server my site is hosted on has been having a lot of problems lately, so if it doesn't load or you get MySql errors, please try again a little later. Sorry! Plans for the Future 1. Add a simple way to add a member to the Photo Gallery through the Admin CP. 2. Making the thumbnail gallery multi-page capable so a user can specify the number of thumbnails seen per page. --DONE! 3. Adding a search function. 4. Integrating into a member's profile, to either show the thumbnail there as well, or else link to it. 5. Got other ideas? Let me hear them. Everything you need should be in the attached .ZIP file. Have fun! Show Your Support
|
Comments |
#82
|
||||
|
||||
aye I am.. a real scot.. drink lots of irn-bru and have
no teeth.. pic on request .lol :banana: :banana: :banana: |
#83
|
||||
|
||||
Very nice JJR.
I was however wondering if there's a possible way to allow more than one photo per member? /me clicks install. |
#84
|
||||
|
||||
That is exactly the question I am hoping to find an answer to....
[QUOTE]Originally posted by Oblivion Knight Very nice JJR. I was however wondering if there's a possible way to allow more than one photo per member? * Oblivion Knight clicks install. |
#85
|
||||
|
||||
JJR512,
are you still updating this hack ? or is it dead ? LeMarsu |
#86
|
||||
|
||||
[QUOTE]08-16-02 at 09:31 PM JJR512 said this in Post #75
...I anticipate the pending release of vBulletin 3, which will require the hack to be rewritten. In other words, I'm not going to spend any time adding new features to a hack that will be depracated soon. |
#87
|
||||
|
||||
Thanks ...
sorry I didn't read old post... I was too bussy at work |
#88
|
||||
|
||||
how do you delete a member's photo off the gallery?
|
#89
|
||||
|
||||
[high][EDIT][/high]
Problem solved.. I made a typo adding the "main_pg_letter" template and had an s on the end. This mod is still running strong on 2.3.2! Awesome stuff. |
#90
|
||||
|
||||
Hi, seems to be a great hack but before using it i have a question..
is it possible to only allow certain usergroup to view the gallery ?? thanks a lot |
#91
|
|||
|
|||
nice hack!! installed!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|