You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 73 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Trying to add user avatar to block [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
dasmygatfu
Nuke Cadet
Nuke Cadet


Joined: Jul 05, 2003
Posts: 4

Location: USA

PostPosted: Sun Jul 13, 2003 12:10 am Reply with quoteBack to top

Hello-

I am having a problem adding the users avatar image to a block. I'm thinking i haven't declared a variable somewhere but haven't been able to figure it out.

$content .= "<p align=\"center\"><img src=\"modules/Forums/images/avatars/gallery/$userinfo[user_avatar]\"></p>";

I'm trying to display the image with the above code, but all that shows is a broken (link) image that ends w/images/avatars/gallery (no .gif file).

Thanks in advance...
Find all posts by dasmygatfuView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
chris-au
Elite Nuker
Elite Nuker


Joined: Jan 31, 2003
Posts: 717


PostPosted: Sun Jul 13, 2003 4:29 pm Reply with quoteBack to top

Did you write it with a text editor and then download it with a ftp program?

_________________
Chris
Find all posts by chris-auView user's profileSend private messageVisit poster's website
dasmygatfu
Nuke Cadet
Nuke Cadet


Joined: Jul 05, 2003
Posts: 4

Location: USA

PostPosted: Sun Jul 13, 2003 9:06 pm Reply with quoteBack to top

I've copied the files via LAN. The variable I'm trying to call is not showing up ($userinfo[user_avatar]). The link to the image folder is good, but there is no filename on the end.

for example...

global $userinfo;
$content .= "<img src=\"modules/Forums/images/avatars/$userinfo[user_avatar]\"><br>\n";

... this just gives me a broken link (the size of the avatar) and the path is example.com/nuke/modules/forums/images/avatars/ .

Hope this helps.. Thanks.
Find all posts by dasmygatfuView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
chris-au
Elite Nuker
Elite Nuker


Joined: Jan 31, 2003
Posts: 717


PostPosted: Mon Jul 14, 2003 1:20 am Reply with quoteBack to top

Maybe the following will give you the idea:

http://www.nukecops.com/postt5639.html

_________________
Chris
Find all posts by chris-auView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.332 Seconds - 339 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::