Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Smoky "Rider" Blue on August 31, 2008, 12:56:34 PM

Title: Clickable Logo
Post by: Smoky "Rider" Blue on August 31, 2008, 12:56:34 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1370)

This mod will make your logo clickable. It is based for the default theme, so please make sure to edit custom theme file index.template.php for custom theme effects.

It is well known that to have a clickable logo, is good for your members, so they have an extra way to get back to the main page of your website.
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on August 31, 2008, 01:27:33 PM
I want to say thanks to Babjusi, his wrapper mod got me thinking on the clickable logo..  ;)
Title: Re: Clickable Logo
Post by: babjusi on August 31, 2008, 02:16:55 PM
Neat SmokeyBlue :)

I have seen very requests at these forums here for such a thing and I am sure that a lot of people would find this mod handy. Especially those that are not comfortable with editing the files
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on August 31, 2008, 02:28:55 PM
thanks Babjusi..  ;)
Title: Re: Clickable Logo
Post by: ddarrell on August 31, 2008, 04:25:41 PM
Hi Smoky Blue..
:)
How does it work?
Is there something new in the menu system?
Or does it just make the current spot where the image url is entered, able to take an {<a href=" ...etc}?

thanks

ddarrell

OK, I just figured it out.  It is making the 'smf' logo clickable to the home of the forum...
Pretty Neat....

One day when you are bored, maybe you can make the image link that is an option in Current Theme settings, (That displays a Logo on the top left of the forum), be clickable to another website..   :D :D :D
(I could use that functionality)

Thanks

ddarrell




Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on August 31, 2008, 05:10:56 PM
hi ddarrell..

if you need it for another website, or another area of your site, when you do the edits (apply mod)

then just look at this spot here:

<a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></a>

this bit:

a href="place your url here',  will help you do what you wish.

remember, this only works for the default. you must edit the custom theme as well ;)

glad you can use it!!  :)
Title: Re: Clickable Logo
Post by: ddarrell on August 31, 2008, 05:21:28 PM
OK, Thanks!!!

  :)
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on August 31, 2008, 05:39:49 PM
you welcome ;)
Title: Re: Clickable Logo
Post by: Garry1953 on September 01, 2008, 01:53:27 AM
Handy add-on
Thanks.
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on September 01, 2008, 05:44:02 AM
just a question.... i know its silly to ask but just for a clarification... if the logo is already clickable and I install the mod then would there be a conflict or it will overright it ? or when i uninstall it, would it remove the code from the file and make the original logo unclickable ?

Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on September 01, 2008, 06:43:27 AM
this applies to the default theme for smf. that logo isnt clickable.

if you wish to add it to other themes, you must do so manually.

if your logo is clickable already, then why would you need the mod?

this does install and uninstall very well, so it is up to you if you wish to use this ;)
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on September 01, 2008, 06:50:57 AM
if your logo is clickable already, then why would you need the mod?

I told it was a silly question.. :P
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on September 01, 2008, 06:58:23 AM
lol that you did ;)
Title: Re: Clickable Logo
Post by: DaisyP on September 03, 2008, 09:44:05 PM
I tried to download the mod just now and it said there was an error - something failed when it tested the file, just FYI.

Title: Re: Clickable Logo
Post by: Deprecated on September 03, 2008, 10:04:12 PM
Smoky, I'd like to welcome you to the informal mod author's team. I thought of this idea myself and have even written the mod, even ready to upload, and installed on my own forum, but I'm glad I didn't because you have now issued your first mod package, and it's good to have another author on the team!

Good showing Smoky! You go! Welcome to the team! :)
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on September 03, 2008, 10:10:52 PM
lol thanks!! this is nice!!

i have a few more i would like to see up, and just glad to help out where i can ;)
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on September 03, 2008, 10:12:05 PM
Quote from: DaisyP on September 03, 2008, 09:44:05 PM
I tried to download the mod just now and it said there was an error - something failed when it tested the file, just FYI.



can you tell me what failed?

what version of smf do you have and what other mods?
Title: Re: Clickable Logo
Post by: stingerman on October 10, 2008, 02:17:13 AM
What folder do you put the mod in?  Sorry I am just getting the hang of this! Great forum!  :D

Got it, you put it in the packages folder!  Sweet!
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on October 10, 2008, 08:53:28 AM
glad you got it stingerman!!  :)
Title: Re: Clickable Logo
Post by: blondeamon on November 09, 2008, 07:21:49 PM
Im having trouble editing my dilbermc file correctly, can you plz do it for me?

Its attached
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on November 13, 2008, 06:23:42 AM
you will have to find the center image you have, on the index.template.php file you attached, and use the code here, being sure to subsitute your image name for the default smflogo image..

<a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></a>

i am sorry for the delay in response to this blondeamon..

Smoky lady has been a bit busy..  :)
Title: Re: Clickable Logo
Post by: Phat^Trance on December 19, 2008, 11:31:16 AM
how do i make my own image clickable? there isnt any option to edit the xml files under the package manager. when u try manually edit the file and install the mod again ill get this error message: The package you tried to upload either is not a valid package or has become corrupted.

i want to have the logo on the RIGHT side of the forum (  http://dailymobile.se/forum/ )
is that possible to make with this mod?
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 12:34:23 PM
Quote from: Phat^Trance on December 19, 2008, 11:31:16 AM
how do i make my own image clickable? there isnt any option to edit the xml files under the package manager. when u try manually edit the file and install the mod again ill get this error message: The package you tried to upload either is not a valid package or has become corrupted.

i want to have the logo on the RIGHT side of the forum (  http://dailymobile.se/forum/ )
is that possible to make with this mod?

how do you make your own image clickable?? apply the mod.. you shouldnt have to edit anything in the mod files..

you are wanting to have your image aligned to the right? then post up the code and we go from there ;)

all this mod of mine does, is make it clickable :)
Title: Re: Clickable Logo
Post by: Phat^Trance on December 19, 2008, 12:35:33 PM
what kind of file do u want to make the logo to the left?
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 12:40:47 PM
what do you mean?  :o

i thought you said you wanted your logo on the right?

all this mod does is make it clickable, no aligning at all.  :)

Title: Re: Clickable Logo
Post by: Phat^Trance on December 19, 2008, 12:46:08 PM
Quote from: SmokyBlue on December 19, 2008, 12:40:47 PM
what do you mean?  :o

i thought you said you wanted your logo on the right?

all this mod does is make it clickable, no aligning at all.  :)

no i want the logo on the left, were i have my custom logo.  (  http://dailymobile.se/forum/  ) the current SMF logo is still on the right BUT its been switched to a 1x1 logo (so that people wont see it)


you wrote:
you are wanting to have your image aligned to the right? then post up the code and we go from there .

the code? what kind of code? in witch file =)
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 01:17:15 PM
ok.. you added your logo thru the current theme options, correct?


here is the code for your header/logo based off the default:

Quote<body>';

   echo '
   <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
         <tr>
            <td class="catbg" height="32">';

   if (empty($settings['header_logo_url']))
      echo '
               <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
   else
      echo '
               <img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

   echo '
            </td>
            <td align="right" class="catbg">
               <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
            </td>
         </tr>
      </table>';

found in the index.template.php file in themes>default (core)

what i suggest to you is this.. take your logo, and name it to smflogo.gif (from dm-banner-size-test-3.png) to make things easier on you.

next, upload that image to your images file in the default theme, overwritting the one that is there now.

then look at the code i just poped up here.

change this bit here:


<td align="right" class="catbg">


to where it will say "left" and you will be fine..

however i never like to modify the default theme.. always make a new theme and edit that one..

remember, backup!! before and after any changes ;)
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 01:18:58 PM
now if you do not wish for the text name of your site to show, then do the code bit like this:

<body>';

echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

//if (empty($settings['header_logo_url']))
//echo '
//<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
//else
//echo '
//<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 19, 2008, 05:49:02 PM
Well, this is something which might or may not be due to this mod, but i aint sure but although it seems might have happened due to the installation of this mod.

http://goldysun.com/forum/index.php
(you see the banner perfectly seen without logging in)

http://goldysun.com/forum/index.php
(Login with the test account information and you see two banners overlapping)

Username:- nishant
password:- goldysun

I did check the codes in index.template.php but doesnt seem to get it right yet.

