Php Logo / Uploading Avatars

liunx

Guest
I have two questions and I've done some research on the boards, but haven't been able to pinpoint the answer I'm needing.<br /><br />1 - My forum at <a href="http://www.shrevegayspot.com/forum" target="_blank">http://www.shrevegayspot.com/forum</a> allows avatars, but how and where are the users supposed to upload their images?<br /><br />2 - I want to change the topleft corner PHP logo to my own. I've found several helpful tips regarding this, but they all say to "look in /templates/subSilver" to find the logo and rename it with your own logo's file name.<br /><br />?what comes before "/templates"?? This may seem obvious to some people, but I'm stumped. I have no clue where to find these html files because I don't know where to start. I tried <!-- w --><a class="postlink" href="http://www.shrevegayspot.com/forums/templates/subSilver">www.shrevegayspot.com/forums/templates/subSilver</a><!-- w --> but that just takes me to a page with the subBlue logo on it.<br /><br />?once I find the actual html code to change, will it be obvious where it needs to be saved to?<br /><br />Thanks in advance. You all do a great job. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><!--content-->
From the phpBB documentation:<br /><br /><a href="http://www.phpbb.com/guide/phpBB_Users_Guide.html#section2_5_1" target="_blank">getting an avatar uploaded...</a><br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->http://www.shrevegayspot.com/forum/templates/subSilver/images/logo_phpBB.gif<!--c2--></div><!--ec2--><br /><br />That is the location of the logo you want to change. Just rename your new file with that name, upload it in the right place and you should be set!<!--content-->
Thank you keeler for the info. I think my confusion stems from the fact that I use Dreamweaver to upload my files, as opposed to an FTP app like Fetch. So I'm assuming that I need to use something like Fetch to directly upload these files to a specific address. Is that correct?<br /><br />One more thing on avatars - would my board members send their avatar to me to be uploaded, or is there a way for them to do that themselves?<!--content-->
Yep that's correct, you'll need to replace that exact name too with your new image, or you'll have alot of hand coding to do changing it all up. Just be sure to name your new banner "logo_phpBB.gif" and put it in that folder over-writing the old one and you should be good to go!<br /><br />On the avatar issue, I'm not sure if you can do that or not. I think pretty much by defaults you either allow them to upload their own, or use no avatars at all. Another work around would be to upload a selection of "acceptable" avatars for them to pick from, that way you wouldn't have to worry about the avatars running wild. <br /><br />Hope this has helped!<!--content-->
Hi,<br /><br />In phpBB you have 2 choices, either they can upload there own or they can hotlink to them.<br /><br />Jim<!--content-->
my own personal experience with phpbb forums and avatars has been a pain in my butt!! <br /><br />The default paths for the avatars never worked and no matter what path i tried they never worked correctly. I finally disabled the user uploaded avatar function, and all i allow is linking to off site avatars or choosing from the ones i provide.<!--content-->
Hi,<br /><br />The only problem I had was getting the FTP to work. Once I done that, jobs a goodun'!<br /><br />jim<!--content-->
Hello again, keeler - OK, I was able to upload my own logo in place of the php logo by using Fetch. But I'm still having troubles in two areas...<br /><br />1 - How do I link my newly placed logo back to the index (home) page of my site?<br /><br />2 - I've created an avatar folder thru Fetch with this directory address: public-html/forum/images/avatar. I uploaded one image to the folder but don't know how to place it under my profile for the forum.<br /><br />I found a post stating "If you have an image that you would like to use, you may upload the image to the server that the board is on.?You may upload an image on your computer by clicking the Browse button." That sounds so specific, but it's actually quite vague. Where is this "Browse" button?<br /><br />3 - I just noticed the new smilies to the left. Can those be imported to my forum somehow?<br /><br />Thanks so much. Hope I'm not talking in circles here. Rock Sign<!--content-->
Aaah, I answered one of my own questions. I found the "Browse" button after turning on "Allow users to upload avatars."<br /><br />I suppose my next question would be, if I didn't want to allow users to upload their own images, where would I store the images and how would I get them on each persons profile?<br /><br />Thanks again!<!--content-->
Maybe you can help me out here, I just uploaded my avatar image and received this error message, as well as a message that seems to pertain to the phpBBlogo being replaced...<br /><br />Warning: copy(./images/avatars/5702651263f185bc14bba3.jpg) [function.copy]: failed to create stream: Permission denied in /home/mellowme/public_html/forum/includes/usercp_avatar.php on line 227<br /><br />Warning: Cannot modify header information - headers already sent by (output started at /home/mellowme/public_html/forum/includes/usercp_avatar.php:227) in /home/mellowme/public_html/forum/includes/page_header.php on line 464<br /><br />Warning: Cannot modify header information - headers already sent by (output started at /home/mellowme/public_html/forum/includes/usercp_avatar.php:227) in /home/mellowme/public_html/forum/includes/page_header.php on line 466<br /><br />Warning: Cannot modify header information - headers already sent by (output started at /home/mellowme/public_html/forum/includes/usercp_avatar.php:227) in /home/mellowme/public_html/forum/includes/page_header.php on line 467<!--content-->
Hmm, I'm afraid you've reached the limit on my expertise on phpBB, but you might try giving their official site a try to serach for some of these errors.<br /><br />I'm guessing to change your logo to link back to your site, you're going to have to edit the templete that controls the top of your forums.<br /><br />So I open this up to any phpBB experts out here to help this fine customer out!<br /><br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><!--content-->
I believe what has happened, is that there is an error created from the 'script surgery' you did on phpBB... that error has also created a cascade of other errors.<br /><br />It might seem like I'm stating the obvious, but the error messages should give you an idea of which lines and in which files there is a problem.<br /><br />The first error message seems to indicate that it was trying to run a function called <b>copy</b> on line 227 of usercp_avatar.php<br /><br />It couldn't find the right file. it appears that it's putting a period in front of the file where it shouldn't be. This is just a guess.<br /><br />I am using a different version than you, so this is about the extent of the help I can provide.<!--content-->
I know from experience that If you try to write any HTML code (such as an IMG tag) before certain PHP functions, it gives you a header error, saying output has already been started. Meaning output to the browser already occurred before the PHP processed.<br /><br />Maybe it has something to do with that...<br /><br /><br />Sarah<!--content-->
Check out the <a href="http://phpbb.com" target="_blank">phpbb.com</a> communities and do a search or two. There is a lot to wade through, but the answer is probably in there. I had the same (or very similar) problem. I fixed it but I don't remember all the steps right now. <br />Try:<br />setting the gallery folder permissions to chmod 777 (via cpanel or an ftp like smartftp)<br />make sure you make a subdirectory for the public avatar files(images/avatars/gallery/subcatagory).<br /><br />Hope this helps<!--content-->
 
Top