Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Depreciated on August 20, 2010, 05:03:58 AM

Title: [Depreciated]
Post by: Depreciated on August 20, 2010, 05:03:58 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2733)


Remove XHTML, RSS & WAP2 Links in Footer v1.2
~{By PaulpBaker}~ (http://custom.simplemachines.org/mods/index.php?action=profile;u=259685)

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2733) | My Mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=259685) | Support Topic (http://www.simplemachines.org/community/index.php?topic=396747.0)

Compatibility
SMF 2.0.11+

Description
This mod removes the 'XHTML RSS WAP2' links from the footer of your site.

Have some suggestions to make this mod better? Please let me know in the support topic.

Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Install the package on the SMF Default Theme ONLY. Other themes will need manual edits.

Useful Links
SMF Package Parser (http://sleepycode.com/PackageParser/)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
v1.2 - 1st September 2016: Updated to make compatible with SMF 2.0.11
v1.1 - 21th August 2010: Changed the code so it's more compatible with 3rd party themes.
v1.0 - 19th August 2010: Initial Version
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Afro on August 20, 2010, 06:58:53 AM
Why would i wanna remove the RSS and WAp2 Link ?
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 20, 2010, 09:52:35 AM
Quote from: Afro on August 20, 2010, 06:58:53 AM
Why would i wanna remove the RSS and WAp2 Link ?

this is an optional mod you don't have to install it if you don't want to lol ;)

but anyway some people will want to remove them so i made a mod for it
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Afro on August 20, 2010, 10:21:49 AM
Oh, Its ok. Of course its optional.
I just need a reason for me to remove the link.
If i can get one good reason, i will remove it.
Some people may benefit form the reason as well.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 20, 2010, 10:27:59 AM
well there are a few but mostly for a neater/simpler footer
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Bugo on August 20, 2010, 10:30:45 AM
What about adding of compatibility with SMF 1.1.x?
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 20, 2010, 10:35:38 AM
Quote from: Bugo on August 20, 2010, 10:30:45 AM
What about adding of compatibility with SMF 1.1.x?

the 'XHTML, RSS & WAP2' links aren't in v1.1.x and if you mean the 'mysql, php, xhtml and css' images then there is already a mod out for that:

http://custom.simplemachines.org/mods/index.php?mod=1330
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Afro on August 20, 2010, 10:38:28 AM
Quote from: PaulpBaker on August 20, 2010, 10:27:59 AM
well there are a few but mostly for a neater/simpler footer

I guessed as well.
Anyway congrats. Its a neat little work.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Bugo on August 20, 2010, 12:04:02 PM
Well, Advanced Footer Mod (http://custom.simplemachines.org/mods/index.php?mod=2392) removes XHTML, RSS and WAP2 links (optionally).
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 20, 2010, 01:07:11 PM
Quote from: Bugo on August 20, 2010, 12:04:02 PM
Well, Advanced Footer Mod (http://custom.simplemachines.org/mods/index.php?mod=2392) removes XHTML, RSS and WAP2 links (optionally).

never know about that mod but meh lol
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: diamondred123 on August 20, 2010, 04:35:04 PM
Best Paul
!!!!!!!
nice mod i love it
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Deaks on August 20, 2010, 08:24:57 PM
why do you remove the full footer to add a modified version why not just search and remove

<li><a id="button_xhtml" href="http://validator.w3.org/check/referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
<li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li>
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 20, 2010, 08:37:42 PM
if i do a search and remove this mod can't be uninstalled
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Deaks on August 20, 2010, 08:43:48 PM
then search for that code and replace with something like

<!-- original SMF footer -->
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 20, 2010, 08:46:09 PM
Quote from: Runic on August 20, 2010, 08:43:48 PM
then search for that code and replace with something like

<!-- original SMF footer -->

ok but i'm failing to see how that is a better option?
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Deaks on August 20, 2010, 08:55:43 PM
will work or more themes ... if yiou have a theme based on default and has a theme copyright it will fail, where as this way it wont unless that code isnt there
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 20, 2010, 09:05:55 PM
Quote from: Runic on August 20, 2010, 08:55:43 PM
will work or more themes ... if yiou have a theme based on default and has a theme copyright it will fail, where as this way it wont unless that code isnt there

ahh good thinking mod updated thank you :)
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Dharshan on August 24, 2010, 11:27:30 AM
thanks for the mod..
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: live627 on August 30, 2010, 11:30:32 PM
This mod has a spam link in the readme. It also has two unused files.

I REPORTED THE MOD. So watch your step.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 30, 2010, 11:36:57 PM
Quote from: live627 on August 30, 2010, 11:30:32 PM
This mod has a spam link in the readme

no it doesn't? if it does jus tsay or pm it to me but i don't seen any spam link :\

Quote from: live627 on August 30, 2010, 11:30:32 PM
It also has two unused files.

your talking about the screen shots? there there so you know what the mod does and to let you see that...

Quote from: live627 on August 30, 2010, 11:30:32 PM
I REPORTED THE MOD. So watch your step.

dude what's your problem i've done nothing wrong and your basically threatening me? chill out and if you feel i've done something wrong explain it to me in detail so i can fix it as as far as i can see your talking bs

no offence there but i'm here to help with my mods and i just find your comment incorrect, rude and offensive :\
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Oldiesmann on August 30, 2010, 11:46:43 PM
The "spam link" he's referring to is the one to the package parser. It appears that domain has been cyber-squatted.

I don't see a problem with the screenshots you've included. They aren't used in the readme or the mod, but they are useful to those who download it, and they don't take up much space at all.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 30, 2010, 11:49:28 PM
Quote from: Oldiesmann on August 30, 2010, 11:46:43 PM
The "spam link" he's referring to is the one to the package parser. It appears that domain has been cyber-squatted.

i've been meaning to remove that as for me it just shows a blank page

Quote from: Oldiesmann on August 30, 2010, 11:46:43 PM
I don't see a problem with the screenshots you've included. They aren't used in the readme or the mod, but they are useful to those who download it, and they don't take up much space at all.

aggree
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: live627 on August 31, 2010, 12:07:47 AM
Actually you need to check all your packages. As for unused files, basically, if package-info.xml does not use them, they need removed. No mods should ever be approved if they contain extra files. The spam link is under "SMF Package Parser". It is considered spam because it does not go to the right page.

Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 31, 2010, 12:09:19 AM
Quote from: live627 on August 31, 2010, 12:07:47 AM
Actually you need to check all your packages. As for unused files, basically, if package-info.xml does not use them, they need removed. No mods should ever be approved if they contain extra files. The spam link is under "SMF Package Parser". It is considered spam because it does not go to the right page.

the 'spam link' is being updated on all my mods right now and the screen shots aren't a big deal as smf approved them so they seem to be ok with it ;)
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: live627 on August 31, 2010, 12:13:36 AM
Then why did they reject mine that had one?

Extra files == bloat. Simple as that.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 31, 2010, 12:15:49 AM
Quote from: live627 on August 31, 2010, 12:13:36 AM
Then why did they reject mine that had one?

Extra files == bloat. Simple as that.

maybe your mod wasn't good enough? i don't know but i have 8 mods and most have screen shots and they accepted them all...
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: live627 on August 31, 2010, 12:20:41 AM
Double standard. They shouldn't have done approved ANY of those mods then.

And my mod does much more than yours.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 31, 2010, 12:24:00 AM
Quote from: live627 on August 31, 2010, 12:20:41 AM
Double standard. They shouldn't have done approved ANY of those mods then.

nothing to do with me... maybe they changed there rules?

Quote from: live627 on August 31, 2010, 12:20:41 AM
And my mod does much more than yours.

wow you really have a problem with me don't you? why is that? :\
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: live627 on August 31, 2010, 12:33:50 AM
Quote from: PaulpBaker on August 31, 2010, 12:24:00 AM
wow you really have a problem with me don't you? why is that? :\

Not with you personally. I do have a problem with poorly coded mods that give a bad example to the community.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 31, 2010, 12:39:12 AM
Quote from: live627 on August 31, 2010, 12:33:50 AM
Quote from: PaulpBaker on August 31, 2010, 12:24:00 AM
wow you really have a problem with me don't you? why is that? :\

Not with you personally. I do have a problem with poorly coded mods that give a bad example to the community.

how is this poorly coded? it simply removes part of the footer that so far 316 have wanted to do...
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Antes on September 11, 2010, 03:44:20 PM
Tips and Tricks (http://www.simplemachines.org/community/index.php?board=72.0)

nothing more ... Its not about you, its about making people lazy let them edit some php files ...
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Dharshan on September 12, 2010, 01:26:10 AM
Hey PaulpBaker,

Thank you for the mod. well, editing a couple of PHP files is no big deal. but It's helpful. you have made it a mod and it's free. I appreciate that. the people who find it helpful will use it.

Thank you.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on September 12, 2010, 11:38:30 AM
Quote from: Dharshan on September 12, 2010, 01:26:10 AM
Hey PaulpBaker,

Thank you for the mod. well, editing a couple of PHP files is no big deal. but It's helpful. you have made it a mod and it's free. I appreciate that. the people who find it helpful will use it.

Thank you.

thank you for the support i really appreciate it :)
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Matthew K. on November 23, 2010, 12:02:08 AM
What I would like to know, is how this is any different than Advanced Footer Mod. AFM is optional, for each link, individually, too; in addition to some other toggle options.

I see this mod as duplicating an already existing mod.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on November 23, 2010, 12:05:57 AM
Quote from: Labradoodle-360 on November 23, 2010, 12:02:08 AM
What I would like to know, is how this is any different than Advanced Footer Mod. AFM is optional, for each link, individually, too; in addition to some other toggle options.

I see this mod as duplicating an already existing mod.

Advanced Footer Mod allows you to enable/disable them this is just for people who want them removed as the Advanced Footer Mod is a little overkill if that's all you want to do
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Matthew K. on November 23, 2010, 12:26:05 AM
You can disable all of them in a couple of clicks, and if you ever want any back, simply uncheck the toggle you checked previously.
Quote from: PaulpBaker on November 23, 2010, 12:05:57 AM
Quote from: Labradoodle-360 on November 23, 2010, 12:02:08 AM
What I would like to know, is how this is any different than Advanced Footer Mod. AFM is optional, for each link, individually, too; in addition to some other toggle options.

I see this mod as duplicating an already existing mod.

Advanced Footer Mod allows you to enable/disable them this is just for people who want them removed as the Advanced Footer Mod is a little overkill if that's all you want to do
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on November 23, 2010, 12:34:39 AM
Quote from: Labradoodle-360 on November 23, 2010, 12:26:05 AM
You can disable all of them in a couple of clicks, and if you ever want any back, simply uncheck the toggle you checked previously.
Quote from: PaulpBaker on November 23, 2010, 12:05:57 AM
Quote from: Labradoodle-360 on November 23, 2010, 12:02:08 AM
What I would like to know, is how this is any different than Advanced Footer Mod. AFM is optional, for each link, individually, too; in addition to some other toggle options.

I see this mod as duplicating an already existing mod.

Advanced Footer Mod allows you to enable/disable them this is just for people who want them removed as the Advanced Footer Mod is a little overkill if that's all you want to do

true but this is for people who just want it removing
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: tfs on June 12, 2011, 04:34:20 PM
Broken on SMF 2.0 Final.  The installer can't find the original SMF footer.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on June 12, 2011, 06:47:28 PM
an update is in the works
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Matthew K. on June 12, 2011, 10:14:02 PM
How about you just modify index.template.php? Piece of cake to remove them.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: live627 on June 12, 2011, 11:07:24 PM
Quote from: Labradoodle-360 on June 12, 2011, 10:14:02 PM
How about you just modify index.template.php? Piece of cake to remove them.
And give way to more support requests... doesn't seem ideal...
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: tfs on June 13, 2011, 03:49:44 AM
Quote from: Labradoodle-360 on June 12, 2011, 10:14:02 PM
How about you just modify index.template.php? Piece of cake to remove them.

Ultimately that's what I did, but as a courtesy to the authors of the mods that had been installed on my forum, I figured I'd go around and leave a note on the ones that were broken on 2.0 final.

I think that all of the copyright mods will have been dinged by 2.0 final.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on June 13, 2011, 08:45:26 PM
mod updated for smf 2.0 final
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: tfs on June 14, 2011, 03:26:47 AM
Quote from: PaulpBaker on June 13, 2011, 08:45:26 PM
mod updated for smf 2.0 final

Hey Paul, just a note to let you know that the description for this mod on the mod site is what should be the description for the High Server Load Warning mod.  :)

Edit: Also in the first post of this thread.

Edit: Installation is broken on SMF 2.0 final.  Error on ./Themes/default/index.template.php

Code: (Find) [Select]
Code: (Add Before) [Select]

Those are both EMPTY.  It's not trying to replace anything.  I've never seen that before.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on June 14, 2011, 11:00:46 AM
Quote from: tfs on June 14, 2011, 03:26:47 AM
Quote from: PaulpBaker on June 13, 2011, 08:45:26 PM
mod updated for smf 2.0 final

Hey Paul, just a note to let you know that the description for this mod on the mod site is what should be the description for the High Server Load Warning mod.  :)

