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

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - (FIX) Guests Avatar = Red X [ ]
 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
Akaveli
Captain
Captain


Joined: Jan 03, 2004
Posts: 501


PostPosted: Thu Jun 10, 2004 9:40 am Reply with quoteBack to top

Hi there...

How come the guest avatar is a red x?
And how can i fix this?

Thx in advanced Smile
Find all posts by AkaveliView user's profileSend private message
MrFluffy
Captain
Captain


Joined: Aug 06, 2003
Posts: 411

Location: Berlin

PostPosted: Thu Jun 10, 2004 1:59 pm Reply with quoteBack to top

Do a search for guest_avatar here and read the first post found.

_________________
cu, MrFluffy

conrads-berlin.de
nuke-platinum.de
Find all posts by MrFluffyView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Thu Jun 10, 2004 4:33 pm Reply with quoteBack to top

Edit /modules/Forums/templates/subSilver/subSilver.cfg, then add this two new lines:

$images['default_avatar'] = "modules/Forums/images/avatars/blank.gif";
$images['guest_avatar'] = "modules/Forums/images/avatars/blank.gif";

Do the same thing with every .cfg files on forum themes (/themes/{NUKE_THEME}/forums/), if any.

If you don't want to waste your time, edit /modules/Forums/viewtopic.php, and find this following lines:

Code:
//
// Start initial var setup
//


Before, add:

Code:
if (!isset($images['default_avatar']) || $images['default_avatar'] == "")
{
  $images['default_avatar'] = "modules/Forums/images/avatars/blank.gif";
}

if (!isset($images['guest_avatar']) || $images['guest_avatar'] == "")
{
  $images['guest_avatar'] = "modules/Forums/images/avatars/blank.gif";
}

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
Akaveli
Captain
Captain


Joined: Jan 03, 2004
Posts: 501


PostPosted: Fri Jun 11, 2004 1:48 am Reply with quoteBack to top

Thank you all for your help Smile
Find all posts by AkaveliView user's profileSend private message
Sony
Sergeant
Sergeant


Joined: Feb 15, 2004
Posts: 114


PostPosted: Sat Jun 26, 2004 12:44 pm Reply with quoteBack to top

Works great, finaly a working solution for this issue! THX Very Happy
Find all posts by SonyView user's profileSend private message
tommytomato
Sergeant
Sergeant


Joined: Feb 10, 2004
Posts: 116


PostPosted: Sat Jul 10, 2004 2:33 am Reply with quoteBack to top

Thanks heaps it worked

I was using the Helius theme so i had to surf to theme folder and edit the forums.cfg file. I also did subsilver as well just in case.

all is well, i have been searching for this fix for some time

thanks again

TT
Find all posts by tommytomatoView user's profileSend private message
Hostile
Nuke Soldier
Nuke Soldier


Joined: Jul 31, 2004
Posts: 24


PostPosted: Mon Aug 02, 2004 6:55 am Reply with quoteBack to top

madman wrote:
If you don't want to waste your time, edit /modules/Forums/viewtopic.php, and find this following lines:

Code:
//
// Start initial var setup
//


Before, add:

Code:
if (!isset($images['default_avatar']) || $images['default_avatar'] == "")
{
  $images['default_avatar'] = "modules/Forums/images/avatars/blank.gif";
}

if (!isset($images['guest_avatar']) || $images['guest_avatar'] == "")
{
  $images['guest_avatar'] = "modules/Forums/images/avatars/blank.gif";
}


Thank you much.
Find all posts by HostileView user's profileSend private message
maddys_daddy
Nuke Soldier
Nuke Soldier


Joined: Jul 23, 2004
Posts: 22


PostPosted: Wed Aug 04, 2004 2:31 pm Reply with quoteBack to top

Unfortunately, this didn't work for me. I'm using the Chronicles theme pack, and I edited the .cfg file as instructed above, with no luck. Going into a user profile, I was able to successfully browse the avatar gallery, and even select an avatar. It then told me that my avatar had been succesffuly changed. But going to any page that should have an avatar on it (i.e. Your Account) nets me the same broken image icon. Viewing the page source shows the culprit:
Code:
<img src="images/avatars/gallery/gallery/024.gif">

Note the duplication of gallery in the path. I checked in the Forums Admin Panel, and the avatar gallery path is correctly set: images/gallery, and the phpbb root path is also correctly set. Any ideas of what could be causing this?
Find all posts by maddys_daddyView user's profileSend private message
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Sat Aug 07, 2004 5:05 pm Reply with quoteBack to top

maddys_daddy wrote:
I checked in the Forums Admin Panel, and the avatar gallery path is correctly set: images/gallery, and the phpbb root path is also correctly set. Any ideas of what could be causing this?

It's incorrect if your avatars upload and avatar gallery directories pointing to "modules/Forums/images/avatars" and "modules/Forums/images/avatars/gallery", respectively. In this case, from forum admin panel preferences, avatars upload must pointing to "modules/Forums/images/avatars" and avatar gallery to "modules/Forums/images/avatars/gallery".

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
maddys_daddy
Nuke Soldier
Nuke Soldier


Joined: Jul 23, 2004
Posts: 22


PostPosted: Sat Aug 07, 2004 8:11 pm Reply with quoteBack to top

madman wrote:

It's incorrect if your avatars upload and avatar gallery directories pointing to "modules/Forums/images/avatars" and "modules/Forums/images/avatars/gallery", respectively. In this case, from forum admin panel preferences, avatars upload must pointing to "modules/Forums/images/avatars" and avatar gallery to "modules/Forums/images/avatars/gallery".

I'm a bit puzzled by your reply. The paths you first mention (in quotes) as being incorrect are identical to the paths you mention second as being correct. If you're saying that I need the full path from the phpnuke root, instead of phpbb's root (as is default), then that worked for me. Also, I had to remove the /gallery part from the gallery path, since phpnuke seemed to be appending that on it's own. Now I can browse the gallery from the Your_Account module, and select (and see!) my avatar.
Find all posts by maddys_daddyView user's profileSend private message
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Sun Aug 08, 2004 4:01 pm Reply with quoteBack to top

maddys_daddy wrote:
I'm a bit puzzled by your reply. The paths you first mention (in quotes) as being incorrect are identical to the paths you mention second as being correct.

Sorry if it was look complicated. Basically, avatars and avatars gallery path follows the PHP-Nuke base path. For example, based on system path hierarchy:

Your forum path as follows: modules/Forums
Avatar path as follows: modules/Forums/images/avatars
Avatar gallery path as follows: modules/Forums/images/avatars/gallery

In phpbb, we usually set both avatar path based on phpbb relative path as follows:
Avatar path as follows: images/avatars
Avatar gallery path as follows: images/avatars/gallery

But in some bb2nuke ported module, they should configured as follows:
Avatar path as follows: modules/Forums/images/avatars
Avatar gallery path as follows: modules/Forums/images/avatars/gallery

But to be honest, there's no standard between bb2nuke and Your_Account module, and I saw many contradictives between these modules regarding to avatar's path. Unfortunately, each bb2nuke version also has incompatibilities on how to alter these avatar's path. Because of this reason, I never upgrade my bb2nuke and Your_Account modules to avoid this kind of problem.

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
dead__last
Sergeant
Sergeant


Joined: Aug 07, 2004
Posts: 88


PostPosted: Sun Aug 08, 2004 10:35 pm Reply with quoteBack to top

Thx hostile that code cured my problem as well no more red x's. Very Happy

Nice work dood
Find all posts by dead__lastView user's profileSend private messageVisit poster's website
crimsonred
Nuke Cadet
Nuke Cadet


Joined: Aug 27, 2004
Posts: 8


PostPosted: Fri Aug 27, 2004 4:03 pm Reply with quoteBack to top

i looked all over the place for that start initial ver, my thing doesnt has it..........i use 2.1.0 theme Gametech
Find all posts by crimsonredView user's profileSend private message
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Sat Aug 28, 2004 3:45 pm Reply with quoteBack to top

crimsonred wrote:
i looked all over the place for that start initial ver, my thing doesnt has it..........i use 2.1.0 theme Gametech


It's in viewtopic.php, located in Forums module directory and not in any of PHP-Nuke themes. Smile

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
Stray_Bullet
Nuke Soldier
Nuke Soldier


Joined: Aug 28, 2004
Posts: 22

Location: New York, USA

PostPosted: Sat Sep 11, 2004 4:29 am Reply with quoteBack to top

Worked For Me Also Thanx... Wink Wink

_________________
Kill With The Best... Or Die Like The Rest...
Find all posts by Stray_BulletView 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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.044 Seconds - 261 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::