Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2000
Posts: 76
Journeyman
Journeyman
Joined: Apr 2000
Posts: 76
Adding files and Avatars is not working. I have them set in the configuration file and the tests work properly, but uploading does not work and in the My Home section of Edit Profile, you are not given the chance to upload your avatar. Any suggestions? The directories the files go into are set to 777 at this time.


i run sdstreetracing.com and streetracing.com
Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Did you overwrite your configure file? In the configure file you can set the path to the folder where the picture uploads go and provide an url to them. This folder also needs to be world writable as well as readable.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
[]in the My Home section of Edit Profile, you are not given the chance to upload your avatar[/]

There's an option in the theme settings that you have to set, as well as the paths in the config settings.

Joined: Apr 2000
Posts: 76
Journeyman
Journeyman
Joined: Apr 2000
Posts: 76
Yep, I went through all of the config and theme settings and introduced the proper paths. here is what I have in my config. If I am missing a piece in this, please let me know and I will put it in here.

Code
<br />// Allow the image markup tag.<br />    $config['allowimages']=     1;<br /><br />  // If allowing pictures you can also let users upload these pictures to your<br />  // server.  By specifying a path this will allow users to upload .gif, .jpg<br />  // or .png files to that directory.  You must make the directory<br />  // world_writeable as well.  If no path specified, then users will need to<br />  // provide a url to their picture.<br />    $config['avatars'] = "/home/httpd/html/sdsr/ubbthreads/avatars";<br /><br />  // If a path was specified above, we need to know the full url to that<br />  // directory (Partial url will not work)<br />    $config['avatarurl'] = "http://www.importboard.com/avatars";<br /><br />  // If allowing users to upload their pictures, enter the maximum size<br />  // in bytes.<br />    $config['avatarsize'] = "8000";<br /><br />  // Allow File Attachemnts.  If you provide a path to a directory below<br />  // then File Attachments will be allowed.  If you leave it blank, then they<br />  // will not.  Make sure this directory is writeable by everyone<br />    $config['files']    =       "/home/httpd/html/sdsr/ubbthreads/files";<br /><br />  // We also need the url to the files directory<br />    $config['fileurl']  =       "http://www.importboard.com/files";<br /><br />  // Do you want to only allow certain file types, or exclude certain file<br />  // types? Only uncomment one of the following.  Seperate your filetypes with<br />  // a ,<br />    $config['allowfiles'] = ".gif,.jpg,.txt,.zip,.png";<br /><br />  // Maximum filesize allowed<br />    $config['filesize'] =       "100000";<br /><br /><br />  



and here is what I have in the Theme config:

Code
<br /><br /><br />// Allow users to add a picture to their profile<br />  $theme['PictureView']=        "1";<br /><br />// If allowing users to add pictures, what is the maximum width allowed<br />  $theme['PictureWidth'] =      "80";<br /><br />// If allowing users to add pictures, what is the maximum width allowed<br />  $theme['PictureHeight'] =     "80";<br /><br /><br />  



And also I did not copy over the config/theme files after my initial new 6.1.1 install over to 6.2



i run sdstreetracing.com and streetracing.com
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
$config['avatarurl'] = "http://www.importboard.com/avatars";
$config['fileurl'] = "http://www.importboard.com/files";

Are you sure those URLs are correct? I would have expected at least one more directory in those URLs, unless you have some kind of mapping set up.

-------
Edit: I was able to access those URLs, so I guess that's ok. Can you post the main URL to your board?

Last edited by Dave_L; 01/15/2003 11:59 AM.
Sponsored Links
Joined: Apr 2000
Posts: 76
Journeyman
Journeyman
Joined: Apr 2000
Posts: 76
yes they are correct because the home structure is:

/home/httpd/html/sdsr/ubbthreads/avatars
/home/httpd/html/sdsr/ubbthreads/files

I just put those in the same dir as the main ubbthreads install


i run sdstreetracing.com and streetracing.com
Joined: Apr 2000
Posts: 76
Journeyman
Journeyman
Joined: Apr 2000
Posts: 76
Would you like for me to upload my config file? or should I go to the infopop support page?


i run sdstreetracing.com and streetracing.com
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I don't have time to pursue this right now, so submitting an Infopop support ticket might get you a faster response.

Joined: Apr 2000
Posts: 76
Journeyman
Journeyman
Joined: Apr 2000
Posts: 76
thank you


i run sdstreetracing.com and streetracing.com

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)