SimplePortal
Support => English Support => Topic started by: Zealotus on March 04, 2010, 02:38:02 PM
-
I'd like to have both SMF's and SP's copyright texts on a single line, if possible...
I've looked through a good portion of the files but haven't found that annoying <br> tag anywhere.
And now I've given up... so I'm aksing here: Where is it!? >.<;;
Again: All I want is to move it so I'll have both on a single line.
-
find where both copyrights are and remove <li> and </li> tags. be carefull and always keep backup :)
-
Problem is: That SP's copyright is in the same li as SMF's.
And the first thing it adds is a <br> tag to make a new line. So removing the li's won't help at all.
I need to find where that <br> tag is printed.
-
It is created in Subs.php as far as I am aware.
-
That is true, for SMF's copyright...
Which leads to $forum_copyright in the language files... but SP's copyright isn't in that variable. >.>
-
Attach your Subs-Portal.php file and I'll change it for you.
-
Sorry, been busy for a while...
And I actually figured it out after a while >:)
-
Attach your Subs-Portal.php file and I'll change it for you.
Would you kindly do the same for me? :D :D
Pretty please? I would like inline copyright with the SMF copyright too.
-
Attach your Subs-Portal.php file and I'll change it for you.
Would you kindly do the same for me? :D :D
Pretty please? I would like inline copyright with the SMF copyright too.
BUMP.
Can anyone tell me how to make the SP copyright appear inline with the SMF copyright? File attached above.
-
(http://2.bp.blogspot.com/_LY-9PTRzghw/ReeXz3IxYTI/AAAAAAAAACU/vD5fXLZzuHY/s320/milton.jpg)
My question?
-
You can handle this. you know the copyright string contains the string "simpleportal". So you know that, if you search for it in that file, you will quickly find where it is added.
You can then re-format the copyright notice.
-
You can handle this. you know the copyright string contains the string "simpleportal". So you know that, if you search for it in that file, you will quickly find where it is added.
You can then re-format the copyright notice.
Yeah but it's rendered as a centered <div>
Why does it print under the SMF copyright? I don't see a <BR> tag to remove thats why I was asking for help :)
-
i have done this to my Website, but i can not remember were i found the <br>
but taking a look at the code again it could well be in
\Themes\default\languages\index.english.php
-
find this in your Subs-portal.php
$replaces = array(
', Simple Machines LLC</a><br />' . $fix,
'class="copywrite" style="line-height: 1;"',
);
remove the <br /> and then you should have everything on one line..
-
find this in your Subs-portal.php
$replaces = array(
', Simple Machines LLC</a><br />' . $fix,
'class="copywrite" style="line-height: 1;"',
);
remove the <br /> and then you should have everything on one line..
Hey thanks for your help! :) I've attached my subs-portal.php in a few posts above, if you want to have a look. There is no mention of this code you shared :(
-
that code is definatly in SP 2.3.2, i have just checked.
i have never used 2.3.1 so i would not know were to look maybe in the Portal.template.php
i sugest you look through all the files that you downloaded with the version your using
search for copywrite or <br />
-
that code is definatly in SP 2.3.2, i have just checked.
i have never used 2.3.1 so i would not know were to look maybe in the Portal.template.php
i sugest you look through all the files that you downloaded with the version your using
search for copywrite or <br />
Thank you - I did follow your suggestion for my SP version, but did not find anything relevant to the copyright.
-
Sure -- in the file you attached, if you search on "SimplePortal", you will find where SimplePortal's copyright text is added to SMF's copyright text.
Strangely, this happens in function sp_query_string.
-
also take a note of the spelling ... in the CODE CLASS its spelt "copywrite"
and not like every one its spelling it copyright... !! :vampire: >:-D
-
in the CODE CLASS its spelt "copywrite"
That spelling comes from SMF. You are correct that it is not a correct spelling for copyright.
-
Thanks again for the replies. ;D
On my site/version the code for the SP copywrite is:
$fix = str_replace('{version}', $sportal_version, '<<a href="http://www.simpleportal.net/" target="_blank" class="new_win">SimplePortal {version} © 2008-2009, SimplePortal</a>');
As you can see, there is no <br> and thus where I got confused as to how it would be moved properly. Given my situation, I guess I can delete this code here and then go to /themes/.../index.template.php and manually add the SP copyright there...
:dead:
-
Look just a little farther down, to where you see that $fix string being added to the end of the Simple Machines copyright notice.
-
Subs-SPortal.php
LCBTaW1wbGUgTWFjaGluZXMgTExDPC9hPjxiciAvPg==
LCBTaW1wbGUgTWFjaGluZXMgTExDPC9hPg==