News:

Wondering if this will always be free?  See why free is better.

Main Menu

How remove somethink from footer?

Started by sz00gun, December 23, 2008, 05:16:37 AM

Previous topic - Next topic

sz00gun

How can I remove from footer: 
Powered by SMF 2.0 Beta 4 | SMF © 2006–2008, Simple Machines LLC   

only fraze: Beta 4

I need footer after modyfication like this: Powered by SMF 2.0 | SMF © 2006–2008, Simple Machines LLC

:)

Kermit

#1
Sources/Subs.php

Code (find) Select

// Put in the version...
$forum_copyright = sprintf($forum_copyright, $forum_version);


Code (replaced with) Select

// Put in the version...
$forum_copyright = sprintf($forum_copyright, 'SMF 2.0');
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

babjusi

Quote from: Duncan85 on December 23, 2008, 06:40:43 AM
Sources/Subs.php

Code (find) Select

// Put in the version...
$forum_copyright = sprintf($forum_copyright, $forum_version);


Code (replaced with) Select

// Put in the version...
$forum_copyright = sprintf($forum_copyright, 'SMF 2.0');



Is he allowed to do that?

Kermit

I'm not sure,but if we have a mod like that

http://custom.simplemachines.org/mods/index.php?mod=1046

Changing (Faking)  the smf version might be allowed too
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Burke ♞ Knight

I'd like to see an official word on this, before I decide to change it on my sites. :)

If SMF says it is okay, then I may just do this, too.

SlammedDime

The copyright function CANNOT be modified in any way shape or form.

The copyright of the forum also, CANNOT be removed.

The only part that can be changed or removed is the version number itself, which can be found in index.php, near the top of the file after the comments.

Alternatively, you can use the mod posted by Duncan
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Burke ♞ Knight

Quote from: SlammedDime on December 23, 2008, 10:07:10 AM
The copyright function CANNOT be modified in any way shape or form.

The copyright of the forum also, CANNOT be removed.

The only part that can be changed or removed is the version number itself, which can be found in index.php, near the top of the file after the comments.

Alternatively, you can use the mod posted by Duncan

So, he could in fact change
index.php
$forum_version = 'SMF 2.0 Beta 4';

to
$forum_version = 'SMF 2.0';

And this is allowed, if I am understanding correctly.

Sorry if seem like being a pain, just want to make sure everyone fully understands about changing the version number.
If this is what you meant, it sure is lots better than trying to edit Subs.php. :)

Kermit

If we change it through index.php,we would get version error on AdminCP,that's why it would be smarter,to change it from Subs.php  ;)
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Burke ♞ Knight

Personally, I don't need to change it on my sites, I'll gladly wait for SMF 2.0 final to see it without extra text. :P

I just wanted to clear things up for the OP.

SlammedDime

BurkeKnight, yes.

Duncan, right, but changing in Subs.php changes the Copyright function, which, as I said, is not allowed.

A better solution is something that Grudge posted awhile back, after the member context is loaded up, see if the members is an admin, and if not, change the forum_version variable.  I'll see if I can find the post.


Edit: found it: http://www.simplemachines.org/community/index.php?topic=103896.msg670070#msg670070
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

青山 素子

You could also use the version removal mod, then edit the version that shows to non-admins.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Polymath

#11
I think there is too much copyright. There is two smf links and all it really need is the one to copyright.

I understand why it is there but I have 7 links on the bottom of my page. Two of them are for here.
I know because my Google webmaster tools tells me.

Just sayin' is all
* I don't suffer from insanity; I enjoy every minute of it. *
F.I.G.J.A.M

Advertisement: