View Full Version : Custom Profile Pic Gallery
VBDev
02-17-2004, 10:00 PM
This hack displays in a special page on your forum, the list of members who have a custom profile picture in their profile. THis list is composed of : username, usergroupid and the portrait.
It adds moreover in the postbit a small image which indicates if the user has a custom profile picture. By clicking this small icon, you'll be redirected to the portraits'gallery at the letter which corresponds to the user's username.
File to modify : 1
File to upload : 1
Templates to create : 3
Templates to modify : 3
Phrases to add : 5
Installation time : 10-15 min
Ce hack vous permet d'afficher dans une page speciale sur votre forum la liste de tous les membres ayant une image perso dans leur profil.
Cette liste comporte le nom du membre, son usergroup et son portrait.
Il ajoute en plus une image dans le postbit qui indique que le membre a une image perso, et en cliquant sur cette image, on se retrouve sur la page des images persos a la lettre correspondante au pseudo du membre.
FIchier a modifier : 1
Fichier ? uploader : 1
Templates a creer : 3
Templates a modifier : 2
Phrases a ajouter : 5
Temps d'installation : 10-15 min
:devious:
This hack has been released by VBulletinDev's team : http://www.vbulletindev.net
Ce hack a ete realis? par la team de VBulletinDev et est telechargeable en FR sur http://www.vbulletindev.net
Rampag33
02-18-2004, 08:53 PM
Nice add-on. Installs.
Woohoo First one :) :banana: :)
corsacrazy
02-18-2004, 08:54 PM
Gr8 work :) would be nice if users could have multiple pics and that they auto thumbnailed
Rampag33
02-18-2004, 08:59 PM
Gr8 work :) would be nice if users could have multiple pics and that they auto thumbnailed
I feel the same way
corsacrazy
02-18-2004, 09:00 PM
I feel the same way
would benifit many boards, especially mine for a car gallery etc :P
VBDev
02-18-2004, 09:17 PM
Nice add-on. Installs.
Woohoo First one :) :banana: :)
Please clicks install if you use this hack ;)
For multiple pics and thumbnails, it's really an other problem ;)
GD has to be activated and allowed on the server and modifications are really more important :ermm:
Rampag33
02-18-2004, 09:42 PM
ooops forgot to do everything but hit the install button lol.
Andreas
02-18-2004, 10:00 PM
Nice one :)
But some hints:
- You should not construct the background class manually - just use exec_switch_bg() and $bgclass
- Use construct_page_nav() to construct page navigation. This is the standard way of doing page navigation and makes this a lot easier :)
VBDev
02-18-2004, 10:08 PM
Nice one :)
But some hints:
- You should not construct the background class manually - just use exec_switch_bg() and $bgclass
- Use construct_page_nav() to construct page navigation. This is the standard way of doing page navigation and makes this a lot easier :)
@Kirby : What do you mean with not construct the background class manually I didn't understood ;)
For the navigation, I'll look at it, I think it could be easier as you say :)
Andreas
02-18-2004, 10:19 PM
@Kirby : What do you mean with I didn't understood ;)
For the navigation, I'll look at it, I think it could be easier as you say :)
In the Templates you use
class="alt$alt"
Instead you should use:
class="$bgclass"
Also, in the PHP you use
$alt++;
if ($alt>2) $alt="1";
This should be replaced with exec_switch_bg();
> For the navigation, I'll look at it, I think it could be easier as you say
Erm ... yes. I kicked out like 35 lines of code ;)
Omega Prime
02-19-2004, 03:40 AM
Perhaps I've done something wrong, but clicking on the profil_pic.php file from my forum shows up with a blank page... I've added the phrases, templates, and edited showthread.php, but I'm not sure why it doesn't show up right :(
Andreas
02-19-2004, 06:41 AM
Make sure you got the template names correct (eg. PROFIL_PIC and not profile_pic or smth. like that).
LeeCHeSSS
02-19-2004, 08:51 AM
Gr8 work :) would be nice if users could have multiple pics and that they auto thumbnailed I have created exactly that hack for one of my boards (I got sick of Photopost...). You can even have a public and a private gallery.
I will release it soonish.
Omega Prime
02-19-2004, 06:53 PM
Make sure you got the template names correct (eg. PROFIL_PIC and not profile_ic or smth. like that).
I did that already, but it still shows up "empty"... :ermm:
NyCwill
02-19-2004, 09:37 PM
I have created exactly that hack for one of my boards (I got sick of Photopost...). You can even have a public and a private gallery.
I will release it soonish.
I, myself and I know other members would love it. Can't wait for you to release it... do you have a site that already have it or mayb a screenshot ;)
Andreas
02-19-2004, 09:55 PM
I did that already, but it still shows up "empty"... :ermm:
Hmm ... maybe you added the templates to the wrong style?
gmarik
02-22-2004, 06:17 AM
Could you make a portfolio add-on from this hack as well?
There could be the links or the works of the users, screenshots and so on ...
sabret00the
02-22-2004, 07:56 AM
when it said custom profile pic gallery i thought you were enabling us to attach more than one pic to the profile :(
Dean C
02-22-2004, 05:06 PM
Hehe I was going to make this as my next mod :) Thanks for releasing though - saves me time :)
LeeCHeSSS
02-22-2004, 07:31 PM
I, myself and I know other members would love it. Can't wait for you to release it... do you have a site that already have it or mayb a screenshot ;)
My boss' site that has this working already isn't suitable for all age groups, so I will not post it here.
sabret00the
02-22-2004, 08:34 PM
please do lee, another idea would be having the ability to have +18 pics where a pre-specified default thumbnail comes up like "work warning (adult picture)"
Omega Prime
02-23-2004, 07:34 PM
Hmm ... maybe you added the templates to the wrong style?
It's in the right style, and I didn't call it "profile" (I left them as the original names of "profil"), but still nothing :(
pixelpunk
02-24-2004, 08:25 PM
My boss' site that has this working already isn't suitable for all age groups, so I will not post it here.
user discretion?
Andreas
02-24-2004, 08:42 PM
It's in the right style, and I didn't call it "profile" (I left them as the original names of "profil"), but still nothing :(
Well, then I don't know why it doesn't show up.
But normally this does happen when templates can't be found due to wrong names ...
Erwin
02-25-2004, 06:59 AM
Nice hack! :)
Chris M
02-25-2004, 10:31 AM
Nice hack Bastien :)
Satan
LeeCHeSSS
02-26-2004, 02:39 PM
Sorry for intruding in your thread once again VBDev, but people who are interested in my hack seem to be present in this thread...:
I need a volunteer to test my hack (I had to port it to RC4 from beta3).
Anyone interested pm me...
EDIT: (I wonder if this gets people upset with me) Interested people go here: http://www.everythingvb.com/showthread.php?p=559#post559
VBDev
03-24-2004, 08:37 PM
Our team has opened its support forum.
Now we will make support on our forum
So if you want better support on our hacks go on our forum: http://www.vbulletindev.net/
There are not a lot of hacks for the moment but it will come.
Cya soon on our forum :)
msimplay
03-24-2004, 10:06 PM
can u change the user group name to default user title instead because
i have extra groups named registered 1 2 3 4 5 6
and i don't want them to know their user groups
check the attachment please
StarBuG
03-27-2004, 11:44 PM
Hi
Thx for this nice hack but it has a bug in the page navigation!
If only a few users have a picture and there is only one page then there is still a « First | Last » Button BUT the are not working they link to:
URL/forum/&page=1
Would be nice if you fix this
Thx
StarBuG
hollyboy
03-14-2005, 06:05 AM
works with vb 3.07?
hollyboy
03-15-2005, 12:27 PM
this is a great mod!
I use it for vb 3.07 and it works ;)
I suggest it to all the one who wants a simple gallery :)
Anyway would be great if the users could upload more than 1 picture
hollyboy
03-30-2005, 11:01 AM
none interested in this mod? :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.