MyBB Community Forums
[SOLVED]top poster mod dead link - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: [SOLVED]top poster mod dead link (/thread-127395.html)



[SOLVED]top poster mod dead link - metulburr - 2012-10-09

I just installed top posters mod and found the mybbiran.com link under it is dead. Am I allowed to delete and/or modify this?


RE: top poster mod dead link - Leefish - 2012-10-09

I would say so - if the forum no longer exists there is no point in keeping the link.


RE: top poster mod dead link - metulburr - 2012-10-09

i couldn't find it in the ACP, so i went to the php file and found the location of the link. I commented it out, but it is still visable. I also tried adding text with along with the text by the link just to see what would happend, but that isn't getting displayed.

I tried restarting apache, but no go.

After that I deleted the whole div out and tested it that way, but it was still there.


code snippet from php:
{$top_itp}
</td>
</tr>
{$banner}
</table>
/*<div style="text-align: right; font-size: 10px;"> Top Posters by TESTING I CANT SEE ME <a href="http://www.MyBBIran.com" target="blank">MyBBIran.com</a></div>    <br />*/'),
                "sid"           => "-1",
                "version"       => "1.0",
                "dateline"      => "1157735635",
        );
        $db->insert_query("templates", $itp_template);
    find_replace_templatesets("index", '#{\$boardstats}#', "{\$itpf}\n{\$boardstats}");
    find_replace_templatesets("index", '#{\$header}#', "{\$header}\n{\$itph}");
}



RE: top poster mod dead link - Leefish - 2012-10-09

It will be in the template - go to your global templates and find itp.

Open the template then find this line:

<div style="text-align: right; font-size: 10px;"> Top Posters by <a href="http://www.MyBBIran.com" target="blank">MyBBIran.com</a></div> <br />

Delete that line from the template.


RE: top poster mod dead link - metulburr - 2012-10-09

i dont see an itp template or relevant one within my theme


RE: top poster mod dead link - Leefish - 2012-10-09

Are you looking in the GLOBAL TEMPLATES?

http://www.metulburr.com/forum/XXX/index.php?module=style-templates&sid=-1

replace XXX with whatever you called your ACP


RE: top poster mod dead link - metulburr - 2012-10-09

(2012-10-09, 10:31 PM)Leefish Wrote: Are you looking in the GLOBAL TEMPLATES?

http://www.metulburr.com/forum/XXX/index.php?module=style-templates&sid=-1

replace XXX with whatever you called your ACP

omg, ok

i thought all templates were found relavent to the theme


RE: top poster mod dead link - Leefish - 2012-10-09

Most plugins add the templates for the plugin to the global templates - that way they get used by all themes.


RE: [SOLVED]top poster mod dead link - KingCupid - 2012-10-31

Nice....Thanx