I'm trying to get rid of the folder icon and link here on my front page. How do I do that?
http://distorted-logic.com/index.php (http://distorted-logic.com/index.php)
Open TPortal.template.php in your theme directory. If you don't find it in your theme directory, look in Themes/default/.
Look for
// show the linktree
if((isset($context['TPortal']['boardnews'][0]['options']['linktree']) && $context['TPortal']['front_type']!='frontblock') || $context['TPortal']['front_type']=='frontblock')
echo '
<div style="margin-bottom: 4px;">', theme_linktree() , '</div>';
Delete that code.
Basically, you want to get rid of the call to theme_linktree().
There is no TPortal.template.php in there. Its the Blue101 theme
If you dont have the files in the themes, the themes will use the files from the default theme, so look for the file in your themes/default directory and make the edits there as JPDeni described :)
Aha, got it, thanks :-)
Make a copy of TPortal.template.php to Blue101 and amend that copy. Saves you some problem in the long run when TP needs to update TPortal.template.php
Good call there iwyen :up:
Hey guys, got another dumb one for ya. Just got smf1.1.1 and TP 97 updated and running great. I was in the proccess of reinstalling my mods and wound up with what looks like my mods script running at the top of my indexs.
Im not needing mod help, but the mod was Users online today 1.4.0
I made sure I was in the default theme before starting th install and the mod actualy worked corectly. Its just this blasted text that I cant seem to locate. Below is the text appearing at the top of the pages and a link if anyone would like to glance at it.
$txt['uot_users_online_today']='Users Logged In Today'; $txt['uot_yesterday']='Yesterday at '; $txt['uot_total']='Total'; $txt['uot_visible']='Visible'; $txt['uot_hidden']='Hidden'; $txt['uot_users_online_today']='Users Logged In Today'; $txt['uot_yesterday']='Yesterday at '; $txt['uot_total']='Total'; $txt['uot_visible']='Visible'; $txt['uot_hidden']='Hidden';
Any advice, greatly appreciated. http:theconcordiaunderground.org/forums
You have code in the wrong place in your index template. The users on line mod, uol, has caused it. Do you have the correct version installed?
As far as I know its the correct version. I never saw any errors and I used the package handler. Everything tested fine. Can I uninstall the mod and manualy edit the text from the index template or is it not going to be that simple.
could be simple
grab a program like winmerge.org
have ur current file beside the orignal
grab the manual install edits and search from there
real simple on that route
or easier?
remove installed mods, drop the orignal php that the code was edited too
my guess would be themedir/BoardIndex.template.php
Second option worked just fine, thanks man , im back on track. O0
glad I could be of ....assistance
The same thing happened to me when I upgrad
Quote from: EERocket on January 03, 2007, 06:20:45 AM
Hey guys, got another dumb one for ya. Just got smf1.1.1 and TP 97 updated and running great. I was in the proccess of reinstalling my mods and wound up with what looks like my mods script running at the top of my indexs.
Im not needing mod help, but the mod was Users online today 1.4.0
I made sure I was in the default theme before starting th install and the mod actualy worked corectly. Its just this blasted text that I cant seem to locate. Below is the text appearing at the top of the pages and a link if anyone would like to glance at it.
$txt['uot_users_online_today']='Users Logged In Today'; $txt['uot_yesterday']='Yesterday at '; $txt['uot_total']='Total'; $txt['uot_visible']='Visible'; $txt['uot_hidden']='Hidden'; $txt['uot_users_online_today']='Users Logged In Today'; $txt['uot_yesterday']='Yesterday at '; $txt['uot_total']='Total'; $txt['uot_visible']='Visible'; $txt['uot_hidden']='Hidden';
Any advice, greatly appreciated. http:theconcordiaunderground.org/forums
The same thing happened to my forum when I upgraded.
I did a CTRL F5 and cleared the cache, and that seemed to fix it.
Might be cookies too?!?