The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Logo image - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Logo image (/showthread.php?tid=181)



Logo image - Mekaboo - 07-13-2016

Hello there. First off I wanted to say a huge THANK YOU to Userspice. Ive only been coding for a little under a year all the while creating a social media style web page. Ive heard numerous times the PHP is ancient and not many people use it much any more but thanks to you that is a myth. The files are quite easy to understand and the fact you keep info current is fantastic. Big Hugs Smile My question maybe a silly one-I'm trying to swap your logo for mine. Do I place my logo which is a jpeg at the useravatar line or am I suppose to fix that in the header.php file? Thanks again!!!


Logo image - mudmin - 07-13-2016

Thanks for the compliments! You can do one of two things for your logo....you can either save it as logo.png and put it in the users/images folder or you can upload your own image to that same folder and then change the line in

users/includes/navigation.php that reads

<pre>
Code:
    <a class="" href="<?=$us_url_root?>"><img class="img-responsive" src="<?=$us_url_root?>users/images/logo.png" alt="" /></a>
</pre>

from logo.png to yourimage.jpg. That should work fine. You may have to adjust some padding or something if your image is a different size, but that is not very difficult.


Logo image - Mekaboo - 07-13-2016

Thank you so very much, your advice worked like a charm!!


Logo image - sd97 - 02-21-2018

Hi,
Thanks for your product which I just started using but seems really well written and complete.
I am also trying to change the logo and tried everything but still doesn't work. I can't find where in which CSS file the navbar_test style that apparently contains the header logo is in. I can't even understand how it loads it as I have deleted logo.png in the user/images folder with my own. Any help would be appreciated, thanks in advance.


Logo image - Brandin - 02-21-2018

You probably need to do an asset refresh. Generally Control + F5 in browsers do this, or clearing your browser assets including cache and cookies should resolve the issue.


Logo image - sd97 - 02-21-2018

Brilliant, thanks a lot.