vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Second Avatar (https://vborg.vbsupport.ru/showthread.php?t=35612)

Neo 03-02-2002 05:58 PM

Second Avatar
 
ok, you dont need to make a hack what so ever for this... just help me out......... how would I go about making a duplicate of the avatar upload system?

Neo 03-12-2002 06:43 PM

SOmeone going to give me a hint?

TECK 03-13-2002 06:30 AM

neo..
1. do this query flavour:
PHP Code:

$DB_site->query("INSERT INTO setting VALUES (NULL,26,'Enable Multiple Avatars','modavatarenabled','1','Use this option to enable/disable the overall use of multiple avatars.','yesno',9)");

CREATE TABLE modavatar (
   
avatarid smallint(5unsigned DEFAULT '0' NOT NULL auto_increment,
   
title char(100NOT NULL,
   
minimumposts smallint(6) DEFAULT '0' NOT NULL,
   
avatarpath char(100NOT NULL,
   
PRIMARY KEY (avatarid)
)

CREATE TABLE modcustomavatar (
   
userid int(10unsigned DEFAULT '0' NOT NULL,
   
avatardata mediumtext NOT NULL,
   
dateline int(10unsigned DEFAULT '0' NOT NULL,
   
filename CHAR(100NOT NULL,
   
PRIMARY KEY (userid)


2. forum/admin/avatar.php
follow the paterns in there and make another file called modavatar.php (dont forget about the custom links on control panel ;))

3. forum/avatar.php
disco with that file...

4. forum/member.php
tango with it...

5. forum/showthread.php
serenade her until she loves you... bam you're done. ;)

btw, do you have extra tylenol in the house? is a loooooong hack.
good luck. :)

Neo 03-13-2002 05:59 PM

Thanks man.. I sure do. I can give you a bottle ;)

Give me a night and I might have it :smoke:

Bad Bunny 02-07-2003 04:50 AM

Quote:

Originally posted by TECK
neo..
1. do this query flavour:
PHP Code:

$DB_site->query("INSERT INTO setting VALUES (NULL,26,'Enable Multiple Avatars','modavatarenabled','1','Use this option to enable/disable the overall use of multiple avatars.','yesno',9)");

CREATE TABLE modavatar (
   
avatarid smallint(5unsigned DEFAULT '0' NOT NULL auto_increment,
   
title char(100NOT NULL,
   
minimumposts smallint(6) DEFAULT '0' NOT NULL,
   
avatarpath char(100NOT NULL,
   
PRIMARY KEY (avatarid)
)

CREATE TABLE modcustomavatar (
   
userid int(10unsigned DEFAULT '0' NOT NULL,
   
avatardata mediumtext NOT NULL,
   
dateline int(10unsigned DEFAULT '0' NOT NULL,
   
filename CHAR(100NOT NULL,
   
PRIMARY KEY (userid)


2. forum/admin/avatar.php
follow the paterns in there and make another file called modavatar.php (dont forget about the custom links on control panel ;))

3. forum/avatar.php
disco with that file...

4. forum/member.php
tango with it...

5. forum/showthread.php
serenade her until she loves you... bam you're done. ;)

btw, do you have extra tylenol in the house? is a loooooong hack.
good luck. :)

I'm trying to do this. But I would be grateful if anyone has ever done it, they could help me out some.


All times are GMT. The time now is 10:58 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.01022 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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