vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Custom Profile Pic Gallery (https://vborg.vbsupport.ru/showthread.php?t=61708)

VBDev 02-17-2004 10:00 PM

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

[HIGH]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[/HIGH]

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

Quote:

Originally Posted by corsacrazy
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

Quote:

Originally Posted by Rampag33
I feel the same way

would benifit many boards, especially mine for a car gallery etc :P

VBDev 02-18-2004 09:17 PM

Quote:

Originally Posted by Rampag33
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

Quote:

Originally Posted by KirbyDE
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
Quote:

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

Quote:

Originally Posted by VBDev
@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

Code:

class="alt$alt"
Instead you should use:
Code:

class="$bgclass"
Also, in the PHP you use
PHP Code:

  $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

Quote:

Originally Posted by corsacrazy
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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by LeeCHeSSS
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

Quote:

Originally Posted by Omega Prime
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

Quote:

Originally Posted by NyCwill
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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by LeeCHeSSS
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

Quote:

Originally Posted by Omega Prime
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/showthre...?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

PET 04-06-2004 03:36 AM

nice hack !

INSTALLED :)

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? :(


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.01307 seconds
  • Memory Usage 1,805KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete