>>
Site Map
>>
Forums
>>
General 6x
Forum module - topics in forum:
General 6x - Discussions reagarding any other PHP-Nuke Problems.
Your Avatar Bug Found in Nuke 7.0 Alpha
I know the forums for
PHP-NUKE 7.0 alpha are not turned on as of yet, but I just figured I will post this in here anyway.
I just installed the new version of PHP-NUKE 7.0 - In 'Your Account' > 'Your Info' if you select an Avatar then save your changes, it takes you back to the main screen with all your information but you will see the "X" on your image. This can be fixed simply by going to your:
modules/Your_Account/ and edit your index.php file with something like TextPad and go to line: 226
| Code: : |
| if (ereg("(http)", $userinfo[user_avatar])) { echo "<img src=\"$userinfo[user_avatar]\"><br>\n"; } elseif ($userinfo[user_avatar]) { echo "<img src=\"modules/Forums/images/avatars/$userinfo[user_avatar]\"><br>\n"; } |
Change this to:
| Code: : |
| if (ereg("(http)", $userinfo[user_avatar])) { echo "<img src=\"$userinfo[user_avatar]\"><br>\n"; } elseif ($userinfo[user_avatar]) { echo "<img src=\"modules/Forums/images/avatars/gallery/$userinfo[user_avatar]\"><br>\n"; } |
Please also go to Forums administration and look for:
Avatar Gallery Path change this from:
modules/Forums/images/avatars
To:
modules/Forums/images/avatars/gallery
This will solve that problem
Cheers!
Shedrock
Cheers for that.
Just to let people know version 7.0 won't be supported until the first non club release.