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 ;)


All times are GMT. The time now is 10:59 AM.

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.03773 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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