Author |
Message |
blith
Client
Joined: Jul 18, 2003
Posts: 977
|
Posted:
Thu Nov 11, 2004 8:40 am |
|
In the CNB avatar control panel I put in th address to my offsite avatar and it made the link into the following:Code:http://www.*********.com/modules/Forums/images/avatars/www.*******.com/pics/blithavie.jpg
|
So it added the path to the gallery avatars at the front... How can I fix this? Thanks. |
|
|
|
|
hitwalker
Sells PC To Pay For Divorce
Joined:
Posts: 5661
|
Posted:
Thu Nov 11, 2004 6:35 pm |
|
well after some checking in the files i end up in avatarlinksave.php
but also there it mentions...avatar_gallery_path so that isnt that clear.
i had installed the new version on testsite but was kind of hopeless.... |
|
|
|
|
sixonetonoffun
Spouse Contemplates Divorce
Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Thu Nov 11, 2004 8:03 pm |
|
Shucks you come up with all the good ones. Once we work out whats bugged with the admin panel we'll get this. I'll have to change my test site a little I've hard coded it so this option doesn't exist in my phpbb. |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
|
sixonetonoffun
|
Posted:
Fri Nov 12, 2004 12:04 pm |
|
blith I can't create this error its working on my site. Can you double check this one? |
|
|
|
|
blith
|
Posted:
Fri Nov 12, 2004 12:57 pm |
|
Okay.... now it works. I swear it didn't. The post I made above was a copy and paste of the properties of the red x that appeared after I linked to an offsite avatar the first time. Is it possible it only happens when there is currently no gallery or offsite avatar selected. Such as when a new user signs up? |
|
|
|
|
blith
|
Posted:
Fri Nov 12, 2004 1:06 pm |
|
I found the problem. The url must beCode: http://www.pathtoyouravatar.com
| form. It cannot be just Code:www.pathtoyouravatar.com
|
Maybe that is something simple but it should be in the control panel:
Link to off-site Avatar:
Enter the URL of the location containing the Avatar image you wish to link to and click on the submit button below. Ex: http://www.******.com |
|
|
|
|
sixonetonoffun
|
Posted:
Fri Nov 12, 2004 2:12 pm |
|
|
|
|
blith
|
Posted:
Fri Nov 12, 2004 2:52 pm |
|
|
|
|
sixonetonoffun
|
Posted:
Fri Nov 12, 2004 2:54 pm |
|
The file above adds it to the form field as a reminder I hope that is enough for now. It also resolves another issue of the image not being shown on the edituser page. |
|
|
|
|
blith
|
Posted:
Fri Nov 12, 2004 2:56 pm |
|
|
|
|
blith
|
Posted:
Wed Nov 17, 2004 8:30 am |
|
sixonetonoffun wrote: | The file above adds it to the form field as a reminder I hope that is enough for now. It also resolves another issue of the image not being shown on the edituser page. |
six, I did the change and it did not do anything... what was it supposed to do exactly? Thanks! |
|
|
|
|
sixonetonoffun
|
Posted:
Wed Nov 17, 2004 7:24 pm |
|
It fixes so that the offsite avatar displays on the edit user page and I added http:// to the form field as a simple reminder.
To complete this totally open modules/Your_Account/avatarlinksave.php
Around Line 24 find:
Code:
//avatarfix by menelaos dot hetnet dot nl
|
Below that add this:
Code:
if (!ereg("http", $avatar)) {
$avatar="http://$avatar";
}
|
That should take care of it completely. |
|
|
|
|
blith
|
Posted:
Thu Nov 18, 2004 1:07 pm |
|
It is in modules/Your_Account/public/avatarlinksave.php right? Thank you! |
|
|
|
|
blith
|
Posted:
Thu Nov 18, 2004 1:10 pm |
|
That did not work... I put in www.*****.com/pathtothefile and it was stuck on the end of.....http://www.******.com/modules/Forums/images/avatars/www.******.com/pics/blithavie.jpg
In addition nothing was added to the form field... |
|
|
|
|
sixonetonoffun
|
Posted:
Thu Nov 18, 2004 8:35 pm |
|
blith thats strange try this pre editted file just to be sure:
http://www.netflake.com/files/11_18_avatarlinksave.php.txt
Also the one in the previous post does add it to the form if its not then you might be having some trouble over writing the files because the form has a value="http://" so it is automatically placed into the field. |
|
|
|
|
blith
|
Posted:
Fri Nov 19, 2004 7:59 am |
|
Okay, it works now, perfectly. Thank you. I must have not overwritten the file properly. I checked file size this time...
so if you do not add the http:// it will and if you do add the http:// it won't correct? Thanks again, six! |
|
|
|
|
sixonetonoffun
|
Posted:
Fri Nov 19, 2004 3:34 pm |
|
Yes sir it should do exactly that. |
|
|
|
|
|