Edit: Also in the first post of this thread.

Edit: Installation is broken on SMF 2.0 final.  Error on ./Themes/default/index.template.php

Code: (Find) [Select]
Code: (Add Before) [Select]

Those are both EMPTY.  It's not trying to replace anything.  I've never seen that before.

wow that's a lot of fails haha my fault as i updated all 13 of my mods at once so i was sure to mess one up hehe

all fixed now thanks for reporting it ;)
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: tfs on June 14, 2011, 11:54:54 AM
Quote from: PaulpBaker on June 14, 2011, 11:00:46 AM
wow that's a lot of fails haha my fault as i updated all 13 of my mods at once so i was sure to mess one up hehe

There's yer trouble.  :)  You need one more to get back to the lucky numbers.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: tfs on June 14, 2011, 12:02:43 PM
It had no errors on install, but I've still got "XHTML WAP2" in the footer.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: snooks on June 14, 2011, 12:07:27 PM
Quote from: tfs on June 14, 2011, 12:02:43 PM
It had no errors on install, but I've still got "XHTML WAP2" in the footer.

lol me too
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on June 14, 2011, 12:11:13 PM
Quote from: tfs on June 14, 2011, 12:02:43 PM
It had no errors on install, but I've still got "XHTML WAP2" in the footer.

ugh silly mistake sorry about that fixed and tested :P
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: snooks on June 14, 2011, 12:22:48 PM
Sorry to say but after install mine still shows lol again no errors
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on June 14, 2011, 12:24:30 PM
Quote from: snooks on June 14, 2011, 12:22:48 PM
Sorry to say but after install mine still shows lol again no errors

i don't think you downloaded the new version as it has 0 downloads so far so download the new one as it does work :)
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: snooks on June 14, 2011, 12:29:51 PM
Doh silly me, correct working fine thank you for fast fix :)
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on June 14, 2011, 12:39:08 PM
Quote from: snooks on June 14, 2011, 12:29:51 PM
Doh silly me, correct working fine thank you for fast fix :)

np sorry for the silly error :p
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: sadaam on March 23, 2012, 02:21:46 AM
Quote from: PaulpBaker on August 20, 2010, 05:03:58 AM

Remove XHTML, RSS & WAP2 Links in Footer v1.1
~{By PaulpBaker}~ (http://custom.simplemachines.org/mods/index.php?action=profile;u=259685)

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2733) | My Mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=259685) | Support Topic (http://www.simplemachines.org/community/index.php?topic=396747.0)

Compatibility
SMF 2.0

Description
This mod removes the 'XHTML, RSS & WAP2' links from the footer of your site.

Have some suggestions to make this mod better? Please let me know in the support topic.

Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Install the package on the SMF Default 'Curve' Theme ONLY. Other themes will need manual edits.

Useful Links
SMF Package Parser (http://sleepycode.com/PackageParser/)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
v1.1 - 21th August 2010: Changed the code so it's more compatible with 3rd party themes.
v1.0 - 19th August 2010: Initial Version

Dear i just install this mod ...but the problem is i m used a coustam theme ""concept3"", i m unable to find this code shown bellow at concept3 theme 's Index templet.php file

""         <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
         ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
         <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li> ""

this mod not run with my coustam theme ...one thing i already mad a modification at my deafual theme and core theme. but unable to find that code shown above @ coustam theme concept3..? plz help me brother...
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: DMR123 on December 03, 2012, 12:06:35 PM
The code also isnt in my theme.

Why is this?
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Deaks on December 03, 2012, 12:10:08 PM
As not all themes have XHTML, RSS and WAP2 code in the footer.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: DMR123 on December 03, 2012, 01:28:40 PM
Quote from: Bryan "Runic" Deakin on December 03, 2012, 12:10:08 PM
As not all themes have XHTML, RSS and WAP2 code in the footer.

It is in my footer.  the code wasnt in my theme.
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: DMR123 on December 03, 2012, 01:29:40 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs7.postimage.org%2Ftk1t5xpa1%2Fss1.png&hash=0c4bcd8563316051f585abf90cccfc45ec05c7ea)
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Kindred on December 03, 2012, 02:28:38 PM
some themes may not use the exact same display code as the default theme... in which case, you have to use human intuition (or ask in the theme specific support topic) to figure out where and what the exact code is for your theme
Title: Re: Remove XHTML, RSS & WAP2 Links in Footer
Post by: Depreciated on August 31, 2016, 08:55:13 PM
v1.2 - 1st September 2016: Updated to make compatible with SMF 2.0.11