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, 87 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Avatar [ ]
 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
macro
Sergeant
Sergeant


Joined: Feb 02, 2003
Posts: 80

Location: USA

PostPosted: Thu Feb 06, 2003 7:29 pm Reply with quoteBack to top

IN modules.php?name=Your_Account&op=edituser when i select a pic on the side the pic is not found. but the pic is shown on modules.php?name=Your_Account becuase i read this article http://nukecops.com/postt372.html i'm using php-nuke 6.5 beta 7
Find all posts by macroView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Feb 06, 2003 7:56 pm Reply with quoteBack to top

AI's the expert on that one.. seems like everyone here as a team covers pretty much everything. Cool

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Thu Feb 06, 2003 8:52 pm Reply with quoteBack to top

It works ok for me, check function edituser and make sure lines 699-716 match the following (line numbers are aproximate):

Code:

       ."<tr><td bgcolor='$bgcolor2'><b>"._YOURAVATAR.":</b><br>"._OPTIONAL."</td><td bgcolor='$bgcolor3'>[ <a href=\"modules.php?name=$module_name&amp;op=avatarlist\">"._LIST."</a> ]&nbsp;&nbsp;"
       ."<select name=\"user_avatar\" onChange=\"showimage()\">"
       ."<option value=\"$userinfo[user_avatar]\">$userinfo[user_avatar]</option>";
   $direktori = "modules/Forums/images/avatars/gallery";
   $handle=opendir($direktori);
   while ($file = readdir($handle)) {
       $filelist[] = $file;
   }
   asort($filelist);
   while (list ($key, $file) = each ($filelist)) {
       ereg(".gif|.jpg",$file);
       if ($file == "." || $file == "..") {
      $a=1;
       } else {
      echo "<option value=\"$file\">$file</option>";
       }
   }
   echo "</select>&nbsp;&nbsp;<img src=\"modules/Forums/images/avatars/gallery/$userinfo[user_avatar]\" name=\"avatar\" width=\"32\" height=\"32\" alt=\"\"></td></tr>"
Find all posts by chatservView user's profileSend private messageVisit poster's website
macro
Sergeant
Sergeant


Joined: Feb 02, 2003
Posts: 80

Location: USA

PostPosted: Thu Feb 06, 2003 9:21 pm Reply with quoteBack to top

ok it works but in forums it didn't show my pic.
Find all posts by macroView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Thu Feb 06, 2003 10:06 pm Reply with quoteBack to top

Go to the Forum's admin section, click on configuration and change the Avatar Gallery Path to modules/Forums/images/avatars/gallery

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
macro
Sergeant
Sergeant


Joined: Feb 02, 2003
Posts: 80

Location: USA

PostPosted: Thu Feb 06, 2003 10:23 pm Reply with quoteBack to top

thank very much
Find all posts by macroView user's profileSend private message
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.203 Seconds - 497 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::