Anything that you can help with ?
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 06:09:31 PM
Quote from: F.L.A.M.E.R on December 19, 2008, 05:49:02 PM
Well, this is something which might or may not be due to this mod, but i aint sure but although it seems might have happened due to the installation of this mod.

http://goldysun.com/forum/index.php
(you see the banner perfectly seen without logging in)

http://goldysun.com/forum/index.php
(Login with the test account information and you see two banners overlapping)Username:- nishant
password:- goldysun

I did check the codes in index.template.php but doesnt seem to get it right yet.

Anything that you can help with ?

if i could see what you are talking about Flammer..

here is what i see using firefox and ie.. (see attached)

now, can you do a screener of what you see??  or have you looked at it in browsershots.org??

can you post up the code that you are using?? 

and you always install mods to the core default, then to the custom theme via editing..

so does this do that on the default??  the more info you give, lol you know the drill  ;)
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 19, 2008, 06:19:36 PM
Oh, why didnt i check before giving the account. I just saw that the user account doesnt see as i as an admin sees it.

Here are the screenies.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg266.imageshack.us%2Fimg266%2F8388%2Fheaderoy3.png&hash=0b1af76f50fa140ea4f53801d7255746ddebf878)

During the normal mode without logging in, i see the same which you do, but as i login, i see the above screenie...

It doesnt happen in the default theme. Yes all the mods are installed for the default theme first and then custom.

Here is the mod list:-
1.   Ad Managment   2.3   [ Uninstall ]
2.   nneonneo's AJAX ShoutBox   1.21   [ Uninstall ]
3.   FavIcon   1.1   [ Uninstall ]
4.   Affiliates   1.0   [ Uninstall ]
5.   Custom Copyright   1.1.5   [ Uninstall ]
6.   Global Headers Footers   1.4.1   [ Uninstall ]
7.   Karma Description Mod   2.3.1   [ Uninstall ]
8.   Referrals Mod   2.0.1   [ Uninstall ]
9.   Images On Board   1.1   [ Uninstall ]
10.   Forum Epoch   1.0   [ Uninstall ]
11.   Auto Email Inactive Users   1.7   [ Uninstall ]
12.   Gmail Field   1.1   [ Uninstall ]
13.   MCLegendII.2   2.0   [ Uninstall ]
14.   Smf Logo Clickable   1.0   [ Uninstall ]
15.   Global Announcements   1.0   [ Uninstall ]
16.   Perfect Smiley Set   1.0   [ Uninstall ]
17.   Member Color Link   3.0.4   [ Uninstall ]
18.   Expand Pages Mod   1.0   [ Uninstall ]
19.   Image Zoom Tag Package   1.2   [ Uninstall ]
20.   New Topic Button   1.0   [ Uninstall ]
21.   PM Popup - Uses Active Window   1.3   [ Uninstall ]
22.   Thank-O-Matic   1.2.3   [ Uninstall ]
23.   Redirection Boards   2.01   [ Uninstall ]
24.   VisualWarning   1.42   [ Uninstall ]
25.   Post_As_An_Alternate_User   2.0   [ Uninstall ]
26.   NextPostLevel   1.0   [ Uninstall ]
27.   Related Topics   1.2.0   [ Uninstall ]
28.   Paid Subscriptions   0.18   [ Uninstall ]
29.   Ultimate Profile   0.8.5   [ Uninstall ]
30.   SMF Arcade   2.0.15   [ Uninstall ]
31.   AJAX Instant Quick Reply   1.0.1   [ Uninstall ]
32.   Look But No Read   1.11   [ Uninstall ]
33.   Show Local Url Titles   1.1   [ Uninstall ]
34.   Color And BgColor BBCode Bar   3.3.1   [ Uninstall ]
35.   Admin Notepad   1.0   [ Uninstall ]
36.   SMF 1.0.14 / 1.1.6 Update   1.0   [ Uninstall ]
37.   Custom_Greeting_Depending_on_Time   0.3   [ Uninstall ]
38.   Floating Guest Greeting (for 1.1.5)   1.01   [ Uninstall ]
39.   Reflection Avatar   1.0   [ Uninstall ]
40.   Quote Always WYSIWYG   1.01   [ Uninstall ]
41.   SMF 1.0.15 / 1.1.7 Update   1.0   [ Uninstall ]
42.   Are You Human? Anti-Bot Registration Check   1.3   [ Uninstall ]
43.   Pretty URLs   0.9   [ Uninstall


In error log, i have nothing except the error created due to the post/topic update in the shoutbox.
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 06:29:42 PM
post up your code for the custom theme header please..

and not sure, i really do not think this mod

Reflection Avatar

would effect it.. the rest of the mods do nothing with images so it must be in the code itself..
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 19, 2008, 06:35:19 PM
here are somewhat the nearby codes from there the custom theme header part:-

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...

else

{

echo '

', $txt['welcome_guest'], '

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>

<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>

<input type="text" name="user"  size="10" />

<input type="password" name="passwrd"  size="10" />

<input type="submit" value="', $txt[34], '" />

<input type="hidden" name="hash_passwrd" value="" />

</form>', $context['current_time'],'<br />';

}

echo '

</div>



<a href="', $scripturl, '"><img src="', $settings['images_url'], '/banner.jpg" style="margin: 2px;" alt="" /></a> ';

echo '

  </div>

</div>

</div>

  <div id="toolbar">

<div id="nav">',template_menu(),'

  </div>

  <div id="mainarea">';


Also, here is the advert part used in custom header and footer..
<br /><html><center><script type="text/javascript" src=http://www.bluehost.com/src/js/adishpatel/CODE23/468x60/1.gif></script></center></html>
<br />
<br />
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 06:48:17 PM
try removing Global Headers Footers  ;)

let me know if it is better or no change..
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 19, 2008, 06:57:29 PM
Nope, nothing..

Although i just noticed, that the logo which overlaps at the base is clickable while the one on the top is not.

Just with lots of keen interest, why is it just the admin and not the users ? pretty weird..
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 07:07:39 PM
im not sure Flammer, if you want to pop up the complete index.template. php file.. up to you..

i cant touch it till later tonight, in the middle of a clients site right now, but i can take a closer look later..

or create a admin acct and pm it to me for testing.. either  way.. will get it solved..

i'd like to know so i know my mod is in the clear..  ;)
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 19, 2008, 07:14:24 PM
Yep sure, i'll try a few things up and later tonight send you the details. Best of luck with the clients. ;) Have a nice sleep in advance.. :P
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 07:18:00 PM
lmao Flammer, you know the wicked never rest  :P
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 19, 2008, 07:20:34 PM
Totally, i have passed through that stage..

the only difference was that my clients where Chemistry, Physics, Maths and IT for the whole week..!!! :P
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 19, 2008, 07:22:37 PM
/me figures out should she hide or??  :P 

lol Flammer.. i hope you did more than just pass thru  ;)
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 19, 2008, 07:28:50 PM
Well that was just Mocks though, came out with B's so far, Jan is gonna kill me soon..!

/me gonna keep eyes wide open from 5th Jan to 15th! 10 days of Torture to myself!!
Title: Re: Clickable Logo
Post by: Adish - (F.L.A.M.E.R) on December 20, 2008, 11:06:28 AM
Just an update on this, it does show up properly when the clean index.template.php is added in.

So the problem is somewhere there.
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 20, 2008, 01:14:10 PM
id definatley say that lol.. will check it out when i can O:)

thanks Flammer..  ;)
Title: Re: Clickable Logo
Post by: Faitness on December 31, 2008, 06:01:01 AM
Here is my template file... using swirly theme... what do I have to edit here??
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 31, 2008, 07:01:05 AM
if you go to where you downloaded my mod, there is a "parser", right under the download area,  that will show you the edits to make.


http://custom.simplemachines.org/mods/index.php?mod=1370     ;)
Title: Re: Clickable Logo
Post by: Faitness on December 31, 2008, 10:28:21 AM
But my swirly theme dont have this command:
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 31, 2008, 10:32:06 AM
right click on your logo and find the name of it, then trace it in your index.template.php file..

since i have no link to your site i dont know what it is looking like..

but this is a simple mod.. again, just find the name of your logo..  :)
Title: Re: Clickable Logo
Post by: Faitness on December 31, 2008, 01:39:57 PM
My logo comes from direct URL... please could you do it for me? im pretty confused right now..
my board: http://www.faithy.net/forum/index.php

template file:
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on December 31, 2008, 02:14:31 PM
this will not work unless you add your logo to the theme, using ftp to the theme>images folder..

next, take my code and replace the one you have with its name. (the image path)

it will work that way.  ;)

no outside url for logo..
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on March 21, 2009, 02:16:13 PM
Babjusi left me in charge of his mods, so if anyone has an issue, please see my site where I can give better support.

Thanks! ;)

http://smf.houseofsmoky.com
Title: Re: Clickable Logo
Post by: Marekt on April 22, 2009, 12:01:11 PM
edit this??

<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on April 22, 2009, 10:03:10 PM
the code looks right.. but what smf version are you using?  :)
Title: Re: Clickable Logo
Post by: Marekt on April 23, 2009, 02:28:53 AM
1.1.8

but not fuond the clicacble logo
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on April 23, 2009, 10:33:22 AM
what theme are you using and can you attach your theme's index.template.php file? :)
Title: Re: Clickable Logo
Post by: Marekt on April 23, 2009, 10:49:49 AM
Quote from: SmokyBlue on April 23, 2009, 10:33:22 AM
what theme are you using and can you attach your theme's index.template.php file? :)


yes but not found..  look  www.tuxela.com

is veryy dificult
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on April 23, 2009, 11:01:56 AM
can you attach the file for me please?  :)
Title: Re: Clickable Logo
Post by: Marekt on April 23, 2009, 11:18:28 AM
this
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on April 23, 2009, 11:29:33 AM
here you go..
Title: Re: Clickable Logo
Post by: Marekt on April 23, 2009, 11:31:06 AM
Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected '/' in .../Themes/default/index.template.php on line 190

181:
182: if (empty($settings['header_logo_url']))
183: echo '
184: <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
185: else
186: echo '
187: <a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 4px;" alt="" /></a>
188:
189: echo '

190: </td>

191: <td align="right" class="catbg">
192: <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
193: </td>
194: </tr>
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on April 23, 2009, 11:40:34 AM
place a "  ';  "

after this bit:

187: <a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 4px;" alt="" /></a>
Title: Re: Clickable Logo
Post by: Marekt on April 23, 2009, 11:44:03 AM
not found
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on April 23, 2009, 12:02:56 PM
not found??  :o

here i edited it for you again.  ;)

you might want to search for "how to read an .xml" file for future use..

or learn how to edit your files with notepad++ and make your own edits..  :)
Title: Re: Clickable Logo
Post by: Marekt on April 23, 2009, 12:53:37 PM
Quote from: SmokyBlue on April 23, 2009, 12:02:56 PM
not found??  :o

here i edited it for you again.  ;)

you might want to search for "how to read an .xml" file for future use..

or learn how to edit your files with notepad++ and make your own edits..  :)

Now i donĀ“t look the logo...  look www.tuxela.com
Title: Re: Clickable Logo
Post by: Smoky "Rider" Blue on April 23, 2009, 01:02:44 PM
no logo at all..

well i do wish you lots of luck Marekt..

if you need more help, you can find me faster on my site.. ;)
Title: Re: Clickable Logo
Post by: Marekt on April 23, 2009, 01:09:15 PM
Quote from: SmokyBlue on April 23, 2009, 01:02:44 PM
no logo at all..

well i do wish you lots of luck Marekt..

if you need more help, you can find me faster on my site.. ;)


ok, thaks np
Title: Re: Clickable Logo
Post by: paleo on May 26, 2009, 05:00:07 AM
Quote from: SmokyBlue on August 31, 2008, 05:10:56 PM
hi ddarrell..

if you need it for another website, or another area of your site, when you do the edits (apply mod)

then just look at this spot here:

<a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></a>

this bit:

a href="place your url here',  will help you do what you wish.

remember, this only works for the default. you must edit the custom theme as well ;)

glad you can use it!!  :)

Sorry but I am a bit lost as to where I go to make an edit.  I don't see any option to make a script edit anywhere. Sorry for being a dumb-ass! I am obviously missing something.
Title: Re: Clickable Logo
Post by: babjusi on May 26, 2009, 08:34:03 AM
Quote from: paleo on May 26, 2009, 05:00:07 AM
Quote from: SmokyBlue on August 31, 2008, 05:10:56 PM
hi ddarrell..

