• Welcome to Simple Machines Community Forum. Please login or sign up.
October 27, 2021, 01:36:34 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

bloc

I got the impression you wanted to change something particular for TinyPortal...as it don't use that $context['page_index'], it just mimics its appearance.

That variable is defined in Subs.php i think( without checking) , and if you need styling it, you could do the same there by setting a style in a <span> right before and after the variable.

bloc

Quote from: fittizle on March 05, 2005, 04:12:46 PM
Quote from: Bloc on February 22, 2005, 01:34:31 PM
Well, at least some of my themes are already converted : Helios, Mercury and Themis. And of course SMF default theme..that one is the the one that gets modded..! For downloads of my converted ones , look here :
http://www.bloczone.net/smf/index.php?board=24.0

As for the others they will have to be done manually, but its only index.template.php in them that needs some modifications. If the theme authors agreed on that, i could help out on this...but I won't start mass-converting them as such.

I will make a tutorial on how to convert other themes though.

I did exactly what the tinyportal.mod instructed to do for the index.template.php, but I got a parse code error that says the following.

emplate Parse Error!
There was a problem loading the /Themes/Daze_burgandy/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.

It's easy to make a small mistake...you probably got a apostrophe wrong somewhere. If you send me the file I can take a look for you.

Col

I've just installed this on my evaluation board (looks like I'm coming over to SMF), and this looks to be a very useful mod. I tried to install the chat mod, and it failed. I decided to uninstall the TP mod, but that failed.

.......Scrub that, I was viewing a cached page. The whole forum has crashed:

Warning: main(/home/XXXXXXXX/public_html/smf/Sources/TPortal.php): failed to open stream: No such file or directory in /home/XXXXXXX/public_html/smf/index.php on line 57

Fatal error: main(): Failed opening required '/home/XXXXXXX/public_html/smf/Sources/TPortal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/XXXXXXX/public_html/smf/index.php on line 57

There was a failure with trying to modify the classic template when I tried to install the chat mod. I tried unistall Tiny Portal to see if that would correct the situation, and well, that's when I lost the forum.

Let me know if anyone wants copies of any files. It seems like some kind of install/unistall problem. I'll keep them for a few days, and install a fresh forum to work on instead.

sh33zo

Would it be possible to add the possibility to add php scripts to the Blocks?
I have a couple script that would make my site complete and easy to update!
This is exactly what i needed!!
Keep up the good work and if you could add the php script feature it would be perfect!!
Thankz
Sh33zo ;)

bloc

Quote from: Col on March 08, 2005, 10:17:41 PM
I've just installed this on my evaluation board (looks like I'm coming over to SMF), and this looks to be a very useful mod. I tried to install the chat mod, and it failed. I decided to uninstall the TP mod, but that failed.

.......Scrub that, I was viewing a cached page. The whole forum has crashed:

Warning: main(/home/XXXXXXXX/public_html/smf/Sources/TPortal.php): failed to open stream: No such file or directory in /home/XXXXXXX/public_html/smf/index.php on line 57

Fatal error: main(): Failed opening required '/home/XXXXXXX/public_html/smf/Sources/TPortal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/XXXXXXX/public_html/smf/index.php on line 57

There was a failure with trying to modify the classic template when I tried to install the chat mod. I tried unistall Tiny Portal to see if that would correct the situation, and well, that's when I lost the forum.

Let me know if anyone wants copies of any files. It seems like some kind of install/unistall problem. I'll keep them for a few days, and install a fresh forum to work on instead.

That error message indicates that TinyPortal is indeed gone..but your classic theme(modified to work with TP) most likely is not changed back( you have to do that manually). Did you try just using the default theme again?

bloc

Quote from: sh33zo on March 08, 2005, 11:13:11 PM
Would it be possible to add the possibility to add php scripts to the Blocks?
I have a couple script that would make my site complete and easy to update!
This is exactly what i needed!!
Keep up the good work and if you could add the php script feature it would be perfect!!
Thankz
Sh33zo ;)

This is in the next beta. You can test it too before comitting it, not all php scripts like being inside the forum "workspace".

You will have an option to test the php script in another window - to at least check for obvious errors. And blocks will in the next beta be set to "off" by default. So you get a chance to check before making it visible.

Col

March 09, 2005, 05:57:27 AM #166 Last Edit: March 09, 2005, 06:02:53 AM by Col
Quote from: Bloc on March 09, 2005, 05:11:00 AM
That error message indicates that TinyPortal is indeed gone..but your classic theme(modified to work with TP) most likely is not changed back( you have to do that manually). Did you try just using the default theme again?

How would I do that? There is NO forum. Yes, most of the files (all?) are still there, but I do not have a forum, let alone an admin section to select an alternate theme. :(

bloc

Try to upload the original Sources files again, and the index.php in the root folder of forum - thats what causing the failure I think. I may been a little hasty in answering here - thinking the theme caused it. But it seem more clear to me now that TP it NOT completely gone. Hence the suggestion here.

If its your test-server, I would just start anew, especially since you are trying out the chat mod too. Just do one step at a time to check it doesn't break along the way.

sh33zo

Quote from: Bloc on March 09, 2005, 05:14:51 AM
Quote from: sh33zo on March 08, 2005, 11:13:11 PM
Would it be possible to add the possibility to add php scripts to the Blocks?
I have a couple script that would make my site complete and easy to update!
This is exactly what i needed!!
Keep up the good work and if you could add the php script feature it would be perfect!!
Thankz
Sh33zo ;)

This is in the next beta. You can test it too before comitting it, not all php scripts like being inside the forum "workspace".

