| Author |
Message |
baraxas
Nuke Soldier


Joined: Oct 09, 2003
Posts: 16
|
Posted:
Thu Oct 09, 2003 12:17 pm |
  |
Environment, in order of installation:
phpnuke 6.5 (downloaded from sourceforge)
Service Pack 8-14-03 (downloaded from nukecops)
BBtoNuke NC-2.0.5 (downloaded from nukecops)
BBtoNuke NC-2.0.5 to NC-2.0.6 Diff Pack (downloaded from nukecops)
Downloads/Web Links security patch for Nuke 6.5 & up (downloaded from nukecops)
Procedure:
Modify the file modules/your_account/index.php line 804 from:
| Code: |
| echo "</select> <img src=\"modules/Forums/images/avatars/gallery/$userinfo[user_avatar]\" name=\"avatar\" width=\"32\" height=\"32\" alt=\"\"></td></tr>" |
to
| Code: |
| echo "</select> <img src=\"modules/Forums/images/avatars/$userinfo[user_avatar]\" name=\"avatar\" width=\"32\" height=\"32\" alt=\"\"></td></tr>" |
then modify includes/javascript.php line 49 from:
| Code: |
| echo "'$nukeurl/modules/Forums/images/avatars/gallery' + document.Register.user_avatar.options[document.Register.user_avatar.selectedIndex].value\n"; |
to
| Code: |
| echo "'$nukeurl/modules/Forums/images/avatars/' + document.Register.user_avatar.options[document.Register.user_avatar.selectedIndex].value\n"; |
Forum configuration:
Domain Name: http://www.yourdomain.com
Script path: /
Smilies Storage Path: modules/Forums/images/smiles
Avatar Storage Path: modules/Forums/images/avatars
Avatar Gallery Path: modules/Forums/images/avatars
Finally copy all the images in modules/Forums/images/avatars/gallery in modules/Forums/images/avatars.
That's all!
Tested and working on www.panoramatic.com.
--
Visit my site www.zuddas.com |
|
|
   |
 |
VinDSL
Site Admin


Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
|
Posted:
Thu Oct 09, 2003 3:39 pm |
  |
LoL! I like your logo. I never sleep either. I pass out...
Anyway, you are basically doing the same thing I do. The only difference is, I leave the 'Domain Name:' line blank. I don't know where I picked this up. I think it was on the official phpBB board. However, it seems to work either way, so I guess one way isn't any better than the other - just different. |
_________________ .:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::. |
|
     |
 |
bigdaddyebk
Sergeant


Joined: Oct 14, 2003
Posts: 94
Location: San Diego, CA
|
Posted:
Fri Oct 24, 2003 3:01 am |
  |
I just wanna say THANKS baraxas for your "Bug Fix" you posted on 10/09!!
I struggled for 3 days trying to find the right solution so my avatar gallery would (at least) show up, then my users(co-workers) can choose what they want!!  |
_________________ "Unix" for Longevity
"AS/400" for Nostalgia
"Linux" for Productivity
"MAC" for Multimedia
"Windows" for Solitaire
Do I need a computer to use your software? |
|
       |
 |
Nashville_Guy
Nuke Soldier


Joined: Oct 29, 2003
Posts: 17
|
Posted:
Wed Oct 29, 2003 8:12 am |
  |
Baraxas, it worked like a charm.
Thanks! |
|
|
   |
 |
baraxas
Nuke Soldier


Joined: Oct 09, 2003
Posts: 16
|
Posted:
Mon Nov 03, 2003 9:56 am |
  |
You're welcome!  |
|
|
   |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sat Nov 08, 2003 4:36 am |
  |
