Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Image in profile Details »»
Image in profile
Version: 1.00, by Zzed Zzed is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-04-2002 Last Update: Never Installs: 52
 
No support by the author.

This hack was requested by NerdNations.

Here is what you need to do to add a image field to user profiles.

That's it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-06-2002, 02:20 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Zzed...

:tup:

Satan
Reply With Quote
  #23  
Old 05-06-2002, 02:50 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by MrLister

375 hp, 362 tq
Is that at the flywheel or front wheels?

Mine are rear wheel numbers.
Reply With Quote
  #24  
Old 05-12-2002, 08:16 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like an excellent hack, but all I get when I try to use it is:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\Program Files\Apache Group\Apache2\htdocs\member.php on line 2

Parse error: parse error, unexpected T_STRING in C:\Program Files\Apache Group\Apache2\htdocs\member.php on line 2


Is this the revenge of PHP4.2?
Reply With Quote
  #25  
Old 06-01-2002, 02:33 PM
NSeXcellent NSeXcellent is offline
 
Join Date: Jan 2002
Location: Tampa Bay
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by MrLister
nice car.. i'm betting my mx-6 could take you

Custom installed body kit (fiber-glass)
greddy dual exhaust
16 psi
basch platinum plugs
strut tower bars
2 inch koniing adjustable coilovers
Magnecor Wires
JL Audio 12W6 Subs
Cone Filter
new cold air intake.

hehe ok i'm getting carried away. think vB. btw no i don't have a picture at the moment.
I'll take a piece of that action! And now you all see where i get this username from...

Reply With Quote
  #26  
Old 06-24-2002, 02:04 PM
Keith Keith is offline
 
Join Date: Jan 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using 2.2.5, only the URL is coming up and I've double checked the location. What am I missing?
Reply With Quote
  #27  
Old 06-24-2002, 02:10 PM
Keith Keith is offline
 
Join Date: Jan 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind, I'm an idiot!! Loaded up the member.php file into the wrong directory (portals root) by mistake. Works great, thanks for the hack!!
Reply With Quote
  #28  
Old 06-24-2002, 05:35 PM
globalwin's Avatar
globalwin globalwin is offline
 
Join Date: Jun 2002
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this might be daft, but how do I link an image? I cant seem the guess the syntax
Reply With Quote
  #29  
Old 06-24-2002, 08:40 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by globalwin
this might be daft, but how do I link an image? I cant seem the guess the syntax
It's just a URL, no BB tags are needed.
Reply With Quote
  #30  
Old 06-26-2002, 05:59 PM
Keith Keith is offline
 
Join Date: Jan 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zzed, this is the weirdest thing. The hack worked great when I installed it yesterday, I input my URL and it appears. I tried to input the info myself as admin level access into 2 users profile. the reason is, one of them put a URL in and it just showed the white box with an x. When I checked their URL, it was fine.

I then saw this error when I tried to save his record:

Code:
Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: SELECT userid
					FROM user
					WHERE username='bsurguy'
						AND userid <> 
mysql error: You have an error in your SQL syntax near '' at line 4

mysql error number: 1064
The referring script is listed as ..../forums/forums/admin/user.php

I only have 1 forums directory, so it should be ...forums/admin/user.php Where might I find the problem here? Confused.

Great hack by the way!
Reply With Quote
  #31  
Old 06-26-2002, 07:16 PM
Keith Keith is offline
 
Join Date: Jan 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From that user.php file, here's the code, but this doesn't appear to be a problem:

Code:
if ($exists=$DB_site->query_first("SELECT userid
					FROM user
					WHERE username='".addslashes(htmlspecialchars($ausername))."'
						AND userid <> $userid")) {
		echo "There is already an ".makelinkcode('user',"user.php?do=edit&userid=$exists[userid]",1)." named <b>".htmlspecialchars($ausername)."</b>";
		exit;
	}
I replaced the member.php with my original, and deleted the field in the template, but still get the same error now. Any ideas?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08173 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete