vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Custom User Icon (https://vborg.vbsupport.ru/showthread.php?t=40812)

FleaBag 07-08-2002 04:44 PM

LOL I just saw you made it in another thread, I was just about to do it myself. ;) How about a little mention for the inspiration eh? :D

Heijin 07-08-2002 05:04 PM

Sounds like a plan. You could probably do better though.

Velocd 07-08-2002 08:17 PM

Looks good, I had thought about doing this awhile back but let the user upload the icon instead. Some limitations on the size would defiantly be nice. (ie. choosing a max size to be 15x15 px)

FleaBag 07-08-2002 10:40 PM

I might have a fiddle with some things today as I'm only at work for 4 hours. ;)

thedude2000 12-03-2002 02:09 AM

*sighs* i'm only doing this for the better of man kind...


If (isset($post[field#]) && $post[field#] != "")
{
$post[customicon] = '<img src="'.$post[field#].'">';
}
else
{
$post[customicon] = '';
}



There, that will make it so that they don't have to type anything like "yes". it will automatically look for if something is entered in. also, all the "#"s should be replaced with the number of the profile where the link is. Just trying to make the world a better place... *blinks out*

Erwin 12-03-2002 02:19 AM

I'm using something like this on my site... :) Uses minimal queries, and allow users to upload an icon... there's a similar hack in the Beta Forum, which I modified extensively.

Heijin 05-25-2003 01:08 PM

New updated screenshot. I put my icon in the main posts so it appears before all the posts.


All times are GMT. The time now is 03:24 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.00992 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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