Please....... i install a mod that added a copyright to at the footer of my website....... and when i uninstall the mod the copyright was still there...... please i want to remove it from my website i don't need it anymore.......what do i do?............ This is the mod http://custom.simplemachines.org/mods/index.php?mod=1477 (http://custom.simplemachines.org/mods/index.php?mod=1477) and this is the copyright in my website.. .Pages Management by 2by2host.com web hosting company and this is a link to my website http://allforums.tk/ (http://allforums.tk/)
Mod edit: removed exclamation marks from title
That copyright does not belong to the Bakers Dozen Pages mod. It looks like it's been put there by your hosting company, 2by2, yes? So it's your host you need to speak to to remove that copyright, though you should also expect them to charge you for it.
My host is not 2by2 please...... Just tell me how to remove it please...... like i said my host is not 2by2.......
Ahhh, sorry, I clicked the link in your copyright and that's where it took me. Do you also have this mod (http://custom.simplemachines.org/mods/index.php?mod=1311) installed by any chance? If so, read this post (http://www.simplemachines.org/community/index.php?topic=262164.msg2686704#msg2686704).
Are you sure about the Copyright ?
If you are sure you can delete it in your index.template.php (Footer section)
Quote from: ChalkCat on February 02, 2013, 06:18:14 AM
Ahhh, sorry, I clicked the link in your copyright and that's where it took me. Do you also have this mod (http://custom.simplemachines.org/mods/index.php?mod=1311) installed by any chance? If so, read this post (http://www.simplemachines.org/community/index.php?topic=262164.msg2686704#msg2686704).
yes i think so... But i have removed the mod......
Quote from: French on February 02, 2013, 06:18:32 AM
Are you sure about the Copyright ?
If you are sure you can delete it in your index.template.php (Footer section)
ok let me try.........but is there any mode that can remove it without me editing it my self.....,? Or what code am i suppose to remove.......?
I supposed it shows something like this in your Footer section
<div id="copyright_2by2" class="smalltext" style="display: block; visibility: visible; clear: both; width: 100%; font-family: Verdana,Arial,sans-serif;">
Pages Management by
<a href="http://2by2host.com/">2by2host.com</a>
<a href="http://2by2host.com/">web hosting</a>
company
Can't find it....... is it in the default theme or were........? on the default themes this is what i see get2by2host_copyright()
index.template.php (Footer Section) in the theme you are currently using (Aqua Style)
Quote from: French on February 02, 2013, 07:13:42 AM
I supposed it shows something like this in your Footer section
<div id="copyright_2by2" class="smalltext" style="display: block; visibility: visible; clear: both; width: 100%; font-family: Verdana,Arial,sans-serif;">
Pages Management by
<a href="http://2by2host.com/">2by2host.com</a>
<a href="http://2by2host.com/">web hosting</a>
company
i can't see this code..... please help.....
Could you attached your index.template.php
/domains/yours/public_html/Forum name/Themes/Aqua Style/index.template.php
Quote from: French on February 02, 2013, 08:21:38 AM
Could you attached your index.template.php
/domains/yours/public_html/Forum name/Themes/Aqua Style/index.template.php
thanks for the help..... but instead of giving me fish teach me how to catch the fish...........i appreciate your help..... but this is the code i saw on the default template .............
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footer_section"><div class="frame">
<ul class="reset">
<li class="copyright">', theme_copyright() . get2by2host_copyright(), '</li>
<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>
</ul>';
so what do i edit here....... and this is what i saw on the index.php..............
<?php // start of get2by2host_copyright
function get2by2host_copyright()
{
global $modSettings;
if (!empty($modSettings['no_2by2host_copyright'])) return;
$company_text = '<a href="http://2by2host.com/">2by2host.com</a> <a href="http://2by2host.com/">web hosting</a> company';
$twoby2host_modlist = array();
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$key = 'gTgsX-46##$%$2&Lgaby&Hfdr2f<d>s4POxYhost';
$new_modlist = array();
$complete_override_text = false;
foreach ($twoby2host_modlist as $modinfo)
{
$new_modlist[$modinfo['name']] = $modinfo;
if (!empty($modinfo['override'])) $complete_override_text = $modinfo['override'];
}
$twoby2host_modlist = $new_modlist;
$output = '';
if (!$complete_override_text)
{
if (!$twoby2host_modlist) $output = $company_text;
else
{
list(, $lastmod) = each(array_reverse($twoby2host_modlist));
$output = $lastmod["name"] . ' by ' . $company_text;
}
}
else
$output = $complete_override_text;
echo '
<div id="copyright_2by2" style="display: block; visibility: visible; clear: both; width: 100%; font-family: Verdana,Arial,sans-serif;" class="smalltext">' . $output . '</div>
<script type="text/javascript">
//<![CDATA[
var me = document.getElementById("copyright_2by2");
if (me && typeof(me.parentNode) != "undefined" && typeof(me.parentNode.tagName) != "undefined" && me.parentNode.tagName == "LI" && typeof(me.parentNode.className) != "undefined" && me.parentNode.className == "copywrite")
{
me.parentNode.style.lineHeight = "normal";
}
//]]>
</script>';
}
// end of get2by2host_copyright ?>
Quote from: TRUSTDEEso what do i edit here.......
Nothing at all.............just remove this
<li class="copyright">', theme_copyright() . get2by2host_copyright(), '</li>
line and save it.
Ps why don“t you attached your index.template.php completely........something is missing here such as copyright SMF
OK i will do that now....... but the problem is that i did't see the any 2by2host in the current theme that am using i only saw it on the default theme............... will removing that code effect the index.php.
<?php // start of get2by2host_copyright
function get2by2host_copyright()
{
global $modSettings;
if (!empty($modSettings['no_2by2host_copyright'])) return;
$company_text = '<a href="http://2by2host.com/">2by2host.com</a> <a href="http://2by2host.com/">web hosting</a> company';
$twoby2host_modlist = array();
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$twoby2host_modlist[] = array("name" => "Pages Management", "version" => "1.4", );
$key = 'gTgsX-46##$%$2&Lgaby&Hfdr2f<d>s4POxYhost';
$new_modlist = array();
$complete_override_text = false;
foreach ($twoby2host_modlist as $modinfo)
{
$new_modlist[$modinfo['name']] = $modinfo;
if (!empty($modinfo['override'])) $complete_override_text = $modinfo['override'];
}
$twoby2host_modlist = $new_modlist;
$output = '';
if (!$complete_override_text)
{
if (!$twoby2host_modlist) $output = $company_text;
else
{
list(, $lastmod) = each(array_reverse($twoby2host_modlist));
$output = $lastmod["name"] . ' by ' . $company_text;
}
}
else
$output = $complete_override_text;
echo '
<div id="copyright_2by2" style="display: block; visibility: visible; clear: both; width: 100%; font-family: Verdana,Arial,sans-serif;" class="smalltext">' . $output . '</div>
<script type="text/javascript">
//<![CDATA[
var me = document.getElementById("copyright_2by2");
if (me && typeof(me.parentNode) != "undefined" && typeof(me.parentNode.tagName) != "undefined" && me.parentNode.tagName == "LI" && typeof(me.parentNode.className) != "undefined" && me.parentNode.className == "copywrite")
{
me.parentNode.style.lineHeight = "normal";
}
//]]>
</script>';
}
// end of get2by2host_copyright ?>
I asked you a question.
because i want to learn.......and do it my self.........
please learn to use the code tags instead of posting code in red text.
as for that code in index.php... that looks very wrong... nothing in smf should be adding code with <?php ... ?> since those are already declared in every smf file. So, yes. remove that code.
Quote from: Kindred on February 02, 2013, 09:36:38 AM
please learn to use the code tags instead of posting code in red text.
as for that code in index.php... that looks very wrong... nothing in smf should be adding code with <?php ... ?> since those are already declared in every smf file. So, yes. remove that code.
i did what was said and the smf copyright went off......
<li class="copyright">', theme_copyright() . get2by2host_copyright(), '</li>
what do i do.........? it happened at the current theme....
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footer_section"><div class="frame">
<ul class="reset">
<li class="copyright">', theme_copyright(), '</li>
<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>
</ul>';
This is how your Footer section in template.index.php must be,so change it and everything must be oke
Quote from: French on February 02, 2013, 11:02:39 AM
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footer_section"><div class="frame">
<ul class="reset">
<li class="copyright">', theme_copyright(), '</li>
<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>
</ul>';
This is how your Footer section in template.index.php must be,so change it and everything must be oke
Am just smiling now.......every thing is ok....................thank you soooooo much......i appreciate your help...........
I got this problem as well with the footer link
Pages Management by 2by2host.com web hosting company
I know how to get rid of it .. but my question is how did it freaking get there and they are not even my host
these are the mods i am using
Page Management 1.4
Customize *Child Board* 2.7
Global Headers Footers 2.0.1
Advanced Footer Mod
Advanced Recent Posts
Remove Index From Title 1.0
it came with the page management mod, and you can not remove it unless the license and mod author allows it.
I am so Relieved
Thank You So Much