if you need it for another website, or another area of your site, when you do the edits (apply mod)

then just look at this spot here:

<a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></a>

this bit:

a href="place your url here',  will help you do what you wish.

remember, this only works for the default. you must edit the custom theme as well ;)

glad you can use it!!  :)

Sorry but I am a bit lost as to where I go to make an edit.  I don't see any option to make a script edit anywhere. Sorry for being a dumb-ass! I am obviously missing something.

You must download the file in question to your pc via ftp and open it up with a php text editor. Alternatively you can apply the edits from the File Manager section in the CP of your host as well. Also make a backup of the file before you edit it, just in case.
Title: Re: Clickable Logo
Post by: flamechica on August 13, 2009, 07:24:52 PM
Will this be available for 2.0???
Title: Re: Clickable Logo
Post by: flamechica on August 15, 2009, 03:49:54 PM
anyone???
Title: Re: Clickable Logo
Post by: gbsothere on August 15, 2009, 04:13:33 PM
Have you tried finding

<img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" />

and replacing it with this?

<a href="', $scripturl, '"><img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" /></a>

It should work but, if it doesn't, you can just find what you changed:

<a href="', $scripturl, '"><img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" /></a>

and replace it back with the original

<img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" />

and it's back the way it was.   :)
Title: Re: Clickable Logo
Post by: flamechica on August 17, 2009, 01:11:39 AM
Quote from: gbsothere on August 15, 2009, 04:13:33 PM
Have you tried finding

         <img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" />

and replacing it with this?

               <a href="', $scripturl, '"><img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" /></a>

Thanks! That worked!
Title: Re: Clickable Logo
Post by: gbsothere on August 17, 2009, 07:36:33 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwhereitestmystuff.com%2Fimages%2Fthumb.gif&hash=fbe057efff6d88bc8293617d752cf12a98abaa09)
Title: Re: Clickable Logo
Post by: onslow286 on May 01, 2010, 09:42:56 AM
Quote from: Smoky Mohegan on August 31, 2008, 05:10:56 PM
hi ddarrell..

if you need it for another website, or another area of your site, when you do the edits (apply mod)

then just look at this spot here:

<a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></a>

this bit:

a href="place your url here',  will help you do what you wish.

remember, this only works for the default. you must edit the custom theme as well ;)

glad you can use it!!  :)

Smokey.

Could you please give me the changes I need to make to that line to have britcoms.com (external site) open in another window??
Title: Re: Clickable Logo
Post by: thefrugalfind on September 12, 2010, 05:15:27 PM
I just installed my site on a new webhost, and the clickable logo is not working correctly. http://www.thefrugalfind.com/forums/
if you go there, you'll notice TWO header images - one in the normal spot that is not clickable, and to the right one that is clickable, but not exactly in the right spot. Can someone tell me how to fix that?

Thanks!
Title: Re: Clickable Logo
Post by: thefrugalfind on September 13, 2010, 09:57:54 PM
Quote from: thefrugalfind on September 12, 2010, 05:15:27 PM
I just installed my site on a new webhost, and the clickable logo is not working correctly. http://www.thefrugalfind.com/forums/
if you go there, you'll notice TWO header images - one in the normal spot that is not clickable, and to the right one that is clickable, but not exactly in the right spot. Can someone tell me how to fix that?

Thanks!

Apparently there were 2 instances in the index template file. I just deleted the one that didn't have a link in the html and it's working now.
Title: Re: Clickable Logo
Post by: Oversize1 on December 16, 2012, 03:32:50 AM
I am choking on this MOD as I edited mine previously to take my custom logo.  Here is what I have and I need it clickable to my /index.*

   // This part is the logo and forum name.  You should be able to change this to whatever you want...
   echo '
               
               <span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';

      echo '
               <img src="', $settings['header_logo_url'], '" alt="Click to goto website main page.', $context['forum_name'], '" border="0"/>';

      echo '

Any help is very much appreciated.
Title: Re: Clickable Logo
Post by: Colin on December 16, 2012, 04:30:06 AM
http://www.simplemachines.org/community/index.php?topic=492740.msg3453904#msg3453904