I installed TP through packages but I removed it very soon bcz the link Forum at the header is repeated 2 times (beside the link Home).
then I uploaded it again through (package) but in the uploading process the forum gave me server slow down msg . and when I restart my forum, I found tinyportal is working but I am feeling something not good happended
1. the link Forum is repeated 4 times. (note - in first upload repeat 2 times).
2. the forum is from left to right. I need it to be from right to left, bcz I am using Arabic Language.
3. in the admin control panel when I click on the frontpage, the forum hangs. (note in the first upload it was working very good).
4. when I transfered hacks from the left column to the right column the frontpage still shrink in the middle . and I can not amend this from frontpage in contol pancel. bcz when I click it the forum hangs.
5. I tried to uninstalled tinyportal packaged. but it seem no packge concerning tinyportal.
plz help me
see my forum here
http://www.albahala.com/smf (http://www.albahala.com/smf)
Feel free to use the search. This has been covered before.
http://www.tinyportal.net/index.php?topic=12834.10
Quote from: IchBinâ„¢ on June 22, 2007, 01:11:21 PM
Feel free to use the search. This has been covered before.
http://www.tinyportal.net/index.php?topic=12834.10
thank you sir,
I should follow your instruction.
but why when I go to frontpage in admin cpanel the forum hangs?
in the first time it is working verygood!!!!
probably because you have duplicate code that is causing problems like it says in that topic I pointed you to.
IchBin
I don't know how can I thank you. I should do what you advice me, and I will report you soon.
No problem, if you still have problems post back.
hi Sir,
now I did remove the repeated forum buttons, but still hang when I click frontpage in admin cpanel. also if I click on any member to see his profile it gives me blank page.
another thing also, how can I change the tp direction from right to left bcz I used ArabicLanguage
plz urgent help I will be always online
A link to your site? Nevermind.. Found it ::)
Quote from: Zetan on June 23, 2007, 08:12:30 AM
A link to your site? Nevermind.. Found it ::)
this is the link
http://www.albahala.com/smf
but it is in Arabic Language
You still have duplicate code. You have 8 upshrink buttons, some seem to switch panels. Some cause other shrink buttons to change from - to +.
Quote from: Zetan on June 23, 2007, 08:16:27 AM
You still have duplicate code. You have 8 upshrink buttons, some seem to switch panels. Some cause other shrink buttons to change from - to +.
good sir,
how can I remove these duplicated shrink codes
should I attached the file of index.template.php?
If you have no other mods installed, your best bet would be to replace your SMF files with new ones. Then install the mod once and only once. If you get an error or it doesn't install properly on that single try, come back for help.
Quote from: IchBinâ„¢ on June 23, 2007, 08:20:50 AM
If you have no other mods installed, your best bet would be to replace your SMF files with new ones. Then install the mod once and only once. If you get an error or it doesn't install properly on that single try, come back for help.
hi friend,
but if I make overwrite of smf files, it will not affect in tp?
I have database in smf more than 10gigbite
I am afried to loose some data
plz friends,
this is my index.template.php
remover the shrinks code
http://www.albahala.com/smf (http://www.albahala.com/smf)
You have duplicate instances all over the place:
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
current_header = mode;
}
// ]]></script>';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
current_header = mode;
}
// ]]></script>';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
current_header = mode;
}
// ]]></script>';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
current_header = mode;
}
// ]]></script>';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
current_header = mode;
}
// ]]></script>';
and here:
// TinyPortal start
if($context['TPortal']['fixed_width']!=0)
echo '<table align="center" width="'.$context['TPortal']['fixed_width'].'" cellpadding="0" cellspacing="0" border="0"><tr><td>';
// TinyPortal end
and here:
// TinyPortal
}
// end
echo '
';
// TinyPortal
}
// end
echo '
';
// TinyPortal
}
// end
echo '
It's pretty messed up. I would do what IchBin suggested to you before.
Make backups first.
hi Sir,
I have 30gigbite data I am afried some data loose
and if I decide to replace smf file. should I replace all with setting.php and database file?
If you look in the documentation section of this forum and read through the file modification part, you see what code the files should have.
No need to replace anything, just remove the duplicate code in the files.
Quote from: G6â„¢ on June 23, 2007, 09:46:02 AM
If you look in the documentation section of this forum and read through the file modification part, you see what code the files should have.
No need to replace anything, just remove the duplicate code in the files.
plz sir,
I already attached the index.template.php
plz help to remove and I should save a copy from the file
Please do not PM me for support
Please refrain from using bold text, I understand you need help.. we have all been there in a state of panic. But don't panic.
Do what has been suggested to you.
ok Zetan
I shoud never use bold font again
and I will try to make backup first
then replace all smf files except setting file
is that right?
yes you are right. If you have something go wrong you can always restore from your backup. Once you replace all SMF files, you can then install TP again as I said.
hi friend,
I did it, at last I succeeded
now what do you advice me to upload it correctly?
note: the previous files of tiyportal are still there?
Read this
http://www.tinyportal.net/index.php?topic=6771