TinyPortal

Development => Support => Topic started by: resurgence on June 19, 2005, 01:28:09 PM

Title: converting SMFone to TP compatible
Post by: resurgence on June 19, 2005, 01:28:09 PM
i loved A.M.A.'s theme (SMFone, but when installed it, foiund out it's biggest (if not its only) flaw:

it's not compatible with TP. :(

converting it to TP would be very hard considering all the recoding that needs to be done. i was just expressing my thoughts.

Title: Re: converting SMFone to TP compatible
Post by: IchBin on June 20, 2005, 04:53:39 AM
I don't think it would be that hard. If you give a link I can give it a try...
Title: Re: converting SMFone to TP compatible
Post by: resurgence on June 20, 2005, 01:03:42 PM
Quote from: IchBin on June 20, 2005, 04:53:39 AM
I don't think it would be that hard. If you give a link I can give it a try...

actually i would love to learn how to do it as well. :)

but here's the link:

http://www.alnabri.net/smf-stuff/SMFone_blue.tar.gz <-- SMFone BlueSKY version.
Title: Re: converting SMFone to TP compatible
Post by: IchBin on June 21, 2005, 01:00:43 AM
If you look at the file in the tinyportal zip file called tinyportal065.mod it will show you all that needs to be done. You'll notice that Tinyportal does not modify any files in the theme except the index.template.php file. The tricky part about all of this is that everyones themes are a little different so you have to kind of know what you're looking for. I'm not perfect with my conversions by any means, but I always seem to get them working. I'll attach the index.template.php file for smfone bluesky that I modified. But before you do anything with it I would suggest you ask the author if it is OK for you to have this. I can't really explain how I did the conversion because I had to change quite a few things that were not there or were coded differently. I could maybe show you on an easier theme, but this will have to do for now as I have little time left cuz I'm pretty busy. Sorry....

[attachment deleted by admin]
Title: Re: converting SMFone to TP compatible
Post by: IchBin on June 21, 2005, 01:04:18 AM
Oh, and btw you'll have to add the images that aren't in that theme that TP requires like the Home and TPAdmin buttons etc. You'll notice the broken image icons when you load up the theme. If you don't know how to make them I can do them for you, but you'll have to wait until tomorrow or as soon as I can get to them. :)
Title: Re: converting SMFone to TP compatible
Post by: resurgence on June 21, 2005, 01:32:13 AM
yay! thanks! :)

i'll run that index on my test board. :)

and i'll ask AMA if it's okay to convert it since we're part of Bloc's beta testers group :)
Title: Re: converting SMFone to TP compatible
Post by: Nick on July 09, 2005, 07:43:51 AM
Ah, nice work. I am running SMFone as well, and was wondering the same thing. I'll try this is a bit. Thanks  :2funny:
Title: Re: converting SMFone to TP compatible
Post by: fugi on October 03, 2005, 05:09:57 PM
Does this copy of SMFone work with 1.1 RC1?
Title: Re: converting SMFone to TP compatible
Post by: IchBin on October 03, 2005, 09:25:12 PM
You won't know until you try. :) Probably not without errors.
Title: Re: converting SMFone to TP compatible
Post by: ericmn on October 30, 2005, 10:40:04 PM
Hey guys!!!
You have no idea how glad i am that i  found this topic finally.
IchBin u really really made my past several days man! Thanks very much.
But do u have icons(required pics) by any chance???
It'd be great u got them already and post them here....
Title: Re: converting SMFone to TP compatible
Post by: IchBin on October 31, 2005, 01:34:05 AM
Glad I could help. :)

Which Icons you talking about? Menu buttons?
Title: Re: converting SMFone to TP compatible
Post by: ericmn on October 31, 2005, 02:51:32 PM
Hi IchBin,
Technically, i've solved image problem by replacing old images that come with default theme at required SMF image folders.
Looks pretty good, but if you have better ones than default theme icons and stuffs; And if you're available to upload them here, that'd be great.
Thanks.
Title: Re: converting SMFone to TP compatible
Post by: IchBin on October 31, 2005, 10:43:48 PM
I don't have this theme installed or anything anymore. If you could give me a list of what icons/graphics you need that would make my job a little easier. :)
Title: Re: converting SMFone to TP compatible
Post by: fugi on November 06, 2005, 10:50:26 AM
I've tried to modify the new SMFone RC1 theme, but I have a problem.
I can't find some lines in code that match the instructions Blog gives in TP_mod_instructions.
Could anyone help? IchBin?
I attach the index.template of the theme after trying to modified. My main problem is where to put
// TinyPortal
       }
//  end

PS: I think that problem starts from the fact that the one who made it compatible with RC1 (from 1.0.5) wasn't it's original author.
Title: Re: converting SMFone to TP compatible
Post by: IchBin on November 06, 2005, 11:14:30 PM
Hope you don't mind if I move your post to the TP themes board. I could have sworn this theme was already done though. I guess it was just the 1.0.5 version.
Title: Re: converting SMFone to TP compatible
Post by: fugi on November 07, 2005, 06:15:04 PM
Yeap u guessed right. There was no TP RC1 compatible version.

@Bloc: U probably have to edit some lines on the TPmodInstructions.php (don't remember the name exaclty right now) for example that lines referring to what I posted before dont match any.
I could help u if u want
Title: Re: converting SMFone to TP compatible
Post by: IchBin on November 07, 2005, 07:13:15 PM
His mod instructions are for the default theme only.
Title: Re: converting SMFone to TP compatible
Post by: fugi on November 07, 2005, 11:42:49 PM
So, the instructions change for each theme accordingly?
Is there not a general guideline, where to find what?
Title: Re: converting SMFone to TP compatible
Post by: IchBin on November 08, 2005, 12:14:41 AM
Instructions change depending on the theme. The code for TP stays the same, but the themes don't have the same code you're supposed to be looking for. If everyone created their themes in the same way yes, that would be easy. Unfortunately, some themes are "very" different. Some themes have taken me quite a bit to figure out how or where to place the code. I wish they were all easy. If I understood php it would be pretty simple. I think Bloc has plans to give info on how and why etc.
Title: Re: converting SMFone to TP compatible
Post by: kadhumia_flo on November 18, 2005, 10:01:16 PM
I am sorry but i dont understand this... I really like the Hi::Ha theme by Koni (http://www.simplemachines.org/community/index.php?topic=34485) for RC1

http://www.simplemachines.org/community/index.php?topic=34485.msg255438 (http://www.simplemachines.org/community/index.php?topic=34485)

Please advise, or better yet, help me edit the file

Thanx in Advance
(Nice Job Bloc)
Title: Re: converting SMFone to TP compatible
Post by: IchBin on November 18, 2005, 10:48:12 PM
If you get permission for  the Hi:Ha theme to be converted. I will release it in the "other TP themes" board. I've already done it, I just don't want to see the author get mad without his permission.
Title: Re: converting SMFone to TP compatible
Post by: kadhumia_flo on November 18, 2005, 11:47:33 PM
I wouldnt think Koni has any desagreements about this, as long as you dont remove the credits
Title: Re: converting SMFone to TP compatible
Post by: trench on November 19, 2005, 01:58:52 AM
Are these themes all 1.1 RC or 1.05?  I think the TP Stealth was for 1.05 right?
Title: Re: converting SMFone to TP compatible
Post by: IchBin on November 19, 2005, 02:33:25 AM
Good point... maybe that should be in the title of the thread for other TP themes.
Title: Re: converting SMFone to TP compatible
Post by: kadhumia_flo on November 19, 2005, 04:37:58 PM
All themes talked about now are RC1, unless stated..

The link tha i posted has themes for all versions