Rather than change all that code, you can change your phpbb avatar directories to
Avatar Storage Path: modules/Forums/images/avatars/gallery
Avatar Gallery Path: modules/Forums/images/avatars/gallery
And then upload your 'gallery' of avatars to
modules/Forums/images/avatars/gallery
---
module, Your_Account, index.php
Find:
| Quote: |
echo "<img src=\"modules/Forums/images/avatars/$userinfo[user_avatar]\"><br>\n";
|
Change to:
| Quote: |
echo "<img src=\"modules/Forums/images/avatars/gallery/$userinfo[user_avatar]\"><br>\n";
|
Thats it.
Extra note:
There should also be a blank.gif file in
modules/Forums/images/
modules/Forums/images/avatars
modules/Forums/images/avatars/gallery |
Last edited by XEULAS on Sat Nov 08, 2003 5:02 am; edited 1 time in total |
|
    |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sat Nov 08, 2003 4:48 am |
  |
Ummm... I skipped sleeping tonight so......
It kinda ends up the same solution, different directorys, eh?
So, the real point is it needs to be fixed in the distro.
And hey, why have two directories anyway? Why cant you just plain have it so you upload all your avatars into an avatar directory, yes?
Maybe I'll switch things around to your way and dump the gallery directory alltogether... hee hee hee
----
A telegram for Mr. NukeCop:
Dear Mssrs NukeCop STOP In the next distrObution could you make it his way STOP So if I change it all now it wont get overwritten? STOP signed STOP someone who needs to stop STOP
.... now I just have to find the Western Union office....  |
|
|
    |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sat Nov 08, 2003 4:59 am |
  |
Hey, I just thought of something. Does uploading your own avatar still work doing the fix your way? |
|
|
    |
 |
baraxas
Nuke Soldier


Joined: Oct 09, 2003
Posts: 16
|
Posted:
Sun Nov 09, 2003 10:05 am |
  |
|
   |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sun Nov 09, 2003 10:12 am |
  |
I'd like to see them integrate the two profiles into one (phpbb has a profile and nuke has one).
I find that if I change my site (in Your_Account/navbar.php) so everyone gets the phpbb profile instead of the nuke profile, then the gallery link doesnt work.
Would you mind doing a little check?
See if when you log in as a user (not admin) and click MESSAGES, then from the next page click PROFILES, see if the gallery links/avatar links work. If so, I have some posts to change! |
|
|
    |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sun Nov 09, 2003 10:40 am |
  |
I just signed up for an account at zuppas. Your fix works fine for the nuke profile. It does not work for the phpbb profile. Neither does mine. Oh well.... |
|
|
    |
 |
baraxas
Nuke Soldier


Joined: Oct 09, 2003
Posts: 16
|
Posted:
Sun Nov 09, 2003 12:42 pm |
  |
I've created the account test2 on www.zuddas.com then loaded an avatar from my pc. It works! In forum profile and in my account. Check it.
 |
|
|
   |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sun Nov 09, 2003 1:22 pm |
  |
No, I dont mean the upload an avatar. I created a zuppas account, I login and click MESSAGES, then I click PROFILE. At the bottom of the page shows your current avatar and the option button to show the gallery. Click that button. No go. |
|
|
    |
 |
baraxas
Nuke Soldier


Joined: Oct 09, 2003
Posts: 16
|
Posted:
Tue Nov 11, 2003 11:20 am |
  |
I'm sorry, my solution work, but i set it exactly only on panoramatic.com. Now I've corrected the forum path on zuddas.com too. It works! The configuration is in the first article of this topic. On zuddas.com I had:
| Code: |
Domain Name: http://www.yourdomain.com
Script path: /modules/Forums/
Smilies Storage Path: modules/Forums/images/smiles
Avatar Storage Path: modules/Forums/images/avatars
Avatar Gallery Path: modules/Forums/images/avatars/gallery |
and now, after your signalation zuddas.com settings = panoramatic.com settings:
| Code: |
Domain Name: http://www.yourdomain.com
Script path: /
Smilies Storage Path: modules/Forums/images/smiles
Avatar Storage Path: modules/Forums/images/avatars
Avatar Gallery Path: modules/Forums/images/avatars |
Check it!  |
|
|
   |
 |
d4m4g3
Corporal


Joined: Sep 19, 2003
Posts: 63
|
Posted:
Fri Nov 14, 2003 8:31 pm |
  |
Thank you this solution worked perfectly |
|
|
     |
 |
|
|