You will have an option to test the php script in another window - to at least check for obvious errors. And blocks will in the next beta be set to "off" by default. So you get a chance to check before making it visible.

Cool!! ;D :)
Any ETA on the next version?

Col

Quote from: Bloc on March 09, 2005, 05:14:51 AM
Quote from: sh33zo on March 08, 2005, 11:13:11 PM
Would it be possible to add the possibility to add php scripts to the Blocks?
I have a couple script that would make my site complete and easy to update!
This is exactly what i needed!!
Keep up the good work and if you could add the php script feature it would be perfect!!
Thankz
Sh33zo ;)

This is in the next beta. You can test it too before comitting it, not all php scripts like being inside the forum "workspace".

You will have an option to test the php script in another window - to at least check for obvious errors. And blocks will in the next beta be set to "off" by default. So you get a chance to check before making it visible.

Thanks for your reply Bloc.

Being completely new to SMF (I have a yabb forum for the moment), you can immagine that it was a little disconcerting to see my evaluation SMF forum go belly up within hours. - I was hoping to find out why?

I've set up another forum anyway, and I've installed the same mods. It's a bit hard to get your head arround why you can get failure reports, but then proceed, and it installs. (I had set the file that looked as tough it would fail to 777). To be frank, I find this forum software a bit confusing, but it promises so much, I'm sticking with it.

I was surprised to find that the portal has a shoutbpox with it. - Is this the same as the 'ultimate Shoutbox'? - I assume not, but I don't know how to display 'Ultimate Shoutbox' with TP. - I was adivsed that this was the best wat to go, but how do I use the US code to display it in TP?

Thanks.

bloc

Quote from: sh33zo on March 09, 2005, 10:14:03 AM
Quote from: Bloc on March 09, 2005, 05:14:51 AM
Quote from: sh33zo on March 08, 2005, 11:13:11 PM
Would it be possible to add the possibility to add php scripts to the Blocks?
I have a couple script that would make my site complete and easy to update!
This is exactly what i needed!!
Keep up the good work and if you could add the php script feature it would be perfect!!
Thankz
Sh33zo ;)

This is in the next beta. You can test it too before comitting it, not all php scripts like being inside the forum "workspace".

You will have an option to test the php script in another window - to at least check for obvious errors. And blocks will in the next beta be set to "off" by default. So you get a chance to check before making it visible.

Cool!! ;D :)
Any ETA on the next version?
Within this week.

bloc

Quote from: Col on March 09, 2005, 11:35:07 AM

I was surprised to find that the portal has a shoutbpox with it. - Is this the same as the 'ultimate Shoutbox'? - I assume not, but I don't know how to display 'Ultimate Shoutbox' with TP. - I was adivsed that this was the best wat to go, but how do I use the US code to display it in TP?

Thanks.

No, the shoutbox is internal to TinyPortal. Not associated with "Ultimate Shoutbox" in any way. I havent expanded this much, but I can see some enhancements to it being made later on.

If the Ultimate shoutbox is supposed to go in a block, it would be possible to that in the next beta, havent tested it though.

Col

Again, thanks.

One suggestion, I notice that there isn't a display option for guests. There might be occasions that you'd like to display a notice for guests only to see, but would have little use for members.

Col

Oh dear,

Portal mod seems to have downed another forum. I uninstalled the portal mod, and it's happened again. I received the same message as before. Perhaps someone would like to try uninstalling this mod from a test forum. I can only assume there is an error with the uninstaller. - I'm assuming that each mod that can only be uninstalled has it's own uninstaller? - Hey, I'm new here.

I had previously uninstatted the Ultimate Shoutbox, and that went without a hitch. I think there is a problem with this mods uninstaller.

bloc

It should work. But probably the installing and un-installing of two mods made it break.

Kindred

hmmm... I skimmed through the posts here, but I am uncertain if any of this has been reported and is already fixed (or not).

I just installed SMF 1.0.2 and the 0.4beta of the tinyportal.

Nice job, as usualy, Bloc!

1) question: How does one get a theme supported in the tiny portal?  I have a couple of Bloc's Themes and Loon Purple... I'd like them to support the portal, and I am willing to do the hand-work needed to get them together.... right now, any theme except the default drops out of the portal (and it's difficult to get the portal back!)

2) issue: I add an article. If I leave the intro blank, the article TEXT is not saved (it says Type content here, when I view the published item)

3) issue: I have an article added. It did not record the name of the user who entered the article.

4) question: How does one set permissions to enter articles in TinyPortal? (in other words, I'd like to have a usergroup (aka "writer") who can enter articles.

5) one hour of installation and seven pages of this....   caused by?
issue:  8: Undefined index: mystart
File: /*DIR*/Themes/default/TPortal.template.php (eval?)
Line: 15

hmmm.... I think that's it for now.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bloc

All of these are errors that are hopefully gone in the next beta.

Regarding permissions, it will be a option of letting other membergroups submit articles. The admin(s) can then "approve" them to let them show. But still not quite ready this function.

About converting other themes, I need to write a tutorial about this. Still haven't got around to it yet.

Col

Hi Bloc,

I've insatlled yet another forum to test this, and it uninstalled without a problem this time. However, I did not install the shoutbox, so you appear to be correct that it's a combination thing. Still, what's causing this? - Id did unistall them in reverse order before, so there must be an error in one of the mods, mustn't there?

bloc

One thing is for sure: they both modify some common code, if not there would probably not be any problem. I can only guess that the reverse changes of shoutbox leaves it unrecognisable for TP to un-install. And that it probably also removes things TP DOES need, before even un-installing. Or vice-versa.

Col

....I mean reverse to my install, so last mod in, first mod out!

Advertisement: