i use a theme on my forum which is obviously not defaulyt i see when tiny portal installs it only installs for babylon and default....what do i have to edit in order for it to install on the theme im using.....im running s,f 1.1.5
Its different for each version of TinyPortal. If you could provide us with the information from the
Posting Guidelines (http://www.tinyportal.net/index.php?topic=581) that would be great.
tp version 0.9.8 and i dont have any mods in stalled other then tiny portal
In this topic http://docs.tinyportal.co.uk/index.php?topic=139 it shows you all the edits that are made for TP to work with a theme. The page is a little screwed up, so you have to horizontally scroll to see the file name. You only need to follow the instructions for the index.template.php file.
ok so install tp 1st then add those edits to my themese index.templete.php file?
Yep. There are several files explained on that page, so make sure you follow only the instructions for the one file.
wish there was a way to edit the tp install for to cvhange it from istalling from babylon to ______ whatever theme you would like...prolly would be much easier that way
Thats the beauty of TP 1.x. You don't have to make those edits to themes anymore. :)
oh so then ill try to use that because i cant find some of those edits
do i need to make any edits how do i do it this way
Before you do, make sure you read up on the bugs in the support board and bugtracker to see if you are able to put up with the quirky things in it. Until Bloc fixes them anyway. :)
I should also note, that what I said isn't 100% correct on editing the theme. You do have to add a forum button. But thats it.
oooo ok thats what happened before when i did it lol.....knew something was missing....i dont mind bugs as long as site dont crash
which has less bugs currently?
TP 0.9.8 is the most stable.
ok new problem when i add the tab for forum on the 1.0.6 it puts the tab right under the search tab......what other edit must i make?
QuoteIn this topic http://docs.tinyportal.co.uk/index.php?topic=139 it shows you all the edits that are made for TP to work with a theme. The page is a little screwed up, so you have to horizontally scroll to see the file name. You only need to follow the instructions for the index.template.php file.
What browser are you using IchBinâ,,¢?
The page looks OK for me in FF, but if it's a problem I can do an edit to make the edit title show on the left side.
EDIT: Just looked at the page using IE7 and the display is off so I'll edit the titles.
Quoteok new problem when i add the tab for forum on the 1.0.6 it puts the tab right under the search tab......what other edit must i make?
Post your code so we can see what the problem is please.
ok heres the code....it puts help and forum right on each other
// Start the main menu.
echo '
<ul class="mainnav">';
// Show the [home] button.
echo '
<li><a href="', $scripturl, '">' , $txt[103] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
if($settings['TPortal_front_type']!='boardindex')
// Show the [forum] button.
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='forum' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=forum">'.$txt['tp-forum'].'</a>
</td>' , $current_action=='forum' ? '<td class="maintab_active_last"> </td>' : '';
// Show the [help] button.
echo '
<li><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
// How about the [search] button?
if ($context['allow_search'])
echo '
<li><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>'
Make sure when you post code that you use the code BBC so that the formatting of your code doesn't get changed. If you look at the other buttons you'll notice they are not using the same code that you are. The code you have is for the default theme only. You need to copy one of the other buttons and change the appropriate things to make it work.
// Show the [forum] button
echo '<li><a href="', $scripturl, '?action=forum">' , $txt['tp-forum] , '</a></li>';
i tried ur code this is what i get
Template Parse Error!
There was a problem loading the /Themes/Aa_New_Damage_v2/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Well you need to post what you have above and below the code you put in so we can see the error in your code.
// Start the main menu.
echo '
<ul class="mainnav">';
// Show the [home] button.
echo '
<li><a href="', $scripturl, '">' , $txt[103] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
// Show the [forum] button
echo '
<li><a href="', $scripturl, '?action=forum">' , $txt['tp-forum] , '</a></li>
// Show the [help] button.
echo '
<li><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
// How about the [search] button?
if ($context['allow_search'])
echo '
<li><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
updated but still same error
even tried this
// Show the [home] button.
echo '
<li><a href="', $scripturl, '">' , $txt[103] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
// Show the [forum] button
echo '
<li><a href="', $scripturl, '?action=forum">' , $txt['tp-forum] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
// Show the [help] button.
echo '
<li><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
// How about the [search] button?
if ($context['allow_search'])
echo '
<li><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
You need to post your code within the code tags as I stated. Otherwise your code gets output wrong in your post. As you can see any </ a > tag gets turned into [/ url]. It would probably be better if you just attached your file.
http://rapidshare.com/files/164666588/New_Compressed__zipped__Folder.zip.html
this file contains my index templete php with screen shots of how it leaves the forum button blank and another issue i get when i click on profile if someone can look thru this and help me it would be much appreciated
Please, just attache the file directly to the post, it's tiresome to have to install things on our local machines just to be able to help you.
As G6 said it is easier if you just attach the file to your post. I downloaded it though. Your $txt string is wrong.
$txt[forum] needs to be $txt['tp-forum']
sorry didnt see anything to attach file so i did it that way also were u able to notice anyhting about why the profile doesnt work?
when you click the reply button, you get to the page where you type in what you want to say, under that frame you type in, you have a link called "Additional Options..."
There you have attachments options
ok here it is....alo i dont know if i shgould start new topic bout profile issue or just attach another file here
Try this
You forgot to add the forum to the arrary and also the output for the forum text was wrong, it needed to be ['tp-forum'] and not just [tp-forum]
For your profile, you are missing out on the tp code in the profile.php and profile.template.php
Follow the code guide here
Modification Instructions (http://docs.tinyportal.co.uk/index.php?topic=140)
And add in the missing code for tp
G6 :)
ok well this may not be something you can help me with but i fifugre since you have all been 100% accurate so far maybe you can help me get the job done. im trying to add a chat tab to my theme and also change the profile to user cp. now the chat code i figure should be easy its the user cp that may be a little harder. after installing user cp the code in my deafult templete changes to this .edit ive figured the user cp issue out.....
im trying to figure how to edo the code in the format that my theme is done if no1 can help i understand.
also just for future refrences the actual problem with my profiles not working was for some odd reason tiny portal seems to have duplicated codes in alot of diff files into my profile php and index templete for other themes by searching for the add on in your modification thread i was able to find and delete the duplicates. thnx everyone fo all the help so far. ;D
just copy the forum button code and change the link to your chat instead
ok i have something retarded going on if im logged in i can see the forum button but if i log out or if anyone else is logged on the site the button is not there .
this is code im using for the button
[ // Show the [forum] button.
echo '
<li><a href="', $scripturl, '?action=forum">' , $txt['tp-forum'] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
Try this code instead.
And also, the code you posted have this [ infront, remove that part
if($settings['TPortal_front_type']!='boardindex')
// Show the [forum] button.
echo '
<li><a href="', $scripturl, '?action=forum">' , $txt['tp-forum'] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';
wow this is driving me crazy its till doing the same thing and people are having issues logging and to try to see if they can log out then back in to see if its works i have attached my file below i dont know where to go from here
my site is wearesik.com/forum
try this instead
Remove the "if" statement that G6 gave you. It won't work that way, and is really not necessary.
Your button is actually there, but is not showing because the ' , $txt['tp-forum'] , ' is probably not defined in TP .0.9.8. Remove the code (including single quotes and commas), and just add the word Forum in there.
--edit
exactly what G6 did. :)
Just did what you said IchBin ;)
well its still the same i dont know whats going on im really lost
at this point im just about ready to pay someone to fix this lol anyone wanna help?
I think you are better off asking the theme creator to help you, it's free to :D
well to be honest i dont htink its a theme problem i think its deeper then that......is there anyway i can talk to u on msn or a messenger?
I'd bet some money that you're file didn't get updated or replaced properly.
looks fine to me so i dont know but this is also not the only issue i needed help with imean the other 2 issues should be easy which is why i said id be willing to pay to fix this because ive been going through this for months i just want to be done with it..............attached the current file
You have to ask the theme creator to help you as they know the code in their themes.
ive tried im getting no resposnse :(
You have to wait for them to respond, they dont get paid for support just like we dont on this site, so giving support on issues are on free will and free time.
You have to give them time :)
Your file is still not updated on your site. PM me if you'd like some help on this. Please reference this topic and give me details on what you need done. I get a lot of PM's so I'll probably be wondering why you're PM'ing me. :)