vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [Release] Custom Image Under User Name (https://vborg.vbsupport.ru/showthread.php?t=5301)

12-14-2000 02:22 PM

JimF:

Quote:

Please note: I love receiving email, but for the benefit of the entire
community, questions should be directed towards the vBulletin Community forum.

Have you checked out vBulletin's awesome MySQL powered Search
Engine
yet?
Hahaha nice sig :)

12-14-2000 03:28 PM

Is there an easy way to upgrade from 1.13 to 1.14 even when you have hacks on 1.13 but I don't really care if I lose them just as long as i don't lose the messages.

12-14-2000 11:57 PM

I use 1.1.3 in the EXSites forums (lazy to do an upgrade, maybe next week) - http://www.exhardware.com/forums

I use my custom Avatar script which is based on Jim's hack here :) Just simpler... lol Check it out

12-30-2000 08:29 PM

When I add

<TR bgcolor="{secondaltcolor}"><td><normalfont><B>Cust om Image URL:</B></normalfont></td>
<td><INPUT TYPE="TEXT" NAME="imgurl" VALUE="$imgurl" SIZE=30 MAXLENGTH=100></td>
</tr>

to the editprofile template if there is a value for imgurl in the DB it will not show the value in the modify form. My quess is the value has to be set in global.php but I can't find it.... Any suggestions?

12-30-2000 08:41 PM

Found it...

In member.php find

Code:

$userinfo=$DB_site->query_first("SELECT parentemail,coppauser,email,password,homepage,icq,aim,yahoo,biography,signature,adminemail,showemail,invisible,cookieuser,daysprune,timezoneoffset,emailnotification FROM user WHERE userid=$userid");
and change it to

Code:

$userinfo=$DB_site->query_first("SELECT parentemail,coppauser,email,password,homepage,icq,aim,yahoo,biography,signature,adminemail,showemail,invisible,cookieuser,daysprune,timezoneoffset,emailnotification,imgurl FROM user WHERE userid=$userid");
Add the ,imgurl to the end of the statment so it pulls that from the DB.



[Edited by WreckRman2 on 12-30-2000 at 05:45 PM]


All times are GMT. The time now is 07:02 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.01132 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (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
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete