How can i reduce the number of items at the footer of my website?

Started by Joseph H, March 10, 2012, 07:26:51 AM

Previous topic - Next topic

Joseph H

I have installed some mods and themes and both add something to the footer of my website. www.darforums.tk so how can i remove some?

Cheap webhosting +24 hours

Aleksi "Lex" Kilpinen

Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Joseph H

Isn't there another way of editing some files?

Like the index.temple.php of the theme or anything?
Cheap webhosting +24 hours

Aleksi "Lex" Kilpinen

Basically, if you install a mod that places it's copyrights somewhere - you can't remove them without asking permission from the mod author.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Joseph H

The items i want to remove is just links, not the authors copyright
Cheap webhosting +24 hours

Aleksi "Lex" Kilpinen

The only links I can see that can fairly safely be removed, are the XHTML RSS and WAP2 links in the footer. Those can be removed from index.template.php.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Joseph H

Im viewing the index.temple.php but i can remove them... I always fail.. Can you help me on that? Plz
Cheap webhosting +24 hours

Aleksi "Lex" Kilpinen

In the default theme's index.template.php it would be this


<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>

You should be safe to just delete that part.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Joseph H

Ok... Im trying, but i will have another copy of the original index.temple.php

and i hope its the index.temple.php of my current theme
Cheap webhosting +24 hours

Joseph H

Cheap webhosting +24 hours

Aleksi "Lex" Kilpinen

Do note that I said index.template.php, not index.php - You should be looking at /Themes/*your theme*/index.template.php :)
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Joseph H

Yes, its the index.temple.php of my theme. But it just change during downloading
Cheap webhosting +24 hours

Aleksi "Lex" Kilpinen

Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Joseph H

Cheap webhosting +24 hours

Aleksi "Lex" Kilpinen

No, that's exactly the same files as you had before - just with a different name.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Joseph H

Thnx bro... I have quoted the code, but i will have to download the file using a pc, now im using mobile. Maybe thats why i get the wrong file all the time
Cheap webhosting +24 hours

Marcus Forsberg

Hey there,

Did you manage to find the correct file on your PC? Did the edits go well? If you need no further assistance, please do mark the topic solved! :)

As for removing copyrights: I agree they're very annoying, but if you can't handle them, you should simply uninstall the mod in question. It's very disrespectful towards the mod author to remove their copyright if the mod is free. Modding is hard work you know!

typan4

Quote from: Aleksi "Lex" Kilpinen on March 10, 2012, 07:51:29 AM
In the default theme's index.template.php it would be this


<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>

You should be safe to just delete that part.

An old post I know but,
I removed the above code to remove the rss wap2 xhtml at the foot of my page, but checking the error logs, i was getting constant '8: Undefined index:' in the logs, so I replaced it, but the 3 links did not reapear and I'm still getting the errors ?
I've found it....it was where I left it !

Arantor


typan4

8: Undefined index: wap2
8: Undefined index: rss
8: Undefined index: xhtml

It seems to be bringing up that error for every page you go on. so a lot of errors !
I've found it....it was where I left it !

Advertisement: