Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: lurkalot on February 12, 2005, 04:43:00 AM

Title: TinyPortal
Post by: lurkalot on February 12, 2005, 04:43:00 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=97)

Current Version: TinyPortal 1.6.0 released - October 15 2018
TinyPortal (TP)

Note: You must uninstall any previous version of TinyPortal before you can install TP 1.6.0 for SMF2.0.x. and SMF2.1 Make a backup of all your SMF and TP files before you uninstall. A previous version of TP 1.0 removed the downloads and images directory which will remove needed files for your site.

* (Important) If you are updating from a version of TinyPortal before 1.4.0 then please read the changelog (https://github.com/Tinyportal/TinyPortal/releases/tag/v1.4R) associated with this release and be aware of the new wysiwyg editor.

What's new in Tinyportal (https://www.tinyportal.net/docs/index.php?cat=Changelog)

TP 1.6.0 Changelog

Bugs Fixed:Features Added:Improved support for SMF2.1:
Official TinyPortal Site (http://www.tinyportal.net)

History
 
A little after the appearance of SMF, a talented SMF theme designer, Bloc had the idea to expand SMF with a custom built CMS system that would be based in SMF, using the same database as SMF, the same themes and native integration with SMF, not requiring bridges. This CMS would be easy to install as a mod, simple in database and appearance integration and Tiny in size, compared to standalone software like Mambo (later Joomla), Drupal, MK Portal etc., yet  powerful. TinyPortal was first released here in February 2005. For a long time TinyPortal was available as Beta only on Bloc's site. The TP Team and alpha-testers Team were created and TP matured and evolved in time as a pioneer in forum specific CMS. Thousands of SMF+TP sites justify Bloc's dream that came into life in his agile hands.
 
In November 2010 Bloc decided to retire from the project, seeking other horizons. He kindly left the TP project to IchBin™ with the support of TP Team. Following IchBin's retirement from the project, in June 2015 the project was handed over to lurkalot, who has been a long term member of the support team for Tinyportal.
 
What is TP?
 
TinyPortal is a mod for SMF that adds a powerful and mature CMS to your SMF Forum in minutes, with native integration, without having to worry about bridging, database, and appearance. Your SMF and TP will be a homogenous ensemble from installation. It's up to you and your creativity to use TP's features to customize your site and organize its content.

Features included in TinyPortal:
Title: Re: TinyPortal
Post by: Midgard on February 12, 2005, 04:43:41 AM
This mod from Jerry?
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 05:04:47 AM
No, this is my project. Jerry has his own script. :)

TinyPortal is currently running at http://www.tinyportal.net , if you want to see it in action.
Title: Re: TinyPortal
Post by: Midgard on February 12, 2005, 05:10:30 AM
Excellent, Bloc

Very best mod.
Title: Re: TinyPortal
Post by: Jerry on February 12, 2005, 05:36:51 AM
Very Nice portal :), my error log shows some errors though:

Quote
8: Undefined index: mystart
File: /xxx/xxx/public_html/akjerry/Themes/default/TPortalBlocks.template.php (eval?)
Line: 62
and
Quote
8: Undefined variable: t
File: /xxx/xxx/public_html/akjerry/Sources/TPortal.php
Line: 205
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 05:43:29 AM
thanks, I will correct those.
Title: Re: TinyPortal
Post by: Midgard on February 12, 2005, 08:33:36 AM
Bloc, need a roster page ;)
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 09:00:20 AM
A what..?
Title: Re: TinyPortal
Post by: Midgard on February 12, 2005, 09:37:23 AM
as http://www.raclan.org/index.php?action=portal;sa=roster
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 09:56:41 AM
I see. :) Well...it could be a just an article in my mod. The make button for that page only for instance.

In the next release of mod, I plan to have the option of an article without a category, or marked as such. It will then show up in the category/content list as a single page. That way special pages can be made that will auto-show in the menu there.
Title: Re: TinyPortal
Post by: Midgard on February 12, 2005, 09:58:00 AM
That's great ;)
Title: Re: TinyPortal
Post by: dtm.exe on February 12, 2005, 10:11:47 AM
I am extrememely frustrated right about now.  I installed the mod and hate it, so I try to uninstall it, that doesn't work.  Then I try deleting the files, THAT works but the stuff on the index page is STILL THERE!  HOW DO I REMOVE THIS  THING PLEASE!

-Dan The Man
Title: Re: TinyPortal
Post by: maufonseca on February 12, 2005, 11:53:18 AM
I like it...... very simple, but very useful......
Are there any modifications to make it work with different themes?
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 12:00:21 PM
I am extrememely frustrated right about now. I installed the mod and hate it, so I try to uninstall it, that doesn't work. Then I try deleting the files, THAT works but the stuff on the index page is STILL THERE! HOW DO I REMOVE THIS THING PLEASE!

-Dan The Man
Try to replace with the original Load.php, Index.template.php and index.php, those files are modified by the mod.

If you have files in the root folder named  index.bak, load.bak and index.template.bak, those are YOUR original files and could just be renamed to php and put in again:

- load.bak => rename to Load.php - put in Sources folder
- index.bak => rename to index.php - put in forum root folder
- index.template.bak => rename to index.template.php - put in themes/default folder.

I will check into why it wont un-install properly.
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 12:01:18 PM
I like it...... very simple, but very useful......
Are there any modifications to make it work with different themes?

Look at the tinyportal.mod file..the changes for index.template.php.
Title: Re: TinyPortal
Post by: maufonseca on February 12, 2005, 12:37:03 PM
Thank you, it works,

I found something...... the ShoutBox dont work  :(
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 12:51:03 PM
Yes. I am checking why as of now.
Title: Re: TinyPortal
Post by: dtm.exe on February 12, 2005, 12:53:04 PM
I am extrememely frustrated right about now. I installed the mod and hate it, so I try to uninstall it, that doesn't work. Then I try deleting the files, THAT works but the stuff on the index page is STILL THERE! HOW DO I REMOVE THIS THING PLEASE!

-Dan The Man
Try to replace with the original Load.php, Index.template.php and index.php, those files are modified by the mod.

If you have files in the root folder named  index.bak, load.bak and index.template.bak, those are YOUR original files and could just be renamed to php and put in again:

- load.bak => rename to Load.php - put in Sources folder
- index.bak => rename to index.php - put in forum root folder
- index.template.bak => rename to index.template.php - put in themes/default folder.

I will check into why it wont un-install properly.

Great, now my forums are F**KED UP!

www.closecombatsquad.com

-Dan The Man
Title: Re: TinyPortal
Post by: maufonseca on February 12, 2005, 01:09:53 PM
Also, in some places, this menu "block" (sorry, I dont know how to call it) gets BIG...... can I stop set it a size so it wont get bigger in some lare thread and other places
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2FWindow.bmp&hash=ef1a6039eb594f2bff2d3a1470c6fb4c)


(sorry for my english)
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 01:11:04 PM
I am extrememely frustrated right about now. I installed the mod and hate it, so I try to uninstall it, that doesn't work. Then I try deleting the files, THAT works but the stuff on the index page is STILL THERE! HOW DO I REMOVE THIS THING PLEASE!

-Dan The Man
Try to replace with the original Load.php, Index.template.php and index.php, those files are modified by the mod.

If you have files in the root folder named  index.bak, load.bak and index.template.bak, those are YOUR original files and could just be renamed to php and put in again:

- load.bak => rename to Load.php - put in Sources folder
- index.bak => rename to index.php - put in forum root folder
- index.template.bak => rename to index.template.php - put in themes/default folder.

I will check into why it wont un-install properly.

Great, now my forums are F**KED UP!

www.closecombatsquad.com

-Dan The Man

Don't you even have a backup when trying out mods?

And..as far as I can see, only the link-tree is wrong. Try to replace all the files as I suggested.
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 01:15:12 PM
Also, in some places, this menu "block" (sorry, I dont know how to call it) gets BIG...... can I stop set it a size so it wont get bigger in some lare thread and other places
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2FWindow.bmp&hash=ef1a6039eb594f2bff2d3a1470c6fb4c)


(sorry for my english)

Look in the TPadmin section - general settings. there you can set the width of both the left "blocks" bar, and the right. Experiment with whats is best.
Title: Re: TinyPortal
Post by: redone on February 12, 2005, 01:26:35 PM
To be fair to Bloc the portal is Beta and it tells you clearly to make sure you have backup copies of your sources etc.

Backup is your friend!  ;)
Title: Re: TinyPortal
Post by: codenaught on February 12, 2005, 01:39:18 PM
Bloc, the portal is great. I just installed it on my forum.  :)

Nice work. I really like it.  ;)
Title: Re: TinyPortal
Post by: maufonseca on February 12, 2005, 01:45:49 PM
But I think what I have to change is the height...... the widht is ok
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 03:35:58 PM
I see. Hm, I may have to see your index.template.php file to answer that...in the default theme , is it same problem there? Or just in the custom one(s)?
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 03:39:19 PM
For those who can't get the shoutbox to work..this is what you need to change - it was a line that was forgotten on my part:

- Open up index.php in the root folder of the forum and find:

               
Code: [Select]
                'tpadmin' => array('TPortalAdmin.php', 'TPortalAdmin'),
                'forum' => array('BoardIndex.php', 'BoardIndex'),

..then add this line right under those:
Code: [Select]

                'tpmod' => array('TPmodules.php', 'TPmodules'),
Title: Re: TinyPortal
Post by: maufonseca on February 12, 2005, 04:35:52 PM
Yeah, it looks good in the default them, because the default theme dont have that background under the blocks


ohh, and thanks for the shoutbox modifications :D
Title: Re: TinyPortal
Post by: SOTG Marine on February 12, 2005, 06:34:10 PM
I'm sorry, maybe I'm not understanding this mod, ... how do I modify what appears on the front page?


I just get this:

                                                                                                            Pages:
There are no articles in this section yet.


Can anyone help?
Title: Re: TinyPortal
Post by: maufonseca on February 12, 2005, 06:40:39 PM
go to TP Admin and you can chose what do you want to see in the homepage
Title: Re: TinyPortal
Post by: [darksteel] on February 12, 2005, 06:43:10 PM
Tiny Portal v0.2beta

Un-installing...

Warning: copy(tp-index.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 7
failed.
Warning: copy(tp-load.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 11
failed.
Warning: copy(tp-template.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 15
failed.Deleting tables....
All done.

TinyPortal is now un-installed.

Title: Re: TinyPortal
Post by: Anguz on February 12, 2005, 06:47:11 PM
Great work, Bloc. As a mod writer, I took a look at your code and have some suggestions:

Code: [Select]
<remove-file name="$themedir/images/divider.gif" />
<modification format="boardmod" type="file" reverse="true">tinyportal.mod</modification>
[li]Replacing files like you do with index.php, Load.php and index.template.php, will make many other mods not work anymore. Use the script in code only for what you can't do with the mod file, like db stuff. If you want the mod to do advanced things, the XML format, rather than the Boardmod one, may cover your needs. Try to make your mod as compatible with others as possible.[/li]
[li]Leave file extensions .php, .bak will show the content of the file in most servers.[/li]
[li]Why do you use the mod file to change the files you just put with tp_install.php?[/li]
[li]For indentation use tabs instead of spaces.[/li]
[li]The tpadmin.gif button doesn't look like the rest.[/li]
[/list]

I didn't go over the actual code, so I don't have much to comment on that. I hope you find these observations useful to help you improve your mod, which I think is a great way of using SMF. :)
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 07:03:59 PM
Thank you, Anguz. There were many good points here, I will go through them and improve the mod as much as I can. I admit the package side of it isn't ..ideal. So any help is appreciated. :)
Title: Re: TinyPortal
Post by: Anguz on February 12, 2005, 07:06:28 PM
Cool. ;)

Let me know when you post the updated mod so I take a look at it. :)
Title: Re: TinyPortal
Post by: [darksteel] on February 12, 2005, 07:10:56 PM
Tiny Portal v0.2beta

Un-installing...

Warning: copy(tp-index.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 7
failed.
Warning: copy(tp-load.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 11
failed.
Warning: copy(tp-template.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 15
failed.Deleting tables....
All done.

TinyPortal is now un-installed.



I can't unistall, for these errors...
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 07:26:57 PM
Tiny Portal v0.2beta

Un-installing...

Warning: copy(tp-index.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 7
failed.
Warning: copy(tp-load.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 11
failed.
Warning: copy(tp-template.txt): failed to open stream: No such file or directory in /home/cmhip/public_html/foro/Packages/temp/tp_un_install.php on line 15
failed.Deleting tables....
All done.

TinyPortal is now un-installed.



I can't unistall, for these errors...

yes, I am sorry for that. Have you read what i wrote here ? http://www.simplemachines.org/community/index.php?topic=27642.msg213187#msg213187
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 07:32:53 PM
Great work, Bloc. As a mod writer, I took a look at your code and have some suggestions:

  • The id and version in package-info.xml and tinyportal.mod don't match, they should.
  • The id in package-info.xml should not include the version number.
  • The uninstall is not complete. You should remove the files you added when installing, also reverse the mod actions. Examples:
Code: [Select]
<remove-file name="$themedir/images/divider.gif" />
<modification format="boardmod" type="file" reverse="true">tinyportal.mod</modification>
[li]Replacing files like you do with index.php, Load.php and index.template.php, will make many other mods not work anymore. Use the script in code only for what you can't do with the mod file, like db stuff. If you want the mod to do advanced things, the XML format, rather than the Boardmod one, may cover your needs. Try to make your mod as compatible with others as possible.[/li]
[li]Leave file extensions .php, .bak will show the content of the file in most servers.[/li]
[li]Why do you use the mod file to change the files you just put with tp_install.php?[/li]
[li]For indentation use tabs instead of spaces.[/li]
[li]The tpadmin.gif button doesn't look like the rest.[/li]
[/list]

I didn't go over the actual code, so I don't have much to comment on that. I hope you find these observations useful to help you improve your mod, which I think is a great way of using SMF. :)

I have corrected the things you suggested..but there was one thing I did not understand:

"Why do you use the mod file to change the files you just put with tp_install.php?"

What file(s) do you mean here..? I have removed the copy part of tp_install.php to just do mysql. Was it these files you were referring to?
Title: Re: TinyPortal
Post by: [darksteel] on February 12, 2005, 07:33:36 PM
thanks, EXELLENT PORTAL bloc :P !!!!!!!!!
Title: Re: TinyPortal
Post by: Anguz on February 12, 2005, 07:38:11 PM
I have corrected the things you suggested..but there was one thing I did not understand:

"Why do you use the mod file to change the files you just put with tp_install.php?"

What file(s) do you mean here..? I have removed the copy part of tp_install.php to just do mysql. Was it these files you were referring to?

Yes. Actually I was saying that first you replaced the files and then modified them, but looking at it again, you were first modifying and the replacing them. Nevermind, I'll take a look at the new version and post in a moment what I find. :)
Title: Re: TinyPortal
Post by: bloc on February 12, 2005, 07:40:23 PM
uhm..there is no new version as of yet..I will correct some other things first.

But I will let you know of course. ;)
Title: Re: TinyPortal
Post by: Anguz on February 12, 2005, 07:43:06 PM
Heh, you haven't uploaded the new file yet. Sorry, I thought you had already. I'll check back in a moment then. :)
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 04:24:02 AM
Update:
Done some changes in the install/un-install routine. Now it should remove itself as expected. Also the shoutbox bug(shouts not saved) has been corrected.
Title: Re: TinyPortal
Post by: Anguz on February 13, 2005, 04:28:20 AM
/me goes grab a copy.
Title: Re: TinyPortal
Post by: Anguz on February 13, 2005, 04:55:03 AM
Code: [Select]
<search for>
// Start the linktree off empty..
$context['linktree'] = array();
</search for>
<replace>
        // Start the linktree off empty..not quite, have to insert forum
        $context['linktree'] = array(array('url' => $scripturl . '?action=forum', 'name' => 'Forum - Index'));
</replace>
[li]Write comments properly, in the above example it should probably read:[/li]
Code: [Select]
// Start the linktree off empty... not quite, have to insert forum.
[li]Keep the indentation level of the code around the one you're inserting. Tabs will help you keep the indentation consistent, but in this case it's weird anyway, with the TinyPortal comment (which, BTW, is missing the period at the end) without indent and the next line with more indent than the line before your new code. Look at this from your mod:[/li]
Code: [Select]
<search for>
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
</search for>
<add after>
// TinyPortal
           require_once('SSI.php');
           loadtemplate('TPortalBlocks');
</add after>
should be
Code: [Select]
<add after>
// TinyPortal.
require_once('SSI.php');
loadtemplate('TPortalBlocks');
</add after>
[li]Make your comments unique, you use the "// TinyPortal" one in several places. I've done this mistake myself in some mods.[/li]
[/list]

Again, very well done on the mod. I love how you explore the power of the theme engine. I hope you find the feedback useful. :)

A good read to refresh some stuff:
Coding Guidelines... (http://www.simplemachines.org/community/index.php?topic=7110.0)
Title: Re: TinyPortal
Post by: SOTG Marine on February 13, 2005, 05:09:21 AM
go to TP Admin and you can chose what do you want to see in the homepage

Ok, .. neat......  I didn't see that as an option, but ok....

Now I can get articles there, but no forum, and definately no portal of any kind. What am I doing wrong?
Title: Re: TinyPortal
Post by: Anguz on February 13, 2005, 05:14:55 AM
Missed something:

Title: Re: TinyPortal
Post by: SOTG Marine on February 13, 2005, 05:19:44 AM
I'm using the Helios Theme, .. and I think that's my problem. I see everything you guys are talking about on the regular theme. How do I get it to work on the Helios theme?
Title: Re: TinyPortal
Post by: [Unknown] on February 13, 2005, 05:24:28 AM
Quote from: package-info.xml
        <id>bloc:tinyportal</id>
Quote from: tinyportal.mod
<id>
TinyPortal
</id>

Quote from: package-info.xml
        <version>0.4</version>
Quote from: tinyportal.mod
<version>
0.4b
</version>

The version number and id in the .mod file are not used, required, or even checked by the package manager.  Boardmod uses them, but the package manager doesn't.  I don't even recommend bothering with them.  This doesn't, mind you, apply to xml style mods.

-[Unknown]
Title: Re: TinyPortal
Post by: Midgard on February 13, 2005, 05:37:17 AM
I'm using manual install ;)
Title: Re: TinyPortal
Post by: Anguz on February 13, 2005, 06:07:27 AM
The version number and id in the .mod file are not used, required, or even checked by the package manager. Boardmod uses them, but the package manager doesn't. I don't even recommend bothering with them. This doesn't, mind you, apply to xml style mods.

-[Unknown]

Thanks for clarifying it. I didn't know it wasn't required in the Boardmod format as it is in the XML one. I'll probably still make them match for consistency.
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 06:55:35 AM
Thanks Anguz :) - and [Unknown] - I will go over the things you mentioned, especially the comments. I plan to further comment the whole mod properly, and optimize things/functions before the next release, hence the not changing version number. It was the un-install not working that was most important now.

The language files are not complete either, so that will also have to be in.

I am glad you like this mod. Codewise I have a lot to learn yet, so if you have immediate concerns about the code itself, please air them! :) Already I see some queries could be left out in certain situations etc. It should execute fast and efficient, not becoming some slow monster of an addon...(..)
Title: Re: TinyPortal
Post by: Midgard on February 13, 2005, 06:57:33 AM
What time is update this mod?

Bloc, men, did you make a roster page?
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 06:59:59 AM
I'm using the Helios Theme, .. and I think that's my problem. I see everything you guys are talking about on the regular theme. How do I get it to work on the Helios theme?


I will convert all my themes ( well, almost..) to alternative versions for use in TinyPortal. Mainly its just adding some images, and changing index.template.php. So then you can use that version of Helios instead.

But if you already have Helios modifiled, just send me the index.template.php file and I will insert the code for you.
Title: Re: TinyPortal
Post by: RGSMDNR on February 13, 2005, 11:17:53 AM
25. Execute Modification ./Themes/default/index.template.php Failure

 ???
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 11:42:19 AM
It will need an unmodified index.template file.
Title: Re: TinyPortal
Post by: Midgard on February 13, 2005, 11:43:25 AM
I want again a roster/leads page
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 11:49:55 AM
You could just use the article system for that...isn't it just a overview of some sort? Or does it pull data from the database? In that case its a bit different...but I am not making something especially for that, I am sorry.
Title: Re: TinyPortal
Post by: Midgard on February 13, 2005, 11:51:57 AM
Okay. np. I'll try it.
Title: Re: TinyPortal
Post by: maufonseca on February 13, 2005, 11:57:10 AM
I got an idea..... I was requesting this mod, but I think it can fit TinyPortal......... Something like the mod page in this site, where members can submit their reviews of something (I have a Gaming site, and I think it can be useful) and people can commet on it and rate it  :D
Title: Re: TinyPortal
Post by: codenaught on February 13, 2005, 12:24:39 PM
Okay, so I really like this Portal but I have a few things that I think would make it better.

More options with the collapse/expand of the left and right sides of the portal
Options such as for the admin to select if they want to have the left side collapsed by default on the forum and also an option for it to be collapsed by default on the portal. Same goes for the right side.

So it could look something like this:

Use left bar: Yes/No
Expand left bar by default on forum: Yes/No
Expand left bar by default on portal: Yes/No

The reason I want this, is because I would like for the right side to be expanded by default on the portal index but collapsed by default when viewing the forum.

Also I noticed that the theme changer for the portal doesn't keep the changed theme with it. So if I changed my theme to something else using the theme changer on the portal, once I log back in it will be showing the theme I was using before I changed the theme using the theme changer from the portal.

And also the Block permissions system doesn't seem to really work right. If I make a block appear only to a group I am in, it will show the block twice and it will still show the block to everyone else still, but the block will only come up once for those people.
Title: Re: TinyPortal
Post by: devinshade on February 13, 2005, 04:26:23 PM
Hi Bloc,

Great work on the mod.  I've been getting these errors though:

Whenever I click on any of the TPAdmin settings, it automatically logs me out.  Hence I can't never get to change any of the settings.  Do you have any ideas how to fix that problem ?  Thanks.

Title: Re: TinyPortal
Post by: [darksteel] on February 13, 2005, 05:08:25 PM
Ready to use in SPANISH language :P

http://www.simplemachines.org/community/index.php?topic=27611.msg213893#msg213893

By me :P
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 05:32:59 PM
I got an idea..... I was requesting this mod, but I think it can fit TinyPortal......... Something like the mod page in this site, where members can submit their reviews of something (I have a Gaming site, and I think it can be useful) and people can commet on it and rate it :D

It sounds like a good idea...you mean like a download section that also take comments/reviews?
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 05:40:51 PM
Okay, so I really like this Portal but I have a few things that I think would make it better.

More options with the collapse/expand of the left and right sides of the portal
Options such as for the admin to select if they want to have the left side collapsed by default on the forum and also an option for it to be collapsed by default on the portal. Same goes for the right side.

So it could look something like this:

Use left bar: Yes/No
Expand left bar by default on forum: Yes/No
Expand left bar by default on portal: Yes/No

The reason I want this, is because I would like for the right side to be expanded by default on the portal index but collapsed by default when viewing the forum.

Also I noticed that the theme changer for the portal doesn't keep the changed theme with it. So if I changed my theme to something else using the theme changer on the portal, once I log back in it will be showing the theme I was using before I changed the theme using the theme changer from the portal.

And also the Block permissions system doesn't seem to really work right. If I make a block appear only to a group I am in, it will show the block twice and it will still show the block to everyone else still, but the block will only come up once for those people.

- Yes, the options of pre-collapsed  when viewing the forum is something I will add. Good suggestion.
- The permissions of blocks I have to check upon further.
- the theme changer....is more of a "try-out" changer, it does not render the change permanent. But I can make it try-out for guests and permanent for members. That would be logical.

Thanks for the feedback.  :)
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 05:49:24 PM
Hi Bloc,

Great work on the mod. I've been getting these errors though:

Whenever I click on any of the TPAdmin settings, it automatically logs me out. Hence I can't never get to change any of the settings. Do you have any ideas how to fix that problem ? Thanks.



That is mysterious...I am not sure what can cause it.

Do you get any error messages at the same time? What about the error log in SMF - do that show any errors reported around the time you try to change settings?
Title: Re: TinyPortal
Post by: bloc on February 13, 2005, 06:15:31 PM
Ready to use in SPANISH language :P

http://www.simplemachines.org/community/index.php?topic=27611.msg213893#msg213893

By me :P

Great! I will further put all the text strings into the language files, so any translation help is welcome.
Title: Re: TinyPortal
Post by: maufonseca on February 13, 2005, 07:08:19 PM
I got an idea..... I was requesting this mod, but I think it can fit TinyPortal......... Something like the mod page in this site, where members can submit their reviews of something (I have a Gaming site, and I think it can be useful) and people can commet on it and rate it :D

It sounds like a good idea...you mean like a download section that also take comments/reviews?
Yeah, I dont know if you have seen it, but something like the "News" section in Php-Nuke, that there are categories, and each one have a diferent icon
Title: Re: TinyPortal
Post by: trenchteam on February 14, 2005, 06:14:50 AM
I am extrememely frustrated right about now. I installed the mod and hate it, so I try to uninstall it, that doesn't work. Then I try deleting the files, THAT works but the stuff on the index page is STILL THERE! HOW DO I REMOVE THIS THING PLEASE!

-Dan The Man
Try to replace with the original Load.php, Index.template.php and index.php, those files are modified by the mod.

If you have files in the root folder named  index.bak, load.bak and index.template.bak, those are YOUR original files and could just be renamed to php and put in again:

- load.bak => rename to Load.php - put in Sources folder
- index.bak => rename to index.php - put in forum root folder
- index.template.bak => rename to index.template.php - put in themes/default folder.

I will check into why it wont un-install properly.

Great, now my forums are F**KED UP!

www.closecombatsquad.com

-Dan The Man

Its BETA.  Never use it on a real site unless your not worried about fuk ups.  Bloc is doing a great job! Thanks man for this option. I myself am still in the hunt for a portal to fit all my needs. thanks again!
Title: Re: TinyPortal
Post by: Midgard on February 14, 2005, 06:22:10 AM
Turkish Translations:

TPortal.english.php:
Code: [Select]
<?php
// Version: 1.0 ; TPortal

$txt[&#39;tp-by&#39;] = &#39;by&#39;;
$txt[&#39;tp-readmore&#39;] = &#39;Devamı...&#39;;
$txt[&#39;tp-comments&#39;] = &#39;Yorumlar&#39;;
$txt[&#39;tp-nonews&#39;] = &#39;Yeni haber yok&#39;;
$txt[&#39;tp-changetheme&#39;] = &#39;Değiştir&#39;;

?>


TPortalAdmin.english.php:
Code: [Select]
<?php
// Version: 1.0 ; TPortalAdmin

$txt[&#39;tp-by&#39;] = &#39;Gönderen&#39;;
$txt[&#39;tp-adminonly&#39;] = &#39;Bu bölüme erisiminiz yok. Sadece yöneticiler bu bölüme girebilir.&#39;;
$txt[&#39;tp-generalsettings&#39;] = &#39;Genel Ayarlar&#39;;
$txt[&#39;tp-shoutboxsettings&#39;] = &#39;Ses Kutuus&#39;;
$txt[&#39;tp-shoutboxheight&#39;] = &#39;Ses kutusunun genisligi&#39;;
$txt[&#39;tp-shoutboxlimit&#39;] = &#39;Ses kutusunun limiti:&#39;;
$txt[&#39;tp-settings&#39;] = &#39;Ayarlar&#39;;
$txt[&#39;tp-editblocks&#39;] = &#39;Bloklari Düzenle&#39;;
$txt[&#39;tp-editarticles&#39;] = &#39;Maddeleri Düzenle&#39;;
$txt[&#39;tp-editshoutbox&#39;] = &#39;Ses Kutusunu Düzenle&#39;;
$txt[&#39;tp-shoutboxitems&#39;] = &#39;Son gönderileni sil/düzenle:&#39;;
$txt[&#39;tp-fixedwidth&#39;] = &#39;Genisligi ayarla&#39;;
$txt[&#39;tp-fixedwidth2&#39;] = &#39;( piksel olarak - 100% icin width 0 for olmali )&#39;;

?>

Title: Re: TinyPortal
Post by: bloc on February 14, 2005, 06:45:07 AM
Thanks, ******..I may need more translations for the next release. :) Not all strings were translated, just some to get the system started.
Title: Re: TinyPortal
Post by: TarantinoArchives on February 14, 2005, 12:13:07 PM
this mod looks very nice. i think it has the potential to become one of THE smf-powered CMS/portal systems out there.  my suggestion would be the integration of a wide range of already great other mods into this.... just a thought.

keep up the great work
Title: Re: TinyPortal
Post by: bloc on February 14, 2005, 01:17:15 PM
Thanks. :)
Title: Re: TinyPortal
Post by: sportman3333333 on February 14, 2005, 05:08:37 PM
i have 2 errors

8: Undefined index: mystart
File: /home/sportman/public_html/smf/Themes/default/TPortalBlocks.template.php (eval?)
Line: 15
8: Undefined index: mystart
File: /home/sportman/public_html/smf/Themes/default/TPortalBlocks.template.php (eval?)
Line: 62

These errors are filling up my error log. Can you fix them or should i just reinstall it
Title: Re: TinyPortal
Post by: bloc on February 14, 2005, 05:44:23 PM
They should not appear in the latest files..so yes, try to re-install. Just overwrite with the php files from the archive .
Title: Re: TinyPortal
Post by: Anguz on February 14, 2005, 07:49:36 PM
Yo, Bloc.

I gave a quick look at one of the files, TPortalBlocks.template.php, and found something that could be optimized a bit. I didn't check the other functions, but will later if you want.

It's about the TPortal_leftbar() and TPortal_rightbar() functions. They are the same, except for the side, so I put them together in one. Just specify left/right in the call.

I didn't test it, though, so I leave that to you. HIH.

Code: [Select]
// TPortal side bar, left or right.
function TPortal_sideBar($side)
{
global $context;

foreach ($context['TPortal'][$side . 'block']['blocks'] as $block)
{
$theme = $block['frame'] == 'theme';
echo '<div', ($theme ? ' class="tborder"' : ''), ' style="margin-bottom: 5px;">';
if ($theme || $block['frame'] == 'title')
echo '<div class="titlebg" style="padding: 4px; font-weight: bold;">', $block['title'], '</div>';
echo '<div', ($theme ? ' class="windowbg"' : ''), ' style="padding: 4px;">';

$func = 'TPortal_' . $block['type'];
if (function_exists($func))
$func();
else
echo doUBBC($block['body']);

echo '</div></div>';
}
}
Title: Re: TinyPortal
Post by: bloc on February 14, 2005, 08:30:21 PM
Thanks. :) That is one of the things I meant with optimizing..I will test it and use it.
Title: Re: TinyPortal
Post by: sportman3333333 on February 15, 2005, 02:57:51 PM
thanks, i reinstalled it under 1.0.2 and it works fine
Title: Re: TinyPortal
Post by: Anguz on February 15, 2005, 09:44:02 PM
Bloc, I changed the foreach with a for, since it will probably be a tiny bit faster, so why not? :P

Code: [Select]
// TPortal side bar, left or right.
function TPortal_sideBar($side)
{
global $context;

for ($i = 0, $n = count($context['TPortal'][$side . 'block']['blocks']); $i < $n; $i += 1)
{
$block =& $context['TPortal'][$side . 'block']['blocks'][$i];
$theme = $block['frame'] == 'theme';

echo '<div', ($theme ? ' class="tborder"' : ''), ' style="margin-bottom: 5px;">';
if ($theme || $block['frame'] == 'title')
echo '<div class="titlebg" style="padding: 4px; font-weight: bold;">', $block['title'], '</div>';
echo '<div', ($theme ? ' class="windowbg"' : ''), ' style="padding: 4px;">';

$func = 'TPortal_' . $block['type'];
if (function_exists($func))
$func();
else
echo doUBBC($block['body']);

echo '</div></div>';
}
}

BTW, did it work? :)
Title: Re: TinyPortal
Post by: Midgard on February 16, 2005, 03:13:05 AM
Yeah worked it.
Title: Re: TinyPortal
Post by: bloc on February 16, 2005, 04:03:39 AM
Yes, worked like a charm. :)
Title: Re: TinyPortal
Post by: Midgard on February 16, 2005, 04:06:14 AM
Bloc I LOVE YOU! :) :) :D :D :D ;)

This mod excellent/super/great/amazing and more

Thank you very very much
Title: Re: TinyPortal
Post by: Anguz on February 16, 2005, 04:23:48 AM
Yes, worked like a charm. :)

I'm glad. :D
Title: Re: TinyPortal
Post by: NightOwl on February 16, 2005, 04:48:01 AM
Hi Bloc,

I've been using your nice work (Helio theme, with some minor modifications) as the main theme. Seems, there are problems with it working with TinyPortal. It will much appreciated if you can give me a step by step installation guide with both the theme and TPt.

Thanks alots.

minor modifications:

Title: Re: TinyPortal
Post by: bloc on February 16, 2005, 05:53:08 AM
The chat mod...i could help with that, but direct support for it in TinyPortal is not currently planned. As for blocking news from guests I am not sure if it already is supported in SMF? Have to check that.
Title: Re: TinyPortal
Post by: bloc on February 16, 2005, 06:19:02 AM
Yes, worked like a charm. :)

I'm glad. :D

Like the coding style there too. :) Shows I have a lot to learn yet. But slowly getting there.. ;D
Title: Re: TinyPortal
Post by: NightOwl on February 16, 2005, 08:06:35 AM
As for blocking news from guests I am not sure if it already is supported in SMF? Have to check that.

Block guest viewing news can be done with the red code added in template:

if (!empty($settings['enable_news']) && ($context['user']['is_logged']))
               echo '<td width="55%" style="padding-right: 10px;" width="50%" align="left" valign="bottom">'. $topbox.'<div style="padding: 6px; text-align: center;">'.$context['random_news_line'].'</div>'.$botbox.'</td>';

I've have edit things manually cause my site is member-based, something like game clans site. So we don't want our enemies know what we are doing in the News.

The chatroom indicator are also modified with the above blocking solution too. Since the TinyPortal will have full control of the template, I think that will be trouble for my admins to do alternations  afterwards. Since I have to make blocks viewable for login user only.
Title: Re: TinyPortal
Post by: Adrian Malacoda on February 16, 2005, 10:34:22 AM
I enjoy using the TinyPortal mod, but I found something that might be wrong: When I use Internet Explorer to add or edit articles the article ALWAYS reads 'Type content here' or whatever. I think it might be a problem with the Aplos editor.

Second, whenever I create an article which uses an intro, clicking 'Read more' on the article page won't display the rest of the article.

But really, I like the mod. Keep up teh good work!
Title: Re: TinyPortal
Post by: bloc on February 16, 2005, 02:30:49 PM
Yes, the "readmore" bug I am aware of. It will be gone in the next release. As for IE doing something wrong, I have to check further. I might add option of just using BBC or html in a normal textbox too, in case AplosRTE does not work properly.
Title: Re: TinyPortal
Post by: azuregenesis on February 17, 2005, 03:16:57 AM
hey bloc,

i just wanted to know how to integrate this with your "themis" theme. i would love for this to be in the sidebar instead of a front page :)

thanks :)
Title: Re: TinyPortal
Post by: bloc on February 17, 2005, 03:56:55 AM
I will shortly post both Themis and other of my themes converted for use in this portal.

It will however be with a frontpage, since that is essentially what this mod is about. ;) If there are more people wanting that option, I might do it, but right now I hesitate to just put it in.
Title: Re: TinyPortal
Post by: Tanks on February 17, 2005, 03:59:00 AM
It will need an unmodified index.template file.

I get the same error. If i install a unmodified index.template will my other installed mods stop working ??

I really want this mod, but im so scared my board will stop working  :o

my board is on www.greatwildlands.com

These are the mods i have on my forum:

Actions in Profile Display   
Banner Manager   
Location Mod - Who Flags   
Location Mod   
G&S_Sticky   
Location Mod - Additional Maps   
Integrated Chat   Message
Icon Manager   
OnLine Users Today   
Lots_o_Smileys   
Regular Groups   
SMF 1.0.1 Update Package   
TinyPortal <-- not installed, only uploaded

BTW: i only have the default theme installed.  :D

Title: Re: TinyPortal
Post by: Tanks on February 17, 2005, 09:33:23 AM
Well i finally got this mod installed.  :D Everything is running smoothly, but my banners are gone. Any idea how to fix this ??  ::)
Title: Re: TinyPortal
Post by: cx_one on February 17, 2005, 05:54:01 PM
First I thank you for the mod, I'm loving it.

I think I found a way to make the mod faster.
There are a lot of   IF ..... ELSEIF ..... ELSE in the source.
I started to replace this with SWITCH - CASE.

If you want, I can send you the modified source when I've completed it.

Greets cx_one

Title: Re: TinyPortal
Post by: bloc on February 17, 2005, 06:47:39 PM
Yes, you could send that when you are done if you like. I need to examine it first before possibly using it.
Title: Re: TinyPortal
Post by: Midgard on February 18, 2005, 04:43:03 AM
Need a banner block for my banner mod. For Powered-Banners
Title: Re: TinyPortal
Post by: bloc on February 18, 2005, 06:25:25 AM
I will add a blocktype that can do php...but I won't set up built-in block for just that.
Title: Re: TinyPortal
Post by: bloc on February 18, 2005, 06:26:51 AM
Well i finally got this mod installed. :D Everything is running smoothly, but my banners are gone. Any idea how to fix this ?? ::)

It depends on how the banners were inserted in the code in the first place....was it manually..or through a option of a theme/mod?
Title: Re: TinyPortal
Post by: Tanks on February 18, 2005, 07:16:50 AM
Well i finally got this mod installed. :D Everything is running smoothly, but my banners are gone. Any idea how to fix this ?? ::)

It depends on how the banners were inserted in the code in the first place....was it manually..or through a option of a theme/mod?

I used the banner-mod, should i uninstall the banner mod, and then install it again to add all the banners ??
Title: Re: TinyPortal
Post by: bloc on February 18, 2005, 07:45:41 AM
No, don't uninstall it...but you need to trace back what was done in index.template.php and just apply the same again. I will have a quick look at what this mod does.
Title: Re: TinyPortal
Post by: bloc on February 18, 2005, 07:55:06 AM
ok, after looking at that, you need to check whether these 2 lines are present in index.template.php file:

- showBanner($zone = 'top');
- showBanner($zone = 'bottom');

If they are not....

Look at the mod and see what it does:
Code: [Select]
<edit file>
$themedir/index.template.php
</edit file>

<search for>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
}
</search for>

<replace>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
showBanner($zone = 'top');
}
</replace>

<search for>
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
</search for>

<replace>
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;

showBanner($zone = 'bottom');
</replace>

Search for the code blocks and then insert those mod-banner lines. Then it should work, because the mod does not modify anything that Tinyportal touches.
Title: Re: TinyPortal
Post by: kerux4 on February 18, 2005, 10:55:53 AM
ok, when I try to install this, I get the following

2: copy(index.php~): failed to open stream: Permission denied

How do i fix this??
Title: Re: TinyPortal
Post by: kerux4 on February 18, 2005, 11:02:46 AM
ok, now I am getting this

Table 'htfeozng_smf1.tportal_settings' doesn't exist
File: /home/htfeozng/public_html/forum1/Sources/TPortal.php
Line: 40
Title: Re: TinyPortal
Post by: bloc on February 18, 2005, 11:17:42 AM
ok, when I try to install this, I get the following

2: copy(index.php~): failed to open stream: Permission denied

How do i fix this??
ok, now I am getting this

Table 'htfeozng_smf1.tportal_settings' doesn't exist
File: /home/htfeozng/public_html/forum1/Sources/TPortal.php
Line: 40
You are using a bit older version of it. Please use the latest archive, that don't create these errors. Also note that it IS beta still, so please do not use it without at least testing it locally - or with a non-important website.

Things WILL change, although I aim to preserve most of what is already done. 
Title: Re: TinyPortal
Post by: kerux4 on February 18, 2005, 01:46:04 PM
Well, I did the smart thing and got my host to install it for me. I must say it is pretty cool.
Title: Re: TinyPortal
Post by: Azraeliitti on February 18, 2005, 02:36:37 PM
I have tested it for three days and noticed the following flaws and bugs:

More to come... :P
Title: Re: TinyPortal
Post by: bloc on February 18, 2005, 06:40:42 PM
I have tested it for three days and noticed the following flaws and bugs:
  • If you have articles divided for multiple pages, only the articles in the first page show up
  • Writer of the article won't show up
  • If you add tables with WYSIWYG- editor in HTML mode, it won't show them up right
  • Also, if you copy+paste the code to WYSIWYG- editor in HTML mode, the code rarely works right.
  • You should be able to set permissions who can add articles and stuff.
  • Read more- links don't work, so intro- option is useless for now.
  • If you set permissions for table for some membergroups, they still show up for everyone...
  • ...and they show up to the membergroups allowed to view it at least twice.

More to come... :P

Thanks for the feedback. :)

Most of the problems I am aware of and are working on. The ones with tables I have to check, but it most likely is something with the WYSIWYG editor. As for adding support for writer and who can see/write it is planned in the next beta.
Title: Re: TinyPortal
Post by: NightOwl on February 19, 2005, 05:15:44 AM
Most of the problems I am aware of and are working on. The ones with tables I have to check, but it most likely is something with the WYSIWYG editor. As for adding support for writer and who can see/write it is planned in the next beta.

Glad to hear that. Cause I'm also waiting for the viewing permission of blocks too.
Title: Re: TinyPortal
Post by: Tanks on February 19, 2005, 06:39:26 AM
My banners are working again :-) Thanks Bloc
Title: Re: TinyPortal
Post by: maufonseca on February 19, 2005, 10:08:37 AM
You will make a blank page creator right?
Title: Re: TinyPortal
Post by: bloc on February 19, 2005, 01:05:33 PM
A single page on frontpage you mean? If so, yes.
Title: Re: TinyPortal
Post by: _complex on February 19, 2005, 01:53:39 PM
Dont know if i thanked u yet.. but thx for this.. nice mod..
Title: Re: TinyPortal
Post by: thefool1972 on February 21, 2005, 07:42:26 AM
Hullo,

Was just curious, what would it take to have an option in an article to make it stay at the top?  While I can just date it way ahead, this is only a workaround.

Also, allowing sticky posts to stay at the top of the news would be good too.

Thanks,
John Bowden 
Title: Re: TinyPortal
Post by: bloc on February 21, 2005, 07:53:32 AM
You can already make an article "on top " regardless of date - just use the option of  "set as featured". It will then come on top of the first page.

Sticky posts from the news on top too..? Not planned , but I can check how difficult it might be. The news from forum is taken from the SSI.php function, so if that don't collect information about stickiness, it would mean another call to the database just for that then...but I will check further first.
Title: Re: TinyPortal
Post by: thefool1972 on February 21, 2005, 02:12:33 PM
Oh good!  When I didn't see it as a checkbox in the message creation, I didn't notice it...

Thanks!
Title: Re: TinyPortal
Post by: mennou on February 22, 2005, 12:26:27 PM
How can i make the portal work with these themes?
Theme Settings
SMF Default Theme 
Classic YaBB SE Theme   
theme1   
MidLand   
MidMetal   
MidBlue   
xtSMF Theme!   
Iblues Theme   
Hotmail Theme   
red   
Loon Theme - Blue   
MidOrange   
XP Theme!   
curveSMF   
TechHead   
amdred01-rc111   
amdgreen01-rc111   
amdgreen01-english-buttons11   
Season Theme - Autumn dark   
Season Theme - Winter light   
hendrix-exp-v103   
woodland10   
Apollo   
Mercury   
Themis   
Juno   
SMF Black Theme   
Chat Bubbles2
Title: Re: TinyPortal
Post by: 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. 
Title: Re: TinyPortal
Post by: riekl on February 22, 2005, 01:48:58 PM
I love this mod .. 2 questions ..

#1) The front page has the no articles thing .. however .. in the tpadmin i have it set to show the posts from my announcements forum .. yet nothing i post in the announcements forum appears on this front page ??

#2) On your site you have a block showing the most recent threads .. i desperatly need that :)  have code for that ?
Title: Re: TinyPortal
Post by: peterstannard on February 22, 2005, 02:38:31 PM
I love this mod .. 2 questions ..

#1) The front page has the no articles thing .. however .. in the tpadmin i have it set to show the posts from my announcements forum .. yet nothing i post in the announcements forum appears on this front page ??

#2) On your site you have a block showing the most recent threads .. i desperatly need that :)  have code for that ?

1) maybe you have turned it off?

2) use ssi (www.yourforums.com/forum/ssi_examples.php
Title: Re: TinyPortal
Post by: riekl on February 22, 2005, 03:08:50 PM
#1)

Found out the problem .. apparently the forum you use must be open to GUEST for the tinyportal to read it ? :(

#2)

Thanks for the link .. i'm still clueless about how to actually use this i'm not a web designer ..
Title: Re: TinyPortal
Post by: verbam on February 22, 2005, 04:20:45 PM
I have the same problem, you can NOT see any topic in TPortal UNLESS you give to guests permission to see THE TOPICS BUT...

Configure it like this:

Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = NO
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = YES


Gives the result that your MEMBERS will see the Topics in TPortal (but you have to login to see something)

(Temporary you can use these settings ???)

Title: Re: TinyPortal
Post by: bloc on February 22, 2005, 04:49:13 PM
Of course guest can't see the topics if you don't allow guest to see them inside the forum! It would be not very logical to show them on portal's frontpage - and then not show them once in.

This is the beauty of SSI.php, which the portal use for getting the news in the first palce - it takes into account what forums members/non-members actually can see. ;)
Title: Re: TinyPortal
Post by: bloc on February 22, 2005, 04:54:53 PM
I love this mod .. 2 questions ..

#1) The front page has the no articles thing .. however .. in the tpadmin i have it set to show the posts from my announcements forum .. yet nothing i post in the announcements forum appears on this front page ??

#2) On your site you have a block showing the most recent threads .. i desperatly need that :) have code for that ?

1. As others have said, check that all members/non-members actually can see them through the forum.

2. The recent topics block on BlocZone is indeed using SSI.php, and that block will be built-in upon the next beta release.
Title: Re: TinyPortal
Post by: mennou on February 22, 2005, 05:52:45 PM
it'd  be nice  of you ....most of the mods  only works with the default  smf theme.. it'd be nice if  u can help me out..


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. 
Title: Re: TinyPortal
Post by: riekl on February 22, 2005, 06:12:45 PM
Bloc,

There is a problem with this :)  Every other portal I have seen uses the USERS permissions to access those threads not guest.  With your portal unless i give guest access to the forum, no one, not even administrators see anything at all on the front page.

Can't you make the portal use the users permissions so that if a guest is on sure they see a blank page, but if a user with access is logged on they see the threads .. thats how i've always seen it done ?
Title: Re: TinyPortal
Post by: bloc on February 22, 2005, 07:48:45 PM
hm..I just noticed this too..I have to get back to you when I have found out what it can be.
Title: Re: TinyPortal
Post by: bloc on February 22, 2005, 08:16:44 PM
Ok, I have looked at the way SSi.php does things - which the boardnews use - and it seems that it just checks if the board is allowed for guests. If not, it don't show anything.

I may have to supply a slightly modified function instead of the SSi.php one, which I was hoping to avoid. But current behavior is not what I want, the guest may not see anything, but members should. If the board are just allowed for certain membergroups, that too should be reflected.
Title: Re: TinyPortal
Post by: verbam on February 23, 2005, 05:04:32 AM
Would it be in the next upgrade from TPortal ?

This was the reason why i configured my board as discribed before:

Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = NO
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = YES

In this way my MEMBERS can see the topics in the PORTAL and not the guest.
The only negative thing about this, is that you HAVE to login to see something from the board.

In NORMAL situation it has to be:
Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = YES
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = NO

Then guest can see the PORTAL & his news.

CU
Title: Re: TinyPortal
Post by: bloc on February 23, 2005, 05:40:54 AM
Yes, this is important, so I will try have this working for the next release.
Title: Re: TinyPortal
Post by: mennou on February 23, 2005, 02:44:04 PM
 8)  can you  add a small  poll (voting) on the next version??
Title: Re: TinyPortal
Post by: bloc on February 23, 2005, 05:25:05 PM
One from the forum you mean?
Title: Re: TinyPortal
Post by: mennou on February 23, 2005, 06:46:08 PM
yeah but it has to be on ur portal..    here's an example http://mkportal.it/   roll  down  u will see the poll.. it'd be awsome.
Title: Re: TinyPortal
Post by: wise on February 24, 2005, 06:33:45 AM
just installed the portal. It's adjusted my frontpage - but I dont see any tpadmin settings at all?? How do I edit the portal??!!
Title: Re: TinyPortal
Post by: NightOwl on February 24, 2005, 07:52:16 AM
8)  can you  add a small  poll (voting) on the next version??

Once the blocks can runs php inside, You can put anything to it.
Title: Re: TinyPortal
Post by: Adrian Malacoda on February 24, 2005, 10:59:20 PM
Well I've fixed the 'read more' bug, you just have to change the PHP a little bit:

This was a modification I made to the TPortal.template.php file in my theme directory.
Quote
                    // if featured..do something to the subject?

                    echo '</div><div style="padding: 8px; padding-top: 0px;" class="windowbg2"><div style="padding-bottom: 4px; vertical-align: bottom;" class="smalltext" style="color: #0000f0;"> '.$news['time'].' '.$txt['tp-by'].' <b>
                                                  <a href="'.$news['poster']['href'].'">'.$news['poster']['name'].'</a></b></div>';
         if(isset($_GET['page']))
         {
            $news['link'] = 0;
         }

                  if($news['icon']!='noicon'){
                              echo '<span class="normaltext">'.$news['body'].'</span>';
NOTE: The boldface text is my addition. The rest are already in the PHP file.
Title: Re: TinyPortal
Post by: bloc on February 25, 2005, 04:34:59 AM
Thanks, but I have already re-written that whole block of code somewhat, to make it work like intended. The fetching/checking of $_GET values is done in the Sources/TPortal.php, not in the template - as it should.
Title: Re: TinyPortal
Post by: webhigh on February 25, 2005, 06:48:27 AM
Just wanted to chime in and say that because of your Tiny Portal I am again attempting to switch from phpBB to SMF. Still don't like the way permissions are set (way too confusing - spent almost 6 hours yesterday getting them to work the way I need) but the TP allows me to do things I need with customers of our reseller - most noteably show ads for the vendors just to their clients.

So thanks for a great job well done on this mod - when do you plan a update release ? And does anyone know where to get a copy of the classic yaBBse(?)  theme that works the link on the authors site does not work.

Thanks again
Title: Re: TinyPortal
Post by: bloc on February 25, 2005, 06:58:06 AM
Thank you. I hopefully will update it within the next days.
Title: Re: TinyPortal
Post by: mennou on February 25, 2005, 07:48:10 PM
bloc beside the portal mod what other mods you have ??
Title: Re: TinyPortal
Post by: bloc on February 25, 2005, 08:04:17 PM
None. I mainly do themes. ;D
Title: Re: TinyPortal
Post by: mennou on February 25, 2005, 08:10:03 PM
so what u plan to add on the next version??
Title: Re: TinyPortal
Post by: verbam on February 26, 2005, 06:13:09 AM
I am here again, but maybe it is important to know.
Conserning:
Quote
Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = NO
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = YES

In this way my MEMBERS can see the topics in the PORTAL and not the guest.
The only negative thing about this, is that you HAVE to login to see something from the board.

In NORMAL situation it has to be:
Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = YES
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = NO

There is some future in SMF, where it goes wrong, i mean next:

1) give guest permission to see some topics
2) in this topics i have add an attached document
3) give the guest NO permission to download these attached document

if you go to my site everything is going ok, means you can actualy see the topics as guest (& pitty: also the attached document).
if i click (as guest) on the attached item, SMF ask you to login and login and login and ........

for this reason i have uninstall temporary the TPortal and the results seems to be the same.

as long this error will be there (i have send allready a note to SMF) the portal can NOT react on a proper way.

Note:
Many people are thinking: why let them see the topics & not the attached documents?
1) because SMF haves this settings to do it
2) because the topic contains explanation about the document who is attached

I hope i am not disturbing you too much with this kind off info.
(sorry for my bad english)
CU
Title: Re: TinyPortal
Post by: bloc on February 26, 2005, 06:25:18 AM
No, its great you share this. I have not been able to look at this problem yet - just on my "bug"- list , so if it is a issue with SMF, it will of course be present in TinyPortal too...

Let me know what you find out eventually - if you have the time. :)
Title: Re: TinyPortal
Post by: verbam on February 26, 2005, 08:20:29 AM
Thanks!  :)

I have taking some time to make a PDF document with the settings and results off these.
Let's hope you will get something out off it.

Here is the document: http://verbam.sytes.net/xtra/SMC_ERROR_20050226.pdf

Little correction from the document: My opinion: "It goes wrong there where SMF shows the attachment !"

Let me know something!

CU
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fverbam.sytes.net%2Fxtra%2Fhappy.gif&hash=885ab6b24b288fca02ce7f5e6ef96bc4)
Title: Re: TinyPortal
Post by: bloc on February 26, 2005, 09:18:26 AM
ah..I understand some more now...the behaviour of returning to the frontpage is default in SMF. As TinyPortal patches the index.php to go to TP frontpage instead, it will naturally go there of course. If TP is not installed it would just go to the boardindex.

I think [Unknown] has written something about why it is like that. If I remember correctly it was more problems with it staying at the page, than just returning to index.php.
Title: Re: TinyPortal
Post by: verbam on February 26, 2005, 12:32:46 PM
Yes, BUT

The thing what i try to tell, exept it goes wrong at the portal, the greatest error comes from SMF.
SMF shows the download links in the forum to GUESTS !
example how it goes wright:    index.php?action=recent   gives the correct pages (without the download link)

Maybe SMF can considder to check this.

Thanks for all your replies !!!!
Title: Re: TinyPortal
Post by: [Unknown] on February 26, 2005, 05:17:02 PM
Obviously the cookie isn't setting properly, or you have cookies disabled and the session isn't carrying through.

It is meant to show attachments to guests, but not allow them to download them.  This is as intended.

-[Unknown]
Title: Re: TinyPortal
Post by: verbam on February 27, 2005, 11:59:30 AM
Code: [Select]
It is meant to show attachments to guests, but not allow them to download them.  This is as intended.
No ! Do NOT showing the attachents at all to the guest (like it is in your recent.php) !
But the forum SHOWS the attachment, while mmy settings are DON'T show it !!!

CU
Title: Re: TinyPortal
Post by: bloc on February 27, 2005, 12:04:24 PM
I think that could be done by just modifying the Display.tempalte a bit. You essentially dont want to show anything about whether there is an attachment or not to guests?

I guess - not having looked at it - it could be put behind a check to see if the user is a member or not.
Title: Re: TinyPortal
Post by: Tanks on March 03, 2005, 03:22:01 PM
Hey Bloc

'Whats the status on version 0.5 ??

I feel like a little kid waiting for christmas  :P

The things i really need so badly to work is:

Permissions and the new posts shown on frontpage.

again i must thank you for this portal, its very great software :-)

Title: Re: TinyPortal
Post by: nanoarray on March 04, 2005, 01:02:13 AM
Thanks, Bloc, for re-directing me here.  I had difficulty finding this thread.  Anyway, I post my question again here:

I notice that after I close the right and left side boxes, they reappear if I click any link.  Is there a way to close the side box permanently when users close them the first time?  It may become annoying for users to close them every time after they click a link.  Any suggestion?
Title: Re: TinyPortal
Post by: bloc on March 04, 2005, 03:23:50 AM
:) They should do that already...but only if you are a member. As a guest they will not remember what they were.
Title: Re: TinyPortal
Post by: _complex on March 05, 2005, 12:39:15 AM
Should I install this version. Or wait for V5 as someone said in this thread earlier... what's the progress of that version.

Or should i just gone ahead and install this version???.. thanks..

complex
Title: Re: TinyPortal
Post by: bloc on March 05, 2005, 02:54:29 AM
I am getting near finishing v0.5beta so you could wait for that. Its going to work fine upgrading from 0.4 though - you could try it if you want.
Title: Re: TinyPortal
Post by: nanoarray on March 05, 2005, 05:06:13 AM
Is there a way to set my forum so that users can choose a language between English and French?
Title: Re: TinyPortal
Post by: fittizle on March 05, 2005, 05:31:45 AM
just installed the portal. It's adjusted my frontpage - but I dont see any tpadmin settings at all?? How do I edit the portal??!!

I was wondering the same exact thing.
Title: Re: TinyPortal
Post by: bloc on March 05, 2005, 06:52:44 AM
Is there a way to set my forum so that users can choose a language between English and French?
If you mean the whole forum, not just TinyPortal - you need to download french langauge pack, install it into default themes languages folder, and finally choose french in admin section(it will show up when you ahve uploaded it.)

Now - Tinyportal use the same system, but I haven't translated it to french, so you need to copy the TPxxxx.english.php and rename them to TPxxxx.french.php. If you then look into them the texts can be translated.

Currently its not many texts that are not hard-coded, but in future releases this will change.
Title: Re: TinyPortal
Post by: bloc on March 05, 2005, 07:26:27 AM
just installed the portal. It's adjusted my frontpage - but I dont see any tpadmin settings at all?? How do I edit the portal??!!

I was wondering the same exact thing.

Check if this is correct:

1. You are using the default theme, or a converted theme to show the blocks and the extra buttons ( forum and tpadmin)

2. If you are not , you can still access:
Tinyportal admin : index.php?action=tpadmin
Forum frontpage: index.php?action=forum

But I would suggest converting your preferred theme or using a already converted one.
Title: Re: TinyPortal
Post by: nanoarray on March 05, 2005, 02:01:32 PM
I want to put underline in page index links.  How do I do that?  If I change stylesheet, it will change the whole forum, but I just want to underline the page index.
Title: Re: TinyPortal
Post by: bloc on March 05, 2005, 02:31:21 PM
You need to open TPortal.template.php and find this code:
Code: [Select]
            // show number of pages, don't show 0 pages
            if($pages>0){
              echo '<div style="padding: 5px; text-align: right; padding-right: 50px;">  ';
              echo '<b>Pages</b>: ';
              for($t=0 ; $t<=$pages ; $t++){
                     $s=$t+1;
                     if($t==$whichpage){
                       echo ' <b>['.$s.']</b> ';
                     }
                     else{
                       $what=floor(($t*$context['TPortal']['frontpage_limit']));
                       if($what<0)
                          $what=0;
                       echo ' <a href="' . $scripturl . '?tpstart='. $what .'', (isset($context['TPortal']['mycat']) && $context['TPortal']['mycat']!='') ? ';cat='.$context['TPortal']['mycat'] : '' ,'" /><b>'.$s.'</b></a> ';
                     }
               }
               echo '</div>';
            }
         }

Now, for you to change the "pages" style, I suggest adding a new style to <a href="' . $scripturl . '?tpstart.... like this:
<a style="pagenav" href="' . $scripturl . '?tpstart......

Then in style.css you define that style like :

.pagenav, .pagenav:link, .pagenav:visited
{
        text-decoration: underline;
}

a.pagenav:hover
{
        color: #cc3333;
}
 
Title: Re: TinyPortal
Post by: fittizle on March 05, 2005, 04:12:46 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.

Code: [Select]
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.
Title: Re: TinyPortal
Post by: nanoarray on March 05, 2005, 04:40:54 PM
Thanks.  It's a good try, but it doesn't work.  I notice that in MessageIndex.template.php, there is a variable called  $context['page_index'].  It's at the very last line.  Which file contains the definition of that variable?


Code: [Select]
// Finish off the form - again, if Quick Moderation is being done with checkboxes. (1)
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics']))
echo '
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
</form>';

echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="margin-top: 1ex;">
<tr>
<td align="left" class="catbg" width="100%">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td nowrap="nowrap" style="font-size: smaller;">
                            <a name="bot"></a><b>', $txt[139], ':</b> ', $context['page_index'], $modSettings['topbottomEnable'] ? $context['menu_separator'] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_up.gif" alt="' . $txt['topbottom4'] . '" border="0" align="top" />' : $txt['topbottom4']) . '</a>' : '', '
Title: Re: TinyPortal
Post by: bloc on March 05, 2005, 05:24:47 PM
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.
Title: Re: TinyPortal
Post by: bloc on March 05, 2005, 05:26:32 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.

Code: [Select]
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.
Title: Re: TinyPortal
Post by: 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.
Title: Re: TinyPortal
Post by: 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 ;)
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 05:11:00 AM
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?
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 05:14:51 AM
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.
Title: Re: TinyPortal
Post by: Col on March 09, 2005, 05:57:27 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. :(
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 07:01:21 AM
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.
Title: Re: TinyPortal
Post by: sh33zo on March 09, 2005, 10:14:03 AM
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?
Title: Re: TinyPortal
Post by: Col on March 09, 2005, 11:35:07 AM
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.
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 11:37:18 AM
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.
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 11:44:02 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.
Title: Re: TinyPortal
Post by: Col on March 09, 2005, 12:36:23 PM
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.
Title: Re: TinyPortal
Post by: Col on March 09, 2005, 04:46:11 PM
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.
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 05:22:18 PM
It should work. But probably the installing and un-installing of two mods made it break.
Title: Re: TinyPortal
Post by: Kindred on March 09, 2005, 05:28:00 PM
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.
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 05:52:14 PM
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.
Title: Re: TinyPortal
Post by: Col on March 09, 2005, 06:00:19 PM
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?
Title: Re: TinyPortal
Post by: bloc on March 09, 2005, 07:12:24 PM
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.
Title: Re: TinyPortal
Post by: Col on March 09, 2005, 08:51:16 PM
....I mean reverse to my install, so last mod in, first mod out!
Title: Re: TinyPortal
Post by: jorgewolf on March 10, 2005, 06:54:10 AM
Hi all:

Thanks a lot to BLOC for his work.
I have been all the mornig watching this thread trying to find any help...

I want to put a shoutbox in my forum, and the one included in TINY PORTAL seems to be easy and usefull.

is there any posibility to instal only than shoutbox form the tiny portal mod?
2nd choice... in there any shoutbox mod working on a 1.02 release.
3rd choice... suicide... I think i can find a solution before that... LOL

thanks all and sorry for my english
Title: Re: TinyPortal
Post by: Col on March 10, 2005, 07:35:22 AM
Have you read this thread: http://www.simplemachines.org/community/index.php?topic=8415.0

I believe the above works with 1.0.2, it's what I've been trying. I'm still unsure of the cause of my problems. - Indeed, it's possible the error was mine somewhere. The proper shoutbox should offer far more control than the one with TinyPortal. If you only want the shoutbox, and not the whole portal, I'd say try the shoutbox above.
Title: Re: TinyPortal
Post by: jorgewolf on March 10, 2005, 07:47:49 AM
Yes, i have tried that , but it seems not to work with the 1.0.2 version because it looks for tables that doesnt exists on the new version.

Pacol is helping me on it and he couldnt install it, if he can´t, i think its impossible, jajajjajjajaj

Isn´t any other mod os shoutbox????? working on a 1.0.2 version?

thanks...+

pdt: if it doesnt work finally, i would have to install the fantastic tiny portal, but only needing the shout box it semms to be too much space for my web
Title: Re: TinyPortal
Post by: Col on March 10, 2005, 09:17:08 AM
Jorge,

You need to add the following in your template somewhere:

Code: [Select]
', smfshout(), '
I don't know how to do this myself, and I suppose it will depend on what you want. You'll have to look through the thread like me! ;)
Title: Re: TinyPortal
Post by: Retell on March 10, 2005, 09:29:48 AM
Hey bloc, When can we expect 0.5B?  :P
Title: Re: TinyPortal
Post by: bloc on March 10, 2005, 09:45:54 AM
On its way.
Title: Re: TinyPortal
Post by: Retell on March 10, 2005, 09:50:06 AM
YAY!!!!!! ;D


Retell ;)
Title: Re: TinyPortal
Post by: sh33zo on March 11, 2005, 04:16:55 PM
I have a couple more suggestions to improve this mod.

1- I need to give access to some of my members to add articles.

2- It would be nice if I could move arround the menu links! (Alphabetical order doesnt cut it for me!)

3- Guestbook maybe?

Please le tme know if these would be possible to add.
Thank you,
Sh33zo
Title: Re: TinyPortal
Post by: bloc on March 11, 2005, 05:57:38 PM
1. Submission of articles is planned. Not sure if it will be in this next beta.
2. Menu manager is added to the next beta. You can add, move , delete links to set category, article or just any link.
3. Not currently, but perhaps later on.
Title: Re: TinyPortal
Post by: azuregenesis on March 13, 2005, 05:38:52 AM
installed the TP enhanced version of themis.

crashed my board. lost all member data and everything...

i have to start over now...

later :(
Title: Re: TinyPortal
Post by: bloc on March 13, 2005, 06:41:43 AM
I assume you installed the mod first?
Title: Re: TinyPortal
Post by: bloc on March 13, 2005, 06:49:40 AM
The proper shoutbox should offer far more control than the one with TinyPortal. If you only want the shoutbox, and not the whole portal, I'd say try the shoutbox above.

In fact the shoutbox ( in the upcoming beta) has already most of what "Ultimate shoutbox" have...but of course, if you ONLY need the shoutbox, TP is not the right choice.
Title: Re: TinyPortal
Post by: azuregenesis on March 13, 2005, 07:10:07 AM
I assume you installed the mod first?

acually yeah. but it's fine now. since i had to restart, the themis theme having 3 different color themes gave me some good color ideas :)

no hard feelings XD
Title: Re: TinyPortal
Post by: azuregenesis on March 13, 2005, 09:02:17 AM
oh, and BTW, in your themis_tp theme, how come even though i change the "Show userinfo/news on top" to no, it still shows up. it's non existent in helios and mercury though.

and when i change "What to show on frontpage" to forum only, it still shows the articles page.

just a couple of thoughts.

thanks! :)
Title: Re: TinyPortal
Post by: bloc on March 13, 2005, 12:02:27 PM
Themis is not complete, and the other one is a bug. But I will release the next beta today, so it should be fixed then.
Title: Re: TinyPortal
Post by: azuregenesis on March 13, 2005, 12:14:52 PM
Themis is not complete, and the other one is a bug. But I will release the next beta today, so it should be fixed then.

that's great! :)

and also, (sorry for finding llthese things) the shoutbox names linking to the users porfiles thing (it was on your boards), i did what you said and it still doesn't seem to work. the names in my shoutbox aren't linking to the user's profiles.

and also, one quick thing. on your front page, there's a welcome to bloczone article. and it says ight under the title " Today at 01:40:18 by  Bloc"

my query on that is, on my site (using themis or any other TP enhanced theme) it's just says " Today at 01:40:18 by" no name at the end. is there a way to fix this?

it's only on articles. links to the forum posts that show up on the front page show the complete " Today at 01:40:18 by  Bloc" thing. name and all.

thanks for your time and patience.
Title: Re: TinyPortal
Post by: bloc on March 13, 2005, 01:00:55 PM
That too is fixed..my site runs the latest beta now. ;)
Title: Re: TinyPortal
Post by: azuregenesis on March 13, 2005, 03:10:24 PM
That too is fixed..my site runs the latest beta now. ;)

yay! thanks!

the no name thing has been slightly fixed, it now says "Today at 01:40:18 by Admin" even though my username is NOT admin. but i AM the admin lol. so, slight fix there.

the shoutbox thing, nope. no idea why that's not workin :(
Title: Re: TinyPortal
Post by: Col on March 14, 2005, 03:28:29 PM
I tried this out on the default template, but missed the option of the colapsable header. I know all the info can be displayed in the columns, but I would like the option. So, any chance of a check box for a third middle button for the header?
Title: Re: TinyPortal
Post by: bloc on March 14, 2005, 06:17:25 PM
Not planned right now, but it can be.
Title: Re: TinyPortal
Post by: FuzyTedy on March 14, 2005, 09:59:29 PM
Really nice portal!  I'm having a problem with the articles though.  I can not seem to get words to show up at all.  I type an article and "send" it but all I get is :

Today at 04:39:00 AM by
 Type content here

I've waited a while to see if it will change but it does not.  When I go back to edit the article all my typing is gone and is back to "Type content here"

Title: Re: TinyPortal
Post by: bloc on March 15, 2005, 02:32:48 AM
Its IE that have problems sometimes in the editor. Firefox works fine though. I will probably change the editor to another soon.
Title: Re: TinyPortal
Post by: bloc on March 15, 2005, 07:20:19 AM
For all looking for the next beta (0.5beta) it can be found here (http://www.bloczone.net/smf/index.php?topic=145.0). I will update in here too, as soon as the mod system here is sorted out ( I can't update it yet).
Title: Re: TinyPortal
Post by: xtremecruiser on March 17, 2005, 08:44:22 AM
Be careful if you try and [ Uninstall ] this mod, I used it on my test site and when I tried to [ Uninstall ] it I had this error

26.     Execute Modification     ./Themes/default/index.template.php     Failure

if you try and remove it, nothing will work anymore
Title: Re: TinyPortal
Post by: Kindred on March 17, 2005, 08:48:07 AM
xtreme...   did you install ANY other mods before or after tinyportal?
Title: Re: TinyPortal
Post by: bloc on March 18, 2005, 06:02:42 AM
Updated to v.05beta. Quite a few bugs have been fixed, and some new features added as well.

Remember that this is still at beta stage - please test it out on a non-important forum installation first, to check it behaves as intended. Also beware using it with other mods can be tricky if you want to uninstall it.

I recommend that before installing it when other mods are present , or installing other mods afterwards, you take a copy of these files BEFORE installing TinyPortal at all:

{forum folder}/index.php
{forum folder}/Sources/Load.php
{forum folder}/Themes/default/index.template.php

...any modified theme: {forum folder}/Themes/{other themes}/index.template.php

That way, if you un-install TinyPortal and it fails, you could upload these 3 copies again and the site will be back to before installing TinyPortal. There is also some tables named tportal.xxxx in the database, you can erase those too, but they won't affect the forum in any way.

Title: Re: TinyPortal
Post by: Thasmo on March 18, 2005, 06:19:24 AM
I'm to dumb to install this.

I get this error when using the package manager:

Quote
2: copy(/home/www/DOMAIN/htdocs/forum/Themes/default/images/divider.gif): failed to open stream: Permission denied
Datei: /home/www/DOMAIN/htdocs/forum/Sources/Subs-Package.php
Zeile: 814

I have given the correct FTP details,
so, what to do else to get it running?

Thanks!

(Using Version 0.5beta!)
Title: Re: TinyPortal
Post by: Punkp2p on March 18, 2005, 07:57:39 AM
I have a little problem with TinyPortal.

I can only edit the last 15 articles.  I have around 120 total.

And when i try to look through the categories in normal user view the page links at the bottom keep bouncing me around and i can't view everyone of them.  i guess it would explain a bit better if you looked at it   http://www.punkp2p.com/forums 

I can kinda deal with the page links acting up for now.

But i really need to be able to edit more than the last 15 articles.  Is there any way to get an update to allow viewing and editing all articles in the tpadmin ?
Title: Re: TinyPortal
Post by: bloc on March 18, 2005, 09:42:51 AM
Update it with the v0.5beta, if you haven't done so. This has been fixed there.
Title: Re: TinyPortal
Post by: bloc on March 18, 2005, 09:43:57 AM
I'm to dumb to install this.

I get this error when using the package manager:

Quote
2: copy(/home/www/DOMAIN/htdocs/forum/Themes/default/images/divider.gif): failed to open stream: Permission denied
Datei: /home/www/DOMAIN/htdocs/forum/Sources/Subs-Package.php
Zeile: 814

I have given the correct FTP details,
so, what to do else to get it running?

Thanks!

(Using Version 0.5beta!)

Well, it sounds like a permisson thing..maybe you should try to set some permissions on the forum folders?
Title: Re: TinyPortal
Post by: Punkp2p on March 18, 2005, 03:50:55 PM
i updated the files for tp v0.5 and now i get this error when i do anything

 Unknown column 'off' in 'where clause'
File: /mnt/nfs-1/vol4/web/p/pu/pun/www.punkp2p.com/web/forums/Sources/TPortal.php
Line: 169

I can't get to the admin or the forums or anything. please help.
Title: Re: TinyPortal
Post by: bloc on March 18, 2005, 05:02:26 PM
The MySQL tables did not get updated...just the files. Did you use the package in this thread? It should have updated the tables for you as part of the upgrade.

However, if you need help, send me a PM and I will try to update the database for you.
Title: Re: TinyPortal
Post by: batgod on March 20, 2005, 03:40:01 AM
This is the best mod ever! Just what I was hoping for,  just starting experimenting with SMF and loving it (a bit too much to my real work and sleeps chagrin)  all of you are so awesome, the very few problems i even had were neatly dealt with in this forum!  Thanks alot, I look forward to getting to know everyone, and after i get this figured out a bit more on my personal site look forward to integrating it into my pet store's and maybe being able to contribute on here!

Thanks alot everyone and keep up the great work!
Title: Re: TinyPortal
Post by: bloc on March 20, 2005, 03:59:30 AM
Great to hear you like SMF - and the mod. ;D

I think its safe to say a LOT of us suffer from missing sleep due to the fascination of SMF, in a "I-got-explore-this! kind of way....! :)
Title: Re: TinyPortal
Post by: Anguz on March 20, 2005, 04:46:47 AM
Oh so true.
Title: Re: TinyPortal
Post by: Azraeliitti on March 20, 2005, 06:25:04 AM
The links to other pages seem to live their own life. If you try to click older pages in some category, it takes you to older pages in the mainpage.  And none of the links take you to the right page, when you click the page two it takes you to the page five etc. Aslo, the WYSIWYG editor likes to throw empty lines and spaces and is pain in the ass.
Title: Re: TinyPortal
Post by: amanoffewwords on March 20, 2005, 06:52:49 AM
Hi Bloc,

Love the mod.

Is it possible to have it load the whole forum in the main area. i.e. default to index.php?action=forum?

Cheers
amofw
Title: Re: TinyPortal
Post by: eyvind on March 20, 2005, 02:09:50 PM
Bloc, have you updated the file with all major fixes? I would really like to try this mod out on my website.
Title: Re: TinyPortal
Post by: Tanks on March 20, 2005, 02:12:59 PM
Bloc, have you updated the file with all major fixes? I would really like to try this mod out on my website.

Check out Bloc's website: http://www.bloczone.net/

I think the portal works fine now  ;) but remember to backup your stuff anyway  :o

Title: Re: TinyPortal
Post by: eyvind on March 20, 2005, 02:19:42 PM
Thank you, you guys are really nice, at my home (aboho.com/forum/, I practivally live there being #12th top poster there) we are all nice, but I have seen that at many forums people get really mean: once I saw a guy ask a question about a game (how to jump, it was a sidescroller kinda thing), and the poeple there practically chased him away, even though he answered his own question beforea nyone had the chance to reply. Sorry for going off topic.

I will be sure to enjoy your portal bloc, you have worked hard on it I can tell.  Scandinavians have a tendency to work hard,  ;).
Title: Re: TinyPortal
Post by: bloc on March 20, 2005, 03:19:34 PM
Thank you. :) As Knat mentions it is updated..but do a backup in any case.

Right now I have the flu...:P so not much is going on with the portal, but once I get better I will start on it with the planned modules. And of course make it stable.
Title: Re: TinyPortal
Post by: 8218 on March 20, 2005, 05:17:04 PM
when i run install file i get:

Tiny Portal v0.5beta
Checking if TinyPortal tables exists....
Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 8

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 8

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 18

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 18

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 20

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 20

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 21

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 21

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 22

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 22

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 23

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 23

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 24

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 24

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 25

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 25

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 26

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 26

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 27

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 27

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 28

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 28

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 29

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 29

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 30

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 30

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 31

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 31

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 32

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 32

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 33

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 33

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 34

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 34

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 35

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 35

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 36

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 36

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 37

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 37

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 38

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 38

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 39

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 39

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 40

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 40

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 41

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 41

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 42

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 42

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 43

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 43

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 51

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 51

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 67

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 67

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 69

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 69

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 70

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 70

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 71

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 71

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 72

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 72

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 73

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 73

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 74

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 74

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 75

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 75

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 76

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 76

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 77

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 77

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 84

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 84

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 97

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 97

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 99

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 99

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 100

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 100

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 101

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 101

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 102

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 102

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 103

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 103

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 104

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 104

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 109

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 109

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 129

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 129

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 131

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 131

All done.

TinyPortal is installed.
Title: Re: TinyPortal
Post by: bloc on March 20, 2005, 05:47:49 PM
uhm...the mysql tables did not install, although the files probably did.

It seems you have no password on the user for mysql? That could be the problem though.
Title: Re: TinyPortal
Post by: amanoffewwords on March 21, 2005, 04:22:54 AM
Anyone know how do this then:

Is it possible to have it load the whole forum in the main area. i.e. default to index.php?action=forum?

Cheers
Charles
Title: Re: TinyPortal
Post by: bloc on March 21, 2005, 04:43:04 AM
It had this option, but I removed it for now because of the numerous errors.

It might be back later on.
Title: Re: TinyPortal
Post by: bloc on March 21, 2005, 06:09:44 AM
NOTE:
I have taken away the mod files for the time being , until I feel its stable enough to be used in general.
Title: Re: TinyPortal
Post by: nanoarray on March 21, 2005, 07:17:01 PM
how do you add a js to the block of TinyPortal?  It doesn't seem to read js.
Title: Re: TinyPortal
Post by: nanoarray on March 21, 2005, 07:18:36 PM
Or, how do I add a tinyportal box manually without using TPadmin control panel?
Title: Re: TinyPortal
Post by: 8218 on March 22, 2005, 10:28:24 AM
How do you install it?
Title: Re: TinyPortal
Post by: bloc on March 22, 2005, 01:05:57 PM
Well, if you do have the archive - through the package manager.
Title: Re: TinyPortal
Post by: bloc on March 22, 2005, 01:08:48 PM
how do you add a js to the block of TinyPortal?  It doesn't seem to read js.

Beta4 will not read javascript, no.

Or, how do I add a tinyportal box manually without using TPadmin control panel?

A bit complex, but take a look at TPortalBlocks.template.php to see how it works there. You could make your own "type", but it involves changing several things.
Title: Re: TinyPortal
Post by: nanoarray on March 25, 2005, 12:02:13 AM
I can't install TinyPortal anymore.  I thought it's good enough.  Can you make the old version available again?
Title: Re: TinyPortal
Post by: bloc on March 25, 2005, 04:01:24 AM
No, I am not putting it up here before its more stable. Especially the install/un-install routines needs a great deal more error-checking.
Title: Re: TinyPortal
Post by: dtm.exe on March 25, 2005, 02:34:43 PM
OK, I was able to successfully reinstall TinyPortal.  Now that thet is taken care of, I'd like to know where I go to control the articles that are posted there.  I checked Admin options, but I saw nothing.

-Dan The Man
Title: Re: TinyPortal
Post by: dtm.exe on March 25, 2005, 02:38:26 PM
Also, what should I do to allow users to go to the board index?  I see that whenever I click on Home, it brings me back to the articles page.

-Dan The Man
Title: Re: TinyPortal
Post by: bloc on March 25, 2005, 03:27:25 PM
All admin functions for TinyPortal is available when clicking on "tpadmin" button.

If you dont have a "forum" button, something went wrong - or you are using some other theme than default, or a TinyPortal adjusted theme.
Title: Re: TinyPortal
Post by: dtm.exe on March 25, 2005, 03:59:41 PM
I'm using the Themis theme and still no board index button or TinyPortal control panel.

-Dan The Man
Title: Re: TinyPortal
Post by: bloc on March 25, 2005, 05:51:48 PM
well..are you using the themis_tp theme then? not regular themis?
Title: Re: TinyPortal
Post by: dtm.exe on March 25, 2005, 06:03:19 PM
I'm not sure.  Where do I download a bunch of your TinyPortal compatible themes?

-Dan The Man
Title: Re: TinyPortal
Post by: bloc on March 25, 2005, 06:04:07 PM
http://www.bloczone.net/smf/index.php?board=24.0
Title: Re: TinyPortal
Post by: dtm.exe on March 25, 2005, 06:10:08 PM
Thank you :)

-Dan The Man
Title: Re: TinyPortal
Post by: dtm.exe on March 25, 2005, 06:24:02 PM
OK, these themes aren't working.  I install them, and then when I go to my profile to change my theme, I get an internal server error.

-Dan The Man
Title: Re: TinyPortal
Post by: bloc on March 25, 2005, 06:53:47 PM
Are you sure the mod is installed? It will render an error if not.
Title: Re: TinyPortal
Post by: dtm.exe on March 25, 2005, 06:56:46 PM
Are you sure the mod is installed? It will render an error if not.

D'oh!  HOW COULD I BE SO STUPID?!  Thanks :)

-Dan The Man
Title: Re: TinyPortal
Post by: sh33zo on March 27, 2005, 10:57:01 PM
I currently have 0.4beta installed and missed the 0.5 beta.. was wondering if i was going to have problems upgrading in the futur? or is it going to be easy to do the upgrade?
Title: Re: TinyPortal
Post by: bloc on March 28, 2005, 04:21:17 AM
No, the upgrade should go fine. It will upgrade from all previous betas, and keep the settings and data intact.
Title: Re: TinyPortal
Post by: MentalMuscle on April 12, 2005, 01:55:08 PM
This is a great idea, and perfect for a gaming site were news posting is secondary to the content of the forum.  Plus given the theming capabilities of SMF one site could be used for a gaming community involved in multiple games.  Each member can just be configured to see the content for the game they play, and a theme tailored for each game as well.

Bloc keep up the great work, and if you need any other testers let me know.
Title: Re: TinyPortal
Post by: nokonium on April 12, 2005, 02:15:56 PM
Bloc keep up the great work,

Agreed, I like it a lot.
Title: Re: TinyPortal
Post by: bloc on April 12, 2005, 02:36:27 PM
Thanks, both. Its getting more stable, and slowly getting to the way I want it. ;)

Mentalmuscle, if you like to be beta-test it, stop by http://www.bloczone.net
Title: Re: TinyPortal
Post by: opheliagrimm on May 15, 2005, 06:40:22 PM
Bloc, count me in as well.

I am in love with the helios theme and have a close eye on your tiny portal work.

was a bit worried when you first pulled it off the shelf.

Do you have room in your beta program for one more?
Title: Re: TinyPortal
Post by: dustrho on May 24, 2005, 03:53:32 PM
I had successfully installed this (v0.6.5 release), and then I uninstalled it (I'll explain later).  So, I uninstalled this and now I can't get into my forums.  Any idea on how I should get my forums back up online?  All I get is a white page...

http://www.sandtroopers.com/yabbse/index.php

PLEASE HELP!!!

I never made a backup copy of those three files that have been mentioned (index.php, index.template.php and Load.php), since I wasn't aware to back up those specific files.

PS - I was using the Helios TP theme for this portal.  Should I have switched back to a regular portal before uninstalling the theme?  I hope I don't have to rebuild my forums, because the last time I backed up was about a week ago.
Title: Re: TinyPortal
Post by: bloc on May 24, 2005, 05:26:52 PM
Nothing is lost, it just that the TP enabled theme tries to fetch something which isn't there no more, most likely. Just upload the UPGRADE version on whatever version of SMF you have and run the upgrade.php. It should sort out any problems with remaining bits of TP in your files.

This has proven to be the biggest obstacle in this mod, so I am currently changing heavily what the install prosess actually changes , for the next release. Making TP enabled themes work as normal even when TP is not present(which they really should)is also at the top of my rather long list. ;)
Title: Re: TinyPortal
Post by: Teknomancer on November 29, 2005, 12:58:48 AM
Where can I download TinyPortal ?
Title: Re: TinyPortal
Post by: bloc on November 29, 2005, 06:41:25 AM
For now: http://www.tinyportal.net
But I will soon put it up here again.
Title: Re: TinyPortal
Post by: Dannii on November 29, 2005, 07:05:35 AM
I get a 404 error for that page ;)

Try http://www.tinyportal.net/smf/index.php
Title: Re: TinyPortal
Post by: bloc on November 29, 2005, 07:48:03 AM
Oops. :) Thanks, eldacar.
Title: Re: TinyPortal
Post by: NezumiRyu on December 07, 2005, 06:20:20 PM
Definitely post when you are going to put the mod back up on here.

I'm interested in beta testing it since I just set up a bare SMF forum and if I loose anything, it's not a big deal. XD I tried to register art your tinyportal.net site to sign up for the beta testing, but I couldn't register.

O_o Wouldn't let me.

But yea... I'd love to be part of it if it's possible. ^_^ It's a very neat looking mocification. I've been trying to do multi colums for a while now and it just never works well.
Title: Re: TinyPortal
Post by: tuga on December 30, 2005, 09:07:31 PM
where i can found this mod tinyportal?
Title: Re: TinyPortal
Post by: JayBachatero on December 30, 2005, 09:08:51 PM
tinyportal.net  You need to register and make a post here http://www.tinyportal.net/smf/index.php?board=25.0

-JayBachatero
Title: Re: TinyPortal
Post by: kai920 on January 01, 2006, 02:41:23 AM
Hey guys,

recently discovered "Tinyportal". looks great.

my site is currently running Joomla! (www.kaitech.hk) but I've discovered that my site revolves around the forum, which of course runs SMF. just wondering what the adv/disadv's are of Joomla vs Tinyportal, and if anyone has made this switch recently.

Thanks
Title: Re: TinyPortal
Post by: Dannii on January 02, 2006, 07:48:20 AM
Tinyportal is very nice, simple to use, and easy to integrate perfectly with SMF. It doesn't however have many modules yet, so if you use many of Joomla's modules you will probably lose many of them if you switch.

However you're very welcome to make new modules/mods for smf if you do wish to make the switch!
Title: Re: TinyPortal
Post by: Rain501 on January 02, 2006, 09:02:58 AM
Hey guys,

recently discovered "Tinyportal". looks great.

my site is currently running Joomla! (www.kaitech.hk) but I've discovered that my site revolves around the forum, which of course runs SMF. just wondering what the adv/disadv's are of Joomla vs Tinyportal, and if anyone has made this switch recently.

Thanks

I'm running SMF w/ TP and Joomla together :)

I'm keeping my Joomla pages as my main site, with the various content cats & pages with TP sitting on my forums. I've modified the index template file so that it disables the main TP page, but then you can still use the blocks aroud the forum to add links to the main site and other custom content, i.e. I have a gaming site, and use the blocks to link through to specific competitions from the forums. It makes linking the two sides of my site much easier to access and makes the site feel more 'whole' if you get what I'm on about :D
Title: Re: TinyPortal
Post by: kai920 on January 02, 2006, 10:43:57 PM
Rain, do you mind posting (or PM to me) the link of your site so I can see it in action?

thanks!
Title: Re: TinyPortal
Post by: kai920 on January 19, 2006, 11:37:34 AM
Rain, just went on your xbox360 site... looks great!  I definitely see what you mean by running Joomla & TP together.

This may be the way I want to go with my site. Everyone just comes for SMF anyway!  8)

(Find that it's somewhat hard & pointless to put posts into Joomla)
Title: Re: TinyPortal
Post by: TuXie on February 07, 2006, 02:33:03 AM
where we can download it? ;)
Title: Re: TinyPortal
Post by: Dannii on February 07, 2006, 02:40:29 AM
http://tinyportal.net
Title: Re: TinyPortal
Post by: TuXie on February 07, 2006, 03:02:38 AM
i find it. it's excellent. we can merge smf and tp. it's name will be SMP(Simple Machines Portal). :D
Title: Re: TinyPortal
Post by: Dannii on February 07, 2006, 03:05:22 AM
What do you mean?
Title: Re: TinyPortal
Post by: hartiberlin on May 25, 2006, 09:14:46 PM
Hi,
I can not register at the tinyportal.net site.
I wanted to download tinyportal,
but it does not let me register there..
Does anybody else also have this problem ?
Thanks.
Title: Re: TinyPortal
Post by: elpvn on May 26, 2006, 03:04:07 AM
Try delete your internet cookies (remind that the cookies must be enable before access BlocZone) and register again by this link

http://www.tinyportal.net/smf/index.php?action=register

If have any problem please report here or PM to me  ;D
Title: Re: TinyPortal
Post by: gerrymore on May 26, 2006, 11:10:39 AM
Hi,
I can not register at the tinyportal.net site.
I wanted to download tinyportal,
but it does not let me register there..
Does anybody else also have this problem ?
Thanks.

Tiny Portal is having some problems at the moment. The server went down yesterday [25th May], and the problems have been since then. The site will be back to normal when Bloc has Internet Access again [he is moving house at the moment].

All I can suggest is keep trying, but delete any old cookies for www.tinyportal.net each time.
Title: Re: TinyPortal
Post by: StormLrd on May 26, 2006, 11:57:53 PM
Site seems mostly back up, ive had none of the problems I had yesterday on it. Although its been very quiet around there lol.
Title: Re: TinyPortal
Post by: moviespot on May 27, 2006, 07:10:37 AM
it's show me blank on the control panel .. no options under tiny portal

please , let me know how i can show options  :-\
Title: Re: TinyPortal
Post by: gerrymore on May 28, 2006, 12:47:45 PM
www.tinyportal.net is now working again. There was an error because of an upgrade by the hosts. The host has now fixed the problem.
Title: Re: TinyPortal
Post by: cardude on September 17, 2006, 01:32:42 PM
when i run install file i get:

Tiny Portal v0.5beta
Checking if TinyPortal tables exists....
Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 8

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 8

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 18

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 18

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 20

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 20

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 21

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 21

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 22

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 22

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 23

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 23

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 24

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 24

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 25

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 25

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 26

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 26

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 27

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 27

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 28

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 28

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 29

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 29

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 30

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 30

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 31

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 31

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 32

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 32

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 33

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 33

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 34

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 34

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 35

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 35

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 36

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 36

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 37

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 37

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 38

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 38

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 39

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 39

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 40

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 40

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 41

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 41

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 42

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 42

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 43

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 43

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 51

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 51

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 67

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 67

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 69

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 69

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 70

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 70

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 71

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 71

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 72

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 72

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 73

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 73

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 74

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 74

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 75

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 75

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 76

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 76

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 77

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 77

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 84

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 84

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 97

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 97

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 99

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 99

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 100

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 100

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 101

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 101

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 102

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 102

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 103

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 103

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 104

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 104

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 109

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 109

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 129

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 129

Warning: mysql_query(): Access denied for user: 'www-data@localhost' (Using password: NO) in /web/www/frac/users/d2shop/tp_install.php on line 131

Warning: mysql_query(): A link to the server could not be established in /web/www/frac/users/d2shop/tp_install.php on line 131

All done.

TinyPortal is installed.

I am getting all of these errors too?  It doesn't use my MySQL password, but I don't know how to fix it.  The thing never even asked me for my password.

My site - http://trooptool.uni.cc/forum/tp_install.php
Title: Re: TinyPortal
Post by: bloc on September 17, 2006, 02:01:41 PM
Thats an very old TP install file..the 0.5beta. You better off using v 0.9.5, which is out now.

About password..it doesn't ask because it collects it from your SMF installation.
Title: Re: TinyPortal
Post by: URPG on September 17, 2006, 04:40:37 PM
Yeah, but the Themes need upgrading, right now it's only running on two or 3 themes unless you know how to upgrade them yourself :( but even 0.85 would be better then 0.5 i guess... lol
Title: Re: TinyPortal
Post by: Helvetii on September 28, 2006, 12:39:36 AM
How make shoutbox work without use (inframe) ???
Title: Re: TinyPortal
Post by: bloc on September 28, 2006, 03:05:15 AM
It will only work inside TP - that means inside a block or as a another page in TP: index.php?action=tpmod;sa=shoutbox
Title: Re: TinyPortal
Post by: brianjw on October 20, 2006, 06:45:04 PM
Quote from: Brian Wilson's Activities Forum

Go to http://www.brianjwilson.com/forum
I have tiny portal installed and you can see this as a demo of TinyPortal.
 8) I LOVE TP ;D

Title: Re: TinyPortal
Post by: jdvarner on January 02, 2007, 11:28:29 PM
Does tiny portal work with smf 1.1.1?
Title: Re: TinyPortal
Post by: Garry1953 on January 03, 2007, 03:13:24 AM
Does tiny portal work with smf 1.1.1?

Works fine for me.
Title: Re: TinyPortal
Post by: jdvarner on January 03, 2007, 09:49:03 AM
i downloaded the package at tiny portal and uploaded to a 1.1.1 site,and got package not compatable error.
Title: Re: TinyPortal
Post by: codenaught on January 03, 2007, 05:30:43 PM
When you enter the package manager add on ;version_emulate=1.1 to the end of the url and then run that url. It should now let you install Tiny Portal on 1.1.1.
Title: Re: TinyPortal
Post by: brianjw on January 03, 2007, 08:35:39 PM
You must modify the package-info.xml because it was only originally made for 1.1 RC3. Bloc says next version will be compatible with SMF 1.1.1. All TP Themes are compatible with TP unless any files have changed. It is free and works 100%. What I use is the manual installation for TP because I want to wait until the mod works 100% with a version then just modify ;)
Title: Re: TinyPortal
Post by: digisubs on February 14, 2007, 12:57:05 AM
how do you modify the package-info.xml to work on version 1.1.2?
Title: Re: TinyPortal
Post by: URPG on February 14, 2007, 05:46:16 AM
There already is a version posted on bloczone...
Title: Re: TinyPortal
Post by: brianjw on February 14, 2007, 09:42:54 PM
As URPG stated "On tinyportal aka Bloczone" they have a new version posted, well actually not new version but modified to work for smf 1.1.2
www.tinyportal.net
Title: Re: TinyPortal
Post by: perplexed on February 15, 2007, 06:48:53 PM
I'm using 1.1.2 and tiny portal 0.9.7.1 which seems to work.  I guess I better go over there and check it out
Title: Re: TinyPortal
Post by: brianjw on February 15, 2007, 06:50:36 PM
Also, if you have upgraded the quick way through the package manager, none of your mods or settings got effected :)
Title: Re: TinyPortal
Post by: Skhilled on March 05, 2007, 09:16:08 AM
how do you modify the package-info.xml to work on version 1.1.2?
Use TP 0.97.1. :)

UPDATE: The latest version is TP 0.983. This will work with smf 1.1.1 and 1.1.2. :)
Title: Re: TinyPortal
Post by: Matthew Schenker on March 25, 2007, 06:34:31 PM
I have a kind of general question here...

Is Tinyportal an effective way to build a simple Web site around your forum?  I have a relatively simple site I am trying to create, and it also has a forum.  Will Tinyportal be good enough?  Am I better off with something like Joomla or Mambo?

Thanks!
Title: Re: TinyPortal
Post by: bloc on March 25, 2007, 07:35:16 PM
That depends on what you seek..Joomla have a lot of modules that do certian things, TP is more of a general toolbox, have options like php or html pages(articles) and generally made to be simplistic  to operate. It also works entirely from within SMF, saving the hassle of maintaining two scripts.

But do have a look at http://www.tinyportal.net to see it in action. ;)
Title: Re: TinyPortal
Post by: Matthew Schenker on March 26, 2007, 10:42:32 AM
Thanks, I'm going to give Tinyportal a try.  Seems like a nice solution for my Web site.
Title: Re: TinyPortal
Post by: brianjw on March 26, 2007, 10:46:56 AM
I use it too. It is a very nice powerful solution for people who want a website (like me) instead of just a little forum. Now the forum is only one little feature on my site but before it was the whole thing. Of course I also use those mods, SMF Gallery, SMF Arcade, SMF Links, and more! ;)

/me wants you to download tinyportal cuz its awesome 8)
 
Title: Re: TinyPortal
Post by: Matthew Schenker on March 26, 2007, 10:53:16 AM
brianjw,
Thanks...I'm still learning, so it's good to hear endorsements from people who know a lot!
Title: Re: TinyPortal
Post by: Skhilled on April 13, 2007, 09:45:20 AM
Once you learn to use articles you'll find that you can create and add things you haven't een thought of before. You might also want to check out the "Block Snippets" sections at TP. ;)
Title: Re: TinyPortal
Post by: Matthew Schenker on April 13, 2007, 09:51:39 AM
A warning to people considering Tinyportal...

I had to uninstall TinyPortal from my test forum because it broke the entire site.  Menus stopped appearing, the Gallery was no longer accessible, boards were gone, and the administrator area had missing entries.

Even after I uninstalled it, pieces of Tinyportal were left in my test forum.  No one could help me clean it up, so I uninstalled my entire test forum from my Web host and then re-installed SMF without Tinyportal.

What a mess!
Title: Re: TinyPortal
Post by: Tick on April 13, 2007, 11:42:34 AM
Well thats strange.  I use TP and have received all the support I needed there.  I have installed this on a few forums with no problem.   Was the theme you were using a TP modified theme.  Also your language settings can cause what you described.
Title: Re: TinyPortal
Post by: Matthew Schenker on April 13, 2007, 12:44:51 PM
Buddha,
Yes, I was surprised, based on all the positive comments I have heard about Tinyportal.

But let me tell you, I will not be attempting to install Tinyportal again, unless it's on a totally plain forum that I can uninstall and reinstall easily.

Just for the record:
- I was using the default theme
- My language settings were not changed
- The only modification I had on my forum was the Gallery

Even if my situation is unusual, people should be aware of the risks involved with Tinyportal.
Title: Re: TinyPortal
Post by: Herman's Mixen on April 13, 2007, 12:53:17 PM
Well dan you used or an very old buggy version or did'nt install it on the right way i am useing it from about the first awarenes of TP the very first beta, and alpha's and i did never complain about it coz the support i awesome and the installer / uninstaller is a smooth one ;)
Title: Re: TinyPortal
Post by: Matthew Schenker on April 13, 2007, 01:08:30 PM
I installed the latest version.  That was the one offered on the Tinyportal site. If it was buggy, it's not my fault and is just one more reason for people to be careful about installing this!

The people at the Tinyportal site were friendly, but there were no good answers.
Title: Re: TinyPortal
Post by: Herman's Mixen on April 13, 2007, 04:15:16 PM
first of all ... you need to be patient at all coz our mod developer on tinyportal is also a developer of smf ... sinds... he has no time to develo two systems along smf is the first ting.. then time;s left thers should be time for TP ... and if i know bloc for a long time ... as known ... he will take a look at it no hasels.....

so i think it's un-reasonble too yell at who ?? be patient and it will come home some how
Title: Re: TinyPortal
Post by: Tick on April 14, 2007, 09:55:34 AM
@Matthew Schenker, Well I am sorry you had a bad experience with TP.  I know that Tp completely changed the feel of my site.  I set up a test site to play around with it at to find a solution to any problem I could incounter on my live site.  Dont give up on it just yet.   Play around with it and read as much as you can about it.  Usually I find it was just a simple fix to correct the problem I was having.  Dont give up or you will miss out.  And as someone else stated just be patient with your questions over there, I havent seen anyone yet who was willing to do the work not get the help they needed.
Hope this helps.  Buddha
Title: Re: TinyPortal
Post by: Matthew Schenker on April 14, 2007, 10:01:35 AM
Buddha,
I like the idea of Tinyportal, which is why I installed it on my forum.

Based on my experience, I'm sure you can understand why I would not want to try it again!  My guess is, if I installed it again, it would do the same thing it did before.

But yes, I would like to have something like this available to me. Perhaps I'll create a "Test Test Forum" to play around with it!

Matthew
Title: Re: TinyPortal
Post by: rider on April 14, 2007, 10:25:56 AM
A warning to people considering Tinyportal...

I had to uninstall TinyPortal from my test forum because it broke the entire site.  Menus stopped appearing, the Gallery was no longer accessible, boards were gone, and the administrator area had missing entries.

Even after I uninstalled it, pieces of Tinyportal were left in my test forum.  No one could help me clean it up, so I uninstalled my entire test forum from my Web host and then re-installed SMF without Tinyportal.

What a mess!
I'm willing to bet that if you had changed your forum default langauge to english from english-utf8 or updated the english-utf8 files,all the problems would have gone away.Try it again on a test test forum.I've installed TP many of times and never had issues.One ? for you.When you installed TP did you use TP themes?Regular SMF themes will not work with TP.
Title: Re: TinyPortal
Post by: Matthew Schenker on April 14, 2007, 02:53:05 PM
I am very interested in what Tinyportal has to offer.
I'll install it again in a new "test test forum" and see what happens.

Quote
When you installed TP did you use TP themes?Regular SMF themes will not work with TP.
OK, maybe this accounts for the problems.  I installed SMF, then installed Tinyportal.  The only modification I installed was the Gallery.  But I did not change any themes.  Do you mean I have to change themes after I install Tinyportal?  Did I miss this in the instructions?  If this whole thing is my fault, then I'll be happy to admit it!

I'll check it out and let everyone know.
Title: Re: TinyPortal
Post by: Tick on April 14, 2007, 02:56:50 PM
They default theme will work with tp.  If you want any special themes they have to be themes converted to use with tp.  Also when you do an install of the test forum go to the server settings in your admin panel.  make sure your forum default language is english not english utf
Title: Re: TinyPortal
Post by: Matthew Schenker on April 14, 2007, 03:00:32 PM
Quote
They default theme will work with tp.  If you want any special themes they have to be themes converted to use with tp.  Also when you do an install of the test forum go to the server settings in your admin panel.  make sure your forum default language is english not english utf

I was using the default theme the first time, and my settings were for English, not English UTF.  So the mystery remains!

Well, I am going to create a test test forum and install Tinyportal again.  No harm done in trying it, just to make sure I missed something the first time.

Thanks for all your help.
Title: Re: TinyPortal
Post by: Tick on April 14, 2007, 03:02:11 PM
Please keep us posted .  If it does it again and you dont mind post a link so maybe we can see more clearly what the problem is .
Title: Re: TinyPortal
Post by: Matthew Schenker on April 14, 2007, 03:08:42 PM
Quote
Please keep us posted .  If it does it again and you dont mind post a link so maybe we can see more clearly what the problem is .

I'll definitely do that!  Thanks again for your help.
Title: Re: TinyPortal
Post by: brianjw on April 14, 2007, 03:17:42 PM
@Matthew: You didn't install TinyPortal correct. Also you should receive fast support from www.tinyportal.net if that kind of problem happens again. ;)
Title: Re: TinyPortal
Post by: nokonium on April 14, 2007, 03:19:03 PM
Matthew, I can see that you registered on the Bloc Zone but you don't appear to have posted a support question.

Regarding your problems ...

With a large mod like Tiny Portal it is best to install it into a pristine SMF. Always install the largest mods first and you will have fewer install 'test failed'. It is important to be using the default theme.  Also use the default language - English when installing, if you don't do this there will be errors and problems. Missing text strings is almost certainly due to a language problem. Each language has its own language files and also some themes have their own language files.

To view TP in other than the default theme you need a theme that is compatible with TP. There are a lot of them available on the Bloc Zone and they are free.
Title: Re: TinyPortal
Post by: Matthew Schenker on April 15, 2007, 09:11:48 AM
nokonium,
I don't know why my question is not appearing in the search.  That's completely frustrating.

In any case, I do like the idea of Tinyportal.  I'll be reporting back later.

Thanks!
Title: Re: TinyPortal
Post by: Skhilled on April 22, 2007, 02:56:04 PM
A suggestion is to make sure your permissions are correct before installing any mod.

Go to Packages -> Options -> Cleanup Permissions. Select "Make all files writable."

This should allow TP or any other mod to have the permissions it needs to install files as well as modify files it needs during installation. :)

I hope this helps.
Title: Re: TinyPortal
Post by: Matthew Schenker on April 23, 2007, 09:45:49 AM
Quote
A suggestion is to make sure your permissions are correct before installing any mod.

Go to Packages -> Options -> Cleanup Permissions. Select "Make all files writable."

This should allow TP or any other mod to have the permissions it needs to install files as well as modify files it needs during installation.

Thanks for the tip.  But I have a question...

I just went into Packages > Options > Cleanup Permissions and selected "All Files Are Writable."

Then I hit the "Change File Permissions" button.

But when the screen refreshes, it's back on the "Only the standard files are writable" option.

Is this normal?
Title: Re: TinyPortal
Post by: rider on April 23, 2007, 12:37:40 PM
Quote
A suggestion is to make sure your permissions are correct before installing any mod.

Go to Packages -> Options -> Cleanup Permissions. Select "Make all files writable."

This should allow TP or any other mod to have the permissions it needs to install files as well as modify files it needs during installation.

Thanks for the tip.  But I have a question...

I just went into Packages > Options > Cleanup Permissions and selected "All Files Are Writable."

Then I hit the "Change File Permissions" button.

But when the screen refreshes, it's back on the "Only the standard files are writable" option.

Is this normal?
yes it is.You can go ahead and install TP.
Title: Re: TinyPortal
Post by: TrueSatan on April 23, 2007, 01:08:34 PM
I'd just make sure, via ftp, that the file permissions have changed properly as I've seen a number of instances where the user hadn't got the ftp settings in the forum quite right or the server wasn't complying and they hadn't changed via this method...just make sure.
Title: Re: TinyPortal
Post by: Matthew Schenker on April 23, 2007, 06:50:55 PM
OK, I just re-installed a fresh version of SMF 1.1.2, then I installed TinyPortal, and once again the forum was completely wrecked...

Menus missing, administration area doesn't work right, TinyPortal menus gone, boards gone, and on and on.

Luckily, this was an empty test forum that I can easily delete from the server.

I think I'm done with TinyPortal!
Title: Re: TinyPortal
Post by: rider on April 24, 2007, 05:05:02 AM
OK, I just re-installed a fresh version of SMF 1.1.2, then I installed TinyPortal, and once again the forum was completely wrecked...

Menus missing, administration area doesn't work right, TinyPortal menus gone, boards gone, and on and on.

Luckily, this was an empty test forum that I can easily delete from the server.

I think I'm done with TinyPortal!
Did you d/l any of the themes that are made for tinyportal?You can D/L them from the TP site.Also if you try again post a link for us to see what happening.I'm sure its something simple.As we've all stated TP is not that hard to install and have it working fine on many sites.
Title: Re: TinyPortal
Post by: Skhilled on April 26, 2007, 09:42:46 AM
I'd just make sure, via ftp, that the file permissions have changed properly as I've seen a number of instances where the user hadn't got the ftp settings in the forum quite right or the server wasn't complying and they hadn't changed via this method...just make sure.
Some servers may require more work. I believe these servers do not have their permissions set properly for their users.

OK, I just re-installed a fresh version of SMF 1.1.2, then I installed TinyPortal, and once again the forum was completely wrecked...

Menus missing, administration area doesn't work right, TinyPortal menus gone, boards gone, and on and on.

Luckily, this was an empty test forum that I can easily delete from the server.

I think I'm done with TinyPortal!
I'm starting to think you are having a permission issue or hosting problem. I've installed it dozens of times on different servers and when there was a problem like yours it is was due to hosting.

Also you might want to make sure that you are using the correct version of TP for smf. If your smf version is utf-8 then tp must be the same. If not, then make sure both smf and tp are NOT utf-8.
Title: Re: TinyPortal
Post by: Matthew Schenker on May 21, 2007, 11:04:39 AM
I'm pretty sure it's not a hosting issue, and my forum is not utf-8.  All I know is Tinyportal caused major problems for me.

I do like the concept of Tinyportal, and would really like to make use of this sort of thing.
Title: Re: TinyPortal
Post by: brianjw on May 21, 2007, 06:24:10 PM
If I were you try http://www.tinyportal.net (for support) and try http://www.tinyportals.com (for tinyportal customization) :)

Brianjw
Title: Re: TinyPortal
Post by: Tick on May 21, 2007, 07:39:04 PM
@Matthew Schenker  If you want to have tiny portal on your site why dont you give it a try again.  You might have to do a manual install.   Come over the http://www.tinyportal.net and you will find all the info for the manual install there.  We can guide you through it if you want.
Title: Re: TinyPortal
Post by: brianjw on May 21, 2007, 07:52:33 PM
Thats what I said!
Title: Re: TinyPortal
Post by: TrueSatan on May 21, 2007, 08:11:37 PM
To be frank I think that Skhilled has probably got it about right...if one of us with some experience of server wrestling were to get to grips with it by being given suitable access we might manage to persuade TP to work on Matthew's sites but doing it via forum Q&A would be awfully difficult.
Title: Re: TinyPortal
Post by: Tick on May 21, 2007, 08:27:49 PM
Thats what I said!

brian,  I think you  would have a hard time helping him over at tiny portals dont you think. ;)
Title: Re: TinyPortal
Post by: brianjw on May 22, 2007, 06:38:35 PM
yes, i was just telling him to go there :)
Title: Re: TinyPortal
Post by: RAdams on June 18, 2007, 10:50:48 AM
I understand the project is suspended pending a more stable release, but is there any way to get the previous version files? It was working fine for me... and I really need it. :(
Title: Re: TinyPortal
Post by: TrueSatan on June 18, 2007, 12:02:04 PM
I understand the project is suspended pending a more stable release, but is there any way to get the previous version files? It was working fine for me... and I really need it. :(

http://www.tinyportal.net/index.php?action=tpmod;dl=cat5 (http://www.tinyportal.net/index.php?action=tpmod;dl=cat5)

You will find that support there (Tiny Portal's own site) can often answer questions more easily regarding their product that we can here.
Title: Re: TinyPortal
Post by: Tick on June 18, 2007, 01:00:56 PM
I have been using it for a while now.  To me it seems pretty stable. I have not had any problems out of it.
Title: Re: TinyPortal
Post by: babjusi on June 18, 2007, 01:54:11 PM
TinyPortal is as stable as a granite rock
Title: Re: TinyPortal
Post by: Tick on June 18, 2007, 04:13:12 PM
Very well said.  I agree.   :D
Title: Re: TinyPortal
Post by: perplexed on June 19, 2007, 07:26:19 AM
I just installed another new one yesterday and it goes through without a hitch.  It's a great mod/portal/addition to SMF :)
Title: Re: TinyPortal
Post by: Skhilled on June 25, 2007, 08:24:40 AM
I understand the project is suspended pending a more stable release, but is there any way to get the previous version files? It was working fine for me... and I really need it. :(
I believe that suspension was for a previous version...0.7 something, if I recall.
Title: Re: TinyPortal
Post by: TrueSatan on June 25, 2007, 08:31:05 AM
I understand the project is suspended pending a more stable release, but is there any way to get the previous version files? It was working fine for me... and I really need it. :(
I believe that suspension was for a previous version...0.7 something, if I recall.

 No, Skhilled. Look at the first post in this topic and see http://custom.simplemachines.org/mods/index.php?mod=97 (http://custom.simplemachines.org/mods/index.php?mod=97) At least as regards this site it still appears to be suspended though the download of the last version is available on TP's own site on the link I gave earlier.
Title: Re: TinyPortal
Post by: Skhilled on June 25, 2007, 09:35:41 AM
Yeah, the version there is 0.5b and the date is 2005. Bloc may not have contested the suspension and just kept updates on his site. I can't say for sure, tho.

TP is at version 0.983 and testing has begun for 1.0.  8)
Title: Re: TinyPortal
Post by: ~Unkn0wn~ on July 14, 2007, 11:42:38 PM
Works or not? Need it
Title: Re: TinyPortal
Post by: Assistance on July 14, 2007, 11:47:54 PM
Works or not? Need it

yes 100%
Title: Re: TinyPortal
Post by: babjusi on July 14, 2007, 11:53:32 PM
Works or not? Need it

It works fine, but you will have to download it at the tp site

www.tinyportal.net
Title: Re: TinyPortal
Post by: boilinggold on July 15, 2007, 12:19:47 AM
Hi,

I have just installed SMF, the latest version is 1.1.3
Now I found out that most mods I wanted to use are compatible up to 1.1.2 only.
I wonder when will the mods be upgraded to be compatible to the latest version of SMF?

Btw, nice work, Bloc on the Amber theme. The best I've seen so far. I will most probably stick to it.
However some of the menu items from other mods do not appear in your Amber theme. i.e., smf blog, gallery, etc.

Also, I badly need your TinyPortal mod. Download for it has been suspended.

When is the next release coming up?


Title: Re: TinyPortal
Post by: Tick on July 15, 2007, 12:23:04 AM
You can download the Tiny Portal mod now.  Go to http://tinyportal.net  YOu can also get support for all of Bloc's themes there.  That is his site.
Title: Re: TinyPortal
Post by: pcbonez on July 20, 2007, 06:50:31 AM
Time to update this,,,, ya think?
Title: Re: TinyPortal
Post by: TrueSatan on July 20, 2007, 07:40:40 AM
No...the mod is not fully supported here but if you go to Tiny Portal's own site it is completely up to date and fully maintained with an active support provided there too.
Title: Re: TinyPortal
Post by: Dantesue on September 28, 2007, 07:24:04 PM
Hey folks. I am sure you can help me if I am clear about what I need.

Here goes:

I downloaded TinyPortal. I have it on my desktop. In my packages download/upload I cannot upload what is on my desktop. It is TP_0983 Folder.

I did go to the .zip file and hit upload. My FTP shows it there on my host's server.

Now I tried to install from the packages board and I get this:

"Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager."

---

What am I doing wrong?
Title: Re: TinyPortal
Post by: Dantesue on September 28, 2007, 07:37:23 PM
It looks like everything. I installed a set of smf smileys. No problem. I modified a few pieces of code for the header.

It looks like I may be unclear on the concept of HOW TO install a mod. If there were a better read me on what exactly to do I would do it manually. Time would be more but I would then get to see what is going on and why.

I don't really enjoy using widgets unless I know exactly what they are saving me time on.
Title: Re: TinyPortal
Post by: Tick on September 28, 2007, 07:38:21 PM
When you go to packages in you admin panel you will see a tab called options.  CLick on that and select the option to make all files writable.   Then you will have to put in you ftp info  after that try it and it should work.  YOu can change them back the same way.   Hope this helps . TIck
Title: Re: TinyPortal
Post by: Dantesue on September 28, 2007, 07:41:50 PM
thanks, I'll try it. I think I was using mysql info in place of ftp info.

Title: Re: TinyPortal
Post by: Tick on September 28, 2007, 07:46:43 PM
Ok cool.  Post back if you get stuck and I will try to further assist.  Tick.
Title: Re: TinyPortal
Post by: Dantesue on September 28, 2007, 07:55:36 PM
I can't believe how easy and effortless this was!

It is all there. The issue was me entering the wrong info for my ftp. (I use a few programs).

(For my own curiosity I will look into a manual upgrade check list just so I know what happens.)

I'd recommend anyone thinking of using smf and tiny portal to jump right in.

thank you.


Title: Re: TinyPortal
Post by: Dantesue on September 28, 2007, 07:59:25 PM
now on to the TP shout box.

there is nothing wrong with the smf shout box, I downloaded it but I want tiny windows on teh side and the expandability TP is supposed to give me.

see you all around the internet(s).

when my forum has a few more personal quirks added to it, I will link back here.

thanks again.

D.
Title: Re: TinyPortal
Post by: Tick on September 28, 2007, 08:07:13 PM
Glad you got it. Enjoy.
Title: Re: TinyPortal
Post by: brianjw on September 28, 2007, 08:53:33 PM
I have a question -

How would I edit the TPortalBlocks.php /.template.php in order to display text above the shoutbox so I can put a little tiny image saying three simple rules of the shoutbox...

Thanks in advance,
Brianjw
Title: Re: TinyPortal
Post by: G6™ on September 29, 2007, 01:47:52 PM
That is a tinyportal question Biran.....
Title: Re: TinyPortal
Post by: brianjw on September 29, 2007, 02:37:40 PM
exactly and this is the tinyportal topic ;)
Title: Re: TinyPortal
Post by: G6™ on September 29, 2007, 02:41:58 PM
Yes it is, but more a release thread then a support for tinyportal thread as tinyportal have it's own support site  ;)
Title: Re: TinyPortal
Post by: brianjw on September 29, 2007, 03:06:09 PM
so no one can provide support here? How bout tiny portal media. After all it does have "Tiny Portal" in the name :)
Title: Re: TinyPortal
Post by: G6™ on September 29, 2007, 03:09:28 PM
Yes, tinyportal media does help with tinyportal questions, but the main tinyportal site is best for tp related questions.
tinyportal media is a standalone site and are not a part of tinyportal more then help out with installation of mods and themes for tinyportal.
Title: Re: TinyPortal
Post by: lwbbs on October 25, 2007, 06:41:18 PM
Suggestion:

If the tagging system is installed before the TinyPortal v0.9.8.
TinyPortal v0.9.8 will fail. Because the following operation.
Code: [Select]
<file name="$themedir/index.template.php">
    <operation>
        <search position="before"><![CDATA[$current_action = 'admin';
    if (in_array($context['current_action'], array(]]></search>
        <add><![CDATA['tags',]]></add>
    </operation>
             
This conflict can be solved by manually modified the code.
If Tagging system can change the code to the following:
Code: [Select]
<file name="$themedir/index.template.php">
    <operation>
        <search position="before"><![CDATA[$current_action = 'admin';
    if (in_array($context['current_action'], array('search', 'admin','calendar', 'profile', 'mlist', 'register', 'login', 'help','pm']]></search>
        <add><![CDATA[, 'tags']]></add>
    </operation>

The conflict will be solved if TinyPortal v0.9.8 remove two ")))" in tinyportal09x-11x.mod file
(lines 307 and 310). So I suggest TinyPortal  can change it.
From:
Code: [Select]
<search for>
    if (in_array($context['current_action'], array('search', 'admin','calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
</search for>
<replace>
    if (in_array($context['current_action'], array('search', 'admin','calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm','forum', 'tpadmin')))
</replace>

to:
Code: [Select]
<search for>
    if (in_array($context['current_action'], array('search', 'admin','calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm'
</search for>
<replace>
    if (in_array($context['current_action'], array('search', 'admin','calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm','forum', 'tpadmin'
</replace>


Title: Re: TinyPortal
Post by: perpetuallove on November 11, 2007, 10:56:49 AM
UGH! I think i am just having bad luck today cuz i was doing so good with this stuff til now! lol. I cant get TP to work with other themes..... i have googled and read and read and read some more but nothing seems to help! The theme I am- obviously if you have seen my other posts- DESPERATELY wanting to use is CANDY! lol. I want to edit the colors a bit but i love the set up and will be truly disappointed if i can not get this to work!
Title: Re: TinyPortal
Post by: Tick on November 11, 2007, 11:20:57 AM
If you get the theme authors permission I am sure that crip at tinyportal would be glad to convert this theme for ya.   
Title: Re: TinyPortal
Post by: brianjw on November 11, 2007, 11:44:36 AM
If you're talking about the theme I created, "Candy", sure you all have permission as long as copyrights stay the same place where they are and stuff like that.

For the future, you can always use crips theme convert as well - http://www.jr62.com/cripconvert.htm

brianjw
Title: Re: TinyPortal
Post by: perpetuallove on November 11, 2007, 12:36:59 PM
aw yes i believe it is your theme, brianjw. While i have you here- would it be ok with you if i altered the orange color? If not thats ok i understand and I can move on to find another theme that would fit it well- i just love the designs you have and the overall way its setup!

And Tick thank you for your response- who is this crip and how do i find "him"? lol- im sure you are laughing at that question but thats ok......lol.

And whats this "theme convert"? is that a way for me to convert this myself?

I am trying to get some other mods to work first before I embark on this journey- but would love to have the info at hand when i do!

Thanks again!
Title: Re: TinyPortal
Post by: Tick on November 11, 2007, 12:39:44 PM
Crip is the one who converts most of our TP theme here http://www.tinyportals.net/index.php make a post in his board there and give him a link to this topic to see you have permission to convert and he will help you there.   However you can do this yourself by following his conversion guide in his board there.  Tick
Title: Re: TinyPortal
Post by: perpetuallove on November 11, 2007, 12:48:40 PM
oh i see. thank you Tick... by the way- nice avatar!
Title: Re: TinyPortal
Post by: Tick on November 11, 2007, 12:52:58 PM
Thank you it was made by Lesmond whom you can also find at that site.  If you ask real nicely he may make you one if you want. 
Title: Re: TinyPortal
Post by: brianjw on November 11, 2007, 01:03:15 PM
You can modify my theme in anyway you want, as long as the copyright stays at the bottom as the original author of the theme. ;)
Title: Re: TinyPortal
Post by: bloc on November 12, 2007, 05:51:53 PM
In TP v1.0 beta - set to be released in the near future - the changes won't be needed. It will rather use the layer system of SMF to place the panels in any theme. Plus of course lots of other improvements. :)
Title: Re: TinyPortal
Post by: brianjw on November 12, 2007, 05:57:03 PM
That is going to be awesome! :)

Is TPv1.0 beta going to be released here too? :)
Title: Re: TinyPortal
Post by: lesmond on November 12, 2007, 05:59:11 PM
In TP v1.0 beta - set to be released in the near future - the changes won't be needed. It will rather use the layer system of SMF to place the panels in any theme. Plus of course lots of other improvements. :)

Yes and its coming along nicely too Bloc, we are proud of all the hard work you put into it :)
Title: Re: TinyPortal
Post by: bloc on November 12, 2007, 06:10:48 PM
Thanks, Les. :)

brianjw, yes, thats is the plan.
Title: Re: TinyPortal
Post by: Elrond on November 30, 2007, 09:54:52 AM
TP Rules!!! This is a mod that's helped me a lot! Proud of the work Bloc! Bravo!
Title: Re: TinyPortal
Post by: miregrobar on February 01, 2008, 09:04:45 PM
I love TP
Title: Re: TinyPortal
Post by: Goodman854 on March 19, 2008, 04:54:17 PM
How come I cant download it?
Title: Re: TinyPortal
Post by: Tick on March 19, 2008, 04:57:10 PM
How come I cant download it?
Are you trying to download it as a registered user?
Title: Re: TinyPortal
Post by: Nibogo on March 19, 2008, 05:50:20 PM
Someone have the  Çöl Ateşi theme for TP??
Title: Re: TinyPortal
Post by: Joomlamz on March 22, 2008, 10:07:15 PM
you can try here how can install manual...
http://forum.joomlamz.com/index.php?topic=3417.0
Title: Re: TinyPortal
Post by: perplexed on March 24, 2008, 11:52:03 AM
Someone have the  Çöl Ateşi theme for TP??

you could ask at TP site, they have many themes, and also themes for joomla, coppermine etc
Title: Re: TinyPortal
Post by: Harvester on April 10, 2008, 04:33:44 PM
anyone know why now that I have TP Installed, in my admin area the TinyPortal block is blank?
Title: Re: TinyPortal
Post by: Goodman854 on June 25, 2008, 08:01:05 PM
How come I cant download it?
Are you trying to download it as a registered user?
Because the link is suspended. AND when I clicked download it was just text. It goes on about being an outdated mod.  I gusse you have to do manual.
Title: Re: TinyPortal
Post by: Sakae on September 27, 2008, 01:58:42 PM
Either the website of Tinyportal is down?

I think this is a MOD that is being extinct?
Title: Re: TinyPortal
Post by: Dragooon on September 27, 2008, 02:04:29 PM
TP is nowhere near extinction, the site's working fine for me.
Title: Re: TinyPortal
Post by: Matthew Schenker on September 27, 2008, 03:41:23 PM
Good Afternoon,
I've been running TinyPortal on one of my sites for a while.  But now it looks like the software is gone.  Their Web site no longer works!

What happened to TinyPortal?  Is anyone going to pick up development of this mod?

Thanks,
Matthew
Title: Re: TinyPortal
Post by: Kindred on September 27, 2008, 04:05:44 PM
what are you guys talking about? ???

The Tiny Portal Site (http://www.tinyportal.net/index.php?action=forum) is still there.
Title: Re: TinyPortal
Post by: Matthew Schenker on September 27, 2008, 04:11:04 PM
Hello,
When I go to www.tinyportal.com or www.tinyportal.org I get a nothing site.  That's been true for at least a week.
What's going on here?
Matthew
Title: Re: TinyPortal
Post by: Sakae on September 27, 2008, 04:17:10 PM
Hello,
When I go to www.tinyportal.com or www.tinyportal.org I get a nothing site.  That's been true for at least a week.

Here too. Where do you are, Matthew? I'm from Brazil.
Title: Re: TinyPortal
Post by: bloc on September 27, 2008, 05:08:13 PM
Only tinyportal.net is currently used. And TP is well and alive lol. :)
Title: Re: TinyPortal
Post by: brianjw on September 27, 2008, 05:29:10 PM
Only tinyportal.net is currently used. And TP is well and alive lol. :)
Didn't tinyportals.net and other urls used to be used? What happened to them? Are those URLs going to be used again ever on tiny portal? It seems everyone is still linking to tinyportals.net so it may be wise to at least continue using that URL.
Title: Re: TinyPortal
Post by: bloc on September 27, 2008, 05:51:29 PM
Thats true..I still have those, but recently moved server, I will need to point them to tp.net. Thanks for the heads-up :)
Title: Re: TinyPortal
Post by: brianjw on September 27, 2008, 07:36:55 PM
Thats true..I still have those, but recently moved server, I will need to point them to tp.net. Thanks for the heads-up :)
Just trying to keep you in business. ;D
Title: Re: TinyPortal
Post by: Goodman854 on October 05, 2008, 12:25:19 AM
How come I cant download it?
Are you trying to download it as a registered user?
dah yes
But i dont need it any more. I thought it was somthing its not.
Title: Re: TinyPortal
Post by: atlantisrising on November 25, 2008, 09:55:36 AM
I am trying to modify my new theme, there is a piece of code that is apparently essential to get TP blocks out of my blogs.  For some reason, I keep getting an unexpected T-string error. 

I'm running TPv1.0.6, SMF 1.1.6, Blog Community 2.0.2

The bit of code giving me a headache is:

Code: [Select]
';
// TinyPortal
if($context['TPortal']['leftbar'])
             echo '<td style="padding-left: 1ex;"><a href="javascript:void(0);" onclick="shrinkHeaderLeftbar(!current_leftbar); return false;"><img id="upshrinkLeftbar" src="', $settings['images_url'], '/', empty($options['collapse_leftbar']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTempLeftbar" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 0ex;" /></td>';
         if($context['TPortal']['rightbar'])
             echo '<td style="padding-left: 1ex;"><a href="javascript:void(0);" onclick="shrinkHeaderRightbar(!current_rightbar); return false;"><img id="upshrinkRightbar" src="', $settings['images_url'], '/', empty($options['collapse_rightbar']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTempRightbar" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 0ex;" /></td>';
// TinyPortal end
echo '

Oh, and the theme won't show up on the blog index, either.  If anyone can help me or point me in the right direction, I would really appreciate it.
Title: Re: TinyPortal
Post by: brianjw on November 25, 2008, 04:18:50 PM
http://www.tinyportal.net
Title: Re: TinyPortal
Post by: bloc on February 20, 2009, 04:39:39 PM
TinyPortal v1.0 beta 3 is now available, refer to first post (http://www.simplemachines.org/community/index.php?topic=27642.0) for download link and more information on the release.
Title: Re: TinyPortal
Post by: Yahmez on February 20, 2009, 10:52:51 PM
I have tried to install all versions on TP to no avail. I am using SMF 1.1.8 with the core theme and I keep getting 'test failed' for ./Sources/Load.php & ./Themes/default/index.template.php
Do I need a fresh install of SMF to install TP?
Title: Re: TinyPortal
Post by: Antechinus on February 21, 2009, 12:45:53 AM
No, you don't, but it is easier to install TP on a fresh SMF forum because then you have no mods that will interfere with TP.
The installation process is fully documented so you can edit those two files manually if necessary.
Title: Re: TinyPortal
Post by: babjusi on February 21, 2009, 07:25:10 AM
It looks very good. Congratulations to the TP team :)
Title: Re: TinyPortal
Post by: Yahmez on February 21, 2009, 09:42:21 AM
No, you don't, but it is easier to install TP on a fresh SMF forum because then you have no mods that will interfere with TP.
The installation process is fully documented so you can edit those two files manually if necessary.
So should I uninstall my mods and then try? Also if I use package manager, despite the errors, will it install everything and will I just need to edit those two files? Or will that crash my forum?
Title: Re: TinyPortal
Post by: bloc on February 21, 2009, 03:27:58 PM
The index.template modding its not important - you'll miss the forum button of course - but Load.php is. You can go ahead, and simply do the modifications manually on Load.php, before running anything.

If you crash still, nothing in TP is lost, but the you WILL need a fresh set of SMF files to get it going again.
Title: Re: TinyPortal
Post by: Joomlamz on February 22, 2009, 01:48:05 PM
Good work
update 1.0.3
thank you
Title: Re: TinyPortal
Post by: SN on February 23, 2009, 06:18:17 AM
Hi Bloc, Really nice Mod this.

I have been looking around for a Portal System for my site, but im not sure which one to go with.

I just want to ask a few questions about this one

Will i be able to use it with any Theme, without editing the code?

Is the extra Buttons like ''Forum'' added on Install?

Will i be able to remove the collapse Blocks buttons so it looks more like a front page ?
Title: Re: TinyPortal
Post by: bloc on February 23, 2009, 07:09:53 AM
Thank you :)

Yes, you can use it with any theme.

No, the "forum" button isn't added to custom themes, reason is simply that the buttons are hardcoded in the themes, in SMF 1.1.x anyway. In SMF 2 it will be no problem, but TP2 isn't ready yet. All of my themes support the "forum" button in SMF 1.1.x though, so having a look at them or at default theme of course, should help you add the button manually.

Yes, you can simply elect to let the users NOT collapse blocks, the icon will then not appear. Its per-block-basis so you need to go through and change them. For a totally customable block, you can turn off both title, frame and background, leaving the styling up to you and the block content.
Title: Re: TinyPortal
Post by: victoryrock on March 04, 2009, 09:04:27 AM
Errors during installation.
 
Great Mod, except I am getting errors for:
Themes/default/index.template.php
Sources/Load.php
 
Attached are the files.  Are you able to please to see what is wrong with them?
 
Thanks SO much!
VR
Title: Re: TinyPortal
Post by: bloc on March 04, 2009, 09:27:33 AM
Victoryrock, the index.template.php only needs a forum button, so you can disregard that error and just add it manually later on.

The Load.php fails on this codebit:
Code: [Select]
// Build up the linktree.
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '#' . $board_info['cat']['id'],

You could go ahead there too, as it the changes can be added manually, but there a few areas to change and it migh be errors before you made the code changes.

...or you can try another route: do a upgrade of SMF(just use same version as your current) to clean any mods away, then install TP first, followed by Aeva + other mods. That might also work.
Title: Re: TinyPortal
Post by: victoryrock on March 04, 2009, 10:49:28 AM
Thanks Bloc,
 
I am not too familiar with manual changes, so do I need a forum button?
 
Victoryrock, the index.template.php only needs a forum button, so you can disregard that error and just add it manually later on.

 
If I go ahead with the install while ignoring the error for this script, what do I need to replace it with?
 
The Load.php fails on this codebit:
Code: [Select]
      // Build up the linktree.
      $context['linktree'] = array_merge(
         $context['linktree'],
         array(array(
            'url' => $scripturl . '#' . $board_info['cat']['id'],

You could go ahead there too, as it the changes can be added manually, but there a few areas to change and it migh be errors before you made the code changes.

Thanks,
VR
Title: Re: TinyPortal
Post by: IchBin™ on March 04, 2009, 04:12:50 PM
vistoryrock, the forum button is needed because TinyPortal adds a home page by default. So instead of going to your boardindex when people hit your forum, they will hit the TP page first. Unless you change that setting inside TP to go straight to the boardindex again. So, by default you need a forum button. If you take a look at tinyportal.net you can see how it works by clicking on both buttons.

The changes that need to happen to the Load.php file can be found on this page. If you go ahead with the install you'll have to make the changes shown on this page.
http://docs.tinyportal.net/index.php/topic,140.html

Title: Re: TinyPortal
Post by: victoryrock on March 04, 2009, 04:18:20 PM
IchBin,
 
If I wasn't planning on having the front page anyways, can I go ahead and install without anymore changes?
 
 
Title: Re: TinyPortal
Post by: IchBin™ on March 04, 2009, 04:28:45 PM
If you're getting an error on the Load.php file during install, you still have to make the changes to that file. But you don't need to add a forum button the the index.template.php file if you don't want to.
Title: Re: TinyPortal
Post by: victoryrock on March 06, 2009, 01:42:25 PM
For the TP Shout, Is there a sound that I can't locate in the the settings somewhere?
 
I would like it so that when someone adds a shout there's a ding or sound of some sort.
 
victoryrock
Title: Re: TinyPortal
Post by: bloc on March 06, 2009, 02:18:05 PM
Currently thats not possible - the shouts aren't logged whether they are new since you last saw them, and they are not fetched in real-time either.

Something like a chat would be more appropriate for that.
Title: Re: TinyPortal
Post by: victoryrock on March 06, 2009, 04:35:37 PM
Hey Bloc,
 
What's the chances that you can add the code in for my Load.php file (attached) and then I can just replace it after I install it with errors?
 
I am just to afraid to mess something up.
 
Thanks Bloc
 
 
Victoryrock, the index.template.php only needs a forum button, so you can disregard that error and just add it manually later on.

The Load.php fails on this codebit:
Code: [Select]
      // Build up the linktree.
      $context['linktree'] = array_merge(
         $context['linktree'],
         array(array(
            'url' => $scripturl . '#' . $board_info['cat']['id'],

You could go ahead there too, as it the changes can be added manually, but there a few areas to change and it migh be errors before you made the code changes.

...or you can try another route: do a upgrade of SMF(just use same version as your current) to clean any mods away, then install TP first, followed by Aeva + other mods. That might also work.
Title: Re: TinyPortal
Post by: BarfBag on March 10, 2009, 10:00:59 AM
I'm having trouble installing TinyPortal.

Board URL: http://chexquest.org/
SMF 1.1.8
1.     Extract Tree     ./Themes     
2.    Extract Tree    ./Sources    
3.    Extract Tree    ./tp-downloads    
4.    Extract Tree    ./tp-images    
5.    Extract Tree    ./tp-files    
6.    Execute Code    tp_install.php    
7.    Execute Modification    ./index.php    Test successful
8.    Execute Modification    ./Sources/Load.php    Test successful
9.    Execute Modification    ./Themes/default/index.template.php    Test failed
10.    Execute Modification    ./Themes/babylon/index.template.php    Test successful
11.    Execute Modification    ./Sources/Subs.php    Test successful
12.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
13.    Execute Modification    ./Sources/Security.php    Test successful
14.    Execute Modification    ./Sources/Errors.php    Test successful
15.    Execute Modification    ./Themes/default/Help.template.php    Test successful
16.    Execute Modification    ./Sources/Profile.php    Test successful
17.    Execute Modification    ./SSI.php    Test successful
18.    Execute Modification    ./Sources/BoardIndex.php    Test successful
19.    Execute Modification    ./Sources/QueryString.php    Test successful
20.    Execute Modification    ./Sources/Subs-Post.php    Test successful
21.    Execute Modification    ./Sources/Admin.php    Test successful

I'm not sure whether or not I should go through with the installation.  Any ideas?
Title: Re: TinyPortal
Post by: IchBin™ on March 10, 2009, 11:57:35 AM
You can continue, you will only need to add a forum button to the index.template.php file. You can see the instructions for that file on this page at TP.net.
http://docs.tinyportal.net/index.php/topic,140.html
Title: Re: TinyPortal
Post by: mark7144 on March 15, 2009, 12:45:51 PM
Bloc:

I want my SSI news articles on my home page (http://www.murraysworld.com/) to have their own separate non-forum pages when clicked on, that's the only thing I want on my website. Is this mod appropriate? And how would I implement it for that?

I don't want my forum changed at all and when you click on the news article, I'd like it so /forum/ is not part of the URL.
Title: Re: TinyPortal
Post by: bloc on March 15, 2009, 02:28:07 PM
Bloc:

I want my SSI news articles on my home page (http://www.murraysworld.com/) to have their own separate non-forum pages when clicked on, that's the only thing I want on my website. Is this mod appropriate? And how would I implement it for that?

I don't want my forum changed at all and when you click on the news article, I'd like it so /forum/ is not part of the URL.
Thats not possible at the moment. You would need a call in SSI.php to actually fetch an article to be displayed - since not the whole of TP is loaded when calling SSI.php. It is that you seek..? showing an article from TP outside the forum folder, outside of SMF so to speak..?

Title: Re: TinyPortal
Post by: mark7144 on March 15, 2009, 03:01:05 PM
I have a board on my forum called 'News' and the threads grabbed from that are shown on my non-forum home page using SSI. I want it so when you click on the topic from the home page, it shows in its own page instead of a thread.
Title: Re: TinyPortal
Post by: bloc on March 16, 2009, 08:52:17 AM
For that to work you probably need to 1) fetch the info from 'News" using SSI and returned as an array, and 2) make your own links from that info(it would have the topic number in the array), and finally 3) let another SSI function fetch the actual post into your page.

None of these is possible from TP I am afraid, but you might be able to do it from your own pages, by the help of a mod that adds a SSI function fetching single post. I would get the SSI info on topic zzz into xx.php and make the links on xx.php point to yy.php?topic=zzz, then inside yy.php use that single-post SSI to show topicID=zzz.(first post will show then naturally)
Title: Re: TinyPortal
Post by: mark7144 on March 16, 2009, 11:00:11 AM
Thanks for the info, I'll ask in the coding discussion board.
Title: Re: TinyPortal
Post by: ccraciun on March 22, 2009, 05:47:26 PM
Hi.
I installed TP 1.0.3 on my test forum and everything work great until now, but i have a question: how can i preserve the layout of the forum page (keeping the whole width). I would like the layout of TP (left, top, right panels) to appear only in the frontpage, but when i click on the forum button, i would like to have the default layout without the panels. Is there a way to accomplish that? I didn't find it in the configuration.
One other thing: there is a way to show "most readed topic" block? I found only "recent topics".
Many thanks!
Title: Re: TinyPortal
Post by: IchBin™ on March 22, 2009, 10:12:41 PM
In the panel settings you have the option to turn off panels when in the forum. For most read topic, you can use ssi_topTopicsViews.
Title: Re: TinyPortal
Post by: ccraciun on March 24, 2009, 02:08:29 AM
Thank you IchBin™. It works.
Title: Re: TinyPortal
Post by: karbaciun on March 24, 2009, 12:42:04 PM
hi

tinyportal or simple portal are beter? why?
Title: Re: TinyPortal
Post by: IchBin™ on March 24, 2009, 03:06:04 PM
Depends on what you think "makes something better".  Does more features mean better? Does support for the mod mean its better? What specifically are you asking is better? You'll get a biased opinion for the most part I think. Especially when asking in the TinyPortal mod topic. :) I've been involved with TP for too long to think anything else is better. :D
Title: Re: TinyPortal
Post by: hellboy78 on March 26, 2009, 06:03:03 AM
I use SMF 118 , blacktothefuture themes, and few mods.

istalling Tiny Portal involves do something manually?
Title: Re: TinyPortal
Post by: wvanfleet on March 26, 2009, 11:24:27 AM
I have SMF and installed TP, but other than seeing some items under a TP section to the left of my forum, I can't seem to see any evidence that TP has added anything.  More specifically, I thought that it would provide me with a front page that would be what people would get to first, and from which they could get to the forum.  I can't seem to make that happen.  I am not very knowledgeable.  Would appreciate any help.  Thanks!
Title: Re: TinyPortal
Post by: hellboy78 on March 26, 2009, 12:56:10 PM
how to add an html frontpage and have a new link for forum board?
Title: Re: TinyPortal
Post by: wvanfleet on March 26, 2009, 02:15:16 PM
I posted this too soon.  I am now starting to have success, and I think I will be okay.  Thank you very much.
Title: Re: TinyPortal
Post by: Skhilled on March 26, 2009, 04:57:55 PM
I use SMF 118 , blacktothefuture themes, and few mods.

istalling Tiny Portal involves do something manually?

Usually, it does not and should install without a problem. This also depends on your forum setup and server configuration. You'll also want to make sure any themes you use are created specifically for Tinyportal.

how to add an html frontpage and have a new link for forum board?

You'll have to create your html frontpage with an article and set it to be used on the frontpage. Then change settings to view frontpage articles only.

To have a link to your forum board, just include a link to it on your html frontpage. The link would be http://www.yoursite.com/index.php?action=forum
Title: Re: TinyPortal
Post by: laetabi on March 26, 2009, 06:31:26 PM
Any news on 2.0 RC1 version?
Title: Re: TinyPortal
Post by: hellboy78 on March 27, 2009, 05:59:27 AM
I use SMF 118 , blacktothefuture themes, and few mods.

istalling Tiny Portal involves do something manually?

Usually, it does not and should install without a problem. This also depends on your forum setup and server configuration. You'll also want to make sure any themes you use are created specifically for Tinyportal.

how to add an html frontpage and have a new link for forum board?

You'll have to create your html frontpage with an article and set it to be used on the frontpage. Then change settings to view frontpage articles only.

To have a link to your forum board, just include a link to it on your html frontpage. The link would be http://www.yoursite.com/index.php?action=forum

thank you

what I need now is a Forum Button into this place, so my members can pass to forum easly
Title: Re: TinyPortal
Post by: Skhilled on March 27, 2009, 10:25:31 AM
Any news on 2.0 RC1 version?

TP2 for SMF RC1 has just started testing. It will be some time before it is available...probably not until SMF 2 goes gold but don't quote me on that. Anything can happen and it's up to Bloc do decide when it's ready. ;)

thank you

what I need now is a Forum Button into this place, so my members can pass to forum easly

That depends on your theme. If it is one of Bloc's or Tinyportalmedia's themes check in the theme's settings to see if you can add it there. If not, you'll have to edit the index.template.php for your theme to add the button. Take a look at how the default's code is and copy that, if you can.

You can also create a menu block and add links to it. This is the easiest way cause you will never again have to edit your themes to make any links show. You can also use that type of block for any mod that has a link like SMF Arcade, a blog, a chat room, etc. You would just use the same type of url as I've previously posted in a menu block. :)
Title: Re: TinyPortal
Post by: karbaciun on March 28, 2009, 09:15:21 AM
Depends on what you think "makes something better".  Does more features mean better? Does support for the mod mean its better? What specifically are you asking is better? You'll get a biased opinion for the most part I think. Especially when asking in the TinyPortal mod topic. :) I've been involved with TP for too long to think anything else is better. :D

tnx but

my question  was for all, and everybody that work with tp and simpleportal and know which is beter, (no publisher mod) ;)
this question publish in both topic mod of TP and simpleportal for understand beter. ;)

now, everybody working with 2 mod please help me,with a view to : powering, compatibility, and supporting,.. :-*
Title: Re: TinyPortal
Post by: ccraciun on March 31, 2009, 01:46:08 PM
@karbaciun: why don't you try both of them and see what suite you best? that's what i'm doing right now and i'm sure it's best thing to do. ;)
Title: Re: TinyPortal
Post by: Skhilled on March 31, 2009, 04:22:03 PM
I agree. It boils down to what works best for you.
Title: Re: TinyPortal
Post by: karbaciun on April 05, 2009, 12:06:25 PM
@karbaciun: why don't you try both of them and see what suite you best? that's what i'm doing right now and i'm sure it's best thing to do. ;)

good, but this try need long time and I want to use of experiences of other person in this subject.

tnx for anything
Title: Re: TinyPortal
Post by: Skhilled on April 05, 2009, 03:56:59 PM
I suggest that you open another topic in a board where people who use other portals are more likely to see it. Since this is for TP "support" only I doubt it people who use other portals will visit here a lot. You'll probably get more variety of responses in the Chit Chat board.
Title: Re: TinyPortal
Post by: Vampy on April 11, 2009, 02:07:51 PM
I have a what will probably be a completely noob question but....

Is it possible to integrate an entire existing site containing lots of things and not just a forum into TP so that the theme across the whole site is consistent?

If you're wondering what I mean here is my site www.purplehell.com currently using an adapted "Amber" theme by bloc, I had to manually write the theme into each page and the CSS file to keep the site consistent. I want to be able to change the theme and not have to rewrite every page and/or the CSS file on the site every time - will I be able to integrate this into TP rewriting the pages only once or will I have to go with another complete CMS with a bridge to SMF?
Title: Re: TinyPortal
Post by: bloc on April 11, 2009, 06:19:37 PM
Vampy, I see your need, but what you ask is something that other CMS's do better: include SMF rather than work with it. Thats the main reason I started TP - to get away from the "including" which never worked theme-wise and ran two big scripts at the same time :P TP runs inside SMF, use same templates and makes it easier on the server. The need to use different folders is then not an issue even, as you can just stick SMF in root and TP will provide "pages" and "categories" through the callings. If you need it to be SEO, use the SEO option of SMF and TP links will look better.

You need to consider if you really need "folders" in the path though. If you do, then TP might be the wrong choice of Portal/CMS.
Title: Re: TinyPortal
Post by: Vampy on April 11, 2009, 11:20:58 PM
Thanks for getting back to me Bloc - I have a while to think, as I'm waiting until I go live with 2.0 before I consider anything and TP isn't ready for 2.0 yet.

The reason I need to keep things, especially the riddle tools, in a separate folder is because of the scripts etc. these cannot be integrated into SMF,  I don't think.... My other option is pure CSS keeping the theme/design simple as I know the same problem exists regarding the scripts and other CMS's

OR and here's my bugbear :P - have different themes on the main site and the forum
Title: Re: TinyPortal
Post by: bloc on April 12, 2009, 06:10:02 AM
Different themes can be done - sort of - with TP. One option is to simply set the article(s) preferred theme to another than the default for forum -  or set default theme to one theme, then select another theme for all the boards.

If you have scripts then you could make PHP articles in TP, place your scripts into a folder right under the forum(it doesn't matter where really) then include/require them into the articles. It depends on the script of course, but most times it works fine. It would then show as a page within TP/SMF, even if your scripts is actually somewhere else.
Title: Re: TinyPortal
Post by: R.Bourne on April 12, 2009, 11:36:30 PM
We decided to uninstall this MOD after about 2 months. Our decision doesn't have anything to do with the quality of this MOD. Although we switched to SimplePortal MOD, that one got uninstalled after only a few hours due to a few issues, ie, not compatible with different browsers out there .....

However, as I mentioned this on the other thread and as a general suggestion, which in fact applies to the majority of MODs out there, please .... PLEASE ... allow a complete cleanup after uninstalling your MODS. Considering the size of MySQL databases, even 1 MB data is too much when the a particular MOD is no longer installed. Thanks for your attention.
Title: Re: TinyPortal
Post by: bloc on April 13, 2009, 05:13:30 AM
We decided to uninstall this MOD after about 2 months. Our decision doesn't have anything to do with the quality of this MOD. Although we switched to SimplePortal MOD, that one got uninstalled after only a few hours due to a few issues, ie, not compatible with different browsers out there .....

However, as I mentioned this on the other thread and as a general suggestion, which in fact applies to the majority of MODs out there, please .... PLEASE ... allow a complete cleanup after uninstalling your MODS. Considering the size of MySQL databases, even 1 MB data is too much when the a particular MOD is no longer installed. Thanks for your attention.

The amount of requests when early TP versions removed its data, was so much that we opted to keep the data when you un-installed it. Especially when people upgraded from one beta version to another, they tend to un-install if they had many other mods, thus would also remove the vital TP data! Sadly many mods collide and make updates harder, so the need to revive the TP data is very important.

However, the database data is kept fairly collected so its just a question of removing 6-7 xxx_tp_yyyy tables, that should not be too hard to remove manually. As for uploaded files, removing the tp-files, tp-images and tp-downloads should quickly fix that.
Title: Re: TinyPortal
Post by: R.Bourne on April 13, 2009, 05:48:22 AM
Thanks Bloc. Yes, I am aware that your MOD is beta ... and well .... BETA means BETA! LOL ;)

But, anyway thanks for your time and reply.

P.S. We are in love with all your themes, BTW :D
Title: Re: TinyPortal
Post by: TheListener on April 18, 2009, 10:00:27 AM
Tried to install tinyportal on 1.1.8

We had 4 fails so decided against it.

Was willing to give the mod a chance.  :(
Title: Re: TinyPortal
Post by: R.Bourne on April 18, 2009, 06:24:00 PM
Tried to install tinyportal on 1.1.8

We had 4 fails so decided against it.

Was willing to give the mod a chance.  :(

If you are really interested to keep it, I'd suggest you check out their web sites for an excellent step-by-step installation. I remember we had a few failures, however, in less than a few min, after reviewing their site, all problems resolved.

http://docs.tinyportal.net/index.php?board=8.0;sort=subject

The portal itself has so many features and it's really cool. Their internal support forum does a good job of answering user's questions.

Good luck
Title: Re: TinyPortal
Post by: IchBin™ on April 19, 2009, 02:04:15 AM
Tried to install tinyportal on 1.1.8

We had 4 fails so decided against it.

Was willing to give the mod a chance.  :(

Not something I usually do, but if you're desperate enough you can proceed with the install. Then manually make the changes to the files that it failed on that TinyPortal requires. The changes, generally are not that complex. Of course, you should make a backup before doing anything to your forum in case you need to roll back and restore. :)
Title: Re: TinyPortal
Post by: TheListener on April 19, 2009, 02:07:53 AM
The problems we have are not knowing how or where to manually install.
Title: Re: TinyPortal
Post by: R.Bourne on April 19, 2009, 03:23:00 AM
The problems we have are not knowing how or where to manually install.

It is already documented in the link that I posted in my previous response. In fact, per their instruction, it's OK to proceed with the installation and update the failed files manually right after.
Title: Re: TinyPortal
Post by: Vampy on April 19, 2009, 07:47:01 AM
Different themes can be done - sort of - with TP. One option is to simply set the article(s) preferred theme to another than the default for forum -  or set default theme to one theme, then select another theme for all the boards.

If you have scripts then you could make PHP articles in TP, place your scripts into a folder right under the forum(it doesn't matter where really) then include/require them into the articles. It depends on the script of course, but most times it works fine. It would then show as a page within TP/SMF, even if your scripts is actually somewhere else.

I have lots of different scripts depending on the tool required, from perl (In cgi-bin) through java to javascript and so on, most of which are kept in their own folders for neatness. As I have no idea how to even start integrating them into articles I think I have a lot of reading to do before I could even attempt it :P

Quick question though - would this then require SMF to be installed into root instead of a sub folder as it is now?
Title: Re: TinyPortal
Post by: IchBin™ on April 19, 2009, 11:38:00 AM
Depends on what you want. If you want TP to be your landing page, then yes SMF has to be in the root folder because TP is only a mod for SMF.
Title: Re: TinyPortal
Post by: Vampy on April 19, 2009, 08:25:54 PM
Hmm then it won't work for me :( - I need the sub-domains and cgi-bin to stay in root along with several other things :(
Title: Re: TinyPortal
Post by: vestradeus on April 30, 2009, 07:44:02 AM
I skimmed over the last few pages, saw nothing relating to my woes, so here I go.

I've installed with no issues, learned to manage my blocks and al that jazz, got things looking good and wrote a couple articles, which worked great for me...the admin.

However, in my goal to farm out the hard work to my peoples (writing the future articles) it seems they can only gain the ability to submit one if I give permissions to manages articles and categories as well - and that's a bit more power then I want to be handing out. Is there some setting I've somehow missed that allows people to submit and article without the permissions to manage all of them?
Title: Re: TinyPortal
Post by: bloc on April 30, 2009, 08:35:50 AM
Yes, once you give them permission to "submit BBC" or "submit HTML" ( but not "manage articles") - then they get a "submit an article" link inside the userinfo type of block. They can use that to send in articles without access to all others.
Title: Re: TinyPortal
Post by: kingkingston on May 11, 2009, 08:16:41 PM
I skimmed over the last few pages, saw nothing relating to my woes, so here I go.

I've installed with no issues, learned to manage my blocks and al that jazz, got things looking good and wrote a couple articles, which worked great for me...the admin.

However, in my goal to farm out the hard work to my peoples (writing the future articles) it seems they can only gain the ability to submit one if I give permissions to manages articles and categories as well - and that's a bit more power then I want to be handing out. Is there some setting I've somehow missed that allows people to submit and article without the permissions to manage all of them?
You could just use the articles mod
Title: Re: TinyPortal
Post by: bloc on May 25, 2009, 01:19:38 PM
UPDATE

We are happy to announce the release of TinyPortal v1.0 beta 4 for SMF 1.1.x where many bugs from the previous beta have been fixed. The main focus was getting rid of errors, in order to make the operation of TP better.

From the changelog:

Code: [Select]
- Editor was cleaning up inline styles and tag attributes. Fixed.
- HTML code was not converted back from entities.Fixed.
- Layout B was off in the calculations.
- Permission check for uploading files trapped the check for submitting articles.
- Saving article titles with single quotes caused errors in saving global_tags.
- rating downloads were allowed for guests.fixed.
- Moved selection of themes to theme-block-type.
- Errors in creating topics when uploading from DL manager.
- DL manager root categories did not follow custom sorting order.
- Added settings to change the type of wysiwyg editor for Downloads.
- Added option to turn block on and off in the block editing screen.
- Sitemap items were cleared out when custom menus changed.
- Showing linktree option for articles fetched wrong variable.
- CSS errors for IE6 in DL manager frontpage.
- TP assumed tp_news permission on non-admins, causing saving to fail.
- Print article rendered BBC articles wrong.
- BBC articles did not convert entities.
- Articles were not following options for frame/title/none visibility settings.
- Added taglinks in forum as well, adjustments on layout.
- Child categories were hidden if parent category was empty of articles. TP Admin.
- RSS block did not interpret image tag in RSS feeds properly.
- Wrong logic in frontpanel display routine.
- Printing PHP articles wasn't working.
- cleaned up the article layouts.
- posting screen preview hung because of added TP layers.
- textarea/form tags broke TP admin form tags.
- A extraneous comma was casing problems in IE when Mootools scrolling of shouts were selected.
- Added back old scroller code for Shoutbox.
- Removed the "more" smilies when in Post screen.
- Article array wasn't filled for main section of blocks.
- padding differences between panels corrected.
- Create new tags was not working from editing articles.
- Category of single page was not set, making it show layout options from frontpage instead.

To update from earlier versions or install fresh, simply upload the package and run it. In case you need to install manually, follow the instructions in the mod file for SMF files, upload files and upload+run tp_install.php to insert the database tables.

- You can also update your forum through the package manager, by adding the TP server in the list of servers there. Once added, you will see the 2 latest betas which you can download and install. The server adress to use is: http://www.tinyportal.net/tpmods.
Title: Re: TinyPortal
Post by: ccraciun on May 25, 2009, 01:32:56 PM
Great news!

I'm looking forward to test it; i observe "padding differences between panels corrected" - that stopped me from further tests, i'm glad to hear that it was solved!

Many thanks for your work!
Title: Re: TinyPortal
Post by: babjusi on May 25, 2009, 01:50:54 PM
Nice work Bloc :)
Title: Re: TinyPortal
Post by: fdLP. on May 26, 2009, 05:50:56 AM
Hello , i do use TP at 1.1.9 , but my custom membergroups cant see the portal. Normal members can. why that happens?
Title: Re: TinyPortal
Post by: fdLP. on May 26, 2009, 09:31:16 AM
Bump .. also from the time i added it , I cant quote anything.
Title: Re: TinyPortal
Post by: bloc on May 26, 2009, 11:03:51 AM
Do you have a link? Normally SMF would operate as usual after TP is installed, but every block and article category needs to have permissions set for the membergroups that should view it. Like boards really.

Why you can't quote i can't say, do you use a custom theme?
Title: Re: TinyPortal
Post by: fdLP. on May 26, 2009, 12:51:44 PM
Do you have a link? Normally SMF would operate as usual after TP is installed, but every block and article category needs to have permissions set for the membergroups that should view it. Like boards really.

Why you can't quote i can't say, do you use a custom theme?

Yes i do use a custom theme , url is www.gaming-devs.com .
Title: Re: TinyPortal
Post by: bloc on May 26, 2009, 01:03:43 PM
Hm, the quoting..does it work on default theme? (http://gaming-devs.com/forum/index.php?action=forum;theme=1)
Title: Re: TinyPortal
Post by: IchBin™ on May 26, 2009, 01:37:39 PM
Is your quick edit having any problems? I've noticed on your site that you have other problems as well. If you view the source of your frontpage you'll notice that there is an extra blank line at the very top of the source before the <doctype line. If this happens, it often leads to the problem where your captcha does not work for registration. Which you'll notice if you view your registration page, that your captcha is not working. You need to look through all of your language files and make sure that there are no extra spaces or lines before the opening <?php tag, and after the closing ?> tag. If you find any, remove/delete them. If you don't find any, I would then check the files in the Sources directory for the same problem. Hopefully, once you find the problem your other problems will magically go away as well. :)
Title: Re: TinyPortal
Post by: fdLP. on May 26, 2009, 01:56:25 PM
Hm, the quoting..does it work on default theme? (http://gaming-devs.com/forum/index.php?action=forum;theme=1)

No it doesnt work with default theme.
I still cant see the menu with the custom memberships.

Is your quick edit having any problems? I've noticed on your site that you have other problems as well. If you view the source of your frontpage you'll notice that there is an extra blank line at the very top of the source before the <doctype line. If this happens, it often leads to the problem where your captcha does not work for registration. Which you'll notice if you view your registration page, that your captcha is not working. You need to look through all of your language files and make sure that there are no extra spaces or lines before the opening <?php tag, and after the closing ?> tag. If you find any, remove/delete them. If you don't find any, I would then check the files in the Sources directory for the same problem. Hopefully, once you find the problem your other problems will magically go away as well. :)

you are awesome!Thank you so much.I checked the TP's files and yes , most of them had some blank lines after the closing ?> .
Title: Re: TinyPortal
Post by: IchBin™ on May 26, 2009, 02:19:49 PM
Sweet! Glad that fixed it for you. Captcha on your site now looks like its working. So I'm assuming this affected quote and stuff too. :)
Title: Re: TinyPortal
Post by: fdLP. on May 27, 2009, 03:14:23 AM
Sweet! Glad that fixed it for you. Captcha on your site now looks like its working. So I'm assuming this affected quote and stuff too. :)

yeap probably , and i thank you.

@Bloc ,can you check my problem please?
Title: Re: TinyPortal
Post by: bloc on May 27, 2009, 04:37:15 AM
I have checked the install routine, and it does install without errors on a fresh SMF 1.1.9. I can only assume something on your site hasn't the original files, maybe a another mod is interfering there.

EDIT: I can't see any spaces in TP files either, but will double-check again.
Title: Re: TinyPortal
Post by: fdLP. on May 27, 2009, 05:11:19 AM
I have checked the install routine, and it does install without errors on a fresh SMF 1.1.9. I can only assume something on your site hasn't the original files, maybe a another mod is interfering there.

EDIT: I can't see any spaces in TP files either, but will double-check again.

I Just installed TP1_beta3 in fresh 1.1.9 files local and i created a new group and the new group with standard perms cannot see the left , right panels.

EDIT : i fixed it , i had to press on the "E"  to edit the brackets and give to custom members permissions!
Title: Re: TinyPortal
Post by: tbk22 on June 11, 2009, 04:33:30 PM
is it compatible with most custom themes? even if these themes were not made to tinyportal?
Title: Re: TinyPortal
Post by: IchBin™ on June 11, 2009, 04:42:02 PM
Yes. The only customization usually needed is a forum button.
Title: Re: TinyPortal
Post by: thesikaleon on June 16, 2009, 04:24:53 AM
This is my site http://greekschat.info

Installed smf 1.1.9 , tiny portal 0.9.8 and language greek utf 8

The problem is that in my homepage only the frontpage blocks are vissible. There is no way to make visible the center, lest side και right side blocks.

My theme is Green Light v1 (http://www.tinyportal.net/index.php?action=tpmod;themegallery=view;design=62), but it seems to works fine  HERE (http://www.fussilet.com/index.php?theme=115), with no problems.


I tried different themes from tinyportal official site but I found only one theme (leather theme) that works OK for me, and all the blocks are vissible.



Is there any sollution or it's just the leather theme that I can use?


thanks for your time  ;)
Title: Re: TinyPortal
Post by: IchBin™ on June 16, 2009, 10:27:03 AM
I don't see any panels or blocks on your site. What are your frontpage settings? What are your panel settings?
Title: Re: TinyPortal
Post by: treyzbrownz on July 31, 2009, 05:36:59 PM
Hey Guys.
Why, when I change the font size, in the forum post, that shows on the tinyportal, it never changes?

I want it font size 12, but it want change
can someone please help me..
Title: Re: TinyPortal
Post by: ishaan on October 17, 2009, 09:00:55 PM
Hello Brother ,

I am using your  TinyPortal,

what i need now is that i want to show only 1 big in a Topic shown in the Portal Page,Other images like screen shots and other should only load when we click on "click more" , So Tell me how to DO so .

plzz tell me..
  :(
Title: Re: TinyPortal
Post by: bloc on October 18, 2009, 05:26:15 AM
Hello Brother ,

I am using your  TinyPortal,

what i need now is that i want to show only 1 big in a Topic shown in the Portal Page,Other images like screen shots and other should only load when we click on "click more" , So Tell me how to DO so .

plzz tell me..
  :(

Try select "forum only" for the frontpage option, and then select only 1 item to show per page. You will get the latest in the board you specify then.

If you are looking to show one particular topic on frontpage only thats not possible.
Title: Re: TinyPortal
Post by: IchBin™ on October 20, 2009, 03:30:29 AM
Maybe you should ask this in the Simple Portal topic since it seems you are using that portal and not TinyPortal. ::)
Title: Re: TinyPortal
Post by: KensonPlays on October 28, 2009, 06:54:45 PM
Will this ever work for 2.0? What edits? I need this, i heard this could be used to connect to wordpress. is this so?
Title: Re: TinyPortal
Post by: bloc on October 28, 2009, 08:31:20 PM
Will this ever work for 2.0? What edits? I need this, i heard this could be used to connect to wordpress. is this so?
- It will, its already in beta testing on it.

- "Edits"..?

- TP doesn't work with Wordpress. If you have custom code that fetch data from Wordpress, then TP allow you to add that into a PHP type of block or article, thats all.
Title: Re: TinyPortal
Post by: j_jindal1 on November 18, 2009, 10:01:31 AM
What has happened to http://www.tinyportal.net

It's showing some empty folders at my end..  :( When will it be back..
Title: Re: TinyPortal
Post by: IchBin™ on November 18, 2009, 10:42:41 AM
Strange, everything seems to be working fine for me. Try a different browser?
Title: Re: TinyPortal
Post by: bloc on November 18, 2009, 11:02:42 AM
It was a temporary lapse in the server during a upgrade - should be fine now.
Title: Re: TinyPortal
Post by: Beadan on December 01, 2009, 07:18:01 AM
I'm using the Helios Theme, .. and I think that's my problem. I see everything you guys are talking about on the regular theme. How do I get it to work on the Helios theme?


I will convert all my themes ( well, almost..) to alternative versions for use in TinyPortal. Mainly its just adding some images, and changing index.template.php. So then you can use that version of Helios instead.

But if you already have Helios modifiled, just send me the index.template.php file and I will insert the code for you.

Hi Bloc

Will I be able to send you my index.template.php as well?  I'm receiving the following error on TP.

TinyPortal1.0 beta 4
"Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that bla bla"
Fault:
7.     Execute Modification     ./index.php     Test failed

I have prob posted a similar question on the Helios section with the problem I'm having with simple awards as well.

Any help would be appreciated!
Title: Re: TinyPortal
Post by: Kindred on December 01, 2009, 08:06:57 AM
please do not cross post in multiple threads. I have explained your problem in the helios thread. (BTW: Neither problem has to do with helios... also, please note the failure is in index.php not index.template.php. It has nothing to do with the theme)

Title: Re: TinyPortal
Post by: Distroman on December 02, 2009, 08:40:02 AM
Execute Modification     ./Themes/default/index.template.php     Test failed
Execute Modification     ./Themes/default/Help.template.php     Test failed

Until this everything was going fine.  :)

Oh, no other mods installed.

Heeeeelp.  :)
Title: Re: TinyPortal
Post by: IchBin™ on December 02, 2009, 10:00:30 AM
If you don't have any other mods installed, this is probably because you installed mods previously or altered those two files. You'll need to do one of two things.
1. Restore those two files that the install failed on, then try the install again.
2. Or install the code to those files manually after running through the install even when it has failed.
Title: Re: TinyPortal
Post by: Distroman on December 02, 2009, 10:12:54 AM
Thanks heaps, greatly, profusely and with much gusto.  :)
Title: Re: TinyPortal
Post by: paulmagno on December 17, 2009, 11:32:39 AM
Hi...I've had TinyPortal installed for about two months now and it's worked perfectly...until yesterday when I tried to edit the info in the side panels. Now, when I access the TinyPortal part of the Admin area, I can't access the "Panels and Blocks" or "Modules and Tags" sections...Everything else comes up fine, but when I try to get those two sections, I get a message that says:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I haven't changed anything at all to my board or tiny portals...How can I fix this? Oh, yeah: I'm using SMF version 1.1.10 and TinyPortal version 1.083

By the way, I tried to access TinyPortals.net, but the site has been down since yesterday...

Thanks in advance!
Title: Re: TinyPortal
Post by: bloc on December 17, 2009, 11:43:45 AM
This is probably due to TP fetching latest news from tp.net. It has been down for 12 hours now, and I am trying to get the host to check whats wrong.
Title: Re: TinyPortal
Post by: paulmagno on December 17, 2009, 12:36:01 PM
This is probably due to TP fetching latest news from tp.net. It has been down for 12 hours now, and I am trying to get the host to check whats wrong.

Problem solved...Thank you very much Sr. Bloc
Title: Re: TinyPortal
Post by: paulmagno on December 28, 2009, 11:33:51 AM
Hi...I've had TinyPortal installed for about two months now and it's worked perfectly...until yesterday when I tried to edit the info in the side panels. Now, when I access the TinyPortal part of the Admin area, I can't access the "Panels and Blocks" or "Modules and Tags" sections...Everything else comes up fine, but when I try to get those two sections, I get a message that says:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I haven't changed anything at all to my board or tiny portals...How can I fix this? Oh, yeah: I'm using SMF version 1.1.10 and TinyPortal version 1.083

By the way, I tried to access TinyPortals.net, but the site has been down since yesterday...

Thanks in advance!

Problem is back...Is this Tiny Portal again or is it me? I can't access the panels to edit them...
Title: Re: TinyPortal
Post by: paulmagno on December 29, 2009, 12:07:20 AM
Hi...I've had TinyPortal installed for about two months now and it's worked perfectly...until yesterday when I tried to edit the info in the side panels. Now, when I access the TinyPortal part of the Admin area, I can't access the "Panels and Blocks" or "Modules and Tags" sections...Everything else comes up fine, but when I try to get those two sections, I get a message that says:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I haven't changed anything at all to my board or tiny portals...How can I fix this? Oh, yeah: I'm using SMF version 1.1.10 and TinyPortal version 1.083

By the way, I tried to access TinyPortals.net, but the site has been down since yesterday...

Thanks in advance!

Problem is back...Is this Tiny Portal again or is it me? I can't access the panels to edit them...

Bump!
Help!
Problem is same as in quote box
Title: Re: TinyPortal
Post by: Ken. on December 29, 2009, 04:55:03 AM
paulmanno, you'll likely get a quicker response by posting your issue on the TinyPortal Support boards.
http://www.tinyportal.net/index.php?action=forum (http://www.tinyportal.net/index.php?action=forum)
Title: Re: TinyPortal
Post by: paulmagno on January 01, 2010, 10:31:53 PM
Hi...I've had TinyPortal installed for about two months now and it's worked perfectly...until yesterday when I tried to edit the info in the side panels. Now, when I access the TinyPortal part of the Admin area, I can't access the "Panels and Blocks" or "Modules and Tags" sections...Everything else comes up fine, but when I try to get those two sections, I get a message that says:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I haven't changed anything at all to my board or tiny portals...How can I fix this? Oh, yeah: I'm using SMF version 1.1.10 and TinyPortal version 1.083

By the way, I tried to access TinyPortals.net, but the site has been down since yesterday...

Thanks in advance!

Problem is back...Is this Tiny Portal again or is it me? I can't access the panels to edit them...

Bump!
Help!
Problem is same as in quote box

Help, please...nobody is responding to my problem at Tinyportals.net...

would a switch to simple portal be recommended?
Title: Re: TinyPortal
Post by: bloc on January 02, 2010, 05:35:22 AM
Its related to the main site, so the RSS fails. I am working to figure out why, but you are welcome to try SimplePortal instead of course.
Title: Re: TinyPortal
Post by: Plural.. on January 04, 2010, 04:28:39 PM
Very nice mod. I was wondering, where is that forum template that is displayed in the pictures provided? Do they come with the mod?

Thank you.
Title: Re: TinyPortal
Post by: Ken. on January 04, 2010, 04:40:48 PM
Very nice mod. I was wondering, where is that forum template that is displayed in the pictures provided? Do they come with the mod?

Thank you.

If you are asking about the themes the answer is no, TinyPortal includes no themes, instead it uses the themes that you install through the SMF theme management system.
There are custom themes available of course, here on SMF, on the TP site and other sites that make themes for SMF. 
Title: Re: TinyPortal
Post by: Lt Storm on January 04, 2010, 10:29:35 PM
I can't access the modules/tags and blocks/panels, I can access other options in the Tiny Portal, but when I try to access the Panels or Modules options it loads forever then goes to "can't display page".  I get this both in IE and FireFox.  Everything was fine earlier, and those are the only two pages that won't load. 

Any idea what's going on?
Title: Re: TinyPortal
Post by: IchBin™ on January 05, 2010, 12:43:11 AM
It's because those two pages pull information from TP.net. And right now TP.net is down while Bloc works out some problems. Will hopefully be back by tomorrow.
Title: Re: TinyPortal
Post by: oOo--STAR--oOo on February 18, 2010, 01:38:33 AM
Does TP offer a download System?
Title: Re: TinyPortal
Post by: Bikken on February 18, 2010, 03:43:18 AM
Does TP offer a download System?

Yes, check it out here: http://www.tinyportal.net/index.php?action=tpmod;dl
Title: Re: TinyPortal
Post by: Ken. on February 18, 2010, 05:17:43 AM
Just to add to Bikken's post... there is also a download system built into TinyPortal that can be used to host files on your site and make them available for download. It can be set to allow for member uploads and downloads.
Title: Re: TinyPortal
Post by: oOo--STAR--oOo on February 18, 2010, 06:31:01 AM
Is it better than the download system thats available here?
Style and feture wise?
Title: Re: TinyPortal
Post by: Ken. on February 18, 2010, 06:47:00 AM
Is it better than the download system thats available here?
Style and feture wise?

That's always going to be a matter of personal preference, for me the answer is yes because I use TinyPortal and think it's best... for others the answer may be different.
The best way to resolve questions like this for yourself is to set up a test site and try the different options that are available to determine what suits your needs.
Title: Re: TinyPortal
Post by: ricardo35 on March 23, 2010, 11:50:36 AM
Hello.

I have got a question regarding TP and SMF.

I'm trying to get the forum displayed next to the left tiny portal blocks. However I do NOT want the right side of the blocks to be displayed on the forum.
I've found an option in the admin panel saying '' hide panels when in custom actions'' @ Panels & Blocks.
Adding ''Forums'' makes both left and right blocks dissapear. Removing ''Forums'' Makes both blocks appear.

I'm clueless :)

Thanks!
Title: Re: TinyPortal
Post by: bloc on March 23, 2010, 11:52:55 AM
There is a setting on the "panels" page that let you hide the panel when inside the forum, tick off that and you should be fine.
Title: Re: TinyPortal
Post by: ricardo35 on March 23, 2010, 12:03:44 PM
Thanks for your reply.

Do you mean that I have to check the other boxes and uncheck the forum one?
That seems a little bit odd in my opinion, as I would have to do this for all right blocks then?

Pic07 displays the Settings page from Panels.. Where I can only say whether to display both blocks or none.

EDIT: I found it, thanks!
Title: Re: TinyPortal
Post by: ricardo35 on March 23, 2010, 01:30:29 PM
I've got one more question..

Tinyportal allows you to create some block that displays recent topics on your forum.
Now I've made two of these blocks. Both blocks show the last 5 posts on my forum in any section.
I was now wondering how I could make one block only show the last 5 topics from one specific forum.

If anyone happens to know if this is possible and how, please let me know!

Thanks in advance.
Title: Re: TinyPortal
Post by: IchBin™ on March 23, 2010, 01:37:48 PM
There are several custom block code snippets on the TP site in the block code snippets board for exactly this. A search through this board will help you find what you need.
http://www.tinyportal.net/index.php?board=46.0
Title: Re: TinyPortal
Post by: ricardo35 on March 23, 2010, 01:54:54 PM
Hey.

Thanks for your reply.

I checked one of your topics with the extremely long code, this one gave an error on line 1.

The other code I tried, which works.
Code: [Select]
       
global $scripturl;

echo '
                        <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
                               <tr><td colspan="3" class="titlebg">Recent topics</td></tr> ';
       $what=ssi_recenttopics('4', NULL, 'array');


        foreach ($what as $topic)
        {
                echo '
                                <tr>
                                        <td class="windowbg" valign="middle">
                                                ', $topic['link'];

                // Is this topic new? (assuming they are logged in!)
                if (!$topic['new'] && $context['user']['is_logged'])
                        echo '
                                                <a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic['new_from'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';

                echo '
                                        </td>
                                        <td class="windowbg2" valign="middle" width="20%">
                                                ', $topic['poster']['link'], '
                                        </td>
                                        <td class="windowbg2" valign="middle" width="35%">';
                if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings['theme_dir'] . '/images/icons/last_post.gif'))
                        echo '
                                        <a href="', $topic['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" border="0" style="float: right;" /></a>';
                echo '
                                                <span class="smalltext">
                                                        ', $topic['time'], '
                                                </span>
                                        </td>
                                </tr>';
        }

        echo '
                        </table>';

However, here, I won't be able to select specific boards from my forum, for as far I know.
Is this possible? And if please let me know :)

Thanks!
Title: Re: TinyPortal
Post by: IchBin™ on March 23, 2010, 02:20:59 PM
There are several topics for your request in that board I pointed you to. Here's one.

http://www.tinyportal.net/index.php?topic=25497.0
Title: Re: TinyPortal
Post by: bloc on April 01, 2010, 01:15:49 PM
- TinyPortal have been updated to v1.0 beta5 today, with support for SMF 2.0 RC2/RC3 + lots of bugfixes and improvements. Check first post for download link or visit http://www.tinyportal.net for more details.
Title: Re: TinyPortal
Post by: Antechinus on April 02, 2010, 04:47:41 PM
Congratulations on the new release. :)
Title: Re: TinyPortal
Post by: bloc on April 03, 2010, 05:27:21 PM
Did you choose a module that should show on frontpage? currently only the Shoutbox will show, so thats prob. why you get the error.
Title: Re: TinyPortal
Post by: KensonPlays on April 03, 2010, 07:00:51 PM
Now this is for RC3, I am trying it out, registered at tinyportal.net...

EDIT:
My activation email never came... not spam or inbox!
Title: Re: TinyPortal
Post by: bloc on April 04, 2010, 08:05:04 AM
Did you get in, Kcmartz?
Title: Re: TinyPortal
Post by: KensonPlays on April 04, 2010, 08:54:47 AM
Yes, finally, but the admin is wierd, not in admin, but a whole new menu area menu! I don't like that :|. I switched back to PortaMx, which I am way more familiar with, sorry...
Title: Re: TinyPortal
Post by: bloc on April 04, 2010, 08:55:38 AM
No worries. :)
Title: Re: TinyPortal
Post by: KensonPlays on April 04, 2010, 08:57:33 AM
Thanks, once it looks like I will be more familiar with it's admin layout, then I might try it again...
Title: Re: TinyPortal
Post by: Snogmarr on April 04, 2010, 09:56:32 AM
Ref 030410-156p+3
funny
you answered above posters question yesterday after mine then his again today even after I had asked again about the error,,,
you were on line when I asked again yet you answered above post again and ignored mine.

 can you tell me why.

Title: Re: TinyPortal
Post by: bloc on April 04, 2010, 11:28:16 AM
Ref 030410-156p+3
funny
you answered above posters question yesterday after mine then his again today even after I had asked again about the error,,,
you were on line when I asked again yet you answered above post again and ignored mine.

 can you tell me why.



There is no reason, your error is a language error. Check you have the latest of them - or clear the cache.
Title: Re: TinyPortal
Post by: Lordmiller on April 04, 2010, 11:54:55 AM
Beta 5 Installed into 2.0 RC 3, everything works, except if I try to upload a file into the download manager I get this error after entering all the data and hitting the save/send button:

Quote
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Die Roller Ap', '

', 'http://rpgfreelancers.org/smf/tp-downloads/icons/blan' at line 3
File: /home/celedor/public_html/smf/Sources/TPdlmanager.php
Line: 221

Which I believe indicates a cross issue with this mod:

http://custom.simplemachines.org/mods/index.php?mod=2032

Any thoughts as to what the issue is, so I can attempt to fix?

Edit: Reply from the Die Roller Mod Author:

That's nothing to do with this mod; there are no changes whatsoever in TPdlmanager.php on account of the last version I did I hadn't used TP at all. I'd be asking TP about it.

Even if I uninstall the die roller mod, the same error pops up whenever I hit the save button attempting to upload a file.
Title: Re: TinyPortal
Post by: IchBin™ on April 05, 2010, 05:07:41 PM
There are several issues being addressed in the last beta. Your issue is one of them miller.
Title: Re: TinyPortal
Post by: Lordmiller on April 05, 2010, 11:41:37 PM
It was fixed actually. . . .no apostrophes in file titles. . . .turned out that was the issue, Bloc responded with the fix within a few hours. . .really sweet portal, and fast turnaround, what more could I ask for?
Title: Re: TinyPortal
Post by: Galjoen on April 11, 2010, 10:18:40 AM
Installed on smf 1.1.11 and I get the following errors:

1) when checking profile:

Fatal error: Call to undefined function tpshout_profile() in /home/******/public_html/Sources/Profile.php on line 340
Fatal error: Call to undefined function tp_summary() in /home/******/public_html/Sources/Profile.php on line 343
Fatal error: Call to undefined function tp_articles() in /home/*****/public_html/Sources/Profile.php on line 343

2) I am using english utf8 and also get the following :

Unable to load the 'TPortal.english-utf8' language file.

Can anyone tell me where this files should be, as I cannot see on server, or alternatively give me edits I need to add to english-utf8  to create TPortal.english-utf8
Title: Re: TinyPortal
Post by: bloc on April 11, 2010, 03:28:59 PM
For the language files you coudl just rename the TPxxx.english.php to TPxxx.english-utf8.php, thats quickest.

The errors in profile is probably due to missing edits, check that all edits for TP were indeed carried out.
Title: Re: TinyPortal
Post by: tsak on April 17, 2010, 12:17:00 PM
hello. i have 2 problems.
1)How i can add a forum link on my menu
2)If someone try to see my portal non of the images of the theme i use are loaded. So he can see a white page with links only.

Can someone help me? Thx for your time
Title: Re: TinyPortal
Post by: Ken. on April 17, 2010, 06:26:36 PM
tsak, the best and easiest way to get answers is to post your issue on the TinyPortal site.

http://www.tinyportal.net/index.php?action=forum
Title: Re: TinyPortal
Post by: Soulflare3 on April 20, 2010, 07:50:10 PM
I installed the mod on SMF 1.1.11, and everything works for the most part, except:
When I click the Admin tab, I get the following error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/******/public_html/smf/Sources/Admin.php on line 999

Before, I had gotten an error on line 406 that said there was an extra '*', so I went in and deleted the extra asterisk, but now I have another error :o. I tried to uninstall it to see if it would go back to normal, and it does, except once uninstalled, the error moves to line 998. I am going back to before I installed it, because I don't have access to some of my Admin tools. If you can fix the problem so that the Admin tab works, I'll reinstall it, but until then, I'm going back.
Title: Re: TinyPortal
Post by: Arantor on April 20, 2010, 07:53:11 PM
You could attach the broken file...
Title: Re: TinyPortal
Post by: Soulflare3 on April 20, 2010, 08:08:10 PM
I'm using an autoinstaller that came with my account, so it is literally easier and faster just to delete it and reinstall it.
Title: Re: TinyPortal
Post by: Arantor on April 20, 2010, 08:11:15 PM
Not really if you actually want anyone to identify the problem and help you prevent it in future.
Title: Re: TinyPortal
Post by: Soulflare3 on April 20, 2010, 08:13:13 PM
I meant SMF not TinyPortal. TinyPortal messed up my SMF files. (And the backups weren't accessible)
Title: Re: TinyPortal
Post by: Arantor on April 20, 2010, 08:18:29 PM
Yes, and without seeing the file there's no guarantee it won't happen again next time.
Title: Re: TinyPortal
Post by: Soulflare3 on April 20, 2010, 08:19:51 PM
I would like to appologize. I just reinstalled TinyPortal, and the errors are no longer there. Apparently I had a corrupted file on my server. Sorry for bothering you.
Title: Re: TinyPortal
Post by: Arantor on April 20, 2010, 08:22:54 PM
It should work just fine on a fresh install but something else you installed broke it - and won't work next time you install it...
Title: Re: TinyPortal
Post by: Soulflare3 on April 20, 2010, 08:23:46 PM
Yeah, I'm playing around with it ATM to find out which install corrupted the main board files.
Title: Re: TinyPortal
Post by: Soulflare3 on April 21, 2010, 05:28:55 PM
Installed on smf 1.1.11 and I get the following errors:

1) when checking profile:

Fatal error: Call to undefined function tpshout_profile() in /home/******/public_html/Sources/Profile.php on line 340
Fatal error: Call to undefined function tp_summary() in /home/******/public_html/Sources/Profile.php on line 343
Fatal error: Call to undefined function tp_articles() in /home/*****/public_html/Sources/Profile.php on line 343

2) I am using english utf8 and also get the following :

Unable to load the 'TPortal.english-utf8' language file.

Can anyone tell me where this files should be, as I cannot see on server, or alternatively give me edits I need to add to english-utf8  to create TPortal.english-utf8


I am getting the exact same errors while viewing my profile in SMF 1.1.11, and also get the following error:
Fatal error: Call to undefined function tp_download() in /home/******/public_html/smf/Sources/Profile.php on line 347
when I click on the uploaded files link in the same sidebar.
Title: Re: TinyPortal
Post by: IchBin™ on April 21, 2010, 07:52:39 PM
All of these errors have been covered at TinyPortal if you take a search over there.
Title: Re: TinyPortal
Post by: Soulflare3 on April 22, 2010, 03:07:58 AM
Thank you. I found the reference you mentioned.
Title: Re: TinyPortal
Post by: !RFAN on May 18, 2010, 10:28:35 PM
okay... this is the 2nd time when i installed this mod and getting the sae error after installation... i cant even open my site...

Fatal error: Call to undefined function TP_loadTheme() in /home/hitohi/public_html/Sources/Load.php on line 1403

please help me ASAP
Title: Re: TinyPortal
Post by: IchBin™ on May 18, 2010, 11:16:33 PM
My guess is that your installation is not doing the edits to the files that it needs. The TP_loadTheme() function is in TPortal.php. I'd suggest you hit the parse button on the mod page for your version of SMF, then go through the files and see if it made the appropriated edits. Either that or it didn't upload the TPortal.php file to the Sources directory.
Title: Re: TinyPortal
Post by: !RFAN on May 19, 2010, 03:03:52 AM
hmmm... i did manual work on index.php and now its working fine..
pnly one problem... when i go to portal as an admin i can see panels but as a member i cant see any panels...

attatchment 1: as admin
attatchment 2 : as member

Title: Re: TinyPortal
Post by: !RFAN on May 19, 2010, 03:50:10 AM
sorry but i have done it... now every thing is working fine...

one question... can i use pretty urls with this mod... will it work??
Title: Re: TinyPortal
Post by: IchBin™ on May 19, 2010, 09:42:45 AM
I know there were problems in the past with that mod. But I've never used it myself, and don't know anyone else that has used that with TP. I'd suggest giving it a try and see.
Title: Re: TinyPortal
Post by: !RFAN on May 23, 2010, 01:23:18 PM
hmmm... so will it be beneficial in SEO??
i mean can i get ant SEO benefit from this...which is a function of CMS.
Title: Re: TinyPortal
Post by: rd on May 23, 2010, 01:28:45 PM
hmmm... so will it be beneficial in SEO??
i mean can i get ant SEO benefit from this...which is a function of CMS.

PrettyURLs? No, you will not get a benefit in SEO, because good looking URLs don't matter, it;s the content.
TinyPortal? Depends, like all other portals, if you use it to display content then search engines will of course index.
Title: Re: TinyPortal
Post by: rd on June 04, 2010, 07:58:06 PM
Yo, does anyone know if TP allows pictures to be resized in the frontpage because my picture is shown too big >.>
Title: Re: TinyPortal
Post by: FUBAR on June 04, 2010, 08:11:19 PM
Yo, does anyone know if TP allows pictures to be resized in the frontpage because my picture is shown too big >.>

How are you displaying the picture on the front page?  Are you using a block or porting forum posts to the front page? 

It should do it either way but if using a block you would need to set it properly.   If using a forum post it should follow your forum rules for resizing an image. 
Title: Re: TinyPortal
Post by: rd on June 04, 2010, 10:05:42 PM
I'm using hotlinked images in forum posts.
Title: Re: TinyPortal
Post by: rd on June 04, 2010, 10:06:12 PM
Here: http://battleplanes.info

Title: Re: TinyPortal
Post by: rd on June 05, 2010, 08:25:50 AM
I still need help. I can't control size for sone reason and I'm hotlinking the images from with sites with the img bbcode.
Title: Re: TinyPortal
Post by: IchBin™ on June 05, 2010, 01:37:23 PM
TP doesn't change the sizes of the images if you don't constrain them within SMF from what I remember. Especially when you are only putting them inline and not as attachments.
Title: Re: TinyPortal
Post by: !RFAN on June 05, 2010, 02:14:15 PM
use highslide mod for this purpose... m using it an working fine for me..check out here: http://www.amigozone.tk
Title: Re: TinyPortal
Post by: Abel6669 on June 11, 2010, 08:58:05 AM
Hi there,

Ive downloaded TP a few days ago, and when i installed it, front page images were missing, just red "x"'d boxes were there.

Ive tried downloading from this website, SMF main site several times. Upon looking through the .zip, the files that are missing are ot actually IN it???

Can anyone help me?
Title: Re: TinyPortal
Post by: bloc on June 11, 2010, 11:07:01 AM
Which ones?
Title: Re: TinyPortal
Post by: Abel6669 on June 11, 2010, 04:32:47 PM
Which ones?

Most of them I think...

this screenshot I have shows the only ones i have noticed so far - one of which is "TPedit2" (I think)

Title: Re: TinyPortal
Post by: bloc on June 12, 2010, 06:19:47 AM
Upload all TP images into "Themes/default/images/tinyportal" folder, it seems they wasn't uploaded. Possibly also into "Themes/Moderndark64/images/tinyportal" folder.

They are located in the zip file as "common/Themes/default/images/tinyportal"
Title: Re: TinyPortal
Post by: Crip on June 25, 2010, 02:50:43 PM
Awesome update Mr. Bloc! (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.simplemachines.org%2Fcommunity%2FThemes%2Fdefault%2Fimages%2Fpost%2Fthumbup.gif&hash=7e340dcc7fb03ee7fe828bab3e4836ad)  (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.simplemachines.org%2Fcommunity%2FThemes%2Fdefault%2Fimages%2Fpost%2Fthumbup.gif&hash=7e340dcc7fb03ee7fe828bab3e4836ad)   
Title: Re: TinyPortal
Post by: agridoc on June 26, 2010, 05:10:06 AM
I post this as there might be quite a few that cant' connect to http://www.tinyportal.co.uk (http://www.tinyportal.co.uk).

After quite some struggling trying to connect, I concluded that ZoneAlarm Extreme security software blocks the site after a few clicks and, a crazy thing, it blocks the modem router.  :o

There might be others that have the same difficulties and think that the site is down or not working.

The new TP Support site is up and working!

From my experience until now

For ZoneAlarm Extreme users

If you can't connect to http://www.tinyportal.co.uk (http://www.tinyportal.co.uk) try again after resetting your modem (wait for Internet connection to be reestablished first).

After a few clicks you might see that the site is unavailable. This is caused by ZoneAlarm Extreme blocking the modem. You must reset again to reestablish connection with the site. If it's a wireless modem - router the same behavior appears from a WI-FI connection.

Disabling the firewall doesn't change anyrthing. If ZoneAlarm Extreme is unloaded everything goes OK (if the modem is first reset), no blocking, however this is not recommended for safety reasons.

Users of other security software might have similar behavior. If you can't connect, try the above instructions. Please report here if security software is another ZoneAlarm product or a different one.

I post here as people with problems accessing www.tinyportal.co.uk will not be able to post there.

Check Point (Zone Alarm) and the site's host will be contacted to find a solution.
Addition

What affects www.tinyportal.co.uk with ZoneAlarm Extreme. The site of the host has the same behavior.

Browser security -> Settings -> Advanced
Enable site status check <- Must be checked off

From ZoneAlarm Browser Security Help (http://download.zonealarm.com/bin/forcefield_x/help/wwhelp/wwhimpl/js/html/wwhelp.htm)
Quote
Enable site status check : Checks security-related information about each site you visit. See Web Site Safety Check and Rating for more information.

Title: Re: TinyPortal
Post by: Jojie on June 26, 2010, 09:15:09 AM
hi, I had an RSS issue. But unfortunately when i was asking over at tinyportal.net ... the last reply i coudln't read becuase the site has since closed.  but issue so far is this;

i have 2 sites. one running ver 0.098 and the other running the latest version. The one running the latest version will not show any RSS  -- that is any RSS at all... where as the other site with ver .98 can. I was asked something about running external website through php which i have no clue how to do/answer  so i asked how can i test it.. which ofcourse i got a reply after.. but that's when the site closed down..

so basically i'm starting from scratch again.  with help that is..
Title: Re: TinyPortal
Post by: Ken. on June 26, 2010, 10:17:19 AM
Joj, try posting your question on the new TinyPortal support site, you should be able to get an answer there.
www.tinyportal.co.uk (http://www.tinyportal.co.uk)
Title: Re: TinyPortal
Post by: lurkalot on June 27, 2010, 05:01:33 AM
Where is the Changelog for TP1.0 beta 5-2 ? 

It would be nice to see what's fixed / added / taken away etc in this new version. Now that the bugtracker has gone. ;)
Title: Re: TinyPortal
Post by: Akyhne on June 27, 2010, 09:51:40 AM
Where do we find the translations for old and new versions now?
Title: Re: TinyPortal
Post by: Mick. on June 27, 2010, 10:54:30 AM
Hey TP!   I registered to the new site 1/2 hour ago, but no activation email yet has come my way :o
Title: Re: TinyPortal
Post by: ZarPrime on June 27, 2010, 11:33:22 AM
Akyhne,


There haven't been a lot of translations done yet but there are some.  You can check the International Board on the new site or have a look at this topic --> http://www.tinyportal.co.uk/index.php?topic=32105.0 (http://www.tinyportal.co.uk/index.php?topic=32105.0)


I will ask Bloc the next time I talk to him to give me the downloads for the ones we had at the time TP.net closed.  We will be  discussing what to do about translations on the Team Board over there in the next couple of days.


Bluedevil,


I don't know what the problem might have been.  I activated you manually.


ZarPrime
Title: Re: TinyPortal
Post by: Akyhne on June 27, 2010, 11:38:15 AM
I might start the Danish translation, but I don't intend to start all over. It would be nice with the old language packs in hand.
Title: Re: TinyPortal
Post by: ZarPrime on June 27, 2010, 11:59:24 AM
I'm not even certain that anyone ever did a Danish translation for TP 1.0 beta 5.  I'll just have to ask Bloc.  Most people did their own translations for the latest version since it's only been out for a couple of months.  There are a few translations available but it may be that we will just need to start over.


ZarPrime
Title: Re: TinyPortal
Post by: Mick. on June 27, 2010, 12:09:05 PM
Thanx ZP,   you rock! ;)
Title: Re: TinyPortal
Post by: rngrdanny22 on July 02, 2010, 11:14:53 AM
Good morning,

I am having an issue with a theme I am creating. My issue is with the topnav (top menu with home, forum, admin, etc). I have TinyPortal installed, but when I go into a message board, it highlights the "Home" tab instead of the "Forum" tab. I noticed that on www.DzinerStudio.com, no matter what you click on in the "Forum" drop down menu or whichever board you go into, the "Forum" tab stays highlighted.

Is there a trick to doing this that I'm overlooking?

Thanks!
Title: Re: TinyPortal
Post by: Touti on July 04, 2010, 08:45:31 AM
Hi Forum,

My site was hacked last night.

SMF 1.1.11
TP 1.0 Beta 4

The hacker managed to upload a compressed script using TP.  He put a file called dbc.php.pjpg in the tp-images/File folder and then used it to replace my index.php file.

My access log for that period (http://www.totalexpedition.com/log.txt)

This what I get in my browser when I navigate to myserver/tp-images/dbc.php.pjpg

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.totalexpedition.com%2FMGalleryItem.php%3Fid%3D2367&hash=3cccdb8c4445f7d4d6626b70034e8722)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.totalexpedition.com%2FMGalleryItem.php%3Fid%3D2368&hash=864d12762c8064a334d8e9a9b2462e9b)

It looks like a nice little hacking interface.   I checked the IP Address and it's not a registered member of my forum.  I tried all the links that the hacker used which I see in my access log.

This is what he used
http:// web site address /FCKeditor/editor/filemanager/browser/default/browser.html?connector=connectors/php/connector.php

That shows the content of the tp-images/File folder and with a file upload box at the bottom

Bloc, I understand that FCK Editor comes from a 3rd party and that you're just including it with TP but maybe you should modify the one in your distribution to include a security check and make sure only forum members that are logged in can upload files.
Title: Re: TinyPortal
Post by: bloc on July 04, 2010, 10:16:02 AM
FCKeditor is not inlcuded with v1.0 beta4.

That must be from an earlier TP version as I removed it already in v1.0beta1...one of the reasons was exactly that vulnerability + other possible problems with it.
Title: Re: TinyPortal
Post by: Touti on July 04, 2010, 10:58:53 AM
Thanks Bloc, that's good to know.  I've been using TP since 0.98 and I just kept upgrading with each new version, I had no idea that you had dropped FCK Editor.  Does this mean there's no more wysiwyg for writing articles ?

Edit: Nevermind, I renamed the FCKeditor folder and I still have wysiwig.  Maybe next time I upgrade I'll read the change log  :-[
Title: Re: TinyPortal
Post by: IchBin™ on July 04, 2010, 11:21:12 AM
No, it means that a different editor is being used.
Title: Re: TinyPortal
Post by: bloc on July 04, 2010, 04:26:57 PM
V1.0 beta5.2 has been released, but the changelog was left out:

Quote
Changelog:

- Textareas inside PHP code would interfere with TP source code.Fixed.
- Errors with utf-8 characters not shown correctly in shoutbox+articles.
- Changed slightly shoutbox to better fit in narrow panels.
- Fixed CAPTCHA errors in article comments.
- Fixed avatars not showing in forum topics on frontpage.
- Added WAP and IMODE subtemplate code.
- Corrected javascript errors for menu item editing.
Title: Re: TinyPortal
Post by: Svannah on July 06, 2010, 01:11:26 PM
Bloc,  I was referred to you by K@.  I'm having issues with the custom theme I installed from SMF on my website and getting the blocks to appear. I have TinyPortal installed.

See this thread for more info. http://www.simplemachines.org/community/index.php?topic=389397.0

Anything you can do to help me get the left block to appear?
Title: Re: TinyPortal
Post by: agridoc on July 06, 2010, 01:40:41 PM
Svannah which version of SMF and TP are you using? You posted that you have not installed it yourself, so it may be an older version.
Whatever version of TP, a new block must be set to ON to show up. In a PHP block there will be no content if errors exist.

In newer versions, besides the panel selection, you must also define in which sections you want the block to appear.
Title: Re: TinyPortal
Post by: MaXiForum.cz on July 06, 2010, 01:44:23 PM
Quote
Tinyportal.net is now closed and all support will have to happen on the SMF modsite in the future.

Hello!
Will appear another update or not?
I would like to know if TinyPortal ends...
Thanks
Title: Re: TinyPortal
Post by: Svannah on July 06, 2010, 02:08:00 PM
Svannah which version of SMF and TP are you using? You posted that you have not installed it yourself, so it may be an older version.
Whatever version of TP, a new block must be set to ON to show up. In a PHP block there will be no content if errors exist.

In newer versions, besides the panel selection, you must also define in which sections you want the block to appear.

Agridoc,  I'm using 1.1.11 for SMF, and for TP 0.983.  I've selected everything I can think of to have the blocks show up, but nothing makes them appear.  I've got two articles made to appear in the block, and those are set appropriately.  Before I installed the current theme, the blocks were there, but when I put in the theme I have now, they were gone.
Title: Re: TinyPortal
Post by: bloc on July 06, 2010, 04:50:08 PM
Quote
Tinyportal.net is now closed and all support will have to happen on the SMF modsite in the future.

Hello!
Will appear another update or not?
I would like to know if TinyPortal ends...
Thanks

You already have the newest update, right here in this topic - the v1.0 beta5.2 version.

On the question if TP will end or not: I have no plans to go beyond v1.0 final at this point, IMO it works fine as it is, for what it does. Bugs and minor adjustments must be fixed of course and released, especially when SMF come out in new versions.
Title: Re: TinyPortal
Post by: agridoc on July 06, 2010, 05:22:21 PM
Agridoc,  I'm using 1.1.11 for SMF, and for TP 0.983.  I've selected everything I can think of to have the blocks show up, but nothing makes them appear.  I've got two articles made to appear in the block, and those are set appropriately.  Before I installed the current theme, the blocks were there, but when I put in the theme I have now, they were gone.

I see the point now.

TP 0.9.8 needed themes to be converted to work with, TP 1.0 not. it works with standard SMF themes.

So you can go one of two ways.
- Install another theme that is made to work with TP 0.9.8x, unfortunately I have no links available.
- Upgrade to TP 1.0 beta5.2 (http://custom.simplemachines.org/mods/index.php?mod=97) so you can work with any theme compatible with the SMF version you have. This move will need a plan and should be a major upgrade of your site.
Title: Re: TinyPortal
Post by: Svannah on July 06, 2010, 05:29:11 PM
I see the point now.

TP 0.9.8 needed themes to be converted to work with, TP 1.0 not. it works with standard SMF themes.

So you can go one of two ways.
- Install another theme that is made to work with TP 0.9.8x, unfortunately I have no links available.
- Upgrade to TP 1.0 beta5.2 (http://custom.simplemachines.org/mods/index.php?mod=97) so you can work with any theme compatible with the SMF version you have. This move will need a plan and should be a major upgrade of your site.

Well I'd rather not change themes - and an upgrade can't hurt...but I am still very new to some of this stuff.  I know how to dinstall packages, but as for what it will do to my site...that I really know nothing about.  The site itself is still being set up, so currently only myself and three others are registered there.  If I had to re-do everything, that would suck, but I'd do it. 

What do you mean the move will need a plan?  Will I have to redo everything I've already got set up then?

Title: Re: TinyPortal
Post by: agridoc on July 06, 2010, 06:24:07 PM
Installing a theme is very simple.

If TP 0.9.8.3 can be uninstalled, it's easy. If other mods are installed after TP and quite some customization has been done it needs a plan. I am speaking for big sites with quite some content, members, mods, manual customization, bridged software. This seems  not to be your case.
Title: Re: TinyPortal
Post by: Svannah on July 06, 2010, 06:36:44 PM
So a few articles, some forum boards, some calendar events - that might be ok?

And it looks like TP can be uninstalled and I don't have any other mods that I'm aware of.  Nothing else showing up in the Modules tab under Packages.
Title: Re: TinyPortal
Post by: Svannah on July 06, 2010, 06:46:29 PM
Ok well I have a test site set up so I can mess around with settings before I apply them to my live site.  I uninstalled TP .983 and installed the beta from the link you provided...and now I can't do anything on the test site.

I get a Database Error:

Quote
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IFNULL(mem.realName,art.author) as realName FROM smf_tp_articles AS art
LEFT ' at line 2
File: /home/thedi13/public_html/grayorder/test/Sources/TPortal.php
Line: 2153
Title: Re: TinyPortal
Post by: agridoc on July 06, 2010, 07:07:57 PM
TP.0.9.8.3 uninstalled without error messages?

Get the latest Large upgrade of SMF (1.1.11 of SMF 2.0 RC3) upload the files overwriting the old ones and run upgrade.php. That will bring back the site. Then reinstall TP 1.05.2.
Title: Re: TinyPortal
Post by: Svannah on July 06, 2010, 07:27:48 PM
TP.0.9.8.3 uninstalled without error messages?

Get the latest Large upgrade of SMF (1.1.11 of SMF 2.0 RC3) upload the files overwriting the old ones and run upgrade.php. That will bring back the site. Then reinstall TP 1.05.2.

I assume you mean one of the installs from this page? http://download.simplemachines.org/

Which one?
Title: Re: TinyPortal
Post by: agridoc on July 06, 2010, 08:14:32 PM
It's up to you to decide, TP 1.05.2 will work with both.

SMF 1.1.11 is more stable, has some mods not yet available for SMF 2.0.

Usually RC3 versions are close to maturity, so you may try 2.0 RC3, has quite some new features but remember there is a note
Note: As this is in development, we do not recommend running SMF 2.0 RC3 on a production site.

If your members are not expected to be hundreds soon choose the newer version.
Title: Re: TinyPortal
Post by: Claine on July 07, 2010, 01:29:12 AM
I'm getting a lot of errors.  There is two main kinds.  I'm not exactly sure where they're from but they both mention TP so this is probably a good place to start.  There is a slight variation between them, but in general they all look like this:

Code: [Select]
2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69

Code: [Select]
Apply Filter: Only show the errors with the same message
8: Undefined index: tp_panels
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69

I use SMF 2.0 RC3
Title: Re: TinyPortal
Post by: MaXiForum.cz on July 07, 2010, 11:27:14 AM
Quote
Tinyportal.net is now closed and all support will have to happen on the SMF modsite in the future.

Hello!
Will appear another update or not?
I would like to know if TinyPortal ends...
Thanks

You already have the newest update, right here in this topic - the v1.0 beta5.2 version.

On the question if TP will end or not: I have no plans to go beyond v1.0 final at this point, IMO it works fine as it is, for what it does. Bugs and minor adjustments must be fixed of course and released, especially when SMF come out in new versions.

Thank you Bloc
And do you know that your copyright addresses to the closed site? :)
Title: Re: TinyPortal
Post by: bloc on July 07, 2010, 11:45:53 AM
Yes, I do. This will be changed on the next update.
Title: Re: TinyPortal
Post by: MaXiForum.cz on July 07, 2010, 03:44:18 PM
Yes, I do. This will be changed on the next update.

Ok ok thank you Bloc.
TinyPortal looks very nice :-)
Title: Re: TinyPortal
Post by: IchBin™ on July 11, 2010, 05:18:16 PM
I'm getting a lot of errors.  There is two main kinds.  I'm not exactly sure where they're from but they both mention TP so this is probably a good place to start.  There is a slight variation between them, but in general they all look like this:

Code: [Select]
2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69

Code: [Select]
Apply Filter: Only show the errors with the same message
8: Undefined index: tp_panels
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69

I use SMF 2.0 RC3
I'm guessing you have a block code snippet or something causing these errors. Can you figure out when you are getting the errors? If you disable all blocks, do you still get the errors?
Title: Re: TinyPortal
Post by: tRu3_sKiTz0 on July 13, 2010, 09:38:56 AM
Hey everyone! I just had a quick question. First off, I have been using both TP and SP for a while now because I like SP but for some reason I could never get the forum from displaying in the home page or portal page so I kept TP because it kept SP from taking over my portal page. I WAS going to uninstall both and just use ADK but now I get errors everytikme I try to unstall either one. I guess it doesn't really matter because I like the SP and I guess I need TP so I don't really wanna try to get rid of it. My question is; How do I remove the tinyportal link that is in the footer. I am not using any features from tiny portal and it seems that the website is down so I really just wanna get rid of the footer link because it is wayy up abive all the others and looks out of place and to top it off, I'
m not even using any features of tinyportal. Please help, I just wanna remove the footer link because it is unsitely and the website isnt even there anymore.

Thanks in advance!
Title: Re: TinyPortal
Post by: Ken. on July 13, 2010, 09:51:18 AM
Removing copyright links is not a question you'll get answers for here... that's not something anyone in a support role would condone.

The new TinyPortal support site can be found here:
http://www.tinyportal.co.uk/index.php (http://www.tinyportal.co.uk/index.php)

And.. running two portals in the same SMF install is not a good idea... to easy to have conflicts between the two portals.
You should pick the one you like best and remove the other from your site.
Title: Re: TinyPortal
Post by: tRu3_sKiTz0 on July 13, 2010, 10:48:15 AM
I wish I could but as I have stated the timy portal is the only hting keeping simple portal from sticking it all on one page but that isnt even the problem. The problem is that the TinyPortasl link is so far above everything else, is there a way I can move it down so that it is in with the rest of the links and not up above them like that ?

EDIT: Not to mention the fact that the lionk in the footer is dead anyway.
Title: Re: TinyPortal
Post by: Kindred on July 13, 2010, 10:56:53 AM
actually, I'd bet that much of the problem actually comes from having two portals installed.
Title: Re: TinyPortal
Post by: IchBin™ on July 13, 2010, 10:59:29 AM
To move the TP copyright:
http://www.tinyportal.co.uk/index.php/topic,30116.0.html

The footer link is not dead yet, it still leads to a splash page that leads to the new support site. The link will be changed in the next update.
Title: Re: TinyPortal
Post by: tRu3_sKiTz0 on July 13, 2010, 11:44:51 AM
Okay, I guess at this point, I just don't see the point in sign ing up for yet another another forum when there is a support section here. Here is what my "TPBlockLayout.php file has in it.
Code: [Select]
<?php
// Version: 1.0 beta5; TPBlockLayout
// For use with SMF v2.0

function template_tp_above()
{
global $context $scripturl$settings$language $txt$options;

if(!empty($context['TPortal']['upshrinkpanel']))
echo '
<div style="float: right; margin-right: 0.5em; margin-top: -1.5em;">'
$context['TPortal']['upshrinkpanel'] , '</div>';

if($context['TPortal']['toppanel']==1)
echo '
<div id="tptopbarHeader" style="' 
in_array('tptopbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' 'clear: both;">
'
TPortal_panel('top') , '
</div>'
;

echo '
<table cellpadding="0" cellspacing="0" width="100%" style="margin: 0; padding: 0; table-layout: fixed; clear: both;">
<tr>'
;

// TinyPortal integrated bars
if($context['TPortal']['leftpanel']==1)
{
echo '
<td id="tpleftbarContainer" style="width:' 
, ($context['TPortal']['leftbar_width']) , 'px; ' in_array('tpleftbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '" valign="top">
<div id="tpleftbarHeader" style="' 
in_array('tpleftbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
$context['TPortal']['useroundframepanels']==?
'<span class="upperframe"><span></span></span>
<div class="roundframe" style="overflow: auto;">' 
''
TPortal_panel('left') , 
$context['TPortal']['useroundframepanels']==?
'</div>
<span class="lowerframe"><span></span></span>' 
'' '
</div>
</td>'
;

}
echo '
<td align="left" valign="top" ' 
$context['browser']['is_ie'] ? 'width="100%"' '' ,  '>
<div id="tpcontentHeader">'
;
  
if($context['TPortal']['centerpanel']==1)
echo '
<div id="tpcenterbarHeader" style="' 
in_array('tpcenterbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
TPortal_panel('center') , '
</div>'
;

}

function 
template_tp_below()
{
global $context $scripturl$settings$language $txt$options;

if($context['TPortal']['lowerpanel']==1)
echo '
<div id="tplowerbarHeader" style="' 
in_array('tplowerbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
TPortal_panel('lower') , '</div>';

echo '</div>
</td>'
;

// TinyPortal integrated bars
if($context['TPortal']['rightpanel']==1)
{
echo '
<td id="tprightbarContainer" style="width:' 
,$context['TPortal']['rightbar_width'], 'px;' in_array('tprightbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '" valign="top">
<div id="tprightbarHeader" style="' 
in_array('tprightbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
$context['TPortal']['useroundframepanels']==?
'<span class="upperframe"><span></span></span>
<div class="roundframe">' 
''
TPortal_panel('right') , 
$context['TPortal']['useroundframepanels']==?
'</div>
<span class="lowerframe"><span></span></span>' 
'' '
</div>
</td>'
;

}

echo '
</tr>
</table>'
;

if($context['TPortal']['bottompanel']==1)
echo '
<div id="tpbottombarHeader" style="clear: both;' 
in_array('tpbottombarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
TPortal_panel('bottom') , '
</div>'
;

echo '<div id="tportal" class="smalltext">' tportal_version() , '</div>';
}

?>


What do I change so that I can I move it to where the rest of the links are instaed of being so far above everything else? BTW, why support a mod that doesnt have a comprehensive support thread? Just sayin... v
Title: Re: TinyPortal
Post by: IchBin™ on July 13, 2010, 01:22:02 PM
You don't have to sign up to read the link I posted for you to see how to change it. You can see that the code is at the very bottom of the file as was mentioned in the topic I linked you to. It also shows you how to move the copyright out of that file, and into the index.template.php where you want it.
Title: Re: TinyPortal
Post by: tRu3_sKiTz0 on July 14, 2010, 08:14:15 AM
OMG I'm a tard! LOL I'm so sorry for ******in at ya like that. I see it now, I don't know why I missed it before. I think I was just burnt out. Thanks man, I really appreciate it.

EDIT: Okay got it! Now it fits nicely right next to the theme copyright! I can't thank you enough, I don't know what I thought I was looking at before but it's all good now lol.
Title: Re: TinyPortal
Post by: IchBin™ on July 14, 2010, 09:58:19 AM
lol no problem.
Title: Re: TinyPortal
Post by: Akyhne on July 16, 2010, 12:14:13 PM
Code: [Select]
http://www.mysite.com/index.php?action=tpmod;dl & http://www.mysite.com/index.php?action=tpmod;dl=search

The DL Manager module is not active.
I don't see why this should generate an error that's placed in the log.

As I had the dl manager enabled the first week I had the 2.0 version installed, I now get a bunch of errors from spiders visiting my forum. It's not an error it's disabled - it's a (missing) feature.
Title: Re: TinyPortal
Post by: IchBin™ on July 16, 2010, 12:26:55 PM
If you'd like to change that, just open up the TPdlmanager.php file and change this part:
Code: [Select]
if(!$context['TPortal']['show_download'])
        fatal_error($txt['tp-dlmanageroff']);

To this:
Code: [Select]
if(!$context['TPortal']['show_download'])
        redirectexit();

That'll take you to the board index if it's disabled.
Title: Re: TinyPortal
Post by: Akyhne on July 16, 2010, 12:29:37 PM
Already did ;)
Title: Re: TinyPortal
Post by: miDnIghtEr20C on July 21, 2010, 08:53:04 PM
i get one error trying to install this.. and that's on the     ./Themes/default/index.template.php     Test failed.    is it because i have ajax chat up?
Title: Re: TinyPortal
Post by: IchBin™ on July 22, 2010, 09:45:23 AM
It's likely because of another mod yes. If you want, you can install anyway and then make the alterations to the file that are shown when you click the parse button for your version of SMF on the mods download page. Make a backup before you do any changes though.
Title: Re: TinyPortal
Post by: thellie on July 25, 2010, 06:01:20 AM
before i go to my backup, i thought i'd see if you have an easy answer...

i've spent the day installing mods, most autoinstalling through packages, but some manually using the relevant manuals. checking them before going onto the next one, and backing up once or twice.

but, as things were going so well i decided to forego backing up for the final couple of hours. i also had a bright idea about the mods which wouldn't auto install - running the pre-install to see which files failed, then putting the originals into the folder (renaming the modded ones temporarily), and rerunning the pre-install to make sure all tests were successful... which worked well until i came to tiny portal.

i had fails on load.php, subs.php and index.template.php... after renaming the modded versions of these files, and then copying in the originals to relevant folders, i re-ran the pre-install in packages.

nothing but a blank page, all over the site.

i've run through all page modifications in the manual, checking every file, and nothing has been updated, there's no tiny portal code added in the entire site (apart from stuff put in by smf and other mods). i've even checked the database, and repaired it, just to be on the safe side.

i can't uninstall as i can't get to the packages (or any other) page...

any ideas? :)

EDIT: sorry, i should have said that i dropped those 3 original files back in again, but that didn't work - which is not surprising as the code hadn't been changed.

TP1b5.2.zip, modding smf 1.1.11

i will pull all the potential affected files out (those mentioned in the TP manual) and put the originals back in to see if this helps.

EDIT2: durrrrrrrr, i missed putting a file back in after it failed...  :-[
Title: Re: TinyPortal
Post by: tRu3_sKiTz0 on July 25, 2010, 06:15:23 PM
Hey guys I had to make some changes to my site and I recently got everything back to normal, however, I tried to move the copyright from up above to below with the rest of the copyrights just like I did before using the steps posted on support site. Now when I try to do it I get rrors. My site won't even load. I put it back the way it was to make sure that my site will still load but I really don't like the copyright where it is. Could someone maybe take a look at my files and tell me what to fix or what to move? I will upload whatever files I need to. 
Title: Re: TinyPortal
Post by: hazyredeyes on July 26, 2010, 03:47:37 PM
New to the site, and i was recommended to this thread:
http://www.simplemachines.org/community/index.php?topic=392679.0

I updated our clubs SMF board to 1.1.11 and all was well.

Afterward,I tried to edit the HTML through admin to change up a banner we had at the top of the board. After i edited the HTML, no one cannot access the boards once trying to sign in. All we get is the attached screen shot once you try to sign in and on anything afterward,even on clickable items.

I must add, im 100% new to this. The guy  doing the work on the boards cut out a town and left it to me to figure out.

Any ideas on what i need to do to get the board aback and keep the paying members happy??
Title: Re: TinyPortal
Post by: gbsothere on July 26, 2010, 03:48:22 PM
I left a message for you on your 1.1.x Support thread, hazyredeyes.   :)  (Or edited my reply, rather.)
Title: Re: TinyPortal
Post by: improv on July 30, 2010, 10:16:33 AM
I give you my thanks for this awesome and amazing mod.
I tried out a lot of portals and still TP is the best.
Title: Re: TinyPortal
Post by: armycadets on August 01, 2010, 11:34:27 AM
Hello! I'm having a issue with TinyPortal useing 2.0 RC3
When i try to add a new block to tiny portal i get this error-

Field 'var3' doesn't have a default value
File: C:\HostingDIR\USERNAME\battlefield3news.com\wwwroot\Sources\TPortalAdmin.php
Line: 2337

This is the code from line 2299 to 2337
Code: [Select]
elseif($from == 'addblock')
{
checkSession('post');
isAllowedTo('tp_blocks');

$title = empty($_POST['tp_addblocktitle']) ? '-no title-' : tp_sanitize($_POST['tp_addblocktitle']);
$panel = $_POST['tp_addblockpanel'];
$type = $_POST['tp_addblock'];
if(!is_numeric($type))
{
if(substr($type,0,3) == 'mb_')
{
$request =tp_query("SELECT * FROM " . $tp_prefix . "blocks WHERE id =" . substr($type,3), __FILE__, __LINE__);
if(tpdb_num_rows($request)>0)
{
$cp = tpdb_fetch_assoc($request);
tpdb_free_result($request);
}
}
else
$od = TPparseModfile(file_get_contents($boarddir . '/tp-files/tp-blockcodes/' . $type.'.blockcode') , array('code'));
}
if(isset($od['code']))
{
$body = tp_convertphp($od['code']);
$type = 10;
}
else
$body = '';

if(isset($cp))
$request = tp_query("INSERT INTO " . $tp_prefix . "blocks
(type,frame,title,body,access,bar,pos,off,visible,var1,var2,lang,access2,editgroups)
VALUES(" . $cp['type'] . ", '" . $cp['frame'] . "', '" . $title . "', '" . htmlentities($cp['body'],ENT_QUOTES) . "','" . $cp['access'] . "',
" . $panel .", 0, 1,1," . $cp['var1'] . "," . $cp['var2'] . ",'" . $cp['lang'] . "','" . $cp['access2'] . "','" . $cp['editgroups'] . "') " , __FILE__, __LINE__);
else
$request = tp_query("INSERT INTO " . $tp_prefix . "blocks
(type,frame,title,body,access,bar,pos,off,visible,var1,var2,lang,access2,editgroups)
VALUES(" . $type . ", 'theme', '" . $title . "', '" . htmlentities($body, ENT_QUOTES) . "', '-1,0,1', " . $panel .", 0, 1,1,0,0,'','actio=allpages','') " , __FILE__, __LINE__);

Any insight you could give on this issue would be wonderful, thanks!
Title: Re: TinyPortal
Post by: IchBin™ on August 01, 2010, 04:49:25 PM
Assuming you're running TP 1 beta 5.2 ?
Title: Re: TinyPortal
Post by: armycadets on August 01, 2010, 08:05:34 PM
Yes
Title: Re: TinyPortal
Post by: IchBin™ on August 01, 2010, 11:51:06 PM
http://www.tinyportal.co.uk/index.php?topic=32976.msg264995#msg264995
Title: Re: TinyPortal
Post by: HugeLunatic on August 07, 2010, 11:52:10 AM
I'm having a problem with the text showing in the TP admin panel.  Some areas show but most don't (see image).   I just restored my forum from a backup and had to reinstall TP since that seemed to have gone MIA along with my custom theme.   My theme is a highly modified one by dziner studio and I use smf 1.1.11.  I have installed the theme from a fresh download since it appears version 1.0/beta now does not require a custom theme.  I did install the mod with no other mods installed and using the default smf theme.  This missing text is gone with both default theme and custom theme.  Any help to get the text to show would be very much appreciated as I love the TP front page.

Update:  Just wanted to post that the reason for this was the forum default language needed to be changed to English and not English uft-8.   So I guess I solved the problem, I will leave this for anyone else who may run into this.  Thanks.  =)
Title: Re: TinyPortal
Post by: moonrise on August 07, 2010, 09:20:15 PM
I'm posting here because Im not sure what else to do. I have poked about the tinyportal site, but I am leaving town first thing in the morning and I really need to figure this out.
SMF 1.11
TP Beta 5-1
Theme- Actualism
http://mysticalmundane.com

I installed tiny portal 5-1 . I was previously using simple portal.
I had a hard time figuring out how to use the categories etc for tiny portal. I was trying to make a welcome message to leave up on the board for while I went away.
Then I received a database error:

Error Message:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IFNULL(mem.realName,art.author) as realName FROM vlhl_tp_articles AS art
LEFT' at line 2
File: /home/mystical/public_html/Sources/TPortal.php
Line: 2153

So, searching about, I found a thread that suggested going into the Myphp admin and in the database removing the block. I did this, and got this message:
Table 'mystical_8Cj6Psm.vlhl_tp_blocks' doesn't exist
File: /home/mystical/public_html/Sources/TPortal.php
Line: 2025

It is on every page, except 'Home'
Home is now gone. Just a blank white page with 'Table 'mystical_8Cj6Psm.vlhl_tp_articles' doesn't exist'

Is there a way I can just remove tiny portal from my site altogether in the cpanel? Since I can't access my admin section anymore?
Or is there some way I can get my admin to reappear so that I can remove tiny portal (maybe try a fresh install, or just go with simple portal)
I have made a big mess and ridiculously close to tears.

Sincerely,
Shilo

Title: Re: TinyPortal
Post by: Sabre™ on August 08, 2010, 12:36:53 AM
This is one approach you may take.
Go into your packages folder, and then into the backup folder within, and select the backup which reads along the lines of before tiny portal.
Upload this to the root of your site(where your packages, sources and smileys folders are), and let it overwrite the folders and templates.
This will bring your site back to the state before you installed the portal.
Then proceed to remove the tables in your database.
If you like, I or an official TP staff member may be able to assist you in reinstalling it without flaw, if you decide to try it again :)
Title: Re: TinyPortal
Post by: moonrise on August 08, 2010, 01:34:43 AM
Thank you so much!
Im going to finish packing for my trip (i leave in a few hours and will have no internet access), put the kids to bed and then I will give it a try.
Title: Re: TinyPortal
Post by: Sabre™ on August 08, 2010, 03:59:30 AM
Good luck mate, if you have any issues, PM me and I'll get it sorted before you leave.
If you get it all done, good stuff, and enjoy your trip :)
Title: Re: TinyPortal
Post by: Ingwie on August 08, 2010, 01:18:50 PM
Hello folks! ^.^

I just have installed TinyPortal...but i am having a major problem. Because i need to kill two things out off the site - but they still reappear...

Both must be killed completly, so i can use just the pannels and blocks on the mainpage, with statistis and online users. I want to have the usermanue al the time in the view, even at the forum and that stuff. And to see the statistics more times.....oh help! :eek:
Title: Re: TinyPortal
Post by: IchBin™ on August 09, 2010, 10:06:26 AM
Link to your site? What version of SMF and TinyPortal are you using? Assuming you're talking about blocks for all these things?
Title: Re: TinyPortal
Post by: !RFAN on August 16, 2010, 09:03:45 AM
is there any solution for wap2 bug of tinyportal???
Title: Re: TinyPortal
Post by: Akyhne on August 16, 2010, 09:50:49 AM
is there any solution for wap2 bug of tinyportal???
Yup! Pretty annoying with dousins of errors in the log every day!
Title: Re: TinyPortal
Post by: bloc on August 16, 2010, 12:01:00 PM
I hope to get out a bugfix release soon, where these things will be attended to.
Title: Re: TinyPortal
Post by: !RFAN on August 16, 2010, 03:37:27 PM
I hope to get out a bugfix release soon, where these things will be attended to.

please do it ASAP :D
Title: Re: TinyPortal
Post by: tragidy on August 16, 2010, 04:52:12 PM
I hope to get out a bugfix release soon, where these things will be attended to.


Glad to hear that.
Title: Re: TinyPortal
Post by: WillyP on August 24, 2010, 03:42:46 PM
Me too! 8)

But, in the meantime, here is a feature request!

I would like to rename two fields and add two fields to the Download Manager on my site.  And so I thought 'It would be nice to be able to rename/ add fields in the admin area'.

Specifically, people who upload files are not necessarily the authors of the files.  And many of those files were created long ago.  But, the 'Author' and 'Created' sort categories get populated automatically based on the uploader's name, and the date the files were uploaded.

So I would like to change these fields to 'Uploaded By' and Uploaded On'.  Then add two fields that would be populated by the uploader, which would be 'Author or Artist' and 'Created On'.  If left blank, they would default to the name of the uploader and date of upload.

I would also like to see a sort category by game-type, ie: 'Anarchy',  'Single-Player', 'CTF'  etc...  But I think that would be better handled through a tagging system, because many files fit have more than one game-type, and some files need tags that are not game-types, like patches and music.  Of course, a tagging sytem is something altogether different.  So I guess that is two feature requests!

Thanks for looking!  ;D
Title: Re: TinyPortal
Post by: MoreBloodWine on August 28, 2010, 08:14:43 PM
Just installed this on RC3 but I'm not seeing the TinyPortal admin menu on the left side along wih the rest of all the 2.0 admin stuff  ???
Title: Re: TinyPortal
Post by: bloc on August 28, 2010, 09:03:34 PM
Thats because the TP admin stuff are in its own menu on top. Try finding that and you will get inside TP admin. Or...just go to "/index.php?action=tpadmin".
Title: Re: TinyPortal
Post by: MoreBloodWine on August 29, 2010, 05:44:15 PM
Gotcha, also, are you gonna be adding the bullets back to the user and stats block like with 098 ? I find that it makes them seem more organized.
Title: Re: TinyPortal
Post by: bloc on August 30, 2010, 04:42:31 AM
No plans for that..but I'll look into it.
Title: Re: TinyPortal
Post by: MoreBloodWine on August 30, 2010, 05:16:54 AM
No plans for that..but I'll look into it.
Good to know, most people probably could care less about them but I got so use to having them in 098 that it just doesnt look right without them now.
Title: Re: TinyPortal
Post by: bloc on August 30, 2010, 06:51:42 AM
Actually..I liked them lol. They gave TP a more specific look, so they are back now, for v1.0 RC1.
Title: Re: TinyPortal
Post by: MoreBloodWine on August 30, 2010, 07:12:44 AM
Actually..I liked them lol. They gave TP a more specific look, so they are back now, for v1.0 RC1.
So I did a good thing today by mentioning it lol

Also, I know the rule is that its done when its dont but I gotta ask lol. Do you have any sort of ETA on when you'd like to have a 1.0 final ?
Title: Re: TinyPortal
Post by: bloc on August 30, 2010, 08:22:01 AM
Yes, you did. ;D But really, it coincided with some long-time changes for improving smaller details I have been looking at lately.

Well, the RC1 will be out this week I reckon. So awaiting any bugs coming in from that the final might be not too far away, maybe a few weeks only. After that i like to add block/article/panel-cache features, to lessen TP's footprint on the server. That will be v1.1 of TP appropriately.
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 08:32:33 AM
Hello. I am having a tough time with TinyPortal. I have SMF 1.11.1. My site is called www.canadiankayakanglers.com (http://www.canadiankayakanglers.com) I am trying to create a homepage very similar to this one www.norcalkayakanglers.com (http://www.norcalkayakanglers.com) I cant figure out how to create the blocks in the middle on the homepage. (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsphotos.ak.fbcdn.net%2Fhphotos-ak-snc4%2Fhs293.snc4%2F40997_426959384278_527144278_5037454_2038743_n.jpg&hash=db4f22527f3ff8b59ad1891a2b02a16e) He has blocks like the one at the top that is called "MLPA - Mootch Life Protection Account" or further below he has many blocks of info. I am not sure how to create these. Also on the left side he has ads and things showcasing his articles. I dont know where to go to create these on my website. I have all the content and stuff. Im just not sure how to create this kinda thing? Can you help me fgure out this? Where to look to start?
Thanks
Title: Re: TinyPortal
Post by: bloc on August 30, 2010, 09:20:03 AM
Well, for the MLP block you could just go to "TPadmin / blocks" and start creating one, preferably a HTML or BBC block and add your content. That would be in the "frontpanel" or perhaps "upper panel".

For the ads the quickest way is to simply add a "leftpanel block" and then add the code for the ad. Then set "Frame options" of the block to "Do not use title/frame styles". That will give you no borders/background and will look great for ads.
Title: Re: TinyPortal
Post by: bloc on August 30, 2010, 09:21:13 AM
Btw, I noticed you are using TP 0.9..it will work the same, but have fewer options.
Title: Re: TinyPortal
Post by: MoreBloodWine on August 30, 2010, 10:00:42 AM
Yes, you did. ;D But really, it coincided with some long-time changes for improving smaller details I have been looking at lately.

Well, the RC1 will be out this week I reckon. So awaiting any bugs coming in from that the final might be not too far away, maybe a few weeks only. After that i like to add block/article/panel-cache features, to lessen TP's footprint on the server. That will be v1.1 of TP appropriately.
Sounds good to me, also Bloc, I hate to ask but if I gave you a copy of the theme I'm using would you do me a favor and remove all of the TP 098 edits ? I only ask because when upgrading with the edits in place the side bars for lack of a better word are doubled up but one sets invisible because it's looking for 098 side bars.

I would start with a clean theme but I have some mods installed with custom edits to the original code.
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 04:29:33 PM
OMG. I cant figure this out? I must be retarded. I am in the block manager. There is no area that shows frontpanel or upper panel. All the options I have are right, left, center and front page. The front page one has nothing created so I know that the old admin didnt use it to create the front stuff.  I have created left side and right side blocks before but nothing on the front page. So I have nothing to copy from. 
Is there something I am missing? thanks for your help.
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 04:45:08 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsphotos.ak.fbcdn.net%2Fhphotos-ak-ash2%2Fhs198.ash2%2F46073_427111219278_527144278_5041430_264232_n.jpg&hash=1b7a307af1fc0cd890941d778e9a2556) Where else besides this area can you pick where it will show up? This area has NO selection for the HOME page. I cant figure out how to tell the block to show up on my home page and then further tell it where on my home page to show up? Thats where Im lost I guess. After that I have no clue how to code anything but thats another story :) For now I just need to figure out how to make the thing in the right area.
Title: Re: TinyPortal
Post by: IchBin™ on August 30, 2010, 04:48:29 PM
It's been a long time since I've seen TP 0.9.8. I can't remember what options are available TBH. If you have panel options, make sure your panel settings are set to show on the frontpage.
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 04:54:34 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsphotos.ak.fbcdn.net%2Fhphotos-ak-snc4%2Fhs417.snc4%2F48024_427114749278_527144278_5041522_1543681_n.jpg&hash=b69e9564bfd1271ccb4bc36099fccbb0)
Do you mean in this area? Everything looks like its on.
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 05:00:28 PM
ok. I figured out something. An area in the frontpage section was turned to Articles only rather than show blocks. So I changed that and now my test block I created actually shows up :) Now I figure I can work from here. I hope :) Does anyone know where someone can find coding examples for these kinds of things? Im no good at that and I have been making do copying and pasting from the old Admin and then playing around with easy stuff like height and width numbers and being scared to mess up the original codes. I would love to find an area with some kind of examples outside this websites boundries.
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 05:29:35 PM
arrghh!! Now I finally figured out how to do this and there is some wierd little thing. if you go to the home page you will see CanadianKayakAnglers above my center block and I cant figure out why it is there and how to get rid of it? After I ditched the article that was there it just showed up?
Title: Re: TinyPortal
Post by: IchBin™ on August 30, 2010, 05:47:17 PM
That is the SMF linktree Jeff. If you want to remove it, you likely have to remove it from one of the TP files. Since I don't have 0.9.8 setup, I'd suggest you start by looking in for the words "theme_linktree()" in the Themes/default/TPortal.template.php file and either comment it out or remove it. After you're done with that, take a few deep breaths and relax. This is supposed to be fun, not full of "arrghh's". :P
Title: Re: TinyPortal
Post by: bloc on August 30, 2010, 06:07:16 PM
Indeed lol. :)

Yes, you did. ;D But really, it coincided with some long-time changes for improving smaller details I have been looking at lately.

Well, the RC1 will be out this week I reckon. So awaiting any bugs coming in from that the final might be not too far away, maybe a few weeks only. After that i like to add block/article/panel-cache features, to lessen TP's footprint on the server. That will be v1.1 of TP appropriately.
Sounds good to me, also Bloc, I hate to ask but if I gave you a copy of the theme I'm using would you do me a favor and remove all of the TP 098 edits ? I only ask because when upgrading with the edits in place the side bars for lack of a better word are doubled up but one sets invisible because it's looking for 098 side bars.

I would start with a clean theme but I have some mods installed with custom edits to the original code.

Sure, send it to bloc@blocweb.net and I will have a look.
Title: Re: TinyPortal
Post by: MoreBloodWine on August 30, 2010, 06:42:09 PM
Indeed lol. :)

Yes, you did. ;D But really, it coincided with some long-time changes for improving smaller details I have been looking at lately.

Well, the RC1 will be out this week I reckon. So awaiting any bugs coming in from that the final might be not too far away, maybe a few weeks only. After that i like to add block/article/panel-cache features, to lessen TP's footprint on the server. That will be v1.1 of TP appropriately.
Sounds good to me, also Bloc, I hate to ask but if I gave you a copy of the theme I'm using would you do me a favor and remove all of the TP 098 edits ? I only ask because when upgrading with the edits in place the side bars for lack of a better word are doubled up but one sets invisible because it's looking for 098 side bars.

I would start with a clean theme but I have some mods installed with custom edits to the original code.

Sure, send it to bloc@blocweb.net and I will have a look.
Thx ;-)

Even with 0.98 being the "dinosaur" that it is in some peoples eyes hopefully you still remember what to look for to completely remove it from the heme ;-p
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 06:47:15 PM
lol. Thanks. To be honest I think this is fun. I just have noone to help me and for 2 years now I have asked a friend that ignores my requests. For some people this is super simple and it takes just one time of showing me and I can figure it out again. Just frustrating when the knowledgable dont help the retards. haha. Thank you for helping me. I am gonna try and figure out how to change that.
Title: Re: TinyPortal
Post by: ZarPrime on August 30, 2010, 08:18:58 PM
Jeff,


Part of the problem here is that you are using a version of TinyPortal [version 0.9.8] that was released over 3 and a half years ago now.  This is the main reason why it is difficult to help you since many of us that offer support for the Mod have moved on to the latest version.  However, for each block you create, on the block edit screen, there should be a link at the bottom to [show] or [hide] where to show each block.  One of the selections should be to show the block on the FrontPage only.  If this doesn't help you, you might want to go to our support site, register there, and ask one of the Support Team Members to help you.  Both Ichbin and I are Team Members over there along with several others.  Once you post over there in Support, one of us may be better able to help you solve this issue.  The site is located here --> http://www.tinyportal.co.uk/index.php (http://www.tinyportal.co.uk/index.php)


ZarPrime
Title: Re: TinyPortal
Post by: JeffGoudreau on August 30, 2010, 09:01:12 PM
My server guy says he does a backup daily and that I shouldnt worry about upgrading these kinds or things. But Im really rookie and I dont know what will happen with the existing stuff. If I upgrade to the latest version will the stuff I just did get screwed up? I can install a upgrade mod. I did a mod upload before. I will update it if you think its ok? lol.
Title: Re: TinyPortal
Post by: bloc on August 31, 2010, 03:14:38 AM
It should work out fine, TP 1.0 will read the old data and use them.
Title: Re: TinyPortal
Post by: MoreBloodWine on August 31, 2010, 03:41:17 AM
I found out not to long ago that I can't even use this new version because of what I said in that one email I sent you after you did those 098 theme code removal for me. Thx again for that BTW.
Title: Re: TinyPortal
Post by: ZarPrime on August 31, 2010, 09:51:32 AM
MoreBloodWine,


Any version of TP after 1.x will work fine with any theme that works with SMF without special edits to the theme.  The only thing that might be required is the manual addition of a Forum tab.  Only TP 0.9.8 required the special edits to the theme.  In other words, if there is a theme that works fine with SMF 1.1.11 (without TP), it will work fine with the latest TP as well.  If you find this to not be the case, then I would suggest that you setup a test site to check this.


ZarPrime
Title: Re: TinyPortal
Post by: agridoc on September 01, 2010, 01:03:15 AM
My server guy says he does a backup daily and that I shouldnt worry about upgrading these kinds or things. But Im really rookie and I dont know what will happen with the existing stuff. If I upgrade to the latest version will the stuff I just did get screwed up? I can install a upgrade mod. I did a mod upload before. I will update it if you think its ok? lol.

Hello JeffGoudreau

Estimating roughly from your posts your level of experience and knowledge I would rather advise you to leave TP 0.9.8 as is until you get more familiar with SMF and TP administration. There are a lot of big SMF and TP 0.9.8 (my main site is 0.9.7 with modifications  :D ) around working perfectly. Unless not been compatible with SMF 2.0 and needing some extra theme code TP 0.9.8 still stands well up in comparison.

Check the SMF Admin screens and options, learn which mods are added and how to handle packages. Go around TP admin and learn about TP settings, Frontpage settings, Blocks and articles. TP 1.0 has more features but is more complex. Whatever you create with TP 0.9.8 will be available when you will feel more comfortable with SMF and TP and decide to upgrade to TP 1.0x.
Title: Re: TinyPortal
Post by: Anpu on September 01, 2010, 08:20:24 AM
Hi, I tried fresh install of SMF 2 RC 3 and TP 1beta5. I downloaded both from a site, and tried also to download TP in package section of SMF. It shows that TP is successfully installed, opens that pop up with list of created stuff, thank you etc. I close it, press "Home" and get following error: Table 'portal.smf_tp_settings' doesn't exist.
Any idea? Sorry if it was posted before, I searched on Google even but no useful results.
Title: Re: TinyPortal
Post by: bloc on September 01, 2010, 09:45:33 AM
It would seem the database table wasn't created. You will have to do them manually then I am afraid. Try running the file "tp_upgrade.php" from the SMF20RC3 folder, it should then update just the database.

If not, you will need a SQL file to "import" into phpMyAdmin for example, I can help with that if you can't get tp_upgrade.php to work.
Title: Re: TinyPortal
Post by: Anpu on September 01, 2010, 02:34:51 PM
Hm I couldn't repair. I see TP zip is in Packages, so I extracted that and tried to run file. It didn't allow even I set it 777 rights. So, I copied that file to root, but it just refreshes, and message I posted earlier stays. So, or I am doing something wrong,or it didn't work.
Title: Re: TinyPortal
Post by: bloc on September 01, 2010, 03:38:25 PM
Hm, prob. didn't work then. Do you ahve the emans to run/import a SQl file? And can you see in the database if any xxx_tp_xxx tables were created?
Title: Re: TinyPortal
Post by: JeffGoudreau on September 01, 2010, 05:41:28 PM
ok. thanks :) I will talk to my server dude. He is pretty knowledgable and runs a large SMF. Maybe he can upgrade it with 0 probs. If not Im happy with the Dinosaur :p
Title: Re: TinyPortal
Post by: Anpu on September 02, 2010, 03:24:19 AM
Hm, prob. didn't work then. Do you ahve the emans to run/import a SQl file? And can you see in the database if any xxx_tp_xxx tables were created?
You are right, there are no tp tables at all.  :-\
Yes, I can import SQL file.
Title: Re: TinyPortal
Post by: bloc on September 02, 2010, 03:34:16 AM
Ok, I need to sort it out properly, this can be handy for others too. I'll post it here when its ready.
Title: Re: TinyPortal
Post by: SilverKnight on September 02, 2010, 04:17:14 AM
Ok, I need to sort it out properly, this can be handy for others too. I'll post it here when its ready.

Good to see you still working on it Bloc.
Title: Re: TinyPortal
Post by: JeffGoudreau on September 02, 2010, 07:40:27 PM
ok. I have learned alot :) BUT! now I cant figure out where to check off to make my Left side blocks show up on the front page. The only way to make this happen seems to be if I include it on every page which I dont want to do. I have options for placing the block on all of the boards, admin crap and everything but no option to show it just on the front page. so eventually the whole left side of the home page will look blank. I have sponsors logos I can put in there and I know its possible. Can you try to point me to the right area? One day Im gonna be a pro :)
Title: Re: TinyPortal
Post by: IchBin™ on September 02, 2010, 08:03:53 PM
So did you upgrade or not? You indicated you were going to do it, but now I don't know which version you are running. Kind of hard to tell you what to do if I don't know what you're using.

If you're still using TP 0.9.8 the blocks should show on your frontpage by default without needing to set anything.

If you're using TP 1.x there is a checkbox you can select for frontpage.

If you're blocks are not showing, you must have an article or something that is set to not display the blocks or something on the frontpage.
Title: Re: TinyPortal
Post by: agridoc on September 03, 2010, 12:45:06 AM
I have options for placing the block on all of the boards, admin crap and everything but no option to show it just on the front page.

In TP 0.9.8 you create Frontpage blocks, they appear only in Frontpage. You select in Frontpage Settings what and how you want to be displayed in Frontpage.

In TP 1.0 you have much more options. More block areas and for any single block you can choose to be displayed only in Frontpage. It also needs more careful planning.
Title: Re: TinyPortal
Post by: bloc on September 05, 2010, 08:53:15 AM
Hm, prob. didn't work then. Do you ahve the emans to run/import a SQl file? And can you see in the database if any xxx_tp_xxx tables were created?
You are right, there are no tp tables at all.  :-\
Yes, I can import SQL file.

This is a SQL file straight out of a fresh TP install on SMF 2.0RC3. It should work on all SMF2 versions though.

Just import it into phpMyadmin, but remember to change all "smf_tp_" to your prefix first: "{yourprefix}tp_" - if you use anything else than "smf_".
Title: Re: TinyPortal
Post by: MoreBloodWine on September 06, 2010, 03:08:31 AM
SMF 2.0 RC3
TP Latest

Playing around on a test site, anyway, why do I still have a forum tab / button if I have it set to go to the forum index ?

With the old TP if I had goto forum index set the extra "forum" button vanished.

http://www.eojmarket.com/sigtest/index.php
Title: Re: TinyPortal
Post by: bloc on September 06, 2010, 03:18:28 AM
It should not show it..so thats a bug for sure.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 06, 2010, 03:31:45 AM
It should not show it..so thats a bug for sure.
Sweet, I just contributed soemthing again lol...

1. Bullets are back...
2. This

;-p
Title: Re: TinyPortal
Post by: MoreBloodWine on September 06, 2010, 04:03:56 AM
What needs to be changed to take away the hyperlinking of the days that goto a new post page for the mini calendar ?

Everything I've tried either breaks the calendar block or just doesnt work...

Code: [Select]
global $scripturl;

$now = mktime();
$today = date('j',$now);
$year = date("Y",$now);
$month = date("n",$now);
$days = array($today=>array(NULL,NULL,'<a class="smalltext" style="color: steelblue; font-weight: bold; border: solid 1px black; background-color: white; padding: 0px 4px 0px 4px;" href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$today.'" target="_self">'.$today.'</a>'));

$day_name_length = 3;
$month_href = $scripturl . '?action=calendar';
$first_day = 7;
$pn = array();

$first_of_month = gmmktime(0,0,0,$month,1,$year);
//remember that mktime will automatically correct if invalid dates are entered
// for instance, mktime(0,0,0,12,32,1997) will be the date for Jan 1, 1998
// this provides a built in "rounding" feature to generate_calendar()

$day_names = array(); //generate all the day names according to the current locale
for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400) //January 4, 1970 was a Sunday
$day_names[$n] = ucfirst(gmstrftime('%A',$t)); //%A means full textual day name

list($month, $year, $month_name, $weekday) = explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month));
$weekday = ($weekday + 7 - $first_day) % 7; //adjust for $first_day
$title   = htmlentities(ucfirst($month_name)).' '.$year;  //note that some locales don't capitalize month and day names

//Begin calendar. Uses a real <caption>. See http://diveintomark.org/archives/2002/07/03
@list($p, $pl) = each($pn); @list($n, $nl) = each($pn); //previous and next links, if applicable
if($p) $p = '<span class="smalltext">'.($pl ? '<a href="'.htmlspecialchars($pl).'">'.$p.'</a>' : $p).'</span> ';
if($n) $n = ' <span class="smalltext">'.($nl ? '<a href="'.htmlspecialchars($nl).'">'.$n.'</a>' : $n).'</span>';
$calendar = '<table>'."\n".
'<caption >'.$p.($month_href ? '<a href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).$n."</caption>\n<tr>";

if($day_name_length){ #if the day names should be shown ($day_name_length > 0)
//if day_name_length is >3, the full name of the day will be printed
foreach($day_names as $d)
$calendar .= '<th class="smalltext" abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) : $d).'</th>';
$calendar .= "</tr>\n<tr style=\"text-align:right;\">";
}

if($weekday > 0) $calendar .= '<td class="smalltext" colspan="'.$weekday.'"> </td>'; //initial 'empty' days
for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){
if($weekday == 7){
$weekday   = 0; #start a new week
$calendar .= "</tr>\n<tr style=\"text-align:right;\">";
}
if(isset($days[$day]) and is_array($days[$day])){
@list($link, $classes, $content) = $days[$day];
if(is_null($content))  $content  = $day;
$calendar .= '<td "'.($classes ? ' class="'.htmlspecialchars($classes).'">' : '>').
($link ? '<a href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content).'</td>';
}
else
{
$calendar .= "<td class=\"smalltext\" style=\"padding-right:4px;\"><a";
if(((($weekday+$first_day) % 7)==0)||((($weekday+$first_day) % 7)==6))
{
$calendar .= ' style="color:#FF0000;"';
}
$calendar .= " href=\"".$scripturl."?action=calendar;sa=post;month=".$month.";year=".$year.";day=".$day."\" target=\"_self\">$day</a></td>";
}
}
if($weekday != 7) $calendar .= '<td class="smalltext" colspan="'.(7-$weekday).'"> </td>'; //remaining "empty" days

echo $calendar."</tr>\n</table>\n";
Title: Re: TinyPortal
Post by: bloc on September 06, 2010, 11:31:11 AM
Try adding "text-decoration: none;" right after "color: steelblue;"
Title: Re: TinyPortal
Post by: MoreBloodWine on September 06, 2010, 11:49:52 AM
didnt work ;-/
Title: Re: TinyPortal
Post by: MoreBloodWine on September 07, 2010, 08:37:42 AM
Never caught this until now but whats with all the extra padding for the blocks ?

There's an addition 10px on each side as far as I can tell which means the blocks need to be larger than they did wih 098 to get your content to show properly.

See attached pics...

If possible I would like to be able to control this padding or atleast scale it down to what it use to be if not a tad smaller say something like 4px instead of the 6px that was in 098.
Title: Re: TinyPortal
Post by: Kindred on September 07, 2010, 09:08:38 AM
firebug is your friend
Title: Re: TinyPortal
Post by: MoreBloodWine on September 07, 2010, 09:14:05 AM
firebug is your friend
OMG that was so helpful, thank you for your crypticness !!!!!!!!!
Title: Re: TinyPortal
Post by: IchBin™ on September 07, 2010, 09:42:08 AM
firebug is your friend
OMG that was so helpful, thank you for your crypticness !!!!!!!!!

There's a link in my sig for you. It's a great tool for firefox that will help you see exactly where the padding is coming from by merely highlight an element on the page.

Should also note, that normally I don't think there is that much padding. If you are using the editor to put the code in, make sure it's not adding extra code for you etc.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 07, 2010, 09:49:29 AM
The code is the same unedited version which creates the same block in 098. As for FireBug, I have played around with it before and as for now all I see is something about 8px padding around a div. Even getting rid of all the code and putting in nothing but an echoed Testing 1, 2, 3... thee look is still the same. I know this is a beta and things are bound to change, I was just "putting it out there".
Title: Re: TinyPortal
Post by: Kindred on September 07, 2010, 09:55:22 AM
which, to me, indicates a CSS issue....   which is why firebug is your friend.
Title: Re: TinyPortal
Post by: ZarPrime on September 07, 2010, 11:57:03 AM

What needs to be changed to take away the hyperlinking of the days that goto a new post page for the mini calendar ?

Everything I've tried either breaks the calendar block or just doesnt work...

Code: [Select]
global $scripturl;

$now = mktime();
$today = date('j',$now);
$year = date("Y",$now);
$month = date("n",$now);
$days = array($today=>array(NULL,NULL,'<a class="smalltext" style="color: steelblue; font-weight: bold; border: solid 1px black; background-color: white; padding: 0px 4px 0px 4px;" href="'.$scripturl.'?action=calendar;sa=post;month='.$month.';year='.$year.';day='.$today.'" target="_self">'.$today.'</a>'));

$day_name_length = 3;
$month_href = $scripturl . '?action=calendar';
$first_day = 7;
$pn = array();

$first_of_month = gmmktime(0,0,0,$month,1,$year);
//remember that mktime will automatically correct if invalid dates are entered
// for instance, mktime(0,0,0,12,32,1997) will be the date for Jan 1, 1998
// this provides a built in "rounding" feature to generate_calendar()

$day_names = array(); //generate all the day names according to the current locale
for($n=0,$t=(3+$first_day)*86400; $n<7; $n++,$t+=86400) //January 4, 1970 was a Sunday
$day_names[$n] = ucfirst(gmstrftime('%A',$t)); //%A means full textual day name

list($month, $year, $month_name, $weekday) = explode(',',gmstrftime('%m,%Y,%B,%w',$first_of_month));
$weekday = ($weekday + 7 - $first_day) % 7; //adjust for $first_day
$title   = htmlentities(ucfirst($month_name)).' '.$year;  //note that some locales don't capitalize month and day names

//Begin calendar. Uses a real <caption>. See http:/eintomark.org/archives/2002/07/03
@list($p, $pl) = each($pn); @list($n, $nl) = each($pn); //previous and next links, if applicable
if($p) $p = '<span class="smalltext">'.($pl ? '<a href="'.htmlspecialchars($pl).'">'.$p.'</a>' : $p).'</span> ';
if($n) $n = ' <span class="smalltext">'.($nl ? '<a href="'.htmlspecialchars($nl).'">'.$n.'</a>' : $n).'</span>';
$calendar = '<table>'."\n".
'<caption >'.$p.($month_href ? '<a href="'.htmlspecialchars($month_href).'">'.$title.'</a>' : $title).$n."</caption>\n<tr>";

if($day_name_length){ #if the day names should be shown ($day_name_length > 0)
//if day_name_length is >3, the full name of the day will be printed
foreach($day_names as $d)
$calendar .= '<th class="smalltext" abbr="'.htmlentities($d).'">'.htmlentities($day_name_length < 4 ? substr($d,0,$day_name_length) : $d).'</th>';
$calendar .= "</tr>\n<tr style=\"text-align:right;\">";
}

if($weekday > 0) $calendar .= '<td class="smalltext" colspan="'.$weekday.'"> </td>'; //initial 'empty' days
for($day=1,$days_in_month=gmdate('t',$first_of_month); $day<=$days_in_month; $day++,$weekday++){
if($weekday == 7){
$weekday   = 0; #start a new week
$calendar .= "</tr>\n<tr style=\"text-align:right;\">";
}
if(isset($days[$day]) and is_array($days[$day])){
@list($link, $classes, $content) = $days[$day];
if(is_null($content))  $content  = $day;
$calendar .= '<td "'.($classes ? ' class="'.htmlspecialchars($classes).'">' : '>').
($link ? '<a href="'.htmlspecialchars($link).'">'.$content.'</a>' : $content).'</td>';
}
else
{
$calendar .= "<td class=\"smalltext\" style=\"padding-right:4px;\"><a";
if(((($weekday+$first_day) % 7)==0)||((($weekday+$first_day) % 7)==6))
{
$calendar .= ' style="color:#FF0000;"';
}
$calendar .= " href=\"".$scripturl."?action=calendar;sa=post;month=".$month.";year=".$year.";day=".$day."\" target=\"_self\">$day</a></td>";
}
}
if($weekday != 7) $calendar .= '<td class="smalltext" colspan="'.(7-$weekday).'"> </td>'; //remaining "empty" days

echo $calendar."</tr>\n</table>\n";


MoreBloodWine,


If you are using TP 2.0 RC3 and the latest TinyPortal, try the code posted in this post --> http://www.tinyportal.co.uk/index.php?topic=32717.msg262975#msg262975 (http://www.tinyportal.co.uk/index.php?topic=32717.msg262975#msg262975)


ZarPrime
Title: Re: TinyPortal
Post by: MoreBloodWine on September 07, 2010, 04:33:26 PM
which, to me, indicates a CSS issue....   which is why firebug is your friend.
Maybe so but sometimes I just dont get it, I get the basic idea of it and what its used for but sometimes I just look at it and go WHAAAAAAAAAAAAAT !
Title: Re: TinyPortal
Post by: Anpu on September 09, 2010, 07:50:16 AM
This is a SQL file straight out of a fresh TP install on SMF 2.0RC3. It should work on all SMF2 versions though.

Just import it into phpMyadmin, but remember to change all "smf_tp_" to your prefix first: "{yourprefix}tp_" - if you use anything else than "smf_".
tytytytyty

Just one note: import failed (it said SQL query in line 1 was incorrect) so I copy/pasted everything in SQL, it executed and works!
Thanks Bloc
Title: Re: TinyPortal
Post by: Akyhne on September 09, 2010, 08:12:12 AM
Bug:

When I do an export of my DB and tries to import it again, I get an error on several tp tables. One of them is:

Code: [Select]
DROP TABLE IF EXISTS `test_tp_events`;

CREATE TABLE `test_tp_events` (
 id int(11) NOT NULL auto_increment,
 id_member int(11) NOT NULL,
 date int(11) NOT NULL,
 textvariable mediumtext NOT NULL,
 link mediumtext NOT NULL,
 description mediumtext NOT NULL,
 allowed mediumtext NOT NULL,
 eventid int(11),
 on tinyint(4),
 PRIMARY KEY (id)
) TYPE=MyISAM;
The last colums is called "on" which is a reserved word in MySql:
Title: Re: TinyPortal
Post by: wilsy on September 09, 2010, 10:28:51 AM
Hi all,

When I click on a category in downloads I get: -

8: Undefined index: author_id
File: /home/atcoukco/public_html/Sources/TPSubs.php
Line: 2475

Any ideas?
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 11:31:55 AM
What version of TP and SMF?
Title: Re: TinyPortal
Post by: Akyhne on September 09, 2010, 11:42:25 AM
v1.0 beta 5.x... I guess. The mod doesn't tell. SMF2 RC3.
Title: Re: TinyPortal
Post by: wilsy on September 09, 2010, 12:18:33 PM
What version of TP and SMF?

Hi Ich,

Its SMF 1.1.11 and the latest version of TP.

Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 12:36:30 PM
Yes, that and a few other downloads manager fixes are in the next release.
Title: Re: TinyPortal
Post by: wilsy on September 09, 2010, 12:41:40 PM
Thanks Ich,

Is there an iterim fix? I could do with getting my downloads system back up and running :)
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 01:27:15 PM
It's not running because of that error? You have something else wrong I'm guessing. My downloads still worked, just a layout problem and some undefined errors are there.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 09, 2010, 01:50:28 PM
I'm guessing the extra padding I pointed out in the blocks is an "error", is that a planned fix ?
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 01:58:15 PM
Why would that be an error? It's just stylistic preference. You can change it in the CSS if you don't like it.

.blockbody {
    line-height: 1.3em;
    padding: 8px;
}

Removing the padding: 8px; will cut half of the space you want out.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 09, 2010, 02:07:40 PM
Why would that be an error? It's just stylistic preference. You can change it in the CSS if you don't like it.

.blockbody {
    line-height: 1.3em;
    padding: 8px;
}

Removing the padding: 8px; will cut half of the space you want out.
I'm not saying it was an error although I suppose it sounds like I may have been, I just figure the same padding rules would have been used that were used for 098.

Edit: Where specifically is the TP css located ?
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 02:18:36 PM
If you do not have a tp-style.css file in your custom theme, then it would be in the default themes location.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 09, 2010, 02:22:14 PM
If you do not have a tp-style.css file in your custom theme, then it would be in the default themes location.
Thx for that, by changing it to 0px it now has the same padding as 098 ;-)

Edit: What would I look for to apply the same padding to the title area ?
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 02:37:24 PM
The title area of a block does not have any padding that I can see. It looks like you'll have to remove a < span > tag or two to get the left space to disappear.  I don't know where to find this code at the moment though.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 09, 2010, 02:45:36 PM
The title area of a block does not have any padding that I can see. It looks like you'll have to remove a < span > tag or two to get the left space to disappear.  I don't know where to find this code at the moment though.
Ehh, it's not really a big thing with the title, I was more concerned with saving that body space so my blocks don't need to be 16px wider than normal so looks like I'm good, Thx Ichy ;-)

Ok you probably dont like Ichy lol but I had to say it, been wanting to for a while lol

Edit: I actually would like to suggest one thing. Would it be possible to add soemthing to the TP admin area that would allow the CSS to be edited from the web ?
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 02:49:01 PM
I think Bloc has added all the options he wants for blocks lol. He already gives you like 10 layouts to choose from.  Adding in this would just further complicate it IMO. But I'm not the developer for it. :) If I were you maybe post a feature request in our issue tracker at the tp.net.co.uk site.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 09, 2010, 02:50:37 PM
I think Bloc has added all the options he wants for blocks lol. He already gives you like 10 layouts to choose from.  Adding in this would just further complicate it IMO. But I'm not the developer for it. :) If I were you maybe post a feature request in our issue tracker at the tp.net.co.uk site.
I don't mean make the block css editable by the web but rather the whole css file itself.
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 03:20:10 PM
If the file is not editable in your SMF admin then the file is not editable by the web server. I can edit mine just fine from the Admin page for editing the theme tp-style.css.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 09, 2010, 03:29:15 PM
If the file is not editable in your SMF admin then the file is not editable by the web server. I can edit mine just fine from the Admin page for editing the theme tp-style.css.
Maybe I'm brain farting but I don't believe the tp-style.css file is currently web editable.

If it is then where might I look for it in the TP admin area ?
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 03:35:43 PM
If you don't have one in your custom theme (assuming you're using a custom theme), then it's always in the default theme. If you see the file name and it's not editable (you can't click on it), then you need to change the permissions on the file so that the web server can write to it. I should note: you can't edit default theme files. So if you need to edit that file, copy it to your custom theme.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 09, 2010, 03:41:22 PM
If you don't have one in your custom theme (assuming you're using a custom theme), then it's always in the default theme. If you see the file name and it's not editable (you can't click on it), then you need to change the permissions on the file so that the web server can write to it. I should note: you can't edit default theme files. So if you need to edit that file, copy it to your custom theme.
Gotcha, but will copying it to the custom theme folder overwrite the one in the default theme folder ?
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 03:45:07 PM
Yes. The same goes for any file that you put in your custom theme. If it's in the custom theme folder it gets used instead of the default theme files.
Title: Re: TinyPortal
Post by: wilsy on September 09, 2010, 03:55:57 PM
It's not running because of that error? You have something else wrong I'm guessing. My downloads still worked, just a layout problem and some undefined errors are there.

Hi Ich,

The error can be demonstrated here: -

http://atco-uk.com/index.php?action=tpmod;dl=cat1
Title: Re: TinyPortal
Post by: IchBin™ on September 09, 2010, 04:58:41 PM
Looks like you are a version behind. I'm betting that is fixed in TP 1 beta 5.2 because I'm not having that same problem. :)
Title: Re: TinyPortal
Post by: wilsy on September 10, 2010, 07:59:10 AM
Looks like you are a version behind. I'm betting that is fixed in TP 1 beta 5.2 because I'm not having that same problem. :)

I did install the latest version, its just not reflected by the tp version displayed at the site.
Title: Re: TinyPortal
Post by: wilsy on September 10, 2010, 09:21:50 AM
Ich, all sorted. Reinstalled files and its solved the issue.

 :)
Title: Re: TinyPortal
Post by: IchBin™ on September 10, 2010, 09:44:41 AM
Sweet. Good work wilsy!
Title: Re: TinyPortal
Post by: vlindertje on September 11, 2010, 08:04:07 AM
Hello,

I just registrated on tinyportal. And activated it. Then i try logg in. Nothing happens.
I try many times, then i try to ask for my password, so i follow the link and do what it say. Then i come in a circle where i get again and over again the same page and maillink,  write my username or email. But i cannot change a password.

There is no email adres on that site for helping me, thats why i try it here. Please someone can help me?
Title: Re: TinyPortal
Post by: ZarPrime on September 11, 2010, 09:07:51 AM
vlindertje,


TinyPortal.net no longer exists.  Do you mean that you registered over at the TP Support Site? --> http://www.tinyportal.co.uk/index.php (http://www.tinyportal.co.uk/index.php)


2 people have registered there since yesterday and are awaiting activation.  I don't see the username you are using here as one of them.  If you want to PM me the Username that you registered with and your EMail Address, I will activate you manually if I can find it.  Otherwise, you'll need to register again.


ZarPrime
TP Support Site
Title: Re: TinyPortal
Post by: vlindertje on September 11, 2010, 10:08:56 AM
i send you a private message, thanx for helping!
Title: Re: TinyPortal
Post by: ZarPrime on September 11, 2010, 10:48:38 PM
No Problem. ;)  I'm glad we got you fixed up.


ZarPrime
Title: Re: TinyPortal
Post by: MyOutdoorsIowa on September 12, 2010, 01:13:50 PM
Greetings,

I'm running SMF2.0 RC3 and get the following 2 errors when trying to install TinyPortal - v1.0 beta 5.2 via the package manager. I'm totally new to SMF, so any help would be appreciated.

Execute Modification     ./Sources/Subs.php     Test failed
Add After     ./Sources/Subs.php     Test failed
Title: Re: TinyPortal
Post by: bloc on September 12, 2010, 03:06:30 PM
If you have other mods installed, try un-installing them , and run TP again. Then afterwards add those others back. Its most likely a conflict between mods.
Title: Re: TinyPortal
Post by: MyOutdoorsIowa on September 12, 2010, 04:54:18 PM
If you have other mods installed, try un-installing them , and run TP again. Then afterwards add those others back. Its most likely a conflict between mods.
Thank You for your reply.

It seems that I went a little crazy installing mods  :o I have several that will not even uninstall? At any rate I did a fresh install of SMF 2.0RC3 and installed TP v1.0 beta 5.2 and everything seemed to go fine except all of the mod icons are missing from admin and the shout box does not function after activation. You can view the test site @ http://hawgz.com/smf2/index.php?action=forum
Title: Re: TinyPortal
Post by: bloc on September 13, 2010, 01:20:17 PM
Check if you really have the folder called "tinyportal" inside Themes/defualt/images. If not, upload it.
Title: Re: TinyPortal
Post by: MyOutdoorsIowa on September 13, 2010, 05:47:15 PM
Check if you really have the folder called "tinyportal" inside Themes/defualt/images. If not, upload it.

Thanks for the advise  :) For some reason I'm not being allowed to upload to that directory?  :'( 

I'm getting very frustrated, I'm thinking there are some ownership problems with my host?
Title: Re: TinyPortal
Post by: bloc on September 13, 2010, 06:03:55 PM
Most likely, yes. Normally this would be uploaded automatically by the mod.
Title: Re: TinyPortal
Post by: JW21 on September 16, 2010, 01:53:17 PM
SMF 1.1.11
TP v0.9.8

I recently updated from SMF 1.1.10 to 1.1.11 and then had to install TinyPortal again. Now I have a bit of an issue with deleting articles. I had two articles on the front page. I no longer needed the one called 2009/2010 Sponsors do I deactivated the article and then deleted it. But the header for that article remains on the front page. How do I get rid of it??? You can see what I'm talking about by going to: http://www.hazeltonwolverines.ca/forum/
Title: Re: TinyPortal
Post by: lurkalot on September 16, 2010, 02:32:30 PM
TP 098 is getting on a bit now, and this thread is for v1.0 beta 5.2.  ;) 

You could however do this. (I think) 

phpMyAdmin / Database you are using / Structure / smf_tp_articles / Browse to name of article You want to delete.  And delete it from database.

Or if not sure you can also ask for help here, http://www.tinyportal.co.uk
Title: Re: TinyPortal
Post by: MoreBloodWine on September 19, 2010, 08:25:51 PM
Hey Bloc, got a request for ya.

The "move" butons in the block admin area, would it be possible to instead of using the clickable images to make it a dropbox where a person just chooses where they want the block to go and then use the save button at the bottom to save the block positions at which point they'd move to the appropriate categories.

Edit: Found what I guess are bugs because if intentional I'm stumped.

1. Uncategorized articles alows show this at the top which is annoying.

TP Error: This article isn't assigned yet

2. Articles don't appear to be viewable at all when logged out / in guest mode.

All you see, if uncategorized is the above message I typed for number one.

3. Also getting alot of these when trying to view articles.

2: Invalid argument supplied for foreach()
Title: Re: TinyPortal
Post by: bloc on September 20, 2010, 12:59:21 PM
1 and 2 a re intentional, you are not supposed to see a article not assigned, as guest. The TPerror is just for your benefit, so you know it doesn't have a category yet. This might change to allow non-categorized articles, but it means lots of changes that I don't want to add into v1.0 RC1 at this point.

Number 3 I am not sure, but could be related, will need more info about the error.

- About move buttons..I might look at JS based moving of blocks, but this will be for TP 1.1 then, for same reason as above.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 20, 2010, 03:11:57 PM
1 and 2 a re intentional, you are not supposed to see a article not assigned, as guest. The TPerror is just for your benefit, so you know it doesn't have a category yet. This might change to allow non-categorized articles, but it means lots of changes that I don't want to add into v1.0 RC1 at this point.

Number 3 I am not sure, but could be related, will need more info about the error.

- About move buttons..I might look at JS based moving of blocks, but this will be for TP 1.1 then, for same reason as above.
Sounds good, as for the errors... thats pretty much all the info I have. As for the whole article thing... What would be the right settings to have an article viewable by everyone including guests ? Unless I'm missing something, I could swear that as a guest while the article might have been hidden from me that I still saw that red text. I'd have to check again though.

Edit: What code do I need to use to color both PHP & regular HTML blocks so the background color is diferent then what the theme tries to apply ?

Edit 2: Also getting alot of these...

8: Undefined index: theme_color both this and the other error are related to articles.
Title: Re: TinyPortal
Post by: Akyhne on September 20, 2010, 08:07:03 PM
@Bloc: Where should we be posting bugs?
Title: Re: TinyPortal
Post by: IchBin™ on September 20, 2010, 08:33:29 PM
I think you should be able to access the bugtracker on the TP site.
http://www.tinyportal.co.uk/index.php?project=1
Title: Re: TinyPortal
Post by: ffingers on September 22, 2010, 01:58:47 AM
quick question....

where can i find the code to edit the default blocks....i.e., the stats block, the user block, etc....i know on 1.1.11 there was a tpblocks.template i think that i edited but that same file on 2.0 RC3 is blank...i am sort of at a loss...i can't find them anywhere
Title: Re: TinyPortal
Post by: bloc on September 22, 2010, 02:54:22 AM
They are located in TPsubs.template.php now. 
Title: Re: TinyPortal
Post by: bloc on September 22, 2010, 03:06:31 AM
v1.0 RC1 released
- Added navigation to almost all tpadmin functions.
- fixed some inconsistencies in TPadmin layout.
- Theme block didn't redirect to where it was. fixed.
- fixed issue where panels did not show on certain actions, when set to show on all forum actions.(collapsing boards, posting, search results etc.)
- Fixed entity problems with block titles and edit block screen.
- Added text entry for viewing the forum in Whos Online section.
- Add menu textbox did not show in IE8 because of missing tags. Fixed.
- Menu items was removed from Sitemap block if menu block was off. Fixed.
- Wrong links for adding HTML/BBC articles inside the "tinyportal" menu.
- forum button didn't highlight when in board/topic. Fixed.
- Fixed errors in the TP section of member profile.
- dates on article titles for frontpage did not use language choice.Fixed.
- Frontblocks meant for guests was also shown for members. Fixed.
- Shoutbox admin was encoding entities upon save, but not decoding when fetched.
- More fixes for bugs discovered in beta5.
- Some changes on default styles in TP.
Title: Re: TinyPortal
Post by: MaXiForum.cz on September 22, 2010, 06:25:19 AM
Congratulation Bloc. Very nice work :)
Title: Re: TinyPortal
Post by: SN on September 22, 2010, 07:12:26 AM
Congrats on the Update bloc.

But i think i have found a Bug.

when you select No on "Admin can see all blocks?"

then no blocks at all are visible to admins.

When im logged in as Admin... i see no blocks. When i log out as a guest, i see all the blocks. It wasn't like this on 5.2 because i had that setting on " no " on that version
Title: Re: TinyPortal
Post by: Nolt on September 22, 2010, 07:14:37 AM
Great Bloc, thanks for this release :)
Title: Re: TinyPortal
Post by: bloc on September 22, 2010, 11:31:11 AM
Congrats on the Update bloc.

But i think i have found a Bug.

when you select No on "Admin can see all blocks?"

then no blocks at all are visible to admins.

When im logged in as Admin... i see no blocks. When i log out as a guest, i see all the blocks. It wasn't like this on 5.2 because i had that setting on " no " on that version

Is this on SMF 1.1 or SMF 2.0 RC3?
Title: Re: TinyPortal
Post by: SN on September 22, 2010, 12:01:37 PM
Congrats on the Update bloc.

But i think i have found a Bug.

when you select No on "Admin can see all blocks?"

then no blocks at all are visible to admins.

When im logged in as Admin... i see no blocks. When i log out as a guest, i see all the blocks. It wasn't like this on 5.2 because i had that setting on " no " on that version

Is this on SMF 1.1 or SMF 2.0 RC3?

SMF 2.0 RC3, on my test forum with no other mods installed
Title: Re: TinyPortal
Post by: lurkalot on September 22, 2010, 12:32:28 PM

when you select No on "Admin can see all blocks?"

then no blocks at all are visible to admins.

When im logged in as Admin... i see no blocks. When i log out as a guest, i see all the blocks. It wasn't like this on 5.2 because i had that setting on " no " on that version

I'm confused now, lol..  Isn't it supposed to work like that?  When you log out you can see the blocks because you're a guest not a Admin. :)
Title: Re: TinyPortal
Post by: SN on September 22, 2010, 01:44:53 PM

when you select No on "Admin can see all blocks?"

then no blocks at all are visible to admins.

When im logged in as Admin... i see no blocks. When i log out as a guest, i see all the blocks. It wasn't like this on 5.2 because i had that setting on " no " on that version


I'm confused now, lol..  Isn't it supposed to work like that?  When you log out you can see the blocks because you're a guest not a Admin. :)

It never worked like that on previous version.

for example, i have blocks that are just viewable for guests... on 5.2 when i put this "on" i could not view the blocks that where viewable for guest (which is good) but i could view all other blocks.

Title: Re: TinyPortal
Post by: MoreBloodWine on September 22, 2010, 02:56:31 PM
Hey bloc, just curious but did you get those bullets back in since you said you rather liked the idea ?

Also, I havent had a chance to check soem other the other stuff out yet but I was wondering.

1. In the recent block they post like this line breaking when the text gets to wide...

[RSS] Mafia II : Jimmy's ... by MoreBloodWine [Today at 02:53:02 PM]

could you maybe add some <br />'s after the title an by lines so it looks like this which is what it does / did for 098 ?

[RSS] Mafia II : Jimmy's ...
by MoreBloodWine
[Today at 02:53:02 PM]

2. Any chance of getting those hr's back in to seperate the posts in the recent block, again like in 098 ?

Edit:

3. Think this may have been overlooked but what would be the code to use to color php and regular HTML blocks. Using the <body> tag in both except with PHP I echo it doesn't work.
Title: Re: TinyPortal
Post by: ffingers on September 22, 2010, 03:52:38 PM
To upgrade can i just install over the old version or do I need to do an uninstall and a reinstall?
Title: Re: TinyPortal
Post by: tamasir on September 22, 2010, 04:01:13 PM
Congratulation Bloc.
In TinyPortal.eu Team name: tamasir~
Title: Re: TinyPortal
Post by: bloc on September 22, 2010, 04:11:11 PM

when you select No on "Admin can see all blocks?"

then no blocks at all are visible to admins.

When im logged in as Admin... i see no blocks. When i log out as a guest, i see all the blocks. It wasn't like this on 5.2 because i had that setting on " no " on that version


I'm confused now, lol..  Isn't it supposed to work like that?  When you log out you can see the blocks because you're a guest not a Admin. :)

It never worked like that on previous version.

for example, i have blocks that are just viewable for guests... on 5.2 when i put this "on" i could not view the blocks that where viewable for guest (which is good) but i could view all other blocks.


The idea was to make admins not having to see all blocks, but only those *specifically* for admins. But to not make it too ahrd on this change, a setting for it was added. So if "on" it behaves like before, that admin see everything. If "off" admin only see those blocks set for them.

I will test if its working properly though.
Title: Re: TinyPortal
Post by: IchBin™ on September 22, 2010, 04:13:02 PM
To upgrade can i just install over the old version or do I need to do an uninstall and a reinstall?
Unless you have installed some mods after it (which could conflict), you should be able to upgrade. If there are no errors, there shouldn't be any reason you can't upgrade.
Title: Re: TinyPortal
Post by: bloc on September 22, 2010, 04:13:40 PM
Hey bloc, just curious but did you get those bullets back in since you said you rather liked the idea ?

Also, I havent had a chance to check soem other the other stuff out yet but I was wondering.

1. In the recent block they post like this line breaking when the text gets to wide...

[RSS] Mafia II : Jimmy's ... by MoreBloodWine [Today at 02:53:02 PM]

could you maybe add some <br />'s after the title an by lines so it looks like this which is what it does / did for 098 ?

[RSS] Mafia II : Jimmy's ...
by MoreBloodWine
[Today at 02:53:02 PM]

2. Any chance of getting those hr's back in to seperate the posts in the recent block, again like in 098 ?

Edit:

3. Think this may have been overlooked but what would be the code to use to color php and regular HTML blocks. Using the <body> tag in both except with PHP I echo it doesn't work.

Yes, i liked them and added them back. the hr's are out..but I can release the blockcode for the old one. Also, same for the 0.9 version, but that already exists in the added blockcodes. You can choose it when you add blocks.

Using body tag in blocks? I don't quite follow.
Title: Re: TinyPortal
Post by: bloc on September 22, 2010, 04:14:26 PM
Congratulation Bloc.
In TinyPortal.eu Team name: tamasir~
Thanks, tamasir. :)
Title: Re: TinyPortal
Post by: GhostRider2110 on September 22, 2010, 05:01:09 PM
Just installed upgrade, but the version notice at the bottom still says TinyPortal 1.0 beta 5-1 did something mess up?  Nothing else seems broken...  Great job Bloc!!!

See-ya
Mitch
Title: Re: TinyPortal
Post by: MoreBloodWine on September 22, 2010, 05:18:21 PM
Hey bloc, just curious but did you get those bullets back in since you said you rather liked the idea ?

Also, I havent had a chance to check soem other the other stuff out yet but I was wondering.

1. In the recent block they post like this line breaking when the text gets to wide...

[RSS] Mafia II : Jimmy's ... by MoreBloodWine [Today at 02:53:02 PM]

could you maybe add some <br />'s after the title an by lines so it looks like this which is what it does / did for 098 ?

[RSS] Mafia II : Jimmy's ...
by MoreBloodWine
[Today at 02:53:02 PM]

2. Any chance of getting those hr's back in to seperate the posts in the recent block, again like in 098 ?

Edit:

3. Think this may have been overlooked but what would be the code to use to color php and regular HTML blocks. Using the <body> tag in both except with PHP I echo it doesn't work.

Yes, i liked them and added them back. the hr's are out..but I can release the blockcode for the old one. Also, same for the 0.9 version, but that already exists in the added blockcodes. You can choose it when you add blocks.

Using body tag in blocks? I don't quite follow.
Well, if you added the bullets back in that just leaves 1 & 2 which you said are out, so ya assuming the block code from 098 to this new version isnt to different then I would like the block code and the find / replace, find / add after stuff to get 1 & 2 done for the recent posts block.

Also, I may be trying to think to much into the below quote but I don't get what your saying / mean.
Quote
Also, same for the 0.9 version, but that already exists in the added blockcodes. You can choose it when you add blocks.

As for the body stuff, I meant that I tried stuff like this to color the block but it didnt work.

echo '<body bgcolor="HEX HERE">';

echo 'Block stuff here...';

echo '</body>';

That didnt work, basically I just wana know what do I need to do to color the background of a single block.
Title: Re: TinyPortal
Post by: IchBin™ on September 22, 2010, 05:25:48 PM
Well if you add a div then you'd put the background like this:

<div style="background-color: #CC0000;"></div>

However, the blocks have paddings and stuff that will likely leave you with a border around the inside body part of your block. It might be easier/better to just look at the HTML (with a cool tool like firebug) so you can get ID name. Each block has a unique ID. Then in your css file just add a section for it.

#block11 {
    background-color: #CC0000;
}
Title: Re: TinyPortal
Post by: ffingers on September 22, 2010, 05:37:01 PM
Love this mod bloc. Been using it on my 1.1.11 site for two years. I am jumping ship to 2.0 now and doing prep work. With 2.0 the are some great mobile themes like mobile curve and smf4iphone. However the blocks  from tinyportal make it look completely wonky. Is there a way to disable tinyportal for mobile themes. I know you don't have one built-in but is it possible to add a conditional somewhere to check for a theme ID and therefore not load tinyportal. If you could toss me the code I can do the manual edits for now. Thanks. I am assuming it would just be conditionals in the index.template to not call the init for tinyportal? Right?
Title: Re: TinyPortal
Post by: MoreBloodWine on September 22, 2010, 05:37:32 PM
Well if you add a div then you'd put the background like this:

<div style="background-color: #CC0000;"></div>

However, the blocks have paddings and stuff that will likely leave you with a border around the inside body part of your block. It might be easier/better to just look at the HTML (with a cool tool like firebug) so you can get ID name. Each block has a unique ID. Then in your css file just add a section for it.

#block11 {
    background-color: #CC0000;
}
The div solution worked but as you suggested due to the padding there was a border or sorts, now this isnt such a big deal since I mainly wanted content to stand out more.

Also, I was curious to see if the CSS could be used directly in the block as shown below but that didnt work.

echo '
<style type="text/css">
#block18 {
    background-color: #FFFFFF;
}
</style>
';


Is there something I'm doing wrong ?

Ok, I know I should be putting it in the css file or whatever but every time I want co change a bg color if at all I'd have to do this and that to get to the file and I find itwould just be easier to manage the color locally (directly form the block itself).
Title: Re: TinyPortal
Post by: IchBin™ on September 22, 2010, 05:47:38 PM
It's either the way I described, or you change one of the block layout options to suit what you're looking for.
Title: Re: TinyPortal
Post by: MoreBloodWine on September 22, 2010, 05:58:27 PM
It's either the way I described, or you change one of the block layout options to suit what you're looking for.
In any case I edited the tp-style.css in the default folder and added

#block18 {
    background-color: #101010;
}

But it doesnt appear to be doing anything, and yes, I have the right block number.
Title: Re: TinyPortal
Post by: bloc on September 22, 2010, 07:19:22 PM
It won't override unless you set the block to be either "title only" or "no title or frame" for its options. 

Love this mod bloc. Been using it on my 1.1.11 site for two years. I am jumping ship to 2.0 now and doing prep work. With 2.0 the are some great mobile themes like mobile curve and smf4iphone. However the blocks  from tinyportal make it look completely wonky. Is there a way to disable tinyportal for mobile themes. I know you don't have one built-in but is it possible to add a conditional somewhere to check for a theme ID and therefore not load tinyportal. If you could toss me the code I can do the manual edits for now. Thanks. I am assuming it would just be conditionals in the index.template to not call the init for tinyportal? Right?
Its possible to turn off all panels, yes..but you will need to do it in the theme's template_init() function. The quickest way is to simply set new layers - TP use its own "tp" layer", so you could just reset them with the default layers:

Code: [Select]
$context['template_layers'] = array('html','body');
..at the end of template_init() function;
Title: Re: TinyPortal
Post by: gregj on September 22, 2010, 08:11:29 PM
Apologizies if this is in the wrong place. We have TP 1.083 loaded in SMF 1.1.11, and problem with aprostophes having slashes after them in the shoutbox. I've searched but have not come up with anything.   Thanks in advance.
Title: Re: TinyPortal
Post by: IchBin™ on September 22, 2010, 09:24:00 PM
What is the TP version at the bottom of your forum say? You posted the internal version which doesn't mean anything to anyone except bloc. Did you see that Bloc just released an update today? If you haven't upgraded, I'd highly suggest you do as it will fix problems just like what you are having.
Title: Re: TinyPortal
Post by: Wiwar on September 22, 2010, 09:36:41 PM
Can you please supply me with a quick fix for this minor problem:

I'd like my shoutbox to scroll from recent through previous shouts? Before I mess about experimenting with my files, I'd rather ask the experts! :)

Thanks in advance
Title: Re: TinyPortal
Post by: agridoc on September 23, 2010, 01:39:10 AM
Good work Bloc, many bugs fixed.  8)

A note for non latin chars language and multilingual users upgrading from TP 0.9.8.

Most bugs affecting non latin chars languages are fixed and the language option for blocks is back again. A caution here, it works differently than in TP 0.9.8. In TP 0.9.8 if a language is selected the block appears only if this language is selected. In TP 1.0 RC1 the language option for blocks (NEW) in TP settings must be turned on. Then existing language specific blocks will work as expected, however the desired languages MUST be selected in the remaining blocks, so they appear with every language.

With this version TP is full back for sophisticated multilingual sites.
Title: Re: TinyPortal
Post by: agridoc on September 23, 2010, 01:47:45 AM
I'd like my shoutbox to scroll from recent through previous shouts? Before I mess about experimenting with my files, I'd rather ask the experts! :)

Good observation Wiwar, the sorting goes to ASCending by date if you choose scrolling, while it is DESCending by date in simple presentation. I had a quick look but I didn't find a solution, however my specialty in TP is Languages and Internationalization, I believe one will be soon available.
Title: Re: TinyPortal
Post by: SN on September 23, 2010, 02:13:06 AM

when you select No on "Admin can see all blocks?"

then no blocks at all are visible to admins.

When im logged in as Admin... i see no blocks. When i log out as a guest, i see all the blocks. It wasn't like this on 5.2 because i had that setting on " no " on that version


I'm confused now, lol..  Isn't it supposed to work like that?  When you log out you can see the blocks because you're a guest not a Admin. :)

It never worked like that on previous version.

for example, i have blocks that are just viewable for guests... on 5.2 when i put this "on" i could not view the blocks that where viewable for guest (which is good) but i could view all other blocks.


The idea was to make admins not having to see all blocks, but only those *specifically* for admins. But to not make it too ahrd on this change, a setting for it was added. So if "on" it behaves like before, that admin see everything. If "off" admin only see those blocks set for them.

I will test if its working properly though.

Yeah that is how i have it set up bloc. But none of the blocks are showing when im logged in as admin

Picture 1 is my front page settings. And picture 2 is an example of how i have a block set up which isn't showing for admin

Title: Re: TinyPortal
Post by: gregj on September 23, 2010, 07:13:16 AM
What is the TP version at the bottom of your forum say? You posted the internal version which doesn't mean anything to anyone except bloc. Did you see that Bloc just released an update today? If you haven't upgraded, I'd highly suggest you do as it will fix problems just like what you are having.

The version of TP is v1.0 beta 4.

I will try the update.  thanks
Title: Re: TinyPortal
Post by: GhostRider2110 on September 23, 2010, 11:55:30 AM
Just installed upgrade, but the version notice at the bottom still says TinyPortal 1.0 beta 5-1 did something mess up?  Nothing else seems broken...  Great job Bloc!!!

See-ya
Mitch

Guess it would help if I gave SMF version.  1.1.11 is current SMF using BlueSkies modified.  You can see at www.usscalemasters.org

It did have the 5-2 version which I was told didn't get the version display updated.  Did this happen again on this update? 

See-ya
Mitch
Title: Re: TinyPortal
Post by: ZarPrime on September 24, 2010, 08:44:03 AM
Just installed upgrade, but the version notice at the bottom still says TinyPortal 1.0 beta 5-1 did something mess up?  Nothing else seems broken...  Great job Bloc!!!

See-ya
Mitch

Guess it would help if I gave SMF version.  1.1.11 is current SMF using BlueSkies modified.  You can see at www.usscalemasters.org (http://www.usscalemasters.org)

It did have the 5-2 version which I was told didn't get the version display updated.  Did this happen again on this update? 

See-ya
Mitch


Mitch,


Which file did you download from this page? --> http://mods.simplemachines.org/index.php?mod=97 (http://mods.simplemachines.org/index.php?mod=97)


Look on the right.  You should see 3 files.  The bottom one is "TinyPortal10RC1.zip".  That is the latest version and is the one you should download and install.  Just to make sure you did things right, uninstall the version you have installed now before installing this new one.  Backup first, of course.


I just did a search in this latest version for the string "TinyPortal 1.0 beta" and that string no longer exists in this latest version.  That issue with beta 5-2 has been fixed.  If you have any further trouble, stop over at the TP Support Site (http://www.tinyportal.co.uk/index.php) and one of us can help you.


ZarPrime
Title: Re: TinyPortal
Post by: IdanC on September 24, 2010, 04:46:06 PM
i've been using Simple Portal for about a year now, and even though i'm happy with it, i played around a little bit with TinyPortal, and was very impressed. now i consider switching to TP.

any thoughts? pros? cons?
Title: Re: TinyPortal
Post by: MoreBloodWine on September 24, 2010, 04:58:23 PM
It's either the way I described, or you change one of the block layout options to suit what you're looking for.
In any case I edited the tp-style.css in the default folder and added

#block18 {
    background-color: #101010;
}

But it doesnt appear to be doing anything, and yes, I have the right block number.
No rush but I would still like that block code to make the 1.0 blocks look like 098 if you don't mind handing it out Bloc ;-)
Title: Re: TinyPortal
Post by: IchBin™ on September 24, 2010, 05:16:41 PM
i've been using Simple Portal for about a year now, and even though i'm happy with it, i played around a little bit with TinyPortal, and was very impressed. now i consider switching to TP.

any thoughts? pros? cons?

They are both great mods IMO. Take a look at both of them, see the features that they have that you like. Which ever one has what you need, use it! :)
Title: Re: TinyPortal
Post by: IdanC on September 24, 2010, 05:22:58 PM
thanks, let me try to be more specific -

even if this mod or the other has more features, i really care about flexibility - is TP's code readable? even if SimplePortal didn't use the smartest code, it was preety straight forward and easy to manipulate. can you say the same about TP?

(i'm asking because unlike features exploration, diving into the code is quite a commitment...
Title: Re: TinyPortal
Post by: ZarPrime on September 24, 2010, 06:49:03 PM

MoreBloodWine,


I have no idea what version of TinyPortal you are using.  I don't think you have ever said.  If you are using the latest version, when you click to add a block in the TPAdmin Blocks area, you have 3 choices ...


1.  Choose type of block:
2.  .. or use existing blockcode:
3.  .. or copy from existing block:


If you look under ".. or use existing blockcode:" you will see "Classic Recent Topics Written by Bloc" as one of the selections.  This is "The older classic recent topics news from TP v0.9.8.".  If you choose this one, you will be presented with the edit screen for a php block containing the appropriate code.


You can then make any changes to that code that you want to do to get the look that you want.  The following topic on the TP support Site will show you some information about changing the particular code in this block to get the look that you want --> http://www.tinyportal.co.uk/index.php?topic=33209.0


If you can't figure out what to change to get the look that you want, feel free to start a new support topic over there and someone will help you.


ZarPrime
Title: Re: TinyPortal
Post by: ZarPrime on September 24, 2010, 07:02:31 PM
thanks, let me try to be more specific -

even if this mod or the other has more features, i really care about flexibility - is TP's code readable? even if SimplePortal didn't use the smartest code, it was preety straight forward and easy to manipulate. can you say the same about TP?

(i'm asking because unlike features exploration, diving into the code is quite a commitment...


IdanC,


I know you said that you are trying to be more specific but I don't really understand the question.  "is TP's code readable?"  Sure, it's written in php just as SimplePortal is.  Most of the time, there is really no reason do "dive into the code", as you say, though you certainly could if you wanted to.  If you could be just a little more specific, and give us an example of something that you have changed in SimplePortal that you would like to change in TinyPortal as well, maybe we could get an idea of just what it is you are trying to do.


ZarPrime
Title: Re: TinyPortal
Post by: bloc on September 24, 2010, 07:21:01 PM
thanks, let me try to be more specific -

even if this mod or the other has more features, i really care about flexibility - is TP's code readable? even if SimplePortal didn't use the smartest code, it was preety straight forward and easy to manipulate. can you say the same about TP?

(i'm asking because unlike features exploration, diving into the code is quite a commitment...
Have you taken a look at the code? The only real judge on whether its readable enough, is you. :)

As for coding style, I have more or less used whats common in SMF, but TP has grown to be a big mod and thus might seem complex in nature. Latest version v1.0 RC1 is more logical than previous versions though - something that came with my own learning of the PHP language.

I can say that much of the power in TP is ported out to the user though, meaning most things have a admin interface. It may not be easy to track down inside the code, but that really depends on how you need to change TP itself for your needs. There's among other things, an option to not show any HTML from the theme in a article(except the SMF copyright) which makes a article a total blank to use your own code and markup on. You can also simply duplicate TP templates and change the behavior of blocks, article layouts and frontpage layouts. And if you rather not , theres an easier option to build your own article or category layout with HTMl + keywords like {title} , {author} etc. These custom layouts are saved with each article or article category.

Articles can be set to publish in a limited time, and theres a lot of options for where and how to show it. Blocks have the same, although they are simpler.
Title: Re: TinyPortal
Post by: ahrasis on September 24, 2010, 07:25:49 PM
thanks, let me try to be more specific -

even if this mod or the other has more features, i really care about flexibility - is TP's code readable? even if SimplePortal didn't use the smartest code, it was preety straight forward and easy to manipulate. can you say the same about TP?

(i'm asking because unlike features exploration, diving into the code is quite a commitment...
It's the best portal mod before and after simple portal. Don't you know all portal that are here today is based on TP?
Title: Re: TinyPortal
Post by: MoreBloodWine on September 24, 2010, 07:27:48 PM

MoreBloodWine,


I have no idea what version of TinyPortal you are using.  I don't think you have ever said.  If you are using the latest version, when you click to add a block in the TPAdmin Blocks area, you have 3 choices ...


1.  Choose type of block:
2.  .. or use existing blockcode:
3.  .. or copy from existing block:


If you look under ".. or use existing blockcode:" you will see "Classic Recent Topics Written by Bloc" as one of the selections.  This is "The older classic recent topics news from TP v0.9.8.".  If you choose this one, you will be presented with the edit screen for a php block containing the appropriate code.


You can then make any changes to that code that you want to do to get the look that you want.  The following topic on the TP support Site will show you some information about changing the particular code in this block to get the look that you want --> http://www.tinyportal.co.uk/index.php?topic=33209.0


If you can't figure out what to change to get the look that you want, feel free to start a new support topic over there and someone will help you.


ZarPrime
Thx for that, I really love the fact you can make it scrollable to control height. I really love the classic look of recent compared to that of the new look.

Also, i don't believe I did ever say which version, so to answer, the latest one on my test site.

That aside I guess all thats left is the coloring issue I also mentioned.
Title: Re: TinyPortal
Post by: ZarPrime on September 24, 2010, 08:01:19 PM
Thx for that, I really love the fact you can make it scrollable to control height. I really love the classic look of recent compared to that of the new look.

That aside I guess all thats left is the coloring issue I also mentioned.

Well, you can force scrolling with the current version, but to do that, you have to use "Force this heigth on each block(use 00px or 00%):" for the panel that the block is in but then all of the blocks in that panel would be the same height.  Using this for the left or right panel certainly takes a little more planning than most people have patience for though.  If you want to do it for a specific block, Bloc or Ichbin may be able to shed some light on how to do that.  However, in a future version of TinyPortal, there may (I say may because I don't know yet how this new feature will manifest itself) be an easier way to do this.

As for the background color on a specific block, I think that Ichbin and/or Bloc has been talking to ou about that so I will leave that one alone.

ZarPrime
Title: Re: TinyPortal
Post by: IdanC on September 24, 2010, 08:05:14 PM
Thanks ZarPrime, the major change i applied at SimplePortal was to get rid of the "panels" and just put blocks wherever i wanted, and how i wanted. so i'll mostly be dealing with the block-creating pieces of code. btw, it's non-english, but you're welcome to take a look at my forum (http://mila.fm).

Bloc, applause for the fantastic mod. your answer actually covered all the information i needed, thanks allot!

ahrasis, is your determination based on any data, or your just an enthusiastic fan?
Title: Re: TinyPortal
Post by: MoreBloodWine on September 24, 2010, 08:23:46 PM
Thx for that, I really love the fact you can make it scrollable to control height. I really love the classic look of recent compared to that of the new look.

That aside I guess all thats left is the coloring issue I also mentioned.

Well, you can force scrolling with the current version, but to do that, you have to use "Force this heigth on each block(use 00px or 00%):" for the panel that the block is in but then all of the blocks in that panel would be the same height.  Using this for the left or right panel certainly takes a little more planning than most people have patience for though.  If you want to do it for a specific block, Bloc or Ichbin may be able to shed some light on how to do that.  However, in a future version of TinyPortal, there may (I say may because I don't know yet how this new feature will manifest itself) be an easier way to do this.

As for the background color on a specific block, I think that Ichbin and/or Bloc has been talking to ou about that so I will leave that one alone.

ZarPrime
As far as the scrolling goes, you don't have to force it on the current version because of this (look at the red). It applies to just the recent block.

As for the color thing, ya I think Ich was the one helpin mewith that, I don't recall.

global $context, $modSettings;
$context[&#039;TPortal&#039;][&#039;recentboxnum&#039;]=&#039;10&#039;;

if(isset($modSettings[&#039;recycle_board&#039;]))
   $bb=$modSettings[&#039;recycle_board&#039;];

$what=ssi_recentTopics($context[&#039;TPortal&#039;][&#039;recentboxnum&#039;], NULL, NULL, &#039;array&#039;);
$counter=1; $cmax=count($what);
echo &#039;
<div style=&quot;width: 100%; overflow: auto; height: 78ex;&quot;>&#039;;
foreach($what as $w)
{
   echo &#039;
   <div class=&quot;smalltext&quot;><a href=&quot;&#039;.$w[&#039;href&#039;].&#039;&quot;>&#039;.$w[&#039;short_subject&#039;].&#039;</a></div>
   <div class=&quot;smalltext&quot;>&#039;, $txt[&#039;by&#039;], &#039; <b>&#039;, $w[&#039;poster&#039;][&#039;link&#039;], &#039;</b></div>
   <div class=&quot;smalltext&quot;>&#039;;
   if(!$w[&#039;new&#039;])
      echo &#039;<a href=&quot;&#039;.$w[&#039;href&#039;].&#039;&quot;><img border=&quot;0&quot; src=&quot;&#039;.$settings[&#039;images_url&#039;].&#039;/&#039;.$context[&#039;user&#039;][&#039;language&#039;].&#039;/new.gif&quot; alt=&quot;new&quot; /></a> &#039;;

   echo &#039;[&#039;.$w[&#039;time&#039;].&#039;]
   </div>&#039;;

   if($counter != $cmax)
      echo &#039;<hr />&#039;;
   $counter++;
}
echo &#039;
</div>&#039;;
Title: Re: TinyPortal
Post by: bloc on September 24, 2010, 08:33:59 PM
Thanks ZarPrime, the major change i applied at SimplePortal was to get rid of the "panels" and just put blocks wherever i wanted, and how i wanted. so i'll mostly be dealing with the block-creating pieces of code. btw, it's non-english, but you're welcome to take a look at my forum (http://mila.fm).

Bloc, applause for the fantastic mod. your answer actually covered all the information i needed, thanks allot!

ahrasis, is your determination based on any data, or your just an enthusiastic fan?

Thanks, thats nice to hear. :)

I think ahrasis is referring to the age of TP, its been around for 5-6 years, and you might say some of the features in later portals are the same as in TP. But theres been innovations no doubt. I feel one should stay true to ones own vision though, and for me TP has been and still is, just that. I hate to see it just being a direct clone of something else.

Title: Re: TinyPortal
Post by: ZarPrime on September 24, 2010, 08:45:18 PM
Thanks ZarPrime, the major change i applied at SimplePortal was to get rid of the "panels" and just put blocks wherever i wanted, and how i wanted. so i'll mostly be dealing with the block-creating pieces of code. btw, it's non-english, but you're welcome to take a look at my forum (http://mila.fm).
Well, every block must be in a panel but there are lots of options that you can use to select where you want each block to actually be shown.  For instance, if you want a block to be shown just on the BoardIndex, you have that option.  Likewise, if you want it to be shown only when viewing the memberlist (or any other action, including custom actions), you have that option as well.  You want a block to be shown just when viewing a particular article or just an article category, no problem, just when viewing a particular language, still no problem.  If you want to show a block just on the FrontPage, or just on a particular Forum board, still no problem.  In other words, lots of options.  See the attached image to get an idea of the various options.  All of this can be done from the TPAdmin area without changing any core TP code.  If no blocks are selected to show in a particular action or in a particular area then the panel itself will not even be shown. 

In addition, you can choose to display your block in one of 7 panels (left, right, upper, lower, top, bottom, or just Front Panel only).  To get an idea of what can be done, take a look at the TP Support Site here --> http://www.tinyportal.co.uk/index.php
Or take a look at this link (one of my test sites though not yet upgraded to the latest version) ...
http://talesofthehavenexpanse.com/smf2test/index.php for FrontPage
http://talesofthehavenexpanse.com/smf2test/index.php?action=forum for Forum BoardIndex

The best way to find out if TinyPortal is for you is to setup a test Forum and install the latest version of TinyPortal.  Play with it, see what it can do for you.  I don't think you'll be disappointed.
ZarPrime
Title: Re: TinyPortal
Post by: ZarPrime on September 24, 2010, 08:52:39 PM
As far as the scrolling goes, you don't have to force it on the current version because of this (look at the red). It applies to just the recent block.

Well, yeah, I know about that.  I was actually talking about the new recent block built into the core TP code (not the old TP 0.98 code).  I haven't looked at that yet so I don't know what would need to be edited to enable scrolling for the new version.

ZarPrime
Title: Re: TinyPortal
Post by: MoreBloodWine on September 24, 2010, 08:53:55 PM
As far as the scrolling goes, you don't have to force it on the current version because of this (look at the red). It applies to just the recent block.

Well, yeah, I know about that.  I was actually talking about the new recent block built into the core TP code (not the old TP 0.98 code).  I haven't looked at that yet so I don't know what would need to be edited to enable scrolling for the new version.

ZarPrime
Ahh, I gotcha now... I just like the 098 version better. I feel it's formatted better.
Title: Re: TinyPortal
Post by: ZarPrime on September 24, 2010, 08:56:05 PM
<Ha Ha> OK, your choice. ;)


ZP
Title: Re: TinyPortal
Post by: MoreBloodWine on September 24, 2010, 09:59:04 PM
I still use 098 on my live site and I was curious about soemthing between it and the new 1.x version of TP. In the recent block for 098, regardless of wether or not you click the subject or the "new" image it always takes you to the newest and doesnt start with the newest since your last vist like if you clicked Show unread posts since last visit.


Was this by design or a bug and if so, a bug I mean, has it been patched in the 1x branch of TP and if not by design how can it be modified to work the way Show unread posts since last visit. does ?

Also, if I may ask Bloc... would you by chance release the block code for the 098 statsbox ?
Title: Re: TinyPortal
Post by: ZarPrime on September 25, 2010, 09:31:40 AM
Well, the Recent block uses the ssi_recentTopics function and the Unread posts uses the unread action (action=unread).  Those 2 functions work quite differently from each other.  the ssi_recentTopics function actually shows the most recent posted to topics so it makes sense that, when you click that, you should be taken to the last post of the recent topic.


However, I will leave this for you and Bloc to hash out because, IMHO, it's working the way it should be working.  Even though you can click the "new" icon, as far as I'm concerned, it should take you to the most recent post in the topic, and that's what it does.  The other consideration is that you can make the "new" icon show up again after you've read a topic just by marking a topic unread.  That doesn't necessarily mean that that topic is going to show up again if you go to action=unread, at least not until someone makes another post in the topic.


ZarPrime
Title: Re: TinyPortal
Post by: Sweetwater on September 25, 2010, 10:19:19 AM
I've recently upgraded my forum to SMF 2.0 RC3

Was running TP on the old 1.1.11 & it worked great.  8)

On RC3 I cannot get the right panel to work at all & the TPShout leaves an empty header with no shoutbox under it.
Also added SSI for Store & Gallery, these wont work either.

Can anyone offer any tips for sorting this out?

Kind Regards,

Sweetwater
Title: Re: TinyPortal
Post by: ZarPrime on September 25, 2010, 10:45:56 AM

Sweetwater,


Well, on the right panel not showing, a couple of things that you can check ...
1.  Go to YourSite.com/index.php?action=tpadmin;sa=panels and make sure that "Use right panel?" is "On"
2.  Make sure that you have at least one block in the right panel and that is set to show somewhere.  In other words, go to the edit screen for that block and make sure that "Choose where the block should appear" has something selected, like "Display on all pages and sections".


On the Shoutbox issue, go to YourSite.com/index.php?action=tpadmin;sa=modules and make sure that the "TP Simple Shout" is turned "On".


If this doesn't solve your issues, more help is available at the TP Support Site by posting in the Support Board there.  The link is here --> http://www.tinyportal.co.uk/index.php


ZarPrime
Title: Re: TinyPortal
Post by: Sweetwater on September 25, 2010, 10:58:07 AM
Thankyou ZarPrime for your helpful reply.

I've been through all of that numerous times & double checked. I just ran through the permissions & found a couple of files that didn't upload properly. This has fixed the shoutbox & hopefully may fix the right panel issues.

Fingers crossed I can come back & tick this as solved.

Thanks again.

Sweetwater
Title: Re: TinyPortal
Post by: Sweetwater on September 25, 2010, 01:47:10 PM
Unfortunately no luck on getting any panel other than the left one to work....

Am out of ideas. Any more tips out there?

Sweetwater
Title: Re: TinyPortal
Post by: agridoc on September 25, 2010, 02:47:09 PM
Sweetwater I had a look at your site, you have no SMF, neither TP copyright, also added main menu item. You probably have done quite some changes yourself.

I don't know what changes you have made but it's quite probable that your editing might have caused some problems, TP not properly functioning included. I will also remind that copyright removal of either SMF or TP is not legal. It may be a mistake but it has to be fixed too.
Title: Re: TinyPortal
Post by: ZarPrime on September 25, 2010, 07:14:47 PM


Yeah, I noticed the copyrights missing earlier but they were on there before he started working on it.  Sweetwater, I suspect that you might have some block enabled that is causing this.  Do you have any blocks enabled in the left panel that aren't showing up?


The copyrights aren't showing up on other pages as well.  The problem could be your Gallery Mod.  Can you turn off the Recent Pictures at the top and see if your copyrights come back on the bottom of the page.


If that doesn't do it, I might have to have Admin access to your site (I am a Support Team Member over at the TP Support Site) so that I can try to see what's going on.  It would be better if you registered over there and posted to the Support board.  I am probably going to be offline for the rest of the evening so I will check back tomorrow.  However any of the other Team Members over there can help you as well.


ZarPrime
Title: Re: TinyPortal
Post by: MoreBloodWine on September 25, 2010, 08:47:23 PM
Well, the Recent block uses the ssi_recentTopics function and the Unread posts uses the unread action (action=unread).  Those 2 functions work quite differently from each other.  the ssi_recentTopics function actually shows the most recent posted to topics so it makes sense that, when you click that, you should be taken to the last post of the recent topic.


However, I will leave this for you and Bloc to hash out because, IMHO, it's working the way it should be working.  Even though you can click the "new" icon, as far as I'm concerned, it should take you to the most recent post in the topic, and that's what it does.  The other consideration is that you can make the "new" icon show up again after you've read a topic just by marking a topic unread.  That doesn't necessarily mean that that topic is going to show up again if you go to action=unread, at least not until someone makes another post in the topic.


ZarPrime
I see what your saying but for my personal preference if possible, I'd like the "recent block" to work like the unread since last visit. Most people when replying don't generally modify the subject line so that should almost always remain / read the same i nthe recent block regardless of the latest reply. That saud I could even renamed the block to unread since last visit or just leave it as is name wise.

Anyway, the below code that  Igot from TP 1.0 seems to work on 098 as well so I can use it on my live site and my test site so I ask to anyone willing to help.

How can the below code be modified so that when links or the "new" image is clicked in the recent block it takes you to the first unread reply in a given topic and not the last ?

Code: [Select]
global $context, $modSettings;
$context['TPortal']['recentboxnum']='10';

if(isset($modSettings['recycle_board']))
$bb=$modSettings['recycle_board'];

$what=ssi_recentTopics($context['TPortal']['recentboxnum'], NULL, NULL, 'array');
$counter=1; $cmax=count($what);
echo '
<div>';
foreach($what as $w)
{
echo '
<div class="smalltext"><a href="'.$w['href'].'">'.$w['short_subject'].'</a></div>
<div class="smalltext">By: <b>', $w['poster']['link'], '</b></div>
<div class="smalltext">';
if(!$w['new'])
echo '<a href="'.$w['href'].'"><img border="0" src="'.$settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';

echo '['.$w['time'].']
</div>';

if($counter != $cmax)
echo '<hr />';
$counter++;
}
echo '
</div>';
Title: Re: TinyPortal
Post by: Rafferty on September 26, 2010, 08:40:52 AM
On recent upgrade to TP 1.0 RC1 on smf 2.0 RC3, articles/download function - selection= Articles: Recently Written,  does not work. on turning on block, I have the title, a blank block and no other blocks displaying after this one.
Title: Re: TinyPortal
Post by: bloc on September 26, 2010, 08:51:28 AM
On recent upgrade to TP 1.0 RC1 on smf 2.0 RC3, articles/download function - selection= Articles: Recently Written,  does not work. on turning on block, I have the title, a blank block and no other blocks displaying after this one.
Thanks for the heads-up, I will check that.
Title: Re: TinyPortal
Post by: bloc on September 26, 2010, 09:01:05 AM
On recent upgrade to TP 1.0 RC1 on smf 2.0 RC3, articles/download function - selection= Articles: Recently Written,  does not work. on turning on block, I have the title, a blank block and no other blocks displaying after this one.
Thanks for the heads-up, I will check that.

Indeed, there is a missing line in TPSubs.php. You need to find
Code: [Select]
function art_recentitems($max='5' , $type='date' ){

    global $context, $settings, $db_prefix, $txt, $settings;

    $tp_prefix = $db_prefix.'tp_';

and add the line below after it:
Code: [Select]
$now= time();

Title: Re: TinyPortal
Post by: Crip on September 26, 2010, 09:04:36 AM
thanks Bloc!
Title: Re: TinyPortal
Post by: Rafferty on September 26, 2010, 09:13:29 AM
That works, cool!
Title: Re: TinyPortal
Post by: SN on September 26, 2010, 09:51:17 AM
Bloc is what i said before about blocks not showing for admin a bug or am i doing something wrong?
Title: Re: TinyPortal
Post by: bloc on September 26, 2010, 10:02:40 AM
Bloc is what i said before about blocks not showing for admin a bug or am i doing something wrong?
So far I haven't found anything wrong - but I need to test more.
Title: Re: TinyPortal
Post by: Nyls on September 28, 2010, 07:08:44 AM
hello all

if i uninstall tinyportal on a smf 2.0 RC3, all content in data base will be safe or not, if i réinstall tinyportal in the futur ?

thx for response  ;)
Title: Re: TinyPortal
Post by: IchBin™ on September 28, 2010, 10:29:38 AM
No tables are removed. Data should still be there.
Title: Re: TinyPortal
Post by: ormuz on September 28, 2010, 10:55:35 AM
Is the "themegallery" included by default in tinyportal?

If not, is it possible to have it, bloc?
Title: Re: TinyPortal
Post by: Ken. on September 28, 2010, 11:54:24 AM
ormuz, when you say "themegallery" to what are you referring?

The latest releases of TinyPortal do not include actual themes, but are able to use most any theme that will work with SMF and you can find many of them here on SMF plus various other sites that make themes for SMF, including Blocs site 'BlocWeb'.
http://www.blocweb.net/index.php
Title: Re: TinyPortal
Post by: ormuz on September 28, 2010, 11:59:56 AM
ormuz, when you say "themegallery" to what are you referring?

The latest releases of TinyPortal do not include actual themes, but are able to use most any theme that will work with SMF and you can find many of them here on SMF plus various other sites that make themes for SMF, including Blocs site 'BlocWeb'.
http://www.blocweb.net/index.php

I'm talking about the custom mod to have a theme gallery, that blocweb.net have and smfdegsign,net have too... Bloc's know what I'm talking about ;)
Title: Re: TinyPortal
Post by: Ken. on September 28, 2010, 12:39:05 PM
That gallery was designed just for displaying themes on BlocWeb and is not currently available for use elsewhere. If Bloc dose release a public version it is likely to be some time before that happens.
Title: Re: TinyPortal
Post by: bloc on September 28, 2010, 05:12:48 PM
The gallery script used on smfdesign was a previous TP module, not developed anymore.

The one at Blocweb is a brand new one and isn't a TP module at all - its a custom action that integrates tightly with subscriptions, and can both show the themes as well as provide downloads for them. Its not for sale, though I plan to re-use the code in TP modules in the future. It will be free modules then.
Title: Re: TinyPortal
Post by: ormuz on September 29, 2010, 08:31:03 AM
The gallery script used on smfdesign was a previous TP module, not developed anymore.

Can u provide the download link?

thanks,
Title: Re: TinyPortal
Post by: bloc on September 29, 2010, 11:52:38 AM
No, it isn't available anywhere.
Title: Re: TinyPortal
Post by: FBy on October 01, 2010, 05:38:07 AM
Hi, at first thanks for TP...

my Setup:
smf 2.0 rc3
tp 1.0rc1
ajax chat
Theme: Curve

but now some questions:
1. Since i changed my Version from TP 1 Beta 5 to the 1Rc1 the Usernames are no longer shown in the "online" Box / Panel
only the User Avatars are visible, no matter if i switch to Avatar yes or no...
2. Also referring to the online box:
The user Info center also gives information about users that are in the chat but i haven't found any solution to show it in a TP panel.
3. I recieve an error in the ajax chat window
Undefined index: show_download in /home/www/web221/html/forum/Sources/TPSubs.php on line 201


Best regards and thanks for the help...
Frank
p.s.: i'm not a programmer  :-X so please be patient with me..
Urgent help needed (as usual  ;) )
Title: Re: TinyPortal
Post by: FBy on October 01, 2010, 08:32:25 AM
After removing TP1.0RC1 and going back to TP 1.5beta
The Ajax chat is running again
and also the Usernames are displayed instead of Avatar Pictures..
Title: Re: TinyPortal
Post by: bloc on October 01, 2010, 11:49:06 AM
Hi, at first thanks for TP...

my Setup:
smf 2.0 rc3
tp 1.0rc1
ajax chat
Theme: Curve

but now some questions:
1. Since i changed my Version from TP 1 Beta 5 to the 1Rc1 the Usernames are no longer shown in the "online" Box / Panel
only the User Avatars are visible, no matter if i switch to Avatar yes or no...
2. Also referring to the online box:
The user Info center also gives information about users that are in the chat but i haven't found any solution to show it in a TP panel.
3. I recieve an error in the ajax chat window
Undefined index: show_download in /home/www/web221/html/forum/Sources/TPSubs.php on line 201


Best regards and thanks for the help...
Frank
p.s.: i'm not a programmer  :-X so please be patient with me..
Urgent help needed (as usual  ;) )

1.) I will check if it is changing - it should really.

2.) It should be matter of copying the info center code from BoardIndex.template but it will prob. only show on boardindex, not anywhere else.

3) Ajax chat? Not sure what that can be, but if it worked on beta5 then it relies on something not present in RC1 perhaps. I will need more debug info though.
Title: Re: TinyPortal
Post by: FBy on October 04, 2010, 02:34:26 AM
Hi Bjoern
What kind of debug infos do you need?
i'll try to genearte it...

Greetings Frank
Title: Re: TinyPortal
Post by: bloc on October 04, 2010, 04:41:41 AM
Hi Bjoern
What kind of debug infos do you need?
i'll try to genearte it...

Greetings Frank

Just exactly what the errors contain and what link it came from.
Title: Re: TinyPortal
Post by: FBy on October 04, 2010, 05:58:41 AM
Ok...
1.) The link: http://www.url.de/forum/chat/index.php (thats what's behind the button)
2.) The Error: it appears inside the chat windows first line..
      Undefined index: show_download in /home/www/web221/html/forum/Sources/TPSubs.php on line 201



Title: Re: TinyPortal
Post by: bloc on October 04, 2010, 11:47:14 AM
It sounds like an error that have been fixed for RC2, really.

Not sure why it comes up in the chat window, but since it uses AJAX it will prob. also fetch *some* TP routines in the process. We have to see if its better when RC2 comes out, which isn't so far away.
Title: Re: TinyPortal
Post by: FBy on October 04, 2010, 11:52:47 AM
So I'll be patient...  8)
and next time i won't try it in a live system  O:)

But anyway could you reconstruct my trouble with the Username/Avatar Problem?
it was a little bit weird to me .. because as i wrote already by down grading the "trouble disappeared...

and.. i have a wish...  :-*  ist it possible to show  the "users in chat" like in the Info Center also in the Users Online Block?

Thanks Frank
Title: Re: TinyPortal
Post by: bloc on October 04, 2010, 12:09:13 PM
To show users from the chat you should be able to add the same code..but if its getting its data ONLY when you are on the boardindex, it will not work elsewhere. TP use SSI functions to fetch its online users everywhere, it isn't dependent upon being only on boardidnex. If the AJAX chat have a SSI routine, you could use that inside the TP online block.

The avatars error I have yet to look at, but I will check asap.
Title: Re: TinyPortal
Post by: agent47 on October 08, 2010, 06:24:20 AM
Any significant changes (features-wise) in this version compared to your previous version which is "TinyPortal 1.0 beta 5.2" ??
Title: Re: TinyPortal
Post by: IchBin™ on October 08, 2010, 09:49:38 AM
No additional features, just bug fixes.
Title: Re: TinyPortal
Post by: Goss on October 13, 2010, 11:37:08 AM
I set up tinyportal on a test forum and everything seems to be working great so far.  I'm just having an issue with the article system.  BBC articles written using the WYSIWYG editor don't seem to save any of the actual content.

Also, I went and had 3 article submissions to look over.  I deleted them all but the box on the left still says there are 3 articles in the submissions queue. 

Here's a link to my test forum: http://markedtest.elementfx.com/forum (http://markedtest.elementfx.com/forum)

I'm brand new to SMF so this might just be something I'm overlooking...but any help would be wonderful.
Title: Re: TinyPortal
Post by: BryanD on October 15, 2010, 06:30:51 PM
Execute Modification     SMF2RC3/tinyportal200rc3.mod     Modification parse error

any ideas bloc, any possibility you make a .xml install and not a .mod install  :P
Title: Re: TinyPortal
Post by: agridoc on October 15, 2010, 11:32:40 PM
I'm just having an issue with the article system.  BBC articles written using the WYSIWYG editor don't seem to save any of the actual content.

http://www.tinyportal.co.uk/index.php?topic=33274.msg266868#msg266868
Quote
There is a bug. To the moment, until it's fixed, copy the content then save. If not saved, paste the saved content, toggle the WYSIWYG editor, then save. To be able to save again you have to toggle again the WYSIWYG editor. WYSIWYG state doesn't affect save, only toggle before saving.
Title: Re: TinyPortal
Post by: Roger Rabbit on October 17, 2010, 06:48:48 AM
Hi..Can anyone please help me with this installation problem:

Installing TinyPortal V1.0 RC1 for SMF 2.0 RC3..

Quote
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

1. Extract Tree ./Themes 
 2. Extract Tree ./Themes 
 3. Extract Tree ./Sources 
 4. Extract Tree ./tp-downloads 
 5. Extract Tree ./tp-images 
 6. Extract Tree ./tp-files 
 7. Execute Modification SMF2RC3/tinyportal200rc3.mod Modification parse error
 8. Adapt Database SMF2RC3/tp_upgrade.php

I tried everything but i'm still receiving the same error...
Title: Re: TinyPortal
Post by: flutter on October 18, 2010, 01:32:29 AM
Just a couple of things I'm hoping you can help me with.  I'm more interested in the download function of this mod. 

Does it support more than one .rar.  That is can we add more then one .rar to a download?

Does is accept html in the download post?

and lastly, do I need to download all three files?  I'm setting up a test forum with 2.0 and want to give this a shot
Title: Re: TinyPortal
Post by: welshdog on October 18, 2010, 05:43:51 AM
Brilliant update as usual. The Modules look fabulous and perform spectacularly well as usual.

One small quibble. I now see Avatars in the Shoutbox which makes it a little cramped. Is there any way to switch them off (just in the Shoutbox) please??

Otherwise... gobsmacked as usual!!  ;D
Title: Re: TinyPortal
Post by: IchBin™ on October 18, 2010, 10:37:04 AM
Typically the modification parse error is tied to a server permission. Hard to say what it is, but make sure all your files are writable by the web server.

@flutter,
I'm not quite sure what you mean by some of your questions, so I'll answer as best I can.
1. You can add as many .rar files as you want. You can assign any files to be a part of another download.
2. Are you talking about the description? You can put text/html in the editor for downloads if that is what you are asking.
3. All 3 files for what? Install? No, you only need the latest one.

@Welsh,
The avatars will need to be removed from the shoutbox code.
http://www.tinyportal.co.uk/index.php?topic=32252.msg259097#msg259097
Title: Re: TinyPortal
Post by: flutter on October 18, 2010, 12:10:28 PM
Thanks for the first two, that's exactly what I wanted to know and it's what we're looking for.  I had downloads system pro and we could only have one .rar or .zip attachment but could choose the amount of images.  This suits our needs better .  Also we couldn't use html in the download post, so this is great news

When I say 3 files, I mean.  When you look at the download page there are three files at the top right of the page, I'm not sure what I need.  One of them is a sql file so wasn't sure if I need it. 
Title: Re: TinyPortal
Post by: !RFAN on October 18, 2010, 12:25:20 PM
theme changer is not working properly

link to my site is in signature... whats wrong here??
Title: Re: TinyPortal
Post by: agridoc on October 18, 2010, 01:42:47 PM
Did you select in Settings some themes for theme changer?
Title: Re: TinyPortal
Post by: !RFAN on October 18, 2010, 02:22:53 PM
from my smf theme settings??? yes i did... i have selected all the available themes... is there any option in tiny portal settings?
Title: Re: TinyPortal
Post by: agridoc on October 18, 2010, 02:32:59 PM
Go to block edit for theme changer and select THERE the themes that you want.
Title: Re: TinyPortal
Post by: !RFAN on October 18, 2010, 02:39:32 PM
thanks :)
its working now...
Title: Re: TinyPortal
Post by: IchBin™ on October 18, 2010, 02:56:49 PM
@flutter,

You only need the latest version for TP 1 RC1. The sql file is only for a manual install if necessary.
Title: Re: TinyPortal
Post by: flutter on October 19, 2010, 09:24:15 AM
Ok, I've installed this and so far so good.  What I am wondering is if there's a way to move the downloads button from floating around down the side, to being in the actual menu tree.  I am willing to do the actual work myself if someone can tell me how to do it, e.g. which file and what to change.  I can even make the button myself.  I just need to be able to place it.

The downloads are an integral part of the site and we need them to be a bit more prominent and easy to find
Title: Re: TinyPortal
Post by: IchBin™ on October 19, 2010, 10:08:12 AM
If you open the index.template.php and go towards the bottom you'll find the function template_menu() section where the buttons are all created. Assuming you're using SMF1.x you can just copy one of the other buttons and change the link and text to work for the downloads button.
Title: Re: TinyPortal
Post by: flutter on October 19, 2010, 10:13:57 AM
Thanks for that.  I can do that no problem.

So I just make the image and create a  to the download area.

Have you any idea how I get the other downloads button to disappear without closing down the download area?  I mean the button that is there in the middle of the page, can I turn that off somehow?  Where would the code be for that and I can remove it if I have to?

appreciate the help

Here's what I have so far
Code: [Select]
// Show the [downloads] button.
echo ($current_action=='downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
<a href=href="http://www.name of site.co.uk/index.php?action=tpmod;dl">', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



Do I have to put the text in somewhere for the button or will this work?  It just goes on to maintab and that's blank so can't add any text.   
Title: Re: TinyPortal
Post by: IchBin™ on October 19, 2010, 12:08:38 PM
Replace $txt[103] with $txt['tp-downloads']

The other button? I'm assuming you're talking about the one in the block you talked about above? You just turn off the sitemap block.
Title: Re: TinyPortal
Post by: flutter on October 19, 2010, 12:59:50 PM
I thought it would be the txt bit where it says 103.  I'll do that now.

I didn't know there was sitemap block, I'll need to look for that.

Basically I could just add another button for articles too then and just put tp-articles in. 

I'll have a go, this is a nice mod but just needs tweaked for our purposes

Thanks again for the help, you're a star

It didn't work, I replaced the index.template and the button doesn't show.  I'd have preferred it to be in that main nav but it's looking like I'll have to do a new navbar somewhere in an html block or something.  :(

Here's the block I used

Code: [Select]
        // Show the [downloads] button.
    echo ($current_action=='downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
                    <a href=href="http://www.prettysims.co.uk/index.php?action=tpmod;dl"></a>', $scripturl, '">' , $txt['tp-downloads'] , '
                </td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';           

Do I maybe have to put it somewhere else too?  Maybe it's because I haven't found the site map block yet
Title: Re: TinyPortal
Post by: IchBin™ on October 19, 2010, 01:21:37 PM
I'm guessing you're using a custom theme? Do the other buttons have the same type of code? Post some code from the other buttons around your code so I can compare.

The sitemap is setup up as a default block. To edit blocks you just go into the manage blocks section and toggle on/off the block if you don't want it on.
Title: Re: TinyPortal
Post by: flutter on October 19, 2010, 01:32:00 PM
 I don't have that block on so it can't be that, I don't think it's a default one.  Or is it maybe the search box?  I did view the sourse code and it mentions the sitemap under the block I have for ads, the only thing under there is the seach box.  I'll try putting that off.

I'm only on the default theme right now as it's a test site, so it isn't that

This is what's all around it

Code: [Select]
    // Show the [home] button.
    echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '">' , $txt[103] , '</a>
                </td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

        // Show the [downloads] button.
    echo ($current_action=='downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
                    <a href=href="http://www.prettysims.co.uk/index.php?action=tpmod;dl"></a>', $scripturl, '">' , $txt['tp-downloads'] , '
                </td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';           
   
    // Show the [help] button.
    echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
                </td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

    // How about the [search] button?
    if ($context['allow_search'])
        echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
                </td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

    // Is the user allowed to administrate at all? ([admin])
    if ($context['allow_admin'])
        echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
                </td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

    // Edit Profile... [profile]
    if ($context['allow_edit_profile'])
        echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
                </td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

I'd see the point if it was showing but not working
Title: Re: TinyPortal
Post by: IchBin™ on October 19, 2010, 01:38:16 PM
bah, sorry I didn't see your problem. Now that I look a little closer I see it. Change this line:
Code: [Select]
<a href=href="http://www.prettysims.co.uk/index.php?action=tpmod;dl"></a>', $scripturl, '">' , $txt['tp-downloads'] , '
To this:
Code: [Select]
<a href=href="http://www.prettysims.co.uk/index.php?action=tpmod;dl">' , $txt['tp-downloads'] , '</a>
If you can't figure out the sitemap problem I'll probably have to look at your site to see what you're talking about then. PM me a link and a login if you need to.
Title: Re: TinyPortal
Post by: flutter on October 19, 2010, 01:52:49 PM
I'd appreciate your input, it's not a working site, it's in maintenance mode so I'll send you a pm.

I just noticed this mod doesn't allow for comments in the downloads and we need that as people sometimes have issues.  I tried a test download. :(

Made the changes you suggested and still nothing, must be the sitemap thing
Title: Re: TinyPortal
Post by: IchBin™ on October 19, 2010, 03:57:35 PM
You're right there are no comments for downloads. There is however a feature to create a topic for a download in which the download will have a link to the topic so it can be commented on.
Title: Re: TinyPortal
Post by: flutter on October 19, 2010, 04:50:48 PM
That would be too much for our members.  I wonder if it can be added.

The buttons still didn't work even after you removing the site map
Title: Re: TinyPortal
Post by: Masterd on October 20, 2010, 02:52:25 PM
I have problem with the userbox block. It don't shows my avatar correctly.
Title: Re: TinyPortal
Post by: IchBin™ on October 20, 2010, 03:01:28 PM
It would really help if you tell us what it means to you when you say that you're avatar doesn't show correctly.  How can we help if you can't show us or anything? Avatars look fine on my setup. How about telling us what versions of software you're using? Maybe even a link or screenshot to see the problem?
Title: Re: TinyPortal
Post by: dutchbastard on October 20, 2010, 11:02:19 PM
Hey great mod
I did run into a problem.
I had to do a manual install due to host problems and came across an issue when importing the SQL file

It was easily solved once I found out what caused it but I figured I'd post it in case it went unnoticed.

The file starts with:
Code: [Select]
-
-- Table structure for table `smf_tp_articles`
--

But those 2 dashes (--) at the start were required and not both there.

So it should be
Code: [Select]
--
-- Table structure for table `smf_tp_articles`
--

Like I said, simple solution but hard to see for those that don't know where to look (myself included :P )
Title: Re: TinyPortal
Post by: Nodaz on October 21, 2010, 07:07:25 PM
I have been tasked with developing a site for out HOA.  It doesn't have to be over complicated and i have used and smf install for a while, but never with TP.
I want to know what the best process is for installing SMF with tiny portal, which do i install first...
should i install the forum in a subfolder  i.e /forum from the root and TP in the root?
is there a specific support site for TP anymore?  what happened to the old site?
Title: Re: TinyPortal
Post by: WillyP on October 21, 2010, 07:24:23 PM
I want to know what the best process is for installing SMF with tiny portal, which do i install first...
should i install the forum in a subfolder  i.e /forum from the root and TP in the root?

No, just install SMF as normal, then install TP as you would any mod package. Easy.  ;)
Title: Re: TinyPortal
Post by: IchBin™ on October 21, 2010, 08:36:39 PM
TP is a mod for SMF. You cannot install the portal in a different folder other than the same one SMF is in.
Title: Re: TinyPortal
Post by: !RFAN on October 23, 2010, 11:53:59 PM
i installed tiny portal
then i tried Arcade Blocks but not working. Tell me What to do :S
Title: Re: TinyPortal
Post by: lurkalot on October 24, 2010, 05:32:21 AM
i installed tiny portal
then i tried Arcade Blocks but not working. Tell me What to do :S

Can you give a bit more info, what versions of SMF / Tinyportal / Arcade, are you using, and what Arcade blocks??
Title: Re: TinyPortal
Post by: preed on October 24, 2010, 11:30:35 AM
is anybody else having "Reported attack site" errors? this is the third time this week! are these from TP? this time i even had TP uninstalled but i still see TP in the code.


http://xxx/smfforum/tp-files/tp-plugins/config.php?news=best-buy-coupons-10%-off

/smfforum/tp-files/tp-plugins/config.php?news=paris-hilton-tease

im so frustrated...
 :(
Title: Re: TinyPortal
Post by: WillyP on October 24, 2010, 06:28:44 PM
If it looks like this, it is because your site has been reported as delivering some type of malicious code.  This could be because you have included third party code, or your site has been hacked. It is not from Tiny Portal or SMF.
Title: Re: TinyPortal
Post by: preed on October 25, 2010, 12:10:31 PM
the only malicios code found is what i have pasted above in the TP files - 3 times in a week.
twice when TP was installed (same code found)...
cleaned it - reinstalled and given the google green light
this last time when TP was uninstalled, they got in the TP files that werent being used (same code found)
completely removed TP files from the server, given the google green light, no problems

im just sayin...???
Title: Re: TinyPortal
Post by: IchBin™ on October 25, 2010, 02:52:20 PM
What version of TP are you using? If you have the FCKEditor folder on your site you should remove it, as there were security problems with that editor a long time ago and it was removed from TP. If the folder is still on your site, you could be getting hacked through that. If not, you need to talk with your host and find out how it is happening.
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 03:17:18 AM
Hi there, i have a problem. My site has some wrong permissions. The first pic is how the site looks to registered members.
The second one is how it looks for me. What could be the problem
Title: Re: TinyPortal
Post by: agridoc on October 26, 2010, 04:16:33 AM
Go to TPAdmin Block access and check permisssions.
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 04:35:09 AM
Here is how it looks now.
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 04:38:47 AM
Even the guests can view most of the forum
Title: Re: TinyPortal
Post by: agridoc on October 26, 2010, 05:04:41 AM
That is a new setting?
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 05:14:58 AM
No. that is how it looks. and it still doesnt display nornal to registered users.
Title: Re: TinyPortal
Post by: agridoc on October 26, 2010, 06:22:49 AM
I saw your URL from screenshots file, http://www.bosveldboerbokklub.com/

As a guest I saw that left and right panels display OK as well as center blocks. However there are not visible buttons for expanding/collapsing left/right panels.
Registered member may had collapsed panels in the past and has no visible option to expand them. I also get error from Adobe.

I don't know if you have disabled panel collapse in TP Admin -> Settings & Frontpage: Settings -> Allow the panels to be collapsed? or it's a result of heavy theme editing.

I don't see a TP permission problem.
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 08:11:49 AM
Let me try that quick. I did no theme editing.
Title: Re: TinyPortal
Post by: RoflGuy on October 26, 2010, 08:14:01 AM
on my block at bottom of the page i got chatango box which is 400 x 500 but the block blank size is more than chatango need..

pls help me  !!!


http://neon-community.co.cc/smf/index.php
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 08:16:25 AM
"Allow the panels to be collapsed?" was set to off. The adobe error could be the PDF tag thats on there. it works on Firefox,
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 08:17:28 AM
I set it to on and still the same thing happens.
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 09:34:29 AM
Ok there is something wrong. i registered with a new account and all looks fine. Now what could this be.
What option in the member database can i reset or permissions so that it all works again?
Title: Re: TinyPortal
Post by: IchBin™ on October 26, 2010, 09:46:17 AM
It is likely on the account that you are having problems with, that the upshrink buttons have been clicked. Have you checked that? Especially considering a new account does not have the same problem.

on my block at bottom of the page i got chatango box which is 400 x 500 but the block blank size is more than chatango need..

pls help me  !!!


http://neon-community.co.cc/smf/index.php

Did you go into the panel settings and change the width? You can only change the width for all blocks in that panel, not a single block though.
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 26, 2010, 10:42:41 AM
Ok but how do i clear it in profile of database? becuase i dont see the buttons.
Title: Re: TinyPortal
Post by: IchBin™ on October 26, 2010, 11:19:52 AM
Ok but how do i clear it in profile of database? becuase i dont see the buttons.

It's actually a cookie that is set. I think it's labeled tp_panel or something like that. You should just be able to delete the cookie when logged in as that user to reset it.

@mikerothery
It's hard to understand what you're talking about. Are you saying you can't get different blocks to display on the login page versus the frontpage? What types of blocks are you using frontpage/upper/lower/right/left? What are the display options that you have set in each block?
Title: Re: TinyPortal
Post by: RoflGuy on October 26, 2010, 12:19:34 PM
It is likely on the account that you are having problems with, that the upshrink buttons have been clicked. Have you checked that? Especially considering a new account does not have the same problem.

on my block at bottom of the page i got chatango box which is 400 x 500 but the block blank size is more than chatango need..

pls help me  !!!


http://neon-community.co.cc/smf/index.php

Did you go into the panel settings and change the width? You can only change the width for all blocks in that panel, not a single block though.
please more details
Title: Re: TinyPortal
Post by: IchBin™ on October 26, 2010, 01:05:41 PM
TinyPortal Admin > Panels > Change width of blocks for your panel of choice.
Title: Re: TinyPortal
Post by: agridoc on October 26, 2010, 01:10:21 PM
@NoFeaR / NFSMW, it's quite probable that code in some or your blocks interferes with panel collapse buttons, especially the top block with the menu. I thought it was theme editing.
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 27, 2010, 05:56:59 AM
Ok i found something, or atleast i think so. All the members that was registered hare having problems. The new members that register arent having any problems
Title: Re: TinyPortal
Post by: IchBin™ on October 27, 2010, 10:21:59 AM
So are they able to fix it if they delete the cookie? Do they have the problem even after deleting the cookie? Are they unable to upshrink/unshrink by clicking the icons?
Title: Re: TinyPortal
Post by: NoFeaR / NFSMW on October 27, 2010, 10:34:01 AM
I found the error. The member groups that i first had in my forum didn't backup or didn't completely backup to the new one. So the users were in the old group that didn't exist and didn't have permissions. Also the blocks were not set up for the non excising member-groups.
Title: Re: TinyPortal
Post by: MoreBloodWine on October 28, 2010, 10:43:43 PM
Anyone, Bloc ?

Edit: Aside from the below quote which is part of my original post, what needs to be coded in to have it ignore certain boards... namely the boards I use for RSS importing.
Well, the Recent block uses the ssi_recentTopics function and the Unread posts uses the unread action (action=unread).  Those 2 functions work quite differently from each other.  the ssi_recentTopics function actually shows the most recent posted to topics so it makes sense that, when you click that, you should be taken to the last post of the recent topic.


However, I will leave this for you and Bloc to hash out because, IMHO, it's working the way it should be working.  Even though you can click the "new" icon, as far as I'm concerned, it should take you to the most recent post in the topic, and that's what it does.  The other consideration is that you can make the "new" icon show up again after you've read a topic just by marking a topic unread.  That doesn't necessarily mean that that topic is going to show up again if you go to action=unread, at least not until someone makes another post in the topic.


ZarPrime
I see what your saying but for my personal preference if possible, I'd like the "recent block" to work like the unread since last visit. Most people when replying don't generally modify the subject line so that should almost always remain / read the same i nthe recent block regardless of the latest reply. That saud I could even renamed the block to unread since last visit or just leave it as is name wise.

Anyway, the below code that  Igot from TP 1.0 seems to work on 098 as well so I can use it on my live site and my test site so I ask to anyone willing to help.

How can the below code be modified so that when links or the "new" image is clicked in the recent block it takes you to the first unread reply in a given topic and not the last ?

Code: [Select]
global $context, $modSettings;
$context['TPortal']['recentboxnum']='10';

if(isset($modSettings['recycle_board']))
$bb=$modSettings['recycle_board'];

$what=ssi_recentTopics($context['TPortal']['recentboxnum'], NULL, NULL, 'array');
$counter=1; $cmax=count($what);
echo '
<div>';
foreach($what as $w)
{
echo '
<div class="smalltext"><a href="'.$w['href'].'">'.$w['short_subject'].'</a></div>
<div class="smalltext">By: <b>', $w['poster']['link'], '</b></div>
<div class="smalltext">';
if(!$w['new'])
echo '<a href="'.$w['href'].'"><img border="0" src="'.$settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> ';

echo '['.$w['time'].']
</div>';

if($counter != $cmax)
echo '<hr />';
$counter++;
}
echo '
</div>';
Title: Re: TinyPortal
Post by: IchBin™ on October 29, 2010, 10:11:43 AM
I'd suggest you use a block code from the support site that already does what you're asking. The code you posted cannot exclude boards without totally rewriting the way it works. No sense in reinventing the wheel when there are codes that already do this.
Title: Re: TinyPortal
Post by: MoreBloodWine on October 29, 2010, 12:07:48 PM
I'd suggest you use a block code from the support site that already does what you're asking.
Link please ?

The code you posted cannot exclude boards without totally rewriting the way it works.
Does the code on the support site have the ability to exclude boards like the recycle board, pretty much the above posted code by me excludes the recycle board ?

No sense in reinventing the wheel when there are codes that already do this.
Just to joke around a bit, sure theres sense it it sometime... who's to say a better wheel can't be invented ;-p
Title: Re: TinyPortal
Post by: IchBin™ on October 29, 2010, 12:26:25 PM

Link please ?
http://www.tinyportal.co.uk/index.php?board=46.0

Quote
Does the code on the support site have the ability to exclude boards like the recycle board, pretty much the above posted code by me excludes the recycle board ?

There are a couple of them that I can remember. ssi_recentTopics() actually doesn't include the recycle board by default. In SMF2 you can actually exclude boards in the ssi_recentTopics() function now. But since I don't know which version of SMF you're using, I can't tell if you could use some tips on that or not.

Quote
Just to joke around a bit, sure theres sense it it sometime... who's to say a better wheel can't be invented ;-p

Easy to say when it's someone else's free time. :P

Actually, it looks like you might be using SMF2 based on the code. Hard to tell because I don't have things memorized. In the recentTopics() call in your code, put an array of boards that you want to exclude in place of the first NULL and see if that works.

array(4,6,9)
Title: Re: TinyPortal
Post by: MoreBloodWine on October 29, 2010, 12:42:33 PM
http://www.tinyportal.co.uk/index.php?board=46.0

Thx...

There are a couple of them that I can remember. ssi_recentTopics() actually doesn't include the recycle board by default. In SMF2 you can actually exclude boards in the ssi_recentTopics() function now. But since I don't know which version of SMF you're using, I can't tell if you could use some tips on that or not.
I'm using 1.1 and a 2.0 test site, the code I posted is from TP 1.0, I just found that it also works on 0.9.8 which is what I'm using on my live 1.1.11 site.

Mainly what I'm after is sort of like what I said, getting a block that acts just like Show unread posts since last visit that takes you to the first unread reply when you click the link or the "new" image thing.

Easy to say when it's someone else's free time. :P
True but even then someone elses work or not I would still say that, just maybe not appreciate it as much if it were my work lol

Actually, it looks like you might be using SMF2 based on the code. Hard to tell because I don't have things memorized. In the recentTopics() call in your code, put an array of boards that you want to exclude in place of the first NULL and see if that works.

array(4,6,9)
SMF version answered above...

Edit: I looked over the site and maybe I'm just being blind, stupid or both but I cannot seem to find any code blocks that act just like Show unread posts since last visit. where when you click on the topic link or the "new" image thing it takes you to the first unread reply and not the lastest one like what recent topics / posts does.
Title: Re: TinyPortal
Post by: ZarPrime on October 29, 2010, 08:31:23 PM
Edit: I looked over the site and maybe I'm just being blind, stupid or both but I cannot seem to find any code blocks that act just like Show unread posts since last visit. where when you click on the topic link or the "new" image thing it takes you to the first unread reply and not the lastest one like what recent topics / posts does.

Well then, if you can't find a particular block code snippet that does what you want it to, then you will have to join the site, if you aren't already a member, and make a request for one of our coders to make it for you in the Requests Board.  The link is here --> http://www.tinyportal.co.uk/index.php?board=133.0 (http://www.tinyportal.co.uk/index.php?board=133.0)

ZarPrime
Title: Re: TinyPortal
Post by: king kratos on October 30, 2010, 10:18:07 AM
I have searched both this forum and the TP forum and cannot find anything more up to date about this issue. The last thing mentioned was for TP Beta 5.

I am running SMF 2.0 RC3 with TP version 1.101. None of my mobile versions work properly. If I simply go to ?imode, ?wap, or ?wap2 the only thing that shows up is "go to full version". If I go to any of those and add &action=forum, then all my boards show up. However, if I click on any board it automatically gets rid of the &action=forum and only displays "go to full version".

The last I read was that this would be fixed after TP beta 5, but it is not fixed yet. I have looked through everything I can think of to try to fix this, but cannot find the edits I need to make to make these changes to fix this.

What do I need to do to get this working properly? Please help.

Kratos
Title: Re: TinyPortal
Post by: IchBin™ on October 30, 2010, 07:21:20 PM
It must be something with your forum or install. I do not have your problem when viewing my forum with the same versions you are running.
Title: Re: TinyPortal
Post by: king kratos on October 31, 2010, 02:46:42 PM
It must be something with your forum or install. I do not have your problem when viewing my forum with the same versions you are running.

Oh, Ok... Thanks for the info. I'll check some other code and see if it's that then.

Kratos
Title: Re: TinyPortal
Post by: MoreBloodWine on October 31, 2010, 07:36:20 PM
Maybe I'm missing something but I wanted to look into something in regards to the TP blocks for 0.9.8 and last time I was told to look in a fiel called tp-style.css and I remember fixing the issue but I cant find the CSS file. Maybe I'm thinking of something wrong but I want to look into the padding for the blocks to see if I can lessen the dead space / padding around the text of a block. Like right now I have just Hello... written in a block but it looks as if it has about 10px or so of padding around the sides and I want to try to squeeze it down a bit to get a tad more space in the blocks... Thx.

Now for the actual question, can anyone help me because this is really bothering me about the CSS thing and I dont know if I'm going nuts or remembering soemthin wrong... Thx.
Title: Re: TinyPortal
Post by: Ken. on October 31, 2010, 08:16:42 PM
MoreBloodWine, if you're asking where the tp-style.css is located, you'll find it in the ../themes/default folder.
Title: Re: TinyPortal
Post by: MoreBloodWine on October 31, 2010, 08:31:49 PM
MoreBloodWine, if you're asking where the tp-style.css is located, you'll find it in the ../themes/default folder.
Thats just the thing, I'm not... but I know I edited it once before... I even did a generalized find ./ -iname *.css on my entire account and didnt find a tp-styles anywhere.

Edit: Did TP 0.9.8 even have a tp-style.css ?

For all I know when I was playing around with CSS beflre it might have been on a test site with Tp 1x

If that is the case where is the blockbody css handled for TP 0.9.8 ?
Title: Re: TinyPortal
Post by: agridoc on November 01, 2010, 12:48:21 AM
No, tp-style.css was added in 1.0, TP 0.9.8 didn't have it, you will find TP add-ons in style.css of the theme.

Check also the TPortalBlocks.template.php and TPortal.template.php for block layout.
Title: Re: TinyPortal
Post by: MoreBloodWine on November 01, 2010, 11:17:58 AM
No, tp-style.css was added in 1.0, TP 0.9.8 didn't have it, you will find TP add-ons in style.css of the theme.

Check also the TPortalBlocks.template.php and TPortal.template.php for block layout.
Thx, I was playing around with TPortalBlocks.template.php last night  but didnt quite find what I was after. I'll check it ut again later along with the other file. Specifically what I'm after is getting rid of the style="padding: 4px;" on the blocks.
Title: Re: TinyPortal
Post by: IchBin™ on November 01, 2010, 11:27:07 AM
That could be the padding that is set in the tinyportal panel settings too, so don't forget to check that.
Title: Re: TinyPortal
Post by: MoreBloodWine on November 01, 2010, 03:30:38 PM
That could be the padding that is set in the tinyportal panel settings too, so don't forget to check that.
I'll look again but I dont recall any padding settings in 098 but I'll look again.

I just hope I can find it heh...

Edit: I found what you were talkin about Itch and while it is a 4px padding it's a left padding to set how far the blocks should be fro mthe sides of the forum.
Title: Re: TinyPortal
Post by: MoreBloodWine on November 01, 2010, 10:16:45 PM
No, tp-style.css was added in 1.0, TP 0.9.8 didn't have it, you will find TP add-ons in style.css of the theme.

Check also the TPortalBlocks.template.php and TPortal.template.php for block layout.

Ok, so after checking the style.css in both my custom theme and the default theme and even checking the TPortalBlocks.template.php and TPortal.template.php files I wasnt able to find the blockbody 4px padding. Hopefully Bloc can come in here and lend a hand with where the blockbody css is for 0.9.8

Edit: NM, I figured it out...
Title: Re: TinyPortal
Post by: Rafferty on November 02, 2010, 05:55:33 PM
smf 2.0 RC4 fresh install and reinstall TP 1.0 RC1

On installing TP on upgrade smf 2.0 RC4 frontpage has left side of title blocks missing as in the attached screenshot. other smf pages are ok this only effects the home page. ???
Title: Re: TinyPortal
Post by: Jason kiDD on November 02, 2010, 07:05:31 PM
How did you get it to work for RC4?

Forget it I figured it was just a simple change in the xml file for now until there is a approved update...   O:)
Title: Re: TinyPortal
Post by: Rafferty on November 02, 2010, 11:07:24 PM
I didnt do anything it just worked apart from this problem and a few blocks that no longer work
Title: Re: TinyPortal
Post by: agridoc on November 03, 2010, 04:06:44 AM
Strange, it shouldn't work as it is.

If someone wants to try TP 1.0 RC1 with SMF 2.0 RC4 but

NOTICE: that's not official and not tested well, nor Bloc has approved it, so use it only in a test site.

Quote
With quick little modifications of package-info.xml (replacing RC3 with RC4, I should have added but...) and /SMF2RC3/tinyportal200rc3.mod replacing
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context;
with
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context, $scripturl;

TP 1.0 RC1 installed successfully in a new SMF 2.0 RC4 test installation.  8)

Of course more tests must be done but, at first glance, it seems that not much has to be done for 2.0 RC4 compatibility  :)
Title: Re: TinyPortal
Post by: Rafferty on November 03, 2010, 04:19:26 AM
a bit of a trap, i just went to uninstall tp from rc4 and got

Quote
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information.
Title: Re: TinyPortal
Post by: agridoc on November 03, 2010, 04:53:17 AM
ADD ON: Go to advanced options and choose Emulate version: SMF 2.0 RC3. It probably is the way you got it installed. Otherwise look below.

You probably edited package-info.xml of TP 1.0 RC1 for RC4 in "<install for=", otherwise it shoudn't go on with installation, but you didn't edit accordingly "<uninstall for=". Even so installation must have given errors for Security.php, if no other edit was made.

If so download the TP file /Packages, unzip it, edit the "<uninstall for=" section for RC4, rezip with the same zip file name and reupload in/Packages replacing existing files.

Other wise, delete existing TP file from SMF, do a large 2.0 RC4 upgrade and you may try the editing I have suggested, reading the NOTICE first.
Title: Re: TinyPortal
Post by: Rafferty on November 03, 2010, 05:46:35 AM
emulating rc3 did the trick, at least i have the uninstall now although there are some tests failed but thats no biggy, thx a lot
Title: Re: TinyPortal
Post by: Rafferty on November 03, 2010, 05:48:26 AM
IT may be quicker for me to just add this line change in the page, which file does it update?

Strange, it shouldn't work as it is.

If someone wants to try TP 1.0 RC1 with SMF 2.0 RC4 but

NOTICE: that's not official and not tested well, nor Bloc has approved it, so use it only in a test site.

Quote

With quick little modifications of package-info.xml (replacing RC3 with RC4, I should have added but...) and /SMF2RC3/tinyportal200rc3.mod replacing
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context;
with
Code: [Select]
// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context, $scripturl;

TP 1.0 RC1 installed successfully in a new SMF 2.0 RC4 test installation.  8)

Of course more tests must be done but, at first glance, it seems that not much has to be done for 2.0 RC4 compatibility  :)
Title: Re: TinyPortal
Post by: Jason kiDD on November 03, 2010, 01:34:54 PM
Was using TP 1.52b before and this installed without a problem and all blocks work for now for TP RC1 and SMF RC4..
Just edited the xml file and so far so good...
Title: Re: TinyPortal
Post by: L'AltroWeb on November 04, 2010, 09:11:46 PM
Hi!
I remember that "Bloc" had abandoned this project but now i see this new release :P
What happening?  ;D
Bloc: you turn back to work with TinyPortal? :)
Anyway, thank you very much, tp is still the best portal for SMF  ;)
---
Can i make a large upgrade to latest SMF 2.0 RC4 and last TP 1.0 RC1 without data loss?  ::)
Title: Re: TinyPortal
Post by: ZarPrime on November 04, 2010, 09:43:29 PM
Dark-Wolf,

At this time, TinyPortal 1.0 RC1 works on either SMF 1.1.11 or SMF 2.0 RC3.  Bloc has not yet finished checking the code to determine whether any edits will be required for SMF 2.0 RC4 (and 1.1.12).  However, even though the upgrade to RC4 isn't recommended yet, several people have done it and it seems to work fine with just a few small glitches.  You may have to manually install some of the code.  This link on the TP Support Site may be of interest to you --> http://www.tinyportal.co.uk/index.php?topic=33343.0 (http://www.tinyportal.co.uk/index.php?topic=33343.0)

Lesmond and I setup a site to do some testing.  Hold on, let me go and disable registration.  OK, the link is here --> http://tp98.forums-4-free.info/smfrc4/index.php (http://tp98.forums-4-free.info/smfrc4/index.php)

I'd say only do it on a test site for now unless you're satisfied.

ZarPrime
Title: Re: TinyPortal
Post by: Jason kiDD on November 04, 2010, 11:04:58 PM
RC1 works fine on my site without major issues.. Using Headline theme...

http://lifeofthecity.com/loc if you want to see it in action...
Title: Re: TinyPortal
Post by: agridoc on November 04, 2010, 11:59:49 PM
Very well done Jason kiDD  8).

No problem also from my test site tests, since November 2, but yours is a working forum, altough I posted my quick fix (http://www.simplemachines.org/community/index.php?topic=27642.msg2837880#msg2837880) for test sites only  ;D
Title: Re: TinyPortal
Post by: kirk1h on November 07, 2010, 11:08:31 AM
my home/forum buttons are screwed... home-botton gets highlighted when i'm in the forum. happens on jason's forum too.

online-box is messed up too. damn, why did i go the 2.x route :(

will bloc ever come back? i read somewhere that tp will not be continued.
Title: Re: TinyPortal
Post by: FataMorgana on November 07, 2010, 02:01:48 PM
Hi all.
During several years I have a few forums running SMF 1.1.x and TP 0.98. At the moment I'm on SMF level 1.1.12
This weekend I tried to install another theme but it is not fit for the older version of TP.
So after long searching I found the latest version of TP: 1.0 RC1.
I tried to install it like an update but message says it can't be done and I should uninstall or delete the older version.
Uninstall of 0.98 also can't be done!

Can anyone tell me how to upgrade TP from 0.98 to 1.0 RC1 without too much handwork (coding)?
Title: Re: TinyPortal
Post by: ZarPrime on November 08, 2010, 06:55:44 PM
FataMorgana,

First of all, backup your site and database, in case you need to revert.  Then ...
Link -->  http://www.docs.tinyportal.co.uk/index.php?topic=147 (http://www.docs.tinyportal.co.uk/index.php?topic=147)
Stop where you see the following ...
 
Quote
Now we need to remove the Database tables for TP.
This step is ONLY if you want to completely remove your tinyportal install. This step WILL remove ALL content you have inside the TinyPortal.

Expanation for above:  If you want to install the latest TP, the database tables should NOT be removed.
ZarPrime
Title: Re: TinyPortal
Post by: rngrdanny22 on November 08, 2010, 07:26:35 PM
Is this going to be updated to 2.0RC4?

It's by far the best portal and I'd love to add it to my new site!
Title: Re: TinyPortal
Post by: FataMorgana on November 09, 2010, 11:07:14 AM
Thanks Zarprime and Rngrdanny22 for reactions.
I knew allready the method changing the code but was searching for a more easy way.
And I've found it:
http://www.tinyportal.co.uk/index.php?topic=27943.0 (http://www.tinyportal.co.uk/index.php?topic=27943.0)
On this way I've succeeded in my wish installing the new theme I wanted.

At the moment I stay on SMF 1.1.12, but while the new theme on the forum I've changed (not the links in my sig!) is also fit for 2.x I maybe can change some day.
Title: Re: TinyPortal
Post by: evulness on November 10, 2010, 09:12:11 PM
Right now i'm using SMF 2.0 RC3, and i had a question regarding files downloaded from the TP file manager.

Does anyone have a suggestion or know where i can find a mod to log more data to the database about who has downloaded a file, when they've downloaded it, and how many times they've downloaded the file, possibly more?
Title: Re: TinyPortal
Post by: bigcedar on November 11, 2010, 07:39:38 PM
I installed the mod..  said everything went successfully.  However when I go to the Admin Panel for it..  a lot of text is missing and all i see is a bunch of radio buttons and check boxes.. no text at all describing what each one is.  I figured it was the theme I was using so I switched to the default themes and I got the same results.

Its kind of hard to change anything when I can read what each option is.   Any help would be appreciated.  Thanks in advance.

Title: Re: TinyPortal
Post by: Kindred on November 11, 2010, 09:30:01 PM
change your forum to English (english utf-8 is not the same as english)
Title: Re: TinyPortal
Post by: Tupsi on November 15, 2010, 11:57:21 AM
My shoutbox shows all ' escaped as \'  after upgrading TP from beta 5-2 to RC1 (with a 1.1.12 SMF release). I faintly remember already having this issue back after upgrading from a different version, but I cant remember the fix to it. Or maybe I already reported that in beta 5 and it still isnt fixed, and my old brain just mixes that up. Either way, whenever my user enter a ', the shoutbox makes a \' out of it.
Title: Re: TinyPortal
Post by: agridoc on November 15, 2010, 02:57:54 PM
It's fixed for 2.0, unfortunately not for 1.1x.
Title: Re: TinyPortal
Post by: IchBin™ on November 15, 2010, 05:36:10 PM
I'm not sure what the cause is for this. I'm guessing it's the difference between the way SMF1 and 2 handle the queries. As a temp fix you can try this. Open Themes/default/TPShout.template.php file and go to the bottom of the file and find this line:
Code: [Select]
' . (parse_bbc(censorText(strip_tags(html_entity_decode($row['value1']))),true)) . '

Replace with this:

Code: [Select]
' . (parse_bbc(censorText(strip_tags(html_entity_decode(stripslashes($row['value1'])))),true)) . '
Title: Re: TinyPortal
Post by: Tupsi on November 16, 2010, 07:30:30 AM
It's fixed for 2.0, unfortunately not for 1.1x.

good enough for me, thanks for the info!

(That verification thing is annyoing btw)
Title: Re: TinyPortal
Post by: IchBin™ on November 16, 2010, 10:07:04 AM
It's fixed for 2.0, unfortunately not for 1.1x.

good enough for me, thanks for the info!

(That verification thing is annyoing btw)


I just gave you the fix above your last post. The "verification thing" is for people with less then 10 posts I believe.
Title: Re: TinyPortal
Post by: Tupsi on November 16, 2010, 10:27:46 AM
It's fixed for 2.0, unfortunately not for 1.1x.

good enough for me, thanks for the info!

(That verification thing is annyoing btw)


I just gave you the fix above your last post. The "verification thing" is for people with less then 10 posts I believe.

thanks for the extra effort, but I really ment it with the fact that I can wait till that board is running on 2.0. In fact the whole thing let me reevaluate the "sit it out till 2.0 final" and I am testing the upgrade atm on a copy. The install is ancient, so I expect tons of errors :-)

Title: Re: TinyPortal
Post by: Tupsi on November 16, 2010, 10:39:22 AM
lol, that break hit me faster then I was hoping... Seems I was to slow with my upgrade thoughts. Now I have a RC4 but TP only supports RC3? Any ETA on a new TP release or what I have to change to convince RC4 to install TPRC1?
Title: Re: TinyPortal
Post by: IchBin™ on November 16, 2010, 10:46:37 AM
If you read back on the last 2 or 3 pages of this topic you'll see how people have done it.
Title: Re: TinyPortal
Post by: Tupsi on November 17, 2010, 05:22:49 AM
If you read back on the last 2 or 3 pages of this topic you'll see how people have done it.

thanks, that worked like a charm, although finding that Advanced link was the hardest part, its well hidden :-)
Title: Re: TinyPortal
Post by: MaXiForum.cz on November 19, 2010, 11:11:35 AM
Nice, TinyPortal continues... :)
Good luck IchBin™ ;)
Title: Re: TinyPortal
Post by: phantomm on November 20, 2010, 05:10:20 AM
Hi, i got a question... there is any way to have transparent background in "Alternative listing icon" ?
Because now when i add this icon, background is black...
Title: Re: TinyPortal
Post by: IchBin™ on November 20, 2010, 01:56:43 PM
Not sure what you're talking about adi1166. Could you show a screen shot or something?
Title: Re: TinyPortal
Post by: phantomm on November 20, 2010, 02:55:15 PM
Icon with transparent backgroung (saved as PNG):
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg404.imageshack.us%2Fimg404%2F8929%2Faaaaozx.jpg&hash=fe7ce4394ed47e47ef1a0f9edcd991d9)

Here screen shows how it suposed to look:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg408.imageshack.us%2Fimg408%2F9914%2Fsxsslzb.jpg&hash=f5dce8479003d3be8f78ee954e2f95cf)
Title: Re: TinyPortal
Post by: IchBin™ on November 20, 2010, 03:20:40 PM
Can you show me a page where you are viewing this so I can see what is causing it?
Title: Re: TinyPortal
Post by: phantomm on November 20, 2010, 03:58:51 PM
I sent to PM
Title: Re: TinyPortal
Post by: IchBin™ on November 20, 2010, 04:14:39 PM
looking at your page, it looks just fine to me. I don't see a dark background behind the icon. Am I missing something?
Title: Re: TinyPortal
Post by: phantomm on November 20, 2010, 04:19:49 PM
check out the last two articles on first page
Before the latter has a transparent background (and you see black)
The last has a background in color style forum

(translated by google...)
Title: Re: TinyPortal
Post by: IchBin™ on November 20, 2010, 04:32:18 PM
It has something to do with your images. Those are two different images. The one has a black background while the other doesn't.
Title: Re: TinyPortal
Post by: phantomm on November 20, 2010, 04:42:10 PM
this with black background had transparent bg before i sent it using option "Upload a new icon :"

I think I'll leave it as it is now...
Title: Re: TinyPortal
Post by: IchBin™ on November 20, 2010, 04:45:20 PM
Well I suppose something could happen during the upload. Was it resized? Or did you upload that current size it is?
Title: Re: TinyPortal
Post by: phantomm on November 20, 2010, 04:50:27 PM
Maybe you try to upload this picture

Here you can see that it has a transparent background:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg219.imageshack.us%2Fimg219%2F8853%2Faaazio.png&hash=161bd4e499b532d669a934d7cbe35573)

Code: [Select]
http://img219.imageshack.us/img219/8853/aaazio.pn
(translated by google...)
Title: Re: TinyPortal
Post by: IchBin™ on November 20, 2010, 05:17:35 PM
Yes, that is the problem. When the image is resized to 128x128 it looses it's alpha transparency. If I were you for now I would resize the image with an editor so you don't lose the transparency, then upload the file. Sorry, but at this point I don't know much about this upload routine, and to know if I can fix this problem or not.
Title: Re: TinyPortal
Post by: Bugo on November 26, 2010, 03:56:54 AM
IchBin™, u have updated mod tonight. What's new?
Title: Re: TinyPortal
Post by: ZarPrime on November 26, 2010, 08:34:28 AM
Bugo,

Nothing changed in the Mod yet, only the description on the download page.  Working on it.

ZarPrime
Title: Re: TinyPortal
Post by: IchBin™ on November 26, 2010, 11:05:25 AM
Yes, I have only updated the mod page because the description was blank after the mod was turned over to me. I am working on an update for RC4.
Title: Re: TinyPortal
Post by: phantomm on November 27, 2010, 05:23:30 AM
Hello again..
where can i modify social bookmarks ?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg525.imageshack.us%2Fimg525%2F7291%2Fcapturennt.png&hash=9ea2d2925fb78e86e243075e4d18713c)
Title: Re: TinyPortal
Post by: lesmond on November 27, 2010, 03:29:57 PM
Hello again..
where can i modify social bookmarks ?

Look in TPsubs.template.php starting around line 1627
Title: Re: TinyPortal
Post by: phantomm on November 27, 2010, 04:05:25 PM
hmm.. for me code of social bookmarks begins in 3467 line
anyway, thanks for tip ;)
Title: Re: TinyPortal
Post by: .Vapor on November 29, 2010, 09:52:55 AM
How long for RC4 ?
Title: Re: TinyPortal
Post by: WillyP on November 29, 2010, 10:50:25 AM
IchBin is working on it and as soon as he is done he will post here, and let everyone know.  There is really know way for him to make an accurate prediction on when that will be, as there is no way to know what bugs will surface, or how long it will take to correct them.  I would say soon, though, but that is just a guess.

In the meantime, several members have posted solutions to get it working for RC4 in this thread.
Title: Re: TinyPortal
Post by: FragaCampos on November 29, 2010, 10:51:32 AM
Hello.
I'm still using TinyPortal v1.0 beta 4 with SMF 1.1.12 and i'm having two errors that are filling my log:
Code: [Select]
2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
File: public_html/Themes/default/languages/TPShout.portuguese.php (main sub template - eval?)
Line: 414

and

Code: [Select]
2: Invalid argument supplied for foreach()
File: public_html/Themes/default/languages/TPShout.portuguese.php (main sub template - eval?)
Line: 15

Any idea about what might be causing this?
Title: Re: TinyPortal
Post by: IchBin™ on November 29, 2010, 07:56:44 PM
Can you use this mod to enable/disable eval() to see if you get a more specific error?
http://custom.simplemachines.org/mods/index.php?mod=2054
Title: Re: TinyPortal
Post by: FragaCampos on November 30, 2010, 07:15:17 PM
Hi IchBin™ and thanks a lot for answering.
I did what you told and it seems the problem stems from a hack i did sometime ago.
It doens't have nothing to do with TinyPortal, but you can find it here (http://www.simplemachines.org/community/index.php?topic=241459.msg2867276#msg2867276).

Cheers.
Title: Re: TinyPortal
Post by: IchBin™ on November 30, 2010, 07:45:29 PM
Cool. Thanks for letting me know the problem.
Title: Re: TinyPortal
Post by: anto74 on December 01, 2010, 05:52:07 AM
I'm sorry for this stupid question and for my poor english: now i have TP 5beta-1, for upgrade to TP RC1 i must only install the RC1 package? I don't uninstall TP 1beta5-1?
In installaton test i have only two file modified...it's possible?

Thanks
Antonio
Title: Re: TinyPortal
Post by: DarioBros on December 01, 2010, 01:42:46 PM
There's a small bug in the search function ( yoursite.com/index.php?action=search ) with smf 1.1.11 (now 1.1.12) and TPRC1:
Even if "Downloads Manager" is disabled, in that page there is a link to search inside downloads.

I've modified TPsubs.template.php to hide it, searching
Code: [Select]
<span class="topslice"><span></span></span>
<p style="margin: 0; padding: 0 1em;">
<a href="' . $scripturl. '?action=tpmod;sa=searcharticle">' . $txt['tp-searcharticles2'] . '</a> |
<a href="' . $scripturl. '?action=tpmod;dl=search">' . $txt['tp-searchdownloads'] . '</a>';

and replacing with:
Code: [Select]
<span class="topslice"><span></span></span>
<p style="margin: 0; padding: 0 1em;">';
if (allowedTo('tp_dlmanager'))
echo '
<a href="' . $scripturl. '?action=tpmod;sa=searcharticle">' . $txt['tp-searcharticles2'] . '</a> |';
                        if (allowedTo('tp_articles'))
echo ' <a href="' . $scripturl. '?action=tpmod;dl=search">' . $txt['tp-searchdownloads'] . '</a>';
     

Is this the right way to fix it?
Title: Re: TinyPortal
Post by: IchBin™ on December 01, 2010, 03:02:50 PM
Well, there's no permission for just using search. The permission you use in your code there is for a user who has TP download manager permissions. It would probably be better to just check if the downloads manager is turned on or not.

if($context['TPortal']['show_download']==0)
Title: Re: TinyPortal
Post by: latch on December 01, 2010, 05:37:04 PM
Hi, attempt to apply TinyPortal is failing.

List of all installs:
SMF v1.1.12
SMF Gallery Lite v3.0.2
Default Avatar v1.3
- End List

Version of TinyPortal attempting to apply: v1.101

Errors encountered:
9.    Execute Modification    ./Themes/default/index.template.php    Test failed
10.    Execute Modification    ./Themes/babylon/index.template.php    File not found

I was initially using the Full Down theme when trying to install Tiny Portal which caused errors 9 and 10 so switched to Default theme.
Errors 9 and 10 persist.
Is there a way to overcome these two errors so I can apply this Mod?
-Latch
Title: Re: TinyPortal
Post by: IchBin™ on December 01, 2010, 06:47:38 PM
TinyPortal is searching for code in those files that has either been modified by a previous mod, or modified by you. If I were you, I would do this:

1. Backup files and database
2. Install the mod and proceed even with those 2 errors reported.
3. Click the parse link on the mod page, and follow the manual instructions for modifying those files.
Title: Re: TinyPortal
Post by: FragaCampos on December 03, 2010, 12:41:36 PM
Hello again.
Now that i've cleaned the error log, i'm left with two very old errors that i've never been able to solve.
Here they are:
Code: [Select]
2: Invalid argument supplied for foreach()
File: /home/docspt/public_html/Themes/default/TPortal.template.php
Line: 15

and

Code: [Select]
8: Undefined index: boardnews
File: public_html/Themes/default/TPortal.template.php
Line: 15

It's nothing serious nor urgent, since the forum has no problems, but i would like to get rid of these.
Thanks once more.
Title: Re: TinyPortal
Post by: IchBin™ on December 03, 2010, 05:56:31 PM
Can you do what I posted in this message and let me know what the errors say after that?
http://www.simplemachines.org/community/index.php?topic=27642.msg2866238#msg2866238
Title: Re: TinyPortal
Post by: FragaCampos on December 04, 2010, 10:21:24 AM
I still have that mod installed and the messages don't change  :-\

Don't know if this helps, but these errors are only made by guests and always in pairs, when one happens, the other also happens.
Title: Re: TinyPortal
Post by: IchBin™ on December 04, 2010, 11:31:54 AM
Is it the link in your signature? You are 2 versions of TP behind. There has been a beta4 and an RC1 version of TP since then. A lot of bugs were fixed by Bloc since then. I'd update and see if the same errors exist.
Title: Re: TinyPortal
Post by: FragaCampos on December 04, 2010, 02:37:56 PM
Yes it is. But no problem, it's nothing serious. I'll update to RC1 when i update my SMF to 2.0. That way i can make all the needed changes at the same time.

Thanks anyway.
Title: Re: TinyPortal
Post by: IchBin™ on December 06, 2010, 04:52:57 PM
Updated for SMF 2 RC4. Post if there's any problems.
Title: Re: TinyPortal
Post by: Sabre™ on December 07, 2010, 02:19:33 AM
Good work IchBin 8)

Found a very small error. Nothing serious, but thought I'd bring it to light.
You're not in the TP credits
Code: [Select]
Developer
Bjoern "Bloc" Kristiansen

TP Team
JPDeni, Ianedres, Freddy888, Ken, Lesmond, ZTN, ZarPrime, Renegd98, Crip, Agridoc and lurkalot.

TP Friends
Xarcell, Fussilet,nokonium, StormLrd, RebelRose, Ray, Max, Thurnok, Dragooon, eld^kar, PhilH, Maya, Moocat, Rasyr, gerrymo, BorgBOB, redone, Aku, Anunlike, Tuxie, deniz, feline, and eeek.
Title: Re: TinyPortal
Post by: IchBin™ on December 07, 2010, 10:03:53 AM
Strange... wonder how my name got removed. I haven't even touched the credits. Oh well, I'll fix it up for the next release. Thanks for the heads up!
Title: Re: TinyPortal
Post by: crustybum on December 07, 2010, 10:21:46 AM
Hi, i am having problems getting an RSS feed in one of the blocks...can anyone guide me through..?  i am on 1.1.12

Thanks
Title: Re: TinyPortal
Post by: IchBin™ on December 07, 2010, 10:41:44 AM
Have you tried other feeds? Some times feeds have errors in them and will not display. You can try a feed from the TP chat board on the support site to see if it works. This link worked for me.

http://www.tinyportal.co.uk/index.php?action=.xml;board=9;type=rss
Title: Re: TinyPortal
Post by: crustybum on December 07, 2010, 11:09:53 AM
No good....just getting nothing...stumped
Title: Re: TinyPortal
Post by: IchBin™ on December 07, 2010, 12:13:40 PM
Sounds like your host has turned off the PHP settings for this. Can you post a What is a phpinfo() file? (http://docs.simplemachines.org/index.php?topic=479.0) page so I can take a look?

Also, check your SMF log for errors to see if you're getting anything related to this problem.
Title: Re: TinyPortal
Post by: RoarinRow on December 07, 2010, 12:41:38 PM
Excellent, thanks for the upgrade IchBin™!  You da man!
Title: Re: TinyPortal
Post by: Joomlamz on December 07, 2010, 04:50:42 PM
yes
Nice good work
Title: Re: TinyPortal
Post by: Aiko on December 07, 2010, 06:56:02 PM
I just upgraded from RC3 to RC4 and have installed Tinyportal. However I have gotten over 300 errors in my log due to it, all stating "almost the same thing"

Quote
Apply Filter: Only show the error messages of this URL
http://site/index.php?action=admin;area=packages;sa=install2;package=TinyPortal10rc1.zip;pid=0
Apply Filter: Only show the errors with the same message
2: copy(/home/sitetp-files/tp-blockcodes/minicalendar.blockcode) [<a href='function.copy'>function.copy</a>]: failed to open stream: Not a directory
Apply Filter: Only show the errors from this file
File: /home/site/Sources/Subs-Package.php
Line: 1689

Quote
   
   Reverse chronological order of list Today at 05:53:49 PM
Apply Filter: Only show the error messages of this session 2952567e00df577fcfd298aa60dd8370
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://site/index.php?action=admin;area=packages;sa=install2;package=TinyPortal10rc1.zip;pid=0
Apply Filter: Only show the errors with the same message
2: copy(/home/username/public_html/forum/tp-files/tp-blockcodes/hello.blockcode) [<a href='function.copy'>function.copy</a>]: failed to open stream: Not a directory
Apply Filter: Only show the errors from this file
File: /home/username/public_html/forum/Sources/Subs-Package.php
Line: 1689 

The rest are pretty much like this as well. Any resolution?
Title: Re: TinyPortal
Post by: IchBin™ on December 07, 2010, 07:48:56 PM
Any information what you are doing when you get that error? Does it appear on every page? What SMF version are you using?
Title: Re: TinyPortal
Post by: Aiko on December 07, 2010, 08:00:19 PM
I just upgraded to SMF 2.0 RC4, and that showed in the log right after installation.
Title: Re: TinyPortal
Post by: IchBin™ on December 07, 2010, 09:32:18 PM
I need to know as much information as you can provide as I don't have that error. Does the error still continue? Does it happen on any certain page or when you do any certain action? Have you looked down the path to see if the files that it is trying to find in the errors are there?

Like this one:
/home/username/public_html/forum/tp-files/tp-blockcodes/minicalendar.blockcode
Title: Re: TinyPortal
Post by: Aiko on December 08, 2010, 12:29:11 AM
It seems as though the permissions were not correct when I did the upgrade, this seems to have prevented the mod from installing Directories, as such I was getting empty files and missing most of the information - like I didn't have tp-files for instance and all that it contains. Its fixed now as someone took care of it for me.

Thanks alot of responding and trying to help me out. I appreciate it :)
Title: Re: TinyPortal
Post by: Masterd on December 09, 2010, 11:30:07 AM
How can I make avatars bigger in User CP block?
Title: Re: TinyPortal
Post by: WillyP on December 09, 2010, 12:14:06 PM
Try changing the height of the the element in the css:

Line 1569 in Themes/default/tp_style.css, change
Code: [Select]
height:32px; to something like
Code: [Select]
height:40px;
Edit:  Above is for users online, I think you meant the block which has the links to show unread, pm, etc... that would be line 1750, change the width:45.
Title: Re: TinyPortal
Post by: badger413 on December 14, 2010, 02:17:17 PM
I have the latest smf version 1.1.12 want to install tiny portal to my smf forums but when I go to install it I get a error message...

"!!
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF
."

and

"10.    Execute Modification    ./Themes/babylon/index.template.php    File not found"

How do I fix this?
Title: Re: TinyPortal
Post by: WillyP on December 14, 2010, 03:02:01 PM
Continue with the installation. This error is because the theme 'Babylon'  was removed from SMF,  so the script cannot find it.  It will install fine without it.
Title: Re: TinyPortal
Post by: bud01100 on December 14, 2010, 09:58:49 PM
Installed TP V1.0 Rc1 on SMF 1.1.12.

I was able to display the recent posts via TP on the main forum page, but now its only showing up within each board page.

Cant figure out if there is a setting to turn it on/off the main page.
Title: Re: TinyPortal
Post by: WillyP on December 15, 2010, 07:35:58 AM
The settings that would affect this are in the block.  Got to 'Tiny Portal >> Manage Blocks >> (Recent articles block) Edit'.
Title: Re: TinyPortal
Post by: bud01100 on December 15, 2010, 09:08:08 PM
The settings that would affect this are in the block.  Got to 'Tiny Portal >> Manage Blocks >> (Recent articles block) Edit'.

Thankyou much!!

I think I'm getting the 'Home' and 'Forum' tabs mixed up as to what is displayed.
Title: Re: TinyPortal
Post by: Andrei Cantey on December 24, 2010, 02:24:22 AM
Greetings all,

Would anyone know the file that I would use to
edit the article template? I would like to remove the
posted in [Category] on each Article as I do not find
any need when i only use one Category.
Thank you for whoever can help.

Kind regards,
Andrei C.
Title: Re: TinyPortal
Post by: IchBin™ on December 24, 2010, 10:48:14 AM
Greetings all,

Would anyone know the file that I would use to
edit the article template? I would like to remove the
posted in [Category] on each Article as I do not find
any need when i only use one Category.
Thank you for whoever can help.

Kind regards,
Andrei C.

In your frontpage settings you can select the "use custom template" option. There will be a textbox below that has the html that controls what and how the articles display on the frontpage. All you need to do is remove what you don't want.
Title: Re: TinyPortal
Post by: ffingers on December 31, 2010, 03:09:43 AM
quick question...

smf4iphone theme use checks for the tp_hidebars() function in order to "disable" tinyportal for the theme....it does not appear to be working...is that function not used anymore or is there a better way to hide tinyportal for a specific them...

the actual code is
Code: [Select]
// TinyPortal
if (function_exists('tp_hidebars'))
tp_hidebars();
Title: Re: TinyPortal
Post by: IchBin™ on December 31, 2010, 11:15:52 AM
The function still exists. I don't know if or how much it has changed over the last while but try calling the function using all instead.
Code: [Select]
// TinyPortal
if (function_exists('tp_hidebars'))
tp_hidebars('all');
Title: Re: TinyPortal
Post by: ffingers on December 31, 2010, 12:11:56 PM
no dice....hmmm...this is really mind boggling to me...is there an include or something that needs to be added...here is the index.template.php file with the template init...see anything to do to "disable" blocks aka...disabling tinyportal for the theme?

Title: Re: TinyPortal
Post by: IchBin™ on December 31, 2010, 12:43:23 PM
You can't put it in the template_init() function because that loads everything before TP has had a chance to load it's own stuff. Put it in the template_html_above() function.
Title: Re: TinyPortal
Post by: bloc on December 31, 2010, 12:47:21 PM
Another way is to simply copy over TPBlockLayout.template.php from default theme to your theme, and within the 2 functions in it, simply add "return;" So it would like this on the first function:

Code: [Select]
function template_tp_above()
{
global $context , $scripturl, $settings, $language , $txt, $options;
       
        return;
       
       .....


That way the panels will never be rendered just for that theme.
Title: Re: TinyPortal
Post by: ffingers on January 05, 2011, 05:09:49 PM
Bloc...thank you so much...this is the BEST solution as i found that just hiding the blocks was creating some css conflicts that i couldn't resolve....empty out the functions put everything back to normal...

no i have one more question....the mobile theme i have does not work well tiny portal's home page... rather than modify it for the tp...i would like to just redirect people landing on my root domain to http://domain/index.php?action=iphone which is the main forum in the mobile theme....

i understand i could do a browser check...but i think even easier would be to check what theme is being used and if it's the mobile theme...redirect to the forum page....i haven't done a lot of research into how to do it...sorry been busy with other stuff on the site....but any ideas on how to do a redirect to another page based on theme id to avoid tp's main index page?

thanks again!
Title: Re: TinyPortal
Post by: bloc on January 05, 2011, 05:45:09 PM
Well, again lol, using a TP template could do the trick: copy over TPortal.template.php into your mobile theme and find the function "template_frontpage()" and empty that - but also add
Code: [Select]
redirectexit('action=iphone'); inside it.

It could go into a loop though, so check on a slow time of the day first, so you can erase the template if it goes haywire.

Another but maybe better solution could simply be to empty that function still, but add the same code you would execute in the action=iphone page, maybe even just calling the function directly, if you have set it up that way.
Title: Re: TinyPortal
Post by: ffingers on January 05, 2011, 05:53:01 PM
Bloc...you are WONDERFUL!!

worked like a charm....

i wish i knew all the php and smf functions and really had time to delve into how it calls things...i have been programming for quite some time, but have never taken the time to really figure out all the smf calls and how pages are actually built and whatnot....i know enough to be dangerous, but not enough to do things elegantly...thanks so much bloc...you rock!

tony
Title: Re: TinyPortal
Post by: TheDel on January 06, 2011, 08:47:10 AM
I have a question about the blocks. Im trying to put my wordpress posts in there (like a last 3 or 5 posts). Ive found 2(both versions using a blog query.php file and iframe in the block) and both times I get a syntax error. Then I found one on Feed2JS that actually works but if I go back in the block to modify it, the code duplicates itself and I start getting double the output.

Come to think of it, Ive the same issue when I tried putting the facebook fan box on my page too.

I love TP(so sad to see the actual site go) so hopefully theres something out there that can help.

Thanks
Title: Re: TinyPortal
Post by: IchBin™ on January 06, 2011, 09:57:01 AM
The site still exists, only Bloc is not heading the project up anymore. TP.net forwards to TP.co.uk for now.

It might help if you tell us what versions you are using of SMF and TP. If you aren't using the latest TP 1 rc1 version that was released I'd suggest upgrading. If you are using the latest, please post one of the codes you are having a problem with, and the steps to confirm your problem if there are any things different than what you posted above.
Title: Re: TinyPortal
Post by: TeaTephi on January 07, 2011, 02:50:08 PM
I'm currently running SMF 1.1.10 and TinyPortal v1.0 beta 4 © Bloc but I would like to update my forum to SMF 2.0 and the new TinyPortal.  My current theme is Manuscript, and I have so many mods....woah I 'm scared to update.

I have downloaded my back up file, but can someone send me a link to step by step instructions to upgrade my forum?  Please!

It's been awhile since I've done any of this and I'm a little scared I'm going to mess up my forum.
Title: Re: TinyPortal
Post by: IchBin™ on January 07, 2011, 03:06:48 PM
The single best thing you can do is to do a test install. Copy your site files and database and create an exact duplicate of it. This way, you can run the upgrade and not worry about a thing. And in the process you learn how to do it, and will also catch any problems that you may run into before actually attempting to do it on your live site. Although, this isn't really the topic you should post to when needing help upgrading SMF :) Just remember when you upgrade from one major version to another you lose all your mods that you installed. So make sure your mods are compatible with the version of SMF that you're moving to. TP is compatible with the latest version of SMF so no worries there. Take a gander through the Docs and post in the support boards if you get stuck.

Upgrading SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)
Title: Re: TinyPortal
Post by: TeaTephi on January 07, 2011, 05:59:53 PM
Thanks so much IchBin!  so I do a test install on a subdomain like  www.mysitename/testinstallforum ?  Just copy everything over using an FTP client software?   Do I have to worry about using the database too? 

If there is a link to these directions then I'm ok going there.  I've been searching but everyone has a little different situation than me (meaning they know more haha).    Thanks again!
Title: Re: TinyPortal
Post by: Arantor on January 07, 2011, 07:37:06 PM
Just as a random thought, how come TPortal.english.php declares the $txt['visual_verification_description'] string as 'Not Defined Yet'? It's loaded later in runtime than index.english.php is so it overwrites that string.
Title: Re: TinyPortal
Post by: IchBin™ on January 07, 2011, 09:13:02 PM
Thanks so much IchBin!  so I do a test install on a subdomain like  www.mysitename/testinstallforum ?  Just copy everything over using an FTP client software?   Do I have to worry about using the database too? 

If there is a link to these directions then I'm ok going there.  I've been searching but everyone has a little different situation than me (meaning they know more haha).    Thanks again!

Yep, just copy the files into another folder like you showed. Yes, duplicate your database and then in your Settings.php file all you have to do is tell it to use the new database by changing the database name. Usually your host has a control panel like CPanel that will allow you to copy files/folders. Which is generally much easier than using FTP.
Title: Re: TinyPortal
Post by: IchBin™ on January 07, 2011, 09:13:39 PM
Just as a random thought, how come TPortal.english.php declares the $txt['visual_verification_description'] string as 'Not Defined Yet'? It's loaded later in runtime than index.english.php is so it overwrites that string.

Don't know, I didn't write the code and haven't noticed that yet.
Title: Re: TinyPortal
Post by: bloc on January 08, 2011, 02:35:41 PM
Just as a random thought, how come TPortal.english.php declares the $txt['visual_verification_description'] string as 'Not Defined Yet'? It's loaded later in runtime than index.english.php is so it overwrites that string.
Its a very old string - I don't remember the exact reason but it was to correct an error message occuring when it wasn't set when TP needed to use the captcha. It might be obsolete now(and might do some harm even).

Quote
Don't know, I didn't write the code and haven't noticed that yet.
Ichbin, thats one of the unfortunate things about taking anything over.. :)
Title: Re: TinyPortal
Post by: Arantor on January 08, 2011, 06:40:30 PM
Quote
It might be obsolete now(and might do some harm even).

That's why I'm reporting it, a user installed TP and was getting 'Not Defined Yet' in their CAPTCHA...
Title: Re: TinyPortal
Post by: !RFAN on January 08, 2011, 09:37:27 PM
how can i turn off right panel in portal page and on in forum??
Thanks :)
Title: Re: TinyPortal
Post by: BartB on January 09, 2011, 08:19:20 AM
Call me stupid, but I can't find Dutch language files for TP 1.102
I tried to register on the TP support site, but their activation e-mails never reached me so I can't log in there.
Title: Re: TinyPortal
Post by: lurkalot on January 09, 2011, 09:23:24 AM
how can i turn off right panel in portal page and on in forum??
Thanks :)

To stop it showing on front page.  Tp Admin/ settings / Front page.  scroll down and un-check the display right panel box.  Click save at bottom.

To stop it showing in forum, TP Admin / panels,  Scroll down to right panel, and change the setting, "Hide right panel when in forum?"   to Yes.  Click save at bottom.
Title: Re: TinyPortal
Post by: IchBin™ on January 09, 2011, 10:48:13 PM
Call me stupid, but I can't find Dutch language files for TP 1.102
I tried to register on the TP support site, but their activation e-mails never reached me so I can't log in there.

I activated your account that uses the keyboard address.


Quote
Don't know, I didn't write the code and haven't noticed that yet.
Ichbin, thats one of the unfortunate things about taking anything over.. :)

Yeah, I realized that. Considering I don't think I'm a good coder yet, it's going to take me a very long time before I feel I grasp the whole TP concept. :( Anyway, I think there's a problem that I need your help with so you may get another message from me some time this week. :)
Title: Re: TinyPortal
Post by: Average Mom on January 11, 2011, 01:56:39 PM
I hope I'm posting in the right spot

SMF 2.0 RC4

with TP 1.102

I'm using the Outline by Dziner theme

my mods:
1.    Sitemap    2.2.0
2.    Member Awards    2.2.3
3.    Referrals System    3.0.1
4.    TinyPortal    1.102
5.    More Spiders    1.2
6.    Users Online Today    1.5.6
7.    Contact Page    2.1.1

/index.php?action=tpmod;sa=comment
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't wait to try it!','1','article_comment','1294689693',19)' at line 2
File: /....../forum/Sources/TPmodules.php
Line: 155

Basically, when a member tries to comment on an article, they can't post apostrophes,  they need to escape it, or else they get the error posted above.  I'm not sure how to correct this and I'm not sure my members would understand that they need to escape their ' every time they post a comment.  ::)  So for the time being, until I can correct this, I've disabled comments.

Any suggestions on what I need to do?
Title: Re: TinyPortal
Post by: IchBin™ on January 11, 2011, 02:17:27 PM
Thanks for reporting the bug.

In Sources/TPmodules.php find:
Code: [Select]
            // insert the comment
            tp_query("INSERT INTO " . $tp_prefix . "variables (value1,value2,value3,type,value4,value5)
                            VALUES('". $title. "','". $comment. "','$ID_MEMBER','article_comment','$time',$article)", __FILE__, __LINE__);

Replace with this:
Code: [Select]
            // insert the comment
            tp_query("INSERT INTO " . $tp_prefix . "variables (value1,value2,value3,type,value4,value5)
                            VALUES('". mysql_real_escape_string($title). "','". mysql_real_escape_string($comment). "','$ID_MEMBER','article_comment','$time',$article)", __FILE__, __LINE__);
Title: Re: TinyPortal
Post by: Average Mom on January 11, 2011, 05:27:12 PM
That fixed it! Thank you very much! :)
Title: Re: TinyPortal
Post by: Average Mom on January 11, 2011, 10:03:43 PM
Got another one for ya LOL

...forum/index.php?/page,12.html
8: Undefined variable: avatar_height
File: /..../forum/Sources/TPortal.php
Line: 742

I get it only when someone views an article, though I'm not sure if it's the article itself or viewing it on the frontpage or both, I get the same error for avatar width also. I didn't realize I was getting that error also because there were so many errors from the other bug.
Title: Re: TinyPortal
Post by: IchBin™ on January 12, 2011, 11:20:27 AM
What are your frontpage settings and what are your category settings? I need to try the same setup as you so I can figure it out.
Title: Re: TinyPortal
Post by: Average Mom on January 12, 2011, 11:43:40 AM
This is what you are asking to see right?
Title: Re: TinyPortal
Post by: IchBin™ on January 12, 2011, 12:11:49 PM
Ah thank you. That helps. It would appear it only errors like this if someone is using an external avatar and it tries to load that avatar as the author of an article. Let me take a look and see what the proper fix would be here in a bit.
Title: Re: TinyPortal
Post by: Average Mom on January 12, 2011, 12:41:09 PM
Thanks, I appreciate it :)
Title: Re: TinyPortal
Post by: IchBin™ on January 12, 2011, 01:10:35 PM
In TPortal.php find this code about line #725
Code: [Select]
$ccount=0; $newcount=0;
if(tpdb_num_rows($request)>0)
{

Add this code before it.
Code: [Select]
// setup the avatar code
if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize')
{
$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
$avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
}
else
{
$avatar_width = '';
$avatar_height = '';
}
Title: Re: TinyPortal
Post by: Average Mom on January 12, 2011, 01:17:43 PM
Thanks so much! That fixed it!  I appreciate the help and all the work you put into this.  :-*
Title: Re: TinyPortal
Post by: anomaly on January 14, 2011, 12:54:44 AM
FYI I found the bug with the online box only showing avatars instead of names.  On line 2407 of Sources/TPortal.php, change

                               if($block['var1']=='')
                                        $context['TPortal']['useavataronline'] = 0;
                                else
                                        $context['TPortal']['useavataronline'] = 1;

To:


                               if($block['var1']=='0')
                                        $context['TPortal']['useavataronline'] = 0;
                                else
                                        $context['TPortal']['useavataronline'] = 1;


(note, only the first line is changed, I provided the rest for context)

Cheers,

Anomaly
Title: Re: TinyPortal
Post by: IchBin™ on January 14, 2011, 10:44:46 AM
Thank you! I'll add this in for the next release.
Title: Re: TinyPortal
Post by: TeaTephi on January 14, 2011, 02:05:01 PM
I upgraded successfully to smf 2.0 and tp 1.0.    However my shoutbox and other panels are visible to guests,  I don't have them checked off for access.  What am I missing?   


The screen shot shows that guests are unchecked yet they still see the shoutbox
Title: Re: TinyPortal
Post by: Touti on January 14, 2011, 02:07:35 PM
Is there a known issue that would prevent the Rhino theme to work properly with TP RC1 ?  I just upgraded to RC1 from 1.0 Beta4 and now my site is all messed up.

The Front Page and Forum

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.totalexpedition.com%2FMGalleryItem.php%3Fid%3D2799&hash=f6c21c0441ab731fe1f3c76007f46080)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.totalexpedition.com%2FMGalleryItem.php%3Fid%3D2800&hash=685d6f2fe8d03bc81fcc0b33b4c77c8a)

Strangely, if I disable support for TP in the theme the front page looks better, although the line spacing in the top blocks are wrong, and the forum looks ok but I loose the "Forum" button in my menu.


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.totalexpedition.com%2FMGalleryItem.php%3Fid%3D2801&hash=de1307d6a7ce1a1e15f8c9507f73ea47)



Title: Re: TinyPortal
Post by: IchBin™ on January 14, 2011, 02:35:46 PM
I upgraded successfully to smf 2.0 and tp 1.0.    However my shoutbox and other panels are visible to guests,  I don't have them checked off for access.  What am I missing?   


The screen shot shows that guests are unchecked yet they still see the shoutbox

Yep that is a bug in TP1rc1. It's fixed in the next version of TP yet to be released.
http://www.tinyportal.co.uk/index.php?issue=42.0
Title: Re: TinyPortal
Post by: IchBin™ on January 14, 2011, 02:37:17 PM
Touti,

I don't remember which version it happened in, but Bloc made changes to TP quite some time ago so that it didn't require custom template options for TP to work. There should be no reason to turn the option on for TP to work properly. Make sure TP works in the default theme properly. If it does, then you know it's a theme issue.
Title: Re: TinyPortal
Post by: Touti on January 14, 2011, 02:54:01 PM
Thanks Ichbin.  I do have the small "line spacing" issue in the default theme as well but that's something I can fix easily in the style sheets.

Besides that, the only problem I can see so far when disabling TP support in the theme is that I lose the "Forum" button that's no big deal either, I'll just edit the code and fix that.

Thanks again.
Title: Re: TinyPortal
Post by: IchBin™ on January 14, 2011, 02:54:49 PM
Yes, that is pretty much the only template edit that has to be done in SMF1.x.
Title: Re: TinyPortal
Post by: Touti on January 14, 2011, 07:02:07 PM
I'm afraid I'm gonna help with this.  I've spent the last few hours looking at code and stylesheets but I just can find where the styles for this are.  What I'm trying to do is reduce the spacing between the lines in the Recent Topics block.  I know it's currently at 1.5em but I just can't find where that is in the code and change it to a lower value.

Any help would be appreciated.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.totalexpedition.com%2FMGalleryItem.php%3Fid%3D2801&hash=de1307d6a7ce1a1e15f8c9507f73ea47)

Title: Re: TinyPortal
Post by: IchBin™ on January 14, 2011, 07:12:06 PM
Need to see a link to your site. If you don't want it public feel free to PM it to me.
Title: Re: TinyPortal
Post by: Touti on January 14, 2011, 07:19:09 PM
I should have thought of that.

http://www.totalexpedition.com

Title: Re: TinyPortal
Post by: IchBin™ on January 14, 2011, 07:25:15 PM
In Themes/default/TPsubs.template.php. Search for "function TPortal_recentbox()"

Inside that function you'll see where it adds the style's to the <li> tags. You can remove the padding there to consolidate the space a little. Let me know if that works.
Code: [Select]
<li style="margin: 0; list-style: none; line-height: 1.5em; padding: 4px 0;"><a href="'.$w['href'].'">'.$w['short_subject'].'</a> ', $txt['by'], ' ', $w['poster']['link'];
Title: Re: TinyPortal
Post by: Touti on January 14, 2011, 07:36:23 PM
Many thanks Ichbin, you just salvaged half of my weekend  ;D

I had no idea there was some TP code in the default theme folder
Title: Re: TinyPortal
Post by: TeaTephi on January 14, 2011, 08:21:44 PM
Ok this morning I succesfully installed SMF 2.0 RC4 large upgrade and TP 1.0.

Everything was working fine, and then i noticed the avatars stopped showing for only the members in admin groups.

It doesn't show their avatars in the main forum posts, or the shoutbox (which initially worked).  (Regular members are working)

I don't know it's weird.

May have I ticked some permissions somewhere by accident?
Title: Re: TinyPortal
Post by: IchBin™ on January 14, 2011, 09:03:23 PM
Well that is more than just a TP problem. Is it showing a missing image? Or is it not showing at all?
Title: Re: TinyPortal
Post by: TeaTephi on January 14, 2011, 09:15:33 PM
You can see how it is on the profile edit, but not in the shoutbox or the profile summary.

In the shoutbox you can see a whitebox where the avatar should go.
Title: Re: TinyPortal
Post by: TeaTephi on January 15, 2011, 09:24:56 AM
Is there a place to adjust SIZE limits for avatars?  When I first installed they were shown in the shout box huge, now i uploaded the pictures for EACH person, and they are all small now!
Title: Re: TinyPortal
Post by: IchBin™ on January 15, 2011, 11:28:31 AM
Looks like you're using Opera? Try a different browser to see if the avatars show up. I think it's probably opera, but I don't have that installed. To change the size you need to change it in the Themes/default/TPshout.css file.
Title: Re: TinyPortal
Post by: lesmond on January 17, 2011, 03:51:45 PM
Information Only

If you have not noticed the TinyPortal Support site has been down for 24hrs, I am attempting to move the backup to a new server as soon as I can, but its a rather large file so will take time to move, also the name servers will have to be changed, and most of you may know this can take some time to propagate!

Sorry for any inconvenience this may cause to our member, I will get the site back and running asap.

So please bare with us whilst we get the site back for you.

Thank you for your understanding.

The Team at Tinyportal Support.

www.tinyportal.co.uk
Title: Re: TinyPortal
Post by: CoreISP on January 17, 2011, 05:00:21 PM
Goodluck ;D
Title: Re: TinyPortal
Post by: TeaTephi on January 17, 2011, 11:46:25 PM
Looks like you're using Opera? Try a different browser to see if the avatars show up. I think it's probably opera, but I don't have that installed. To change the size you need to change it in the Themes/default/TPshout.css file.

I think you are right.....it works in IE (slowly loads), but it's odd because it worked in Opera when I first loaded everything.  Also I think the shoutbox looks different, has captions for each shout.  Is there a way to choose another layout?

Also, is there a way to check guests to view my frontpage article?  I checked the tickbox for them to view it, but didn't work.  Was wondering if that was another gliche to be fixec in the next release.

Thanks so much for your help.

I LOVE MY FORUM!  IT ROCKS!
Title: Re: TinyPortal
Post by: cellax on January 18, 2011, 07:36:33 AM
Information Only

If you have not noticed the TinyPortal Support site has been down for 24hrs, I am attempting to move the backup to a new server as soon as I can, but its a rather large file so will take time to move, also the name servers will have to be changed, and most of you may know this can take some time to propagate!

www.tinyportal.co.uk

I hope you will be back soon, good luck
Title: Re: TinyPortal
Post by: lesmond on January 18, 2011, 09:56:23 AM
Were up and running again, although we lost a few posts in the process, and a few members will have to re-register again, but alls good so far. 
Title: Re: TinyPortal
Post by: damouse on January 18, 2011, 02:34:50 PM
hi there

I apologise if this was already answered, I did look for it but haven't seen anything.

I would like to change the links from the recent block so that they link to the last read post rather than the very last on the thread. effectively combining "recent" and the function of unread.

My guess is a small edit in the Tportal_recent function, around here:
Code: [Select]
echo ' <a href="'.$w['href'].'"><img src="'. $settings['images_url'].'/'.$context['user']['language'].'/new.gif" alt="new" /></a> '; (line 347 of TPBlocks.template.php)

but I don't know enough to know what to do with it  :-[



Title: Re: TinyPortal
Post by: IchBin™ on January 18, 2011, 03:41:44 PM
TP doesn't use the TPBlocks.template.php file anymore. Are you using TP 0.9.8 ?
Title: Re: TinyPortal
Post by: damouse on January 18, 2011, 03:47:00 PM
TinyPortal v1.0 beta 4 I thought, where do I see it?

also I'm pretty certain it's using it on the basis of I tried editing it borrowing a link from the MessageIndex before posting here, it broke the link on site.

and if not there, how do I cahnge that link in any case?
Title: Re: TinyPortal
Post by: IchBin™ on January 18, 2011, 03:55:18 PM
Ah, that could have been when Bloc stopped using that file. I thought it was earlier. Either way I'm a little confused on your request. Isn't that what the new icon does? It takes you to the newest post in the recent post. Are you wanting to link the subject line instead?
Title: Re: TinyPortal
Post by: damouse on January 18, 2011, 04:01:34 PM
it does now, but I want to change it to link to the last unread in that topic rather than the very last post.

On a board page, we have the very same "new" but it behaves differently there, linking to the last unread.

 I would prefer to have that same behaviour from the recent block. both unifying what the "new" does accross the forum and making it more useful for the members.

should I move this query to TinyPortalSupport?
Title: Re: TinyPortal
Post by: IchBin™ on January 18, 2011, 04:41:29 PM
That would be better. I haven't had a chance to look, but hopefully someone can look into it. It might have already been requested at TP before.
Title: Re: TinyPortal
Post by: damouse on January 18, 2011, 05:28:24 PM
I didn't find a topic for it. For others reading here looking for that follow on here : http://www.tinyportal.co.uk/index.php?topic=33559.0

Title: Re: TinyPortal
Post by: Wh1teLeopard on January 19, 2011, 08:52:51 AM
Something really strange has happened to my articles  :-\

Link to forum: http://keikarsinthepark.co.uk
Running: SMF2.0 RC3

I've been using tiny portal in varies forms of the forum for years, and never had any major problems with it that I couldn't eventually figure out myself but this one's got me stumped.

When I edit and article, click save, it reverts back to the previous version. It won't save changes, and it won't save new articles. It only started happening this week, I've not changed anything. So do I need to enquire about something with my provider?
Title: Re: TinyPortal
Post by: IchBin™ on January 19, 2011, 10:48:52 AM
I don't know what would keep your article from updating. Especially if it just happened out of the blue without any changes. I supposed you could ask your host if there's anything they can see.

At this point my only suggestion would be to update TP to the latest version if you can't find anything.
Title: Re: TinyPortal
Post by: TeaTephi on January 22, 2011, 10:09:28 AM


Also, is there a way to check guests to view my frontpage article?  I checked the tickbox for them to view it, but didn't work.  Was wondering if that was another gliche to be fixed in the next release.

Thanks so much for your help.

I LOVE MY FORUM!  IT ROCKS!

I still can't get my frontpage article (welcome page) viewable to my guests. 
Title: Re: TinyPortal
Post by: Wh1teLeopard on January 22, 2011, 11:52:12 AM
I don't know what would keep your article from updating. Especially if it just happened out of the blue without any changes. I supposed you could ask your host if there's anything they can see.

At this point my only suggestion would be to update TP to the latest version if you can't find anything.

Thank you for the suggestion I'll get on to that :)
Title: Re: TinyPortal
Post by: origamikitsune on January 23, 2011, 04:31:26 AM
Not sure how much of this is a bug report, v. not understanding how TP/SMF work, so I'll just lay it out. I have tried searching for answers on both this site and the TP site already. These issues appear in all themes.

Running SMF 2.0 RC4, TP 1.0 RC1 at www.sanctusrefero.com
Viewing with Firefox 3.6.13

Using a menu widget called "Sand Box" to link to all my article categories. This works. Here are links:

www.sanctusrefero.com/forum/index.php?cat=21
www.sanctusrefero.com/forum/index.php?cat=23
www.sanctusrefero.com/forum/index.php?cat=22
www.sanctusrefero.com/forum/index.php?cat=24
www.sanctusrefero.com/forum/index.php?cat=20
www.sanctusrefero.com/forum/index.php?cat=9

While viewing these, buttons only show for three of the categories, regardless of which category you are in. Cat=24 has no articles in it, but the button for the category shows up. Cat=21 and cat=9 have articles in them and buttons for them show up. All other categories are empty, and have no buttons showing up.

Since until right before I wrote this post seeking help cat=21 was also empty, I am now assuming there must be content in a category for a button linking to that category to appear (but the button remains if content is removed, explaining why cat=24 is empty - it once had content in it but no longer does.)

The question is: Is my assumption right, or is this a bug?

Moving along, I do not want to use a widget to link to my article categories. I would like to use the main navigation menu. I have edited Subs.php to the following:

Code: [Select]
'tpadmin' => array(
'title' => 'Articles',
'href' => $scripturl . '?action=tpadmin',
'show' =>  TPcheckAdminAreas(),
'sub_buttons' => array(
'cat_battleguides' => array(
'title' => 'Battle Guides',
'href' => $scripturl . '?cat=21',
'show' => true,
),
'cat_craftingguides' => array(
'title' => 'Crafting Guides',
'href' => $scripturl . '?cat=23',
'show' => true,
),
'cat_gatheringguids' => array(
'title' => 'Gathering Guides',
'href' => $scripturl . '?cat=22',
'show' => true,
),
'cat_roleplayguides' => array(
'title' => 'Role-Play Guides',
'href' => $scripturl . '?cat=24',
'show' => true,
),
'cat_sanctusreferolore' => array(
'title' => 'Sanctus Refero Lore',
'href' => $scripturl . '?cat=20',
'show' => true,
),
'cat_thesaintsweekly' => array(
'title' => 'The Saints Weekly',
'href' => $scripturl . '?cat=9',
'show' => true,
),
),
),

The article categories are viewable by guests and all member groups, as are all articles. The idea is that I want the standard TP menu options dependent on permissions (this works fine) but I also want all categories to be listed. I did not see a feature in TP to allow automatic listing of categories in this menu (forthcoming feature maybe?), so I added them manually just as a quick and dirty fix... and got nada. The code above is live on the site, but not showing up in the menu.

Hopefully I have not made an embarrassing newbie mistake in my PHP or understanding of SMF! If I have, apologies for taking your time! Either way, any insight to get me going in the right direction?
Title: Re: TinyPortal
Post by: expertsgalaxy on January 23, 2011, 06:14:02 AM
I installed Tiny Portal on my forum version SMF 1.1.12 TinyPortal 1.0 RC1 now how can i add blocks to the left side of the forum and after installing TinyPortal I got an added tab of forum so how to remove it as opening my site first gives a blank page of Home and then clicking on forum shows the site I want

Also here are few screenshots of my tiny portal CP are they fine?properly installed or not as it seems all functions are not there cant see how to add,where to add blocks and other settings

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi432.photobucket.com%2Falbums%2Fqq44%2Fneerajrawat%2FMenuManager.png&hash=d7d420ede0338d097f2d4b2e4ef466c7)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi432.photobucket.com%2Falbums%2Fqq44%2Fneerajrawat%2FModules.png&hash=04f662ffdd4830c22a025cc27ecec57a)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi432.photobucket.com%2Falbums%2Fqq44%2Fneerajrawat%2FSettingsFrontpage.png&hash=69648eb8172f99c0488a525c04acf7dc)

also give me a link to download the compatible version for SMF 1.1.12 as the one I downloaded was also showing compatible but dont know what went wrong and where?
Title: Re: TinyPortal
Post by: IchBin™ on January 23, 2011, 09:22:20 AM
@origamikitsune, I don't know if the category link problem is a bug in TP just yet. I'll have to look into that.

But the reason you aren't seeing your custom buttons is because at the bottom of that function in Subs.php it is clearing out your code by reassigning the variable for the TPAdmin sub buttons.

Code: [Select]
// tinyportal //
        $buttons['tpadmin']['sub_buttons'] = tp_getbuttons();

You can comment out this line if you don't want those other buttons to show. Otherwise, add your sub_buttons in the tp_getbuttons() function inside the TPsubs.php file.

@expertsgalaxy,

It looks like either you are using a different language or english-utf8. In which case you need to grab the english-utf8 files from the TP.co.uk site. That should fix the missing text.
Title: Re: TinyPortal
Post by: TeaTephi on January 23, 2011, 11:06:07 AM
OH man I don't know what I did,  NONE of my blocks show anymore.  I uninstalled and re-installed Tinyportal, they still don't work....

All that shows is articles, nothing else

UPDATE: it's fixed, the language visibility settings were tripped, we've changed it back works now.
Title: Re: TinyPortal
Post by: expertsgalaxy on January 23, 2011, 12:17:06 PM
@IchBin™

thanks will contact tiny portal support site now
Title: Re: TinyPortal
Post by: origamikitsune on January 24, 2011, 04:12:01 AM
@origamikitsune, I don't know if the category link problem is a bug in TP just yet. I'll have to look into that.

But the reason you aren't seeing your custom buttons is because at the bottom of that function in Subs.php it is clearing out your code by reassigning the variable for the TPAdmin sub buttons.

Code: [Select]
// tinyportal //
        $buttons['tpadmin']['sub_buttons'] = tp_getbuttons();

You can comment out this line if you don't want those other buttons to show. Otherwise, add your sub_buttons in the tp_getbuttons() function inside the TPsubs.php file.

Awesome! Got everything working beautifully now. Thanks for the direction!
Title: Re: TinyPortal
Post by: Wh1teLeopard on January 24, 2011, 07:30:11 AM
I don't know what would keep your article from updating. Especially if it just happened out of the blue without any changes. I supposed you could ask your host if there's anything they can see.

At this point my only suggestion would be to update TP to the latest version if you can't find anything.

They've asked for a file path to the file I'm using when updating articles. Could you possible advise me which one that would be? (sorry)
Title: Re: TinyPortal
Post by: IchBin™ on January 24, 2011, 11:39:25 AM
Articles are stored in the database. The only place the host may see something is in the error_log on the server. If some type of error happens while you are submitting or updating an article it should hopefully show up in that log.
Title: Re: TinyPortal
Post by: RoflGuy on January 24, 2011, 02:54:55 PM
OMG THANKS FOR THIS GREAT STUFF xDD
Title: Re: TinyPortal
Post by: Wh1teLeopard on January 24, 2011, 07:02:36 PM
Articles are stored in the database. The only place the host may see something is in the error_log on the server. If some type of error happens while you are submitting or updating an article it should hopefully show up in that log.

Much appreciated, thank you
Title: Re: TinyPortal
Post by: IchBin™ on January 24, 2011, 07:49:26 PM
Articles are stored in the database. The only place the host may see something is in the error_log on the server. If some type of error happens while you are submitting or updating an article it should hopefully show up in that log.

Much appreciated, thank you

Sorry, I forgot to mention. Don't forget to check the SMF error log in the admin panel to see if anything of importance is in there when the error happens too.
Title: Re: TinyPortal
Post by: DarkAngel612 on January 27, 2011, 02:51:36 AM
OK, I have just run through all pages...basically skimming until the newest version--I think.

I got things back to normal for my Attic forum [you would not believe the issues that happened -- and with a clean install of everything]

I uninstalled--not delete--all mods and the portal. Then I uploaded fresh files for both SMF to make certain all refs to the B4 version were outta there. Installed TP and my site rebelled---it was ugly but I finally got things beat into sorta submission.

The older themes that some were updated to work with TP were the hardest but now they are all regular sized and functional again. My blocks would not show and neither did the front page article but playing with the controls they are now seen by all again.

All menu blocks however still did not behave-- seems with the uninstalling/installing new TP the links all lost their order number-- so reordered them, turned them back on, made sure the settingwere right then checked forum page---blocks were there but 2 had only 2 of the links showing out of quite a few listed prior and the rest were totally not showing. So after taking two Tylenol I just made the blocks into bbc and hand entered the links. As far as I know the menu section is not workinig for display purposes but will mess with that at a later date..no big deal.

Now after this newsletter I was wondering...after giving each of the themes their own .css file from TP so that they could have their own shout box input boxes matching themes (white hurts my eyes) and resiaing the avatar size a bit...I NEED smilies...rather the rest of the asylum does too.

Is there a way to get the shoutbox to acknowledge the smilies that we have in default smilies folder instead of the original SMF ones. We have long since gotten rid of those and just have custom ones in the default folder.

The last version of TP used the forums smilies but this one does not. What can I do? I hope this image works tis the mods, versions and themes we have installed. Sorry for misspelled words...spell check did not want to work.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fthefantasiesattic.net%2FDA%2Finstalled.jpg&hash=55211c9ca439ee8510a6953e4dd60491)
Title: Re: TinyPortal
Post by: !RFAN on January 28, 2011, 08:34:10 AM
Hey i need some help :(
I am admin of forum which is having TP installed. I have almost 35 blocks on different postions for different membergroups. I managed it. But the problem is that all the blocks are visible to admin. I dont want to see all the blocks because they are not related to me. Is there any way that i can hide some blocks from admin/me??

Please :(
Title: Re: TinyPortal
Post by: IchBin™ on January 28, 2011, 10:37:17 AM
DarkAngel, I swear you asked me this before. Bloc didn't write it to use the SMF smilies setup for some reason. It creates it's own list of smilies in the code. If you'd like to change them, you can alter the code. Otherwise that is the only option for now.

!RFAN,

In the TPAdmin > Settings area, there is an option labeled, "Admin can see all blocks?" Just select no and save.
Title: Re: TinyPortal
Post by: DarkAngel612 on January 28, 2011, 03:00:55 PM
I am not crazier than before then...I thought I asked too but couldn't find it anywhere. I looked so I could see what I was told...but tis well hidden or never got moved to new site.

tis ok though, found where the code is hidden and was able to not only give the masses a few smilies to play with but also a dropdown menu for the colors and size changing.

this shout box also places  a "\" before an apostrophe -- like in everyone's...how can it be made to just write it normally?
Title: Re: TinyPortal
Post by: DarkAngel612 on January 28, 2011, 03:06:10 PM
Hey i need some help :(
I am admin of forum which is having TP installed. I have almost 35 blocks on different postions for different membergroups. I managed it. But the problem is that all the blocks are visible to admin. I dont want to see all the blocks because they are not related to me. Is there any way that i can hide some blocks from admin/me??

Please :(

I just click the + and close the block that way it is not showing, just the title shows for editing it should I need to change something
Title: Re: TinyPortal
Post by: IchBin™ on January 28, 2011, 03:57:34 PM
That "\" issue is fixed for the next release. I've posted a fix at the TP site if you care to search for it.
Title: Re: TinyPortal
Post by: DarkAngel612 on January 28, 2011, 04:08:52 PM
will do thanks for all you do sugar...very appreciated
Title: Re: TinyPortal
Post by: An0nymousHelper on February 07, 2011, 12:25:16 AM
This should not matter because i am using a custom theme on smf 1.1.11 should it? Yeah i no ill have to manually edit some stuff to get it to work on my theme, but if i install this will everything be ok?

Look at #9.

Code: [Select]
Type Action Description
1. Extract Tree ./Themes
2. Extract Tree ./Themes
3. Extract Tree ./Sources
4. Extract Tree ./tp-downloads
5. Extract Tree ./tp-images
6. Extract Tree ./tp-files
7. Execute Modification ./index.php Test successful
8. Execute Modification ./Sources/Load.php Test successful
9. Execute Modification ./Themes/default/index.template.php Test failed
10. Execute Modification ./Themes/babylon/index.template.php Test successful
11. Execute Modification ./Sources/Subs.php Test successful
12. Execute Modification ./Sources/ManagePermissions.php Test successful
13. Execute Modification ./Sources/Security.php Test successful
14. Execute Modification ./Sources/Errors.php Test successful
15. Execute Modification ./Themes/default/Help.template.php Test successful
16. Execute Modification ./Sources/Profile.php Test successful
17. Execute Modification ./SSI.php Test successful
18. Execute Modification ./Sources/BoardIndex.php Test successful
19. Execute Modification ./Sources/QueryString.php Test successful
20. Execute Modification ./Sources/Subs-Post.php Test successful
21. Execute Modification ./Sources/Admin.php Test successful
22. Execute Modification ./Sources/Post.php Test successful
23. Execute Code SMF1/tp_install.php
Title: Re: TinyPortal
Post by: DarkAngel612 on February 07, 2011, 12:32:35 AM
even if you are using a custome theme it should be looked at...do you have edits in the default index.template file?

that is sometimes why mine will give that error

check the readme or the installer file for manual edits to see what is needed in that file then add it in manually
Title: Re: TinyPortal
Post by: An0nymousHelper on February 07, 2011, 12:45:37 AM
even if you are using a custome theme it should be looked at...do you have edits in the default index.template file?

that is sometimes why mine will give that error

check the readme or the installer file for manual edits to see what is needed in that file then add it in manually
Alright, thanks very much! Yes I checked it out and it all comes up when I look at the file manually, so i guess if I install the mod then go and manually do that 1 step I should be good?
Title: Re: TinyPortal
Post by: DarkAngel612 on February 07, 2011, 12:53:36 AM
should be, unless the forum has other ideas
Title: Re: TinyPortal
Post by: An0nymousHelper on February 07, 2011, 03:47:23 PM
Hi I have installed this and it works great! Thanks very much for this wonderful mod. I only have 1 more small problem. So no how you can go into Admin CP>TinyPortal>Menus then i add a new menu but it doesn't show up in my theme. I switched themes to Default and it works so i was just wondering how i can get it to work? Because as of now there is no was for members to actually view the forums they come to http://www.MYSITE.com/forums and they are greeted by the tiny portal main page were there are only certain posts and a shoutbox and stuff. And to view the forums they would need to go to http://www.MYSITE.com/forums/index.php?action=forum So this is a fairly big issue for me as i need to have my site in maintenance mode until i fix this. I just wan't a new tab in the menu called Forums right next to Home. Thanks very much in advance if anyone could help me it would be well appreciated!
Title: Re: TinyPortal
Post by: Kindred on February 07, 2011, 03:54:25 PM
if you are running smf 1.1.x, you will have to MANUALLY apply changes to your custom theme(s)
(this is answered in almost every single mod thread on this board)
Title: Re: TinyPortal
Post by: An0nymousHelper on February 07, 2011, 04:27:37 PM
I did that, well i did this

./Themes/default/index.template.php
Code: [Select]
Find:
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
Code: [Select]
Replace With:
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin')))
Code: [Select]
Find:
$current_action = 'search';
Code: [Select]
Add After:

if (isset($_GET['dl']))
$current_action = 'dlmanager';

if (isset($_GET['board']) || isset($_GET['topic']) || $context['current_action']=='forum')
$current_action = 'forum';

if ($context['current_action']=='tpadmin')
$current_action = 'admin';
Code: [Select]
Find:
// Show the [help] button.
Code: [Select]
dd Before:
if($settings['TPortal_front_type']!='boardindex')
// Show the [forum] button.
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first">&nbsp;</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">&nbsp;</td>' : '';

And now i get a Forum tab in my menu but it's at the end and looks very different, heres a screenshot:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi976.photobucket.com%2Falbums%2Fae241%2FAn0nymousHelper%2FScreenshot2011-02-07at11522PM.png&hash=67372c6c206a1ff0f172d7d429fc9032)

Is this the only code i have to do? I am using SMF 1.1.11
If anyone could further assist me it would be very helpful!


Title: Re: TinyPortal
Post by: Kindred on February 07, 2011, 04:32:03 PM
custom themes often use custom menus....   You need to duplicate your existing menu designs with the new url/text
Title: Re: TinyPortal
Post by: An0nymousHelper on February 07, 2011, 04:40:18 PM
custom themes often use custom menus....   You need to duplicate your existing menu designs with the new url/text
Oh ok, you don't by any chance no a tutorial or anything on this do you lol sorry but i am fairly new to this kind of stuff, but i really have to get this up and running so if you do no one please let me no! Thanks a lot!
Title: Re: TinyPortal
Post by: IchBin™ on February 07, 2011, 04:42:48 PM
The easiest thing to do is to look at the way the buttons are coded in the template_menu() function towards the bottom of the index.template.php file. You'll likely notice that they are using different code to create the buttons. You just need to change the code to be the same as the other buttons with the exception of the bits for what the action is, and what text is shown for the button. If you still need help, post the code for your home button from the custom theme, and we can provide the changes for you.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 07, 2011, 04:50:04 PM
Ok thanks, um here is my code for my home button. If you can change it to say forums and then i guess i would just take the code that you modify and paste it below the Home one since i wan't it right beside the home button. Please correct me if i am wrong.

Code: [Select]
// Show the [home] button.
echo '<li', $current_action == 'home' ? ' class="chosen"' : '', '><a href="', $scripturl, '">' , $txt[103] , '</a></li>';
if($settings['TPortal_front_type']!='boardindex')

Thanks again!
Title: Re: TinyPortal
Post by: IchBin™ on February 07, 2011, 04:53:09 PM
Ok thanks, um here is my code for my home button. If you can change it to say forums and then i guess i would just take the code that you modify and paste it below the Home one since i wan't it right beside the home button. Please correct me if i am wrong.

Code: [Select]
// Show the [home] button.
echo '<li', $current_action == 'forum' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=forum">' , $txt['tp-forum'] , '</a></li>';

Thanks again!

Edited your code in my quote. Removed the if statement as it's not needed.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 07, 2011, 06:35:30 PM
Thanks, I now have just about everything working great! Is there anyway to make it so guests can not see the shoutbox and recent topics that i have on my home page? Because I did go to the Admin CP and then went to Panels and Blocks and went to the shoutbox and recent posts and made sure that Guests were un checked where it says "Choose your membergroups that will able to see this block." But when i logout and go to http://www.MYSITE.com/forums I still see the shoutbox and recent posts, i am unable to post in the shoutbox but it is still visible. If you could let me no if there is a way i can make it them invisible unless they are logged in it would be very much appreciated! Thanks a lot!
Title: Re: TinyPortal
Post by: IchBin™ on February 07, 2011, 07:15:09 PM
That is a bug I fixed for the next release. The bug was that it shows to guests if the ungroups members was checked. If you uncheck the ungrouped members it should not show to either group.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 08, 2011, 07:07:16 PM
That is a bug I fixed for the next release. The bug was that it shows to guests if the ungroups members was checked. If you uncheck the ungrouped members it should not show to either group.
Oh ok, well i look forward to that update :) . This may be a bug that you don't no about or maybe i am just doing something wrong, so i figure i would let you no. When i go into my forum and look at a post that i wan't on the main page i click "Promote To Frontpage " It says it's been promoted and gives me the option to "Remove from frontpage" But it never actually shows up on the main page.. The only way i can get posts on there is to go to ACP>Settings and Frontpage>Frontpage> then scroll down to "Display forum-posts on frontpage from:" and then select a board. This is an issue because i don't wan't to show every post in that board, i would rather choose certain posts to be on the frontpage. If i am doing something wrong please let me no as i've been trying to figure this out for some time now.

Thanks a lot!
Title: Re: TinyPortal
Post by: IchBin™ on February 08, 2011, 08:19:15 PM
When using the selected topics feature you must have "Selected topics only" or "Selected topics + articles" as your "What to display on front page" option in the front page settings.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 10, 2011, 10:57:44 PM
I was just on another SMF site which has TinyPortal but on that one they somehow have it so guests can't see it... You were saying this is a bug. How did this person do it, like is it an easy fix i could do? This is kind of a big thing i need on my site so if anyone here knows how they did this please let me no! Thanks very much! :)
Title: Re: TinyPortal
Post by: DarkAngel612 on February 10, 2011, 11:21:54 PM
are you sure that site has the same version of smf/tp that you do? i just tried it on my site and the only way for a guest to not see a block is to uncheck both guest and ungrouped...whether or not it would affect my member I have no clue since they are in one group or another, I have no ungrouped members.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 10, 2011, 11:36:45 PM
are you sure that site has the same version of smf/tp that you do? i just tried it on my site and the only way for a guest to not see a block is to uncheck both guest and ungrouped...whether or not it would affect my member I have no clue since they are in one group or another, I have no ungrouped members.
Yeah they are running smf 1.1.12... I PMed you BTW.
Title: Re: TinyPortal
Post by: DarkAngel612 on February 11, 2011, 12:03:32 AM
got it and answered -- twice cause i forgot to tell you something about that site in particular
Title: Re: TinyPortal
Post by: IchBin™ on February 11, 2011, 12:17:19 AM
Please make a backup before you do these changes. This should fix the block access problem.

In Sources/TPortal.php find this code on about line #1638
Code: [Select]
if($context['user']['is_logged'])
$mygroups[] = 0;

Comment it out like this:
Code: [Select]
//if($context['user']['is_logged'])
//$mygroups[] = 0;

Then find this line right below the above code:
Code: [Select]
$access = '(FIND_IN_SET(' . implode(', access) OR FIND_IN_SET(', $mygroups) . ', access))';
Add after that line this:
Code: [Select]
    if(allowedTo('tp_blocks') && (!empty($context['TPortal']['admin_showblocks']) || !isset($context['TPortal']['admin_showblocks'])))
$access = '1';

-----EDIT-----

Find about line #1937:
Code: [Select]
if(!$context['user']['is_logged'])
      $mygroups[] = 0;

Comment it out like this:
Code: [Select]
//if(!$context['user']['is_logged'])
    //  $mygroups[] = 0;

If that doesn't fix it, revert to the backup and let me know what the problem is.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 11, 2011, 12:36:25 AM
Ok thanks ill give that a try!
Title: Re: TinyPortal
Post by: DarkAngel612 on February 11, 2011, 12:52:03 AM
I tried it...got no error message at all but looking in a different browser---not logged in i could still see the block that i had set to no guest viewing.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 11, 2011, 12:57:39 AM
Hmm i tried it and got this error when i tried to go to the site...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi976.photobucket.com%2Falbums%2Fae241%2FAn0nymousHelper%2FScreenshot2011-02-10at94542PM.jpg&hash=03e157e7416d55cb61d646ddbe8fcc72)

Title: Re: TinyPortal
Post by: IchBin™ on February 11, 2011, 10:48:32 AM
An0nymousHelper,

You've either removed the file or it has become corrupted. Index.php is trying to load the TPortal.php file that you just edited but cannot find it. Replace the file and try the edits again.

I have updated the above post with one more edit that needs to be done. That should fix it as I tested it myself.
Title: Re: TinyPortal
Post by: An0nymousHelper on February 11, 2011, 06:41:27 PM
ok Thanks very much it's all working great now :)
Title: Re: TinyPortal
Post by: DarkAngel612 on February 12, 2011, 04:27:31 PM
thanks this worked beautifully
Title: Re: TinyPortal
Post by: j_jindal1 on February 12, 2011, 08:00:14 PM
Need some suggestions..

I had a fresh install of SMF 1.1.13 and TinyPortal10RC1, Everything messed up as shown in the pic below..

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi52.tinypic.com%2F2ykxohg.jpg&hash=808b01d48c86185573d50837f64b87b2)

When I checked from admin panel I didn't find many of Menu items in TP.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi52.tinypic.com%2F2i74s3p.jpg&hash=aa9752282f395cbd1c2b31cd36b476bf)

Please suggest what might be wrong here.... I tried to install it on SMF 1.1.12 as well but results were same....
Title: Re: TinyPortal
Post by: DarkAngel612 on February 12, 2011, 08:07:25 PM
i would suggest you open the zip and then upload all the fiels all over again...to the server to make sure you got them all uploaded to begin with...being a fresh install you should not have any mods installed, right?
Title: Re: TinyPortal
Post by: j_jindal1 on February 12, 2011, 08:12:02 PM
Yes it is a fresh install. Surprisingly even with TP1.05 I'm getting the same issue. I guess it has to do something with the server because I was getting errors like..

Database Error: MySQL server has gone away
File: *************/Sources/Subs-Package.php
Line: 2025

Please suggest a direct way to install the script.
Title: Re: TinyPortal
Post by: IchBin™ on February 12, 2011, 08:16:50 PM
Put these language files in your Themes/default/languages folder.
Title: Re: TinyPortal
Post by: j_jindal1 on February 12, 2011, 08:24:49 PM
I just uploaded the files as you suggested, but still the same..

I'm uploading all the files manually and trying to install TP using install script. I'll be back with the update..
Title: Re: TinyPortal
Post by: IchBin™ on February 12, 2011, 11:40:30 PM
The missing text is from missing language strings, that's why I gave you utf8 English files. What language are you using? English? English-utf8? Another langauge?
Title: Re: TinyPortal
Post by: j_jindal1 on February 13, 2011, 12:08:38 AM
I'm using English-UTF8
Title: Re: TinyPortal
Post by: IchBin™ on February 13, 2011, 12:37:37 AM
And you're still not getting any text showing up for the TP admin? If not, you should be seeing a bunch of errors in your error log. The files I posted should work, they just worked for me on a UTF8 installation.
Title: Re: TinyPortal
Post by: bigjoe11a on February 15, 2011, 04:53:02 PM
After updating from SMF 1.1.12 to 1.1.13 I see that in the TP Settings for downloads. doesn't seem to want to display right.

This is for the text header for the TP downloads section.
When I save it, This is what happens

 <p>Downloads: <br></p><p><br></p>

This is what the users sees. any one have an idea on how to fix this. I wasn't doing this before the SMF update. It seems to add some html tags and it shouldn't...



Title: Re: TinyPortal
Post by: DarkAngel612 on February 15, 2011, 06:19:52 PM
here are a couple of fixes that we all needed...one for the html peeking out:

Sources/TPortalAdmin.php

Find this line:(about line #337)

global $context,$txt,$settings,$boardurl,$scripturl,$boarddir,$user_info,$db_prefix;

Change to:

global $context,$txt,$settings,$boardurl,$scripturl,$boarddir,$user_info,$db_prefix, $modSettings;


Find this line:(about line #469)

Code:
$context['TPortal']['blockedit']['body'] = html_entity_decode($row['body'], ENT_NOQUOTES);

Change to:

$context['TPortal']['blockedit']['body'] = html_entity_decode($row['body'], ENT_NOQUOTES, $modSettings['global_character_set']);



and then some of us had the \' when using the apostrophe throughout the forum and shoutbox...lol

In Sources/TPdlmanager.php on about line #2068 look for this line:

Find:
            tp_query("UPDATE " . $tp_prefix . "dlmanager SET description = '" . mysql_real_escape_string($value) . "' WHERE id=". $id, __FILE__, __LINE__);


Replace it with:
            tp_query("UPDATE " . $tp_prefix . "dlmanager SET description = '" . mysql_real_escape_string(stripslashes($value)) . "' WHERE id=". $id, __FILE__, __LINE__);





In tp-files/tp-modules/TPShout/Sources/TPShout.phpFind:
      while($row = tpdb_fetch_assoc($request))
      {

                        $row['avatar'] = $row['avatar'] == '' ? ($row['ID_ATTACH'] > 0 ? '<img src="' . (empty($row['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $row['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $row['filename']) . '" alt="&nbsp;"  />' : '') : (stristr($row['avatar'], 'http://') ? '<img src="' . $row['avatar'] . '" alt="&nbsp;" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($row['avatar']) . '" alt="&nbsp;" />');
         $ns[] = template_singleshout($row);
      }


Replace with this:

      while($row = tpdb_fetch_assoc($request))
      {
            $row['value1'] = stripslashes($row['value1']);
         $row['avatar'] = $row['avatar'] == '' ? ($row['ID_ATTACH'] > 0 ? '<img src="' . (empty($row['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $row['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $row['filename']) . '" alt="&nbsp;"  />' : '') : (stristr($row['avatar'], 'http://') ? '<img src="' . $row['avatar'] . '" alt="&nbsp;" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($row['avatar']) . '" alt="&nbsp;" />');
         $ns[] = template_singleshout($row);
      }

I keep a copy of fixes that IchBin and others have given me in the past for if I ever need to reup a file and lose the fix.
Title: Re: TinyPortal
Post by: bigjoe11a on February 15, 2011, 07:36:31 PM
Thanks. It's just that it didn't work. I uploaded the file to replace the old one. I log in and changed the downloads text header and I still have the same problem.

This below is how the text header for the downloads looks
<p>Downloads :</p><p>You can find just about any download here from Novalogic games. If you can't find what your looking for, Then all you have to do is ask.</p><p><br></p>

It's just not doing any thing about the html tags.
Title: Re: TinyPortal
Post by: DarkAngel612 on February 15, 2011, 09:04:45 PM
if you did both edits to that file then uploaded and overwrote the one on the server then...it should work...Try typing it again--delete the wording...save then rewrite it to see if it behaves...that is the instructions we were given and it worked for us
Title: Re: TinyPortal
Post by: bigjoe11a on February 15, 2011, 09:21:36 PM
Ok, I edited the file Sources/TPortalAdmin.php and I change the 1st one and added this on the end
, $modSettings; and then I added the this line $modSettings['global_character_set']);

to this line. I just added to the end.
$context['TPortal']['blockedit']['body'] = html_entity_decode($row['body'], ENT_NOQUOTES, $modSettings['global_character_set']);

Then I saved them and then I uploaded the file replacing the Sources/TPortalAdmin.php

And it still doesn't work. Here you can look for your self. You won't have to register.
http://www.df-barracks.com/index.php?action=tpmod;dl (http://www.df-barracks.com/index.php?action=tpmod;dl)


Title: Re: TinyPortal
Post by: DarkAngel612 on February 15, 2011, 09:40:25 PM
well not sure what is happening, but here is my file i just downloaded from the server to let you try it.
Title: Re: TinyPortal
Post by: bigjoe11a on February 15, 2011, 10:07:03 PM
Thanks. I uploaded it and replace the one I had on the server. refresh my page and I still have the same problem. There has to be a reason why it's not working.

Title: Re: TinyPortal
Post by: DarkAngel612 on February 15, 2011, 10:17:34 PM
yup  i guess we wait for the experts...I a post like yours and they pointed me in the right direction but no idea why yours doesn't want to behave.

writing down what other mods you have installed might help them to help you. I will admit on my site in the shout box it behave immediately, the other spots I had to retype the words to get it to go away, I had it in downloads...not just like yours but in the actual download descriptions, shoutbox and forums
Title: Re: TinyPortal
Post by: bigjoe11a on February 15, 2011, 10:51:04 PM
Well I haven't had any other reports my moderators yet. Thats the only thing they fount they wanted me to fix. Any way here's a list of all the mods i have installed.

    Award Mod    1.11   
    SMF 1.0.21 / 1.1.13 Update
    TinyPortal    1.102    
    PayPal BBCode    0.2    
    SMF Gallery Lite    3.0.2    
    RSS Feed Icon    1.1    
    Contact Page    2.1.1

I hope that list helps.
Title: Re: TinyPortal
Post by: IchBin™ on February 16, 2011, 11:37:38 AM
I'm not seeing your problem bigjoe11a. Is it fixed? I'm not seeing anything that you've posted. You said it was the text for the header. Are you talking about the introduction text? Please explain more if you can. Thanks.
Title: Re: TinyPortal
Post by: bigjoe11a on February 16, 2011, 12:04:23 PM
Yes I can, I removed it so that it didn't look so dumb, How ever if you look at this.

http://www.df-barracks.com/index.php?action=tpmod;dl (http://www.df-barracks.com/index.php?action=tpmod;dl)

As you can see the html tags seem to show up. Let me know if this can be fixed and if so, I hope a simple fix.

Joe

Title: Re: TinyPortal
Post by: IchBin™ on February 16, 2011, 12:13:47 PM
Yeah those issues are fixed in the next release. They are not happening on my latest test install with the fixes I've applied. Try replacing your files with these. Make a backup of your files before you do though.

Sources/TPdlmanager.php
Themes/default/TPdlmanager.template.php

Title: Re: TinyPortal
Post by: bigjoe11a on February 16, 2011, 12:42:43 PM
Thanks, How ever that still doesn't work. If you look at the link I gave above. The problem is still there.

Title: Re: TinyPortal
Post by: IchBin™ on February 16, 2011, 02:19:08 PM
Ah yes, I didn't take into account that the editor choice changes whether it is HTML or BBC. I only sorta fixed BBC last time. Here's some files to try and should work with either choice on the editor now. As usual, make a backup before replacing your files just to be safe.

Title: Re: TinyPortal
Post by: Crip on February 16, 2011, 02:27:42 PM
Got'er done B0ss. :)
Title: Re: TinyPortal
Post by: bigjoe11a on February 16, 2011, 02:35:37 PM
Cool, Thanks. That works and looks a lot better. Thank you.

Title: Re: TinyPortal
Post by: DarkAngel612 on February 16, 2011, 02:42:16 PM
I knew they could get you fixed up...the guys are super.
Title: Re: TinyPortal
Post by: bigjoe11a on February 16, 2011, 02:50:25 PM
That's why I love SMF to PHPBB. PHPBB just sucks compared to SMF.
Title: Re: TinyPortal
Post by: GerardWassink on February 17, 2011, 05:55:18 AM
Hey guys,

I just downloaded TinyPortal 1.0 RC1 as a mod and installed it over my already present SMF 1.1.13. Installed like a breeze, and I would like to tailor it now.

In my SMF I also installed the Dutch language package before I got TinyPortal.

No I go to "Settings and Frontpage" in the menu on the left and I get a screen with fields and radio buttons, but no text to the left, only white space.

This has something to do with the language package beacause when I switch my profile back to English, everything's there.

Is there a solution for this? (couldnt find a dutch language package myself).

Gerard
Title: Re: TinyPortal
Post by: agridoc on February 17, 2011, 06:57:40 AM
In SMF 2.0x English strings would be used in case  there is no translation in the selected language.

There is a Dutch TP 1.0 translation http://www.tinyportal.co.uk/index.php?action=tpmod;dl=item25  but it must be from an older version.
What you can do is copy English TP language files in a dir in your PC, rename them to TP*.dutch.php or TP*.dutch-utf8.php, in a UTF-8 installation, then copy them in /Themes/default/languages. This way you will have at least english language and not empty strings when switching to dutch.

You may compare the strings in the older version dutch translation and check if it has many differences.
Title: Re: TinyPortal
Post by: GerardWassink on February 17, 2011, 07:48:45 AM
This worked! Thanks! It's still English but hey, my users will never see this, right?

Gerard
Title: Re: TinyPortal
Post by: agridoc on February 17, 2011, 03:01:24 PM
Users interface TP features added to SMF, some strings will only be viewed by admins but many are used in user interface.
Title: Re: TinyPortal
Post by: morais17 on February 19, 2011, 08:25:48 AM
Can i use this portal on my root folder and my forum on the /forum/ folder?
Title: Re: TinyPortal
Post by: IchBin™ on February 19, 2011, 12:20:36 PM
Nope. As far as I'm aware only Simple Portal does that.
Title: Re: TinyPortal
Post by: Swifty550 on February 19, 2011, 04:22:06 PM
I'm trying to install this on a fresh SMF2.0RC5 install but when I install TinyPortal all I get is; Table 'smf.smf_tp_settings' doesn't exist


Help is appreciated please.
Title: Re: TinyPortal
Post by: siath on February 23, 2011, 01:17:54 PM
I seem to be having a problem.

My blocks are visible to guests no matter if I choose them to be visible or not.

I try to hide a block but nothing I do hides them fom guests, they can see all blocks I have.

Any ideas?

EDIT: Seems, ungrouped members Includes Guests, is that correct? There is no selection for regular members in the member group list. Mine has Guests and ungrouped members and then a list of other groups I created. Seems like Ungrouped members should be Members. Is there a way to fix this?
Title: Re: TinyPortal
Post by: bigjoe11a on February 23, 2011, 02:12:25 PM
Make sure that the groups is setup not to view and see blocks. That you want. I think theres a option for that. I don't know if that works both ways.

create a new block and take view for all members including guest. and then log out.
Go to the portal and look to see if you can see the block. If yes. You mite have to ask some one else. Then again. Let me test this and I'll let you know.

Title: Re: TinyPortal
Post by: siath on February 23, 2011, 02:20:14 PM
I'm narrowed the problem to this.

I have one post based group called Members (this is the default group members are added into.) I can't remove it.

All the rest are non post based groups.

However, when looking at blocks or anything with permissions (articles). the members group doesn't show. The ungrouped members does with is the non past based member group. I think they're conflicting or something as members (post based) is a child of regular members.

I don't know of any way to make SMF no use posted based groups at all or even to remove the members group itself.

I checked and it's the same thing on a buddies forum too guests can see all blocks.

function get_grps seems like the culprit.
Title: Re: TinyPortal
Post by: bigjoe11a on February 23, 2011, 02:34:14 PM
I'm narrowed the problem to this.

I have one post based group called Members (this is the default group members are added into.) I can't remove it.

All the rest are non post based groups.

However, when looking at blocks or anything with permissions (articles). the members group doesn't show. The ungrouped members does with is the non past based member group. I think they're conflicting or something as members (post based) is a child of regular members.

I don't know of any way to make SMF no use posted based groups at all or even to remove the members group itself.

I checked and it's the same thing on a buddies forum too guests can see all blocks.

function get_grps seems like the culprit.

More then likely. Yes. Your right. See I created a new block, and I set it up so no one can view it and that works. So the problem is Ungrouped members. If you uncheck that and log out. The block you don't want guests to see is gone. When I log in as a Ungrouped member I can see it.

So the problem is telling who is a guest and who is log in and if they are not assigned to a group.
See guest are all so in that same group call Ungrouped members. so this may be a bug in the Portal. You may want to ask about this mod is Mod support.


 
Title: Re: TinyPortal
Post by: siath on February 23, 2011, 03:04:20 PM
Sorry, I thought this was the help thread for this mod, where do I need to post about this problem? Since this seems to be broken pretty badly as you can't hide blocks from guests and still have members see them.
Title: Re: TinyPortal
Post by: Spoogs on February 23, 2011, 03:18:49 PM
I havent used TP but isnt there an option when you create or edit a block to determine if guests can see it or not.

And no guests are not a part of the ungrouped
Guests =  anyone not logged into the forum
Ungrouped = anyone not assigned to a primary membergroup.
Title: Re: TinyPortal
Post by: IchBin™ on February 23, 2011, 03:22:10 PM
If you read back a within the last few pages, this issue has already been dealt with.
Title: Re: TinyPortal
Post by: bigjoe11a on February 23, 2011, 03:26:15 PM
In Mods Support
Title: Re: TinyPortal
Post by: IchBin™ on February 23, 2011, 03:36:24 PM
http://www.simplemachines.org/community/index.php?topic=27642.msg2947765#msg2947765
Title: Re: TinyPortal
Post by: siath on February 23, 2011, 03:58:06 PM
Sorry about that, I found your fix. I did a search but didn't find anything on it. I'ts a bit hard to follo 50 plus pages of stuff. :P
Title: Re: TinyPortal
Post by: bigjoe11a on February 23, 2011, 06:49:58 PM
I havent used TP but isnt there an option when you create or edit a block to determine if guests can see it or not.

And no guests are not a part of the ungrouped
Guests =  anyone not logged into the forum
Ungrouped = anyone not assigned to a primary membergroup.

Sorry. Spoogs. I just tried that my self. If I create a new block and give access to guest and Ungrouped Members and then log out. I should be able to see the block. So I log in again and uncheck the box for Guests and went back to the portal and log out again. That block is still viewable by guest. I will try it it again to make sure and let you know.

Title: Re: TinyPortal
Post by: bigjoe11a on February 23, 2011, 06:57:30 PM
Sorry about that, I found your fix. I did a search but didn't find anything on it. I'ts a bit hard to follo 50 plus pages of stuff. :P

Siath, If you don't want guests viewing the block you want to hide. You must uncheck both of them. Uncheck guests and Ungrouped Members

I just tested that again and that's how it works on my portal.
Title: Re: TinyPortal
Post by: Spoogs on February 23, 2011, 07:11:16 PM
Apparently this is a bug in the mod, Ichbin posted a link to a fix a few posts up ;)
Title: Re: TinyPortal
Post by: bigjoe11a on February 23, 2011, 07:44:53 PM
Ah yes, I didn't take into account that the editor choice changes whether it is HTML or BBC. I only sorta fixed BBC last time. Here's some files to try and should work with either choice on the editor now. As usual, make a backup before replacing your files just to be safe.


Hey IchBin..
I forgot to tell you that I upgaded my version to 2.0 RC5 and I tried the updated parts for the portal. and they didn't work this time.

The Download header is all messed up like before and as you know the guest access problem that I didn't know about. Lucky thing I had a back up. LOL

Any way sorry I will need a new fix and that other guy will need it too.

Before I forget I'm using TinyPortal    1.102
Title: Re: TinyPortal
Post by: IchBin™ on February 23, 2011, 08:27:45 PM
I don't know what you are talking about when you say your download header is messed up. Guest access fix has already been provided.
Title: Re: TinyPortal
Post by: bigjoe11a on February 23, 2011, 08:52:59 PM
I don't know what you are talking about when you say your download header is messed up. Guest access fix has already been provided.

Sorry I should have given more details. the download header part. Look below

<p>Downloads:</p><p>If you don't see a file, sample or tool you need. Please ask us. I'm sure my staff will help you in some way. <br></p><p><br></p><p><br></p>

This is how it looks. You did give me a fix for this. How ever I tried to apply that fix in the portal that I have now. The only thing that I changed was I updated my SMF to RC5. and I tried to apply your updates. and I got errors. Like tables missing and not able to read the mysql database.

and as for the fix you added the guest access. The options I was to comment out or add. Don't exist.
any ideas.



Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 12:55:43 PM
Well, when upgrading between RC's you'll lose all your changes once you install the mod again. If you can't figure out how to do the modifications, post your file and I'll do them for you.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 02:06:20 PM
Ok, here one. are there any others you need. Let me know. witch ones..



Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 02:13:48 PM
Need TPdlmanager.php as well.

ETA: Added fixed TPortal.php to my post.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 02:37:12 PM
Ok, here you go
Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 03:02:09 PM
One thing you need to do is use a good editor. Whatever editor you are using is adding extra lines and stuff all over the place. That is probably the reason you can't find the code. Use the search feature to search for lines instead of just going to the line numbers I specified. File attached, and removed all the extra lines your editor added.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 03:27:31 PM
One thing you need to do is use a good editor. Whatever editor you are using is adding extra lines and stuff all over the place. That is probably the reason you can't find the code. Use the search feature to search for lines instead of just going to the line numbers I specified. File attached, and removed all the extra lines your editor added.

Thanks it's just that I got one error on your update.

Parse error: syntax error, unexpected T_IF in /home/dfbarrac/public_html/Sources/TPdlmanager.php on line 1

I had to upload a back up for it
Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 04:26:55 PM
Updated the post above. Try the file again. I think there was something screwy with the line formatting. Are you opening your files on a Mac?
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 04:41:25 PM
Updated the post above. Try the file again. I think there was something screwy with the line formatting. Are you opening your files on a Mac?

I'm still getting an error of

Unknown column 'dlm.authorID' in 'field list'
File: /home/dfbarrac/public_html/Sources/TPdlmanager.php
Line: 408

and No I'm not using MAC, I windows notepad. Are you telling me I have to edit the file that your sending me or ?...

Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 04:51:58 PM
Your install must of not worked then. The file you attached is the file from the TP install for SMF1.1.x. You need to upload all the files for the RC4 install. Follow the manual instructions from the mod page when clicking parse for your verison of SMF. You'll likely then need to make the edits to the new files that have been uploaded as well.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 05:04:01 PM
Then I'm lost now. I did upload all the files in the RC4 in the root folder. Just like it says to do.

Let me try uploading all the file for TP in the RC4 folder again and see what happens.

Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 05:07:22 PM
Well some how or another it didn't overwrite the files. You can see the SMF version at the very top of the file you attached.

--edit--

I would highly suggest you don't use windows notepad. It does nothing but screw stuff up. If you would like to try out a free version of a nice text editor, give Notepad++ a try. It's 100x better than windows notepad.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 05:33:46 PM
Updated the post above. Try the file again. I think there was something screwy with the line formatting. Are you opening your files on a Mac?

I'm still getting an error of

Unknown column 'dlm.authorID' in 'field list'
File: /home/dfbarrac/public_html/Sources/TPdlmanager.php
Line: 408

and No I'm not using MAC, I windows notepad. Are you telling me I have to edit the file that your sending me or ?...

Well some how or another it didn't overwrite the files. You can see the SMF version at the very top of the file you attached.

--edit--

I would highly suggest you don't use windows notepad. It does nothing but screw stuff up. If you would like to try out a free version of a nice text editor, give Notepad++ a try. It's 100x better than windows notepad.

Ok I check that and I tried to update each one at a time.

I started with RC1 and updated all the way to RC4. and nothing I tried seems to want to update my version of TP. It's stuck on RC1

If I try and uninstall TP will that remove all the tables and what I all ready have setup. For some reason. the updates are not working.

UPDATE:

Modification Packages
TinyPortal    1.102  <<-- I don't think that's right. Wrong version.


Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 05:47:36 PM
1.102 is the internal version. It's the correct one for the latest TP install.

No I'm not telling you to edit the files that I attached.

RC1 is the latest version of TP, there's no need to do anything else. If you still have the same error, it is because your file is not updating or not getting overwritten when you upload it. authorID only works in SMF1.x. As you can see if you compare the lines that your error is on in both the SMF1 and SMF2 install, you can see they are totally different.

SMF1
Code: [Select]
$request = tp_query("SELECT dlm.id, dlm.name, dlm.category, dlm.file, dlm.downloads, dlm.views, dlm.authorID, dlm.created, dlm.screenshot, dlm.filesize,
SMF2
Code: [Select]
$request = tp_query("SELECT dlm.id, dlm.name, dlm.category, dlm.file, dlm.downloads, dlm.views, dlm.author_id as authorID, dlm.created, dlm.screenshot, dlm.filesize,
See the differences between the authorID parts? You need to upload the files again and then verify that those files have all been overwritten.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 05:59:32 PM
I just check. all the files in all the folders say the same thing at he top.

So RC1, RC2, RC3 and RC4 all have the label at the top. So I'm confused

/******************************************************************************
* TPortal.php                                                                   *
*******************************************************************************
* TP version: 1.0 RC1                                                                                                      *
* Software Version:           SMF 2.0                                                                                      *
* Software by:                Bloc (http://www.tinyportal.net)                                                      *
* Copyright 2005-2010 by:     Bloc (bloc@tinyportal.net)                                                         *
* Support, News, Updates at:  http://www.tinyportal.net                   *
*******************************************************************************/
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 06:01:00 PM
1.102 is the internal version. It's the correct one for the latest TP install.

No I'm not telling you to edit the files that I attached.

RC1 is the latest version of TP, there's no need to do anything else. If you still have the same error, it is because your file is not updating or not getting overwritten when you upload it. authorID only works in SMF1.x. As you can see if you compare the lines that your error is on in both the SMF1 and SMF2 install, you can see they are totally different.

SMF1
Code: [Select]
$request = tp_query("SELECT dlm.id, dlm.name, dlm.category, dlm.file, dlm.downloads, dlm.views, dlm.authorID, dlm.created, dlm.screenshot, dlm.filesize,
SMF2
Code: [Select]
$request = tp_query("SELECT dlm.id, dlm.name, dlm.category, dlm.file, dlm.downloads, dlm.views, dlm.author_id as authorID, dlm.created, dlm.screenshot, dlm.filesize,
See the differences between the authorID parts? You need to upload the files again and then verify that those files have all been overwritten.

Ok, I'll try again.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 06:29:10 PM
well I tried to upload all the files in the RC4 folder and it said it over wrote every thing. and it still says TP RC1. So I don't know what to do.

Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 07:23:00 PM
It SHOULD say TP1RC1. What it should NOT say at the top of your files is SMF1.x if you are using SMF2.x. If you are still having the error, please post the error again so that I can make sure it didn't change, and also post the file.
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 07:41:59 PM
It SHOULD say TP1RC1. What it should NOT say at the top of your files is SMF1.x if you are using SMF2.x. If you are still having the error, please post the error again so that I can make sure it didn't change, and also post the file.

This is a tpdlmanager.php file. The one I have in the RC4 folder in the you sent me. ok, It says SMF 2.0 and TP version: 1.0 RC1. I got theses files from TinyPortal10rc1.zip from the download from the main mod downloads section.

/******************************************************************************
* TPdlmanager.php                                                                   *
*******************************************************************************
* TP version: 1.0 RC1                                                                                                      *
* Software Version:           SMF 2.0                                                                                      *
* Software by:                Bloc (http://www.tinyportal.net)                                                      *
* Copyright 2005-2010 by:     Bloc (bloc@tinyportal.net)                                                         *
* Support, News, Updates at:  http://www.tinyportal.net                   *
*******************************************************************************/

Ok, This is what the problem is
1)
<p>Downloads:</p><p>If you don't see a file, sample or tool you need. Please ask us. I'm sure my staff will help you in some way. <br></p><p><br></p><p><br></p>

The one above is the same problem I had before. This is what all users see when they click on downloads. This is the header for the downloads section,

2)
The 2nd problem is the guests. that can still see blocks. If I log in and create a new block. and then I display the portal index. You should be able to see the block. How ever when the premissions for the guests is removed. The guests can still see the block. If you remove the premissions for Ungroup Groups. then guests can not see the block

I hope a some more details to give you an idea of what the problem is. There's only 2.

Title: Re: TinyPortal
Post by: IchBin™ on February 24, 2011, 08:31:14 PM
Ok, so you are not experiencing the error that you posted, now you are back to the problems that I have already posted. To fix the guest access you make these changes to your files:
http://www.simplemachines.org/community/index.php?topic=27642.msg2947765#msg2947765

To fix the download manager description you open Sources/TPdlmanager.php file.

Find this code:
Code: [Select]
    // load the dlmanager frontpage
    if($context['TPortal']['dlaction']=='')
    {

Add this after that code:
Code: [Select]
        if($context['TPortal']['dl_wysiwyg'] == 'bbc')
            $context['TPortal']['dl_introtext'] = parse_bbc($context['TPortal']['dl_introtext']);
        else
            $context['TPortal']['dl_introtext'] = html_entity_decode($context['TPortal']['dl_introtext']);
Title: Re: TinyPortal
Post by: bigjoe11a on February 24, 2011, 09:19:35 PM
That's why I was having so many problems. I fount out why and fix it and I changed the options you wanted me to change. and it all works.

Thanks IchBin.

See this is what I fount out. The files that I had on the server were not being updated or could I over write them when I uploaded them. and I have no idea why. So what I had to do was delete all my backups and download the root folder again. Then I made a copy of that and fount that the files I was using were for SMF 1.1.x. So then I copied the newer files over and edited them. Then I reuploaded the changed files and well it works.

Thank you very much. That's one I owe you.

Joe
Title: Re: TinyPortal
Post by: reinner on February 25, 2011, 08:45:45 AM
Hi,

I installed this mod. Icons does not display anymore in my theme and in the default them.
I need help Please. What should I do? I can give test admin account if needed.

Good day to all
Title: Re: TinyPortal
Post by: IchBin™ on February 25, 2011, 09:58:42 AM
Right click on the icon and look at the location of where the icon is supposed to be. Go to that location in your FTP client. If the icon is not there, and it is a TP icon, then pull it out of the zip and put it where it needs to be.
Title: Re: TinyPortal
Post by: serlokjolms on February 25, 2011, 08:14:43 PM
excellent portal, but i have a problem

i can't enter to portal from www.mysite.com, only can enter from www.mysite.com/forum (smf 2 rc5)

what can i do?
Title: Re: TinyPortal
Post by: DarkAngel612 on February 25, 2011, 08:17:11 PM
excellent portal, but i have a problem

i can't enter to portal from www.mysite.com (http://www.mysite.com), only can enter from www.mysite.com/forum (http://www.mysite.com/forum) (smf 2 rc5)

what can i do?

for you to get better answers it is best to add your real link so that they may check things out...even if you place spaces in the name
Title: Re: TinyPortal
Post by: serlokjolms on February 25, 2011, 08:26:27 PM
excellent portal, but i have a problem

i can't enter to portal from www.mysite.com (http://www.mysite.com), only can enter from www.mysite.com/forum (http://www.mysite.com/forum) (smf 2 rc5)

what can i do?

for you to get better answers it is best to add your real link so that they may check things out...even if you place spaces in the name

Sorry, is a pre-alpha site, from www.reparandopc.com can't enter, but www.reparandopc.com/foro yes
Title: Re: TinyPortal
Post by: DarkAngel612 on February 25, 2011, 10:21:03 PM
Quote from: serlokjolms

Sorry, is a pre-alpha site, from www.reparandopc.com (http://www.reparandopc.com) can't enter, but www.reparandopc.com/foro (http://www.reparandopc.com/foro) yes

well let me try this again since the page refreshed taking away my entire answer

the first link will lead you to your server files---that is why forbidden--this is good

the second link is surely where your forum is located--that one is right but

to get to your portal only the link should be www.reparandopc.com (http://www.reparandopc.com/)/foro  -- the reason is that your forum is in the foro folder like mine is http://thefantasiesattic.net/attic that will take you to my portal and adding /forum will take you to the forum entry page.

I hope I did not confuse you too much.
Title: Re: TinyPortal
Post by: IchBin™ on February 25, 2011, 10:32:41 PM
TinyPortal is not a stand alone portal. It is a mod that works only in the forum. So it will put a frontpage on your forum. If you want you can move your forum to the root of your site. This would make http:www.reparandopc.com your tinyportal frontpage, then you would accesss your forum like this:  hxxp:www.reparandopc.com/index.php?action=forum.

If you want your portal in a different directory than your forum, you'll have to use Simple Portal. It is the only stand alone portal that I know for SMF. It's a good portal too. Up to you really.
Title: Re: TinyPortal
Post by: !RFAN on February 26, 2011, 04:01:41 AM
I cant access my website on cell phone? Is this because of TP?
Title: Re: TinyPortal
Post by: IchBin™ on February 26, 2011, 10:48:15 AM
Nope it shouldn't be a problem with TP.
Title: Re: TinyPortal
Post by: Masterd on February 26, 2011, 01:00:57 PM
Why the integrated calendar is not working on both SMF 1.1.x and SMF 2.0?
Title: Re: TinyPortal
Post by: IchBin™ on February 26, 2011, 02:55:26 PM
Integrated calendar? There is no integrated Calendar in TP. Are you talking about the block code snippet? There is a bug with conversion when it imports that code currently. You can go through and fix the code by replacing all the HTML entities with the real characters if you need to.
Title: Re: TinyPortal
Post by: j_jindal1 on February 26, 2011, 11:12:14 PM
Hi Bloc/IchBin,

can you please help me in installing tinyportal. I'm trying to install Tinyportal on SMF1.1.13, and everytime I get this error.

Database Error: MySQL server has gone away
File: /home/****/public_html/****/Sources/Subs-Package.php
Line: 2025

Moreover after this issue, the folders created by tinyportal needs to be reset for their ownership. I need to contact the host for deleting those folders. Is it a server side issue.. ?? I tries installing many other scripts like joomla, coppermine etc, but didn't get this issue anywhere else.. Can you please tell me why it happened.. :)

Thanks
Title: Re: TinyPortal
Post by: IchBin™ on February 27, 2011, 12:46:59 PM
The both errors are caused by the server. The mysql server has gone away and the file permissions problem both need to be taken to your host as there is nothing I can do about them.

The owner ship problem generally stems from the server using the apache user instead of your user to create and install.

The mysql gone away can be caused if the server has the value for max_allowed_packet set to low in mysql. The server admin should be able to tell you what the problem is better though.
Title: Re: TinyPortal
Post by: James Main on February 27, 2011, 12:58:54 PM
I need help picking a portal I am somewhat lost with the options so far. I am running 2.0 rc5 and currently have the forum as a add on to my fishing website I am thinking at some time I may want to drop the front website and just use the SMF with a portal to be the entire site. site is www.mscst.com  forum is www.mscst.com/SMF/index.php any ideas or suggestions?
Title: Re: TinyPortal
Post by: IchBin™ on February 27, 2011, 01:00:36 PM
I'd suggest you setup a test install of SMF and install the portals that you would like to try out. You can then play with each portal and see which one suits you best.
Title: Re: TinyPortal
Post by: Masterd on February 27, 2011, 01:54:12 PM
Integrated calendar? There is no integrated Calendar in TP. Are you talking about the block code snippet? There is a bug with conversion when it imports that code currently. You can go through and fix the code by replacing all the HTML entities with the real characters if you need to.


Yes, I was talking about the Bloc's calendar. Thank you, I will try to do that.
Title: Re: TinyPortal
Post by: reinner on February 27, 2011, 03:32:01 PM
Hi,

I am getting this error
/index.php?pretty;action=profile
Undefined index: label
public_html/Themes/default/languages/TPShout.english.php (generic_menu_dropdown_above sub template - eval?)
Line: 171 "

What should I do?

Regards to all.
Title: Re: TinyPortal
Post by: Masterd on February 28, 2011, 08:13:22 AM
That's an evaluation error.

How to Enable / Disable eval() (http://www.simplemachines.org/community/index.php?topic=290186.0)
Title: Re: TinyPortal
Post by: Arantor on February 28, 2011, 08:27:03 AM
That's an evaluation error.

How to Enable / Disable eval() (http://www.simplemachines.org/community/index.php?topic=290186.0)

Which doesn't seem to explain how to turn it off in 2.0 RCs when it's actually an admin panel option...
Title: Re: TinyPortal
Post by: PetruZ on February 28, 2011, 11:54:20 AM
I have installed Tinyportal and have added the "Shoutbox" box, the thing is that the text that you type is light-gray and the background of the text is white so it's hard to see what you've written. I'm wondering if there's a way to change the text color.

Thank you.
-PetruZ
Title: Re: TinyPortal
Post by: IchBin™ on February 28, 2011, 12:11:24 PM
There sure is. It depends on the theme what colors are called. If you use something like firebug (link in my sig), you can find where you need to change those colors very easily. If you can't figure it out, post a link so we can see.
Title: Re: TinyPortal
Post by: PetruZ on February 28, 2011, 01:18:33 PM
I'm using the theme called BlackWood. And I want to make so everyone sees another color, not just me. Please help!
-PetruZ
Title: Re: TinyPortal
Post by: IchBin™ on February 28, 2011, 01:29:44 PM
There sure is. It depends on the theme what colors are called. If you use something like firebug (link in my sig), you can find where you need to change those colors very easily. If you can't figure it out, post a link so we can see.

If you want some help, you have to do what we ask in order for us to help you.
Title: Re: TinyPortal
Post by: PetruZ on February 28, 2011, 01:33:52 PM
But using firebug finding the code and replace the color of the text in the code, won't that just change that text that I'm changing? I want so when you type a new message, the same color pops up and I don't have to go into the code and change it. Or will this do it?
Title: Re: TinyPortal
Post by: IchBin™ on February 28, 2011, 01:38:04 PM
So when you see where you need to change the text, you look in the right panel of firebug and it tells you what line in the css file that you need to look for to alter it. Once you make the change in the css file, it is permanent for everyone else including you.
Title: Re: TinyPortal
Post by: PetruZ on March 01, 2011, 01:31:32 AM
I tried but didn't find any color code, could you check yourself and post the code?
http://borealisrp.totalh.com/
Title: Re: TinyPortal
Post by: eyo on March 01, 2011, 06:28:16 AM
please make tp reviews easy to use and install. :) its what ive been trying to use all this time
Title: Re: TinyPortal
Post by: IchBin™ on March 01, 2011, 10:19:12 AM
I tried but didn't find any color code, could you check yourself and post the code?
http://borealisrp.totalh.com/

In the TPShout.css file look for this line:
.tp_shoutbody {

Add the color to that section.
please make tp reviews easy to use and install. :) its what ive been trying to use all this time

That module hasn't been touched for a long time. It's unsupported at this time.
Title: Re: TinyPortal
Post by: woodsters on March 01, 2011, 07:25:13 PM
In the TPShout.css file look for this line:
.tp_shoutbody {

Add the color to that section.

How would that be written?

Here's what it says. I want the text to be red.

Quote
.tp_shoutbody
{
   background: #fff;
   border: solid 1px #888;
   border-top: none;
          line-height: 1.3em;
   margin: 0 5px 8px 0;
   padding: 8px;
   font-size: 0.9em;
          overflow: auto;
}
Title: Re: TinyPortal
Post by: IchBin™ on March 01, 2011, 07:39:12 PM
Google is your friend mate.
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=css+font+color

color: #000000;
Title: Re: TinyPortal
Post by: woodsters on March 01, 2011, 07:49:27 PM
Thanks...I had done that exact thing before, but it didn't work....now it does...hmmm oh well...like I said, thanks!
Title: Re: TinyPortal
Post by: !RFAN on March 02, 2011, 03:50:12 AM
when i enabled Mini Calender in a block i'm getting this error in place of calender.
Code: [Select]
Parse error: syntax error, unexpected T_STRING in /home/xxxx/public_html/Sources/Load.php(2645) : eval()'d code(112) : eval()'d code on line 41
Title: Re: TinyPortal
Post by: Masterd on March 02, 2011, 05:03:16 AM
when i enabled Mini Calender in a block i'm getting this error in place of calender.
Code: [Select]
Parse error: syntax error, unexpected T_STRING in /home/xxxx/public_html/Sources/Load.php(2645) : eval()'d code(112) : eval()'d code on line 41


http://www.simplemachines.org/community/index.php?topic=27642.msg2969513#msg2969513 (http://www.simplemachines.org/community/index.php?topic=27642.msg2969513#msg2969513)
Title: Re: TinyPortal
Post by: bigjoe11a on March 04, 2011, 06:34:59 PM
I installed the mod called


AjaxChat Integration    3.2.1 (modified for SMF 2 RC3)

and when I load the chat page up. I get this error. Can any one tell me how to fix this

Notice: Undefined index: show_download in /home/dfbarrac/public_html/Sources/TPSubs.php on line 201



Title: Re: TinyPortal
Post by: IchBin™ on March 04, 2011, 07:30:35 PM
I've fixed this in the next version of TP.

A fix has been posted here.
http://www.simplemachines.org/community/index.php?topic=137508.msg2813098#msg2813098
Title: Re: TinyPortal
Post by: bigjoe11a on March 04, 2011, 08:11:58 PM
Cool, That fixed one thing and the other problem why it won't work. Now. The other problem is. Is it required for the users to log in to chat. when I log out. It returned me to the Chat log in. Theres no link to take me back to the Portal or Index.

Title: Re: TinyPortal
Post by: IchBin™ on March 04, 2011, 10:46:28 PM
I have no idea how the chat works. You'll have to ask the mod author of your chat that question.
Title: Re: TinyPortal
Post by: gvalfer on March 06, 2011, 08:33:38 PM
How to install just the database?
I did the manual install, but lacks the database
Title: Re: TinyPortal
Post by: IchBin™ on March 07, 2011, 10:48:20 AM
You should be able to run the tp_upgrade.php file from the package. If you're using SMF2 use the file that is in the SMF2RC3 folder.
Title: Re: TinyPortal
Post by: bigjoe11a on March 07, 2011, 05:53:48 PM
I wanted to do is add a block that will display the most 5 resent downloads. With any image that has been uploaded and then the description and last the link for the file. I was looking threw it and I didn't see that option. Any one have any ideas on how to add some thing like that.

Joe
Title: Re: TinyPortal
Post by: IchBin™ on March 08, 2011, 10:45:52 AM
If there is anything already made, it will be at the TP site.
Title: Re: TinyPortal
Post by: bigjoe11a on March 10, 2011, 09:25:56 PM
If there is anything already made, it will be at the TP site.

Do you know the web site url. I can't seem to find it.
Title: Re: TinyPortal
Post by: IchBin™ on March 10, 2011, 09:30:55 PM
www.tinyportal.co.uk
Title: Re: TinyPortal
Post by: bigjoe11a on March 10, 2011, 09:37:05 PM
Cool, Thank You
Title: Re: TinyPortal
Post by: IchBin™ on March 12, 2011, 03:58:43 PM
Sorry but I don't understand your issue. Can you explain what the problem is? Please post any code using the [code][/code] tags.
Title: Re: TinyPortal
Post by: Arantor on March 12, 2011, 04:16:20 PM
-sigh- When I told you to go see TinyPortal, I meant the link right there in the code you posted... the one that indicates where it came from...
Title: Re: TinyPortal
Post by: reinner on March 13, 2011, 04:58:03 AM
Hi,

How can I revert this to it's default settings?

Cheers to all

I am using 2.0 RC5
Title: Re: TinyPortal
Post by: IchBin™ on March 14, 2011, 10:45:22 AM
You can backup your tp_ tables, remove them and then run the upgrade.php script to insert the tables again.
Title: Re: TinyPortal
Post by: briggz5d on March 15, 2011, 02:04:42 PM
Tiny portal options in admin panel Don't show ENglish Or any other language. Just blank making it impossible for me to CHOOSE options.

Help!
Title: Re: TinyPortal
Post by: IchBin™ on March 15, 2011, 02:17:48 PM
That is probably because you are running a language without the language files. You haven't specified anything that you're using though, so I wouldn't know exactly what version of TP/SMF you are using. Nor what language you are using. Try changing your forum language to English (NOT English-utf8) and see if it works for you. If it does, then you need to get the utf8 files from the TinyPortal site if you want to use a utf8 language set.
Title: Re: TinyPortal
Post by: reinner on March 16, 2011, 04:27:45 PM
You can backup your tp_ tables, remove them and then run the upgrade.php script to insert the tables again.

Thank you for your reply!

Another question how could I put images from my gallery?
Please see the attached image.
Title: Re: TinyPortal
Post by: IchBin™ on March 17, 2011, 12:02:10 PM
Put them? Do what with them? Where do you want them?
Title: Re: TinyPortal
Post by: DarkAngel612 on March 17, 2011, 04:50:08 PM
and tell them what gallery you be using too so they can help you even better...tis some things I always forget to tell them too so you are not the only one.
Title: Re: TinyPortal
Post by: ironhide1 on March 18, 2011, 09:01:53 PM
Thats because the TP admin stuff are in its own menu on top. Try finding that and you will get inside TP admin. Or...just go to "/index.php?action=tpadmin".

Running RC5 and just installed TP 1.102
I'm having the same issue where the TP admin stuff is not showing up even @ the top. Not creating the nav link..
When I try to access the URL  "/index.php?action=tpadmin" I get a message that I'm not allowed to access that article. I've installed twice both clean with no MODS and still can not get this to work.
I can't leave it installed until I can get to the ADMIN section where I can adjust the content areas.
Any help or suggestion would be greatly appreciated.
Thanks
Title: Re: TinyPortal
Post by: DarkAngel612 on March 18, 2011, 10:13:40 PM

Thats because the TP admin stuff are in its own menu on top. Try finding that and you will get inside TP admin. Or...just go to "/index.php?action=tpadmin".


no help from me but just curious, is this the way smf 2 sees admin section? unlike 1.1.13 that sees it as ?action=admin with no added tp?
Title: Re: TinyPortal
Post by: Arantor on March 18, 2011, 10:15:31 PM
Quote
no help from me but just curious, is this the way smf 2 sees admin section?

Not normally. In 1.1.x, each area of the admin panel was its own action, in 2.0, everything was pulled under action=admin. But I guess where the mod has 1.1.x roots, it still uses action=tpadmin for its own administration just because it's easier to keep the two branches in sync with each other.
Title: Re: TinyPortal
Post by: DarkAngel612 on March 18, 2011, 10:53:35 PM
thanks for explaining
Title: Re: TinyPortal
Post by: bloc on March 19, 2011, 05:40:09 AM
Quote
no help from me but just curious, is this the way smf 2 sees admin section?

Not normally. In 1.1.x, each area of the admin panel was its own action, in 2.0, everything was pulled under action=admin. But I guess where the mod has 1.1.x roots, it still uses action=tpadmin for its own administration just because it's easier to keep the two branches in sync with each other.

Yes, that was the reason. If TP was only for SMF 2.0 it would prob. been added into the normal admin area. Of course, another reason is the sheer size - I had so many sections for TP admin that it seemed the best way was to simply add a new "action" instead.
Title: Re: TinyPortal
Post by: DarkAngel612 on March 19, 2011, 02:40:06 PM
thanks for explaining...curiosity you know gets the better of one at times...but that is how we learn or at least try to understand some why's and wherefore's

you all do great thanks for a wonderful product
Title: Re: TinyPortal
Post by: ccleanerfan on March 22, 2011, 10:05:41 PM
The package installer doesnt seem to be supporting RC5 at all..
Title: Re: TinyPortal
Post by: redone on March 22, 2011, 10:12:12 PM
The package installer doesnt seem to be supporting RC5 at all..
Installs for me just fine, what error messages are you getting?

~RedOne
Title: Re: TinyPortal
Post by: ccleanerfan on March 22, 2011, 10:15:19 PM
The package installer doesnt seem to be supporting RC5 at all..
Installs for me just fine, what error messages are you getting?

~RedOne

Execute Modification   SMF2RC4/tinyportal200rc4.mod   Modification parse error
8.   Adapt Database   SMF2RC3/tp_upgrade.php
Title: Re: TinyPortal
Post by: IchBin™ on March 23, 2011, 10:06:43 AM
Modification parse errors are usually caused by a permission problem on the server. Check to make sure all your files and folders are writable by the web server user. If you don't know how to figure that out you'll need to ask your host.
Title: Re: TinyPortal
Post by: ccleanerfan on March 23, 2011, 10:28:43 PM
Modification parse errors are usually caused by a permission problem on the server. Check to make sure all your files and folders are writable by the web server user. If you don't know how to figure that out you'll need to ask your host.

i chmoded all files AND folders to 777 and I still can't install it. I might as well go to smf1...

Fatal error: require() [function.require]: Failed opening required '/home/u435574674/public_html/Packages/temp/SMF2RC3/tp_upgrade.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/u435574674/public_html/Sources/Packages.php on line 958
Title: Re: TinyPortal
Post by: IchBin™ on March 23, 2011, 11:27:43 PM
It's a server configuration issue. I don't know exactly what causes it though. Try and remove any package you have uploaded for the install. Then create a folder in your Packages folder called TP, then upload all the files from the package to that folder. Go back into the package manager and see if it will install. By clicking on the link that should have been created by uploading the files to the packages folder.
Title: Re: TinyPortal
Post by: xrunner on April 01, 2011, 11:19:18 AM
I have installed Tiny Portal but the users have noticed that the Shout Box doesn't update automatically. It will update with your own shout but until the page refreshes it does not show other shouts at all. Is this by design?
Title: Re: TinyPortal
Post by: IchBin™ on April 01, 2011, 11:22:13 AM
It's not an ajax shoutbox. It only updates when you refresh the page. I have plans to add a button to update it with ajax without refreshing the page, but I'm not going to make it a chat box so that it updates automatically.
Title: Re: TinyPortal
Post by: xrunner on April 01, 2011, 11:24:48 AM
It's not an ajax shoutbox. It only updates when you refresh the page. I have plans to add a button to update it with ajax without refreshing the page, but I'm not going to make it a chat box so that it updates automatically.

Ugh. Sorry, but it's the main reason I got the Tiny Portal. If the shout box doesn't update automatically, it's not going to work for us. I can't imagine why you would have a shout box that doesn't update automatically, but so be it. I'll try other mods.

Thanks anyway.
Title: Re: TinyPortal
Post by: IchBin™ on April 01, 2011, 11:32:26 AM
It's because I think there is a difference in shouting compared to chatting. Having something like a shoutbox auto update can cause a serious load on servers. Good luck in your search, I'm sure you'll find something that suits your needs.
Title: Re: TinyPortal
Post by: bloc on April 01, 2011, 05:47:55 PM
It's not an ajax shoutbox. It only updates when you refresh the page. I have plans to add a button to update it with ajax without refreshing the page, but I'm not going to make it a chat box so that it updates automatically.

Ugh. Sorry, but it's the main reason I got the Tiny Portal. If the shout box doesn't update automatically, it's not going to work for us. I can't imagine why you would have a shout box that doesn't update automatically, but so be it. I'll try other mods.

Thanks anyway.

You added a portal mod just to have a shoutbox..? I suggest you start with a pure Shoutbox MOD instead, that would make more sense.
Title: Re: TinyPortal
Post by: xrunner on April 01, 2011, 07:09:50 PM
You added a portal mod just to have a shoutbox..? I suggest you start with a pure Shoutbox MOD instead, that would make more sense.

I've tried all of them Bloc - they either are not supported any longer or don't work properly. The best of the bunch was SMFPacks shout box but it had flaws and the author stopped supporting it. If you know of one that works with SMF 2.0 RC5 and is supported then I'd be happy to look at it.

Meanwhile I am trying Simple Portal which at the moment seems to have a functioning Shout Box that has selectable auto-update intervals ...
Title: Re: TinyPortal
Post by: Matthew-me on April 03, 2011, 07:28:53 AM
Running SMF 2.0 RC5 and TinyPortal 1.102 - and very appreciative of the work done by all. Have hit one snag which I can't work out.

When writing articles and adding images from the TP quicklist in the editor the images are

1) visible in the editor,
2) visible when published on the frontpage

BUT ...

3) not visible in "preview" or when looking at the published article (the TP name of the file sometimes appears instead).

Apologies if this has come up before but I have been searching for two hours and found nothing - any help greatly appreciated.

Warm regards,

Matthew

ps Here is an example: This article (http://www.vipassanaforum.net/forum/index.php/page,5.html) has no images in it? But if you click on the homepage you will see the article slug with images third down left column. The same is true if I use the full article or a slug on the frontpage.
Title: Re: TinyPortal
Post by: IchBin™ on April 03, 2011, 10:23:03 AM
I've just tested what you have reported, and I cannot reproduce the problem. I can view the quicklist images in preview and normal view without issue. Are you saving it before you preview it? In preview mode it only displays what is saved into the database.
Title: Re: TinyPortal
Post by: Matthew-me on April 03, 2011, 01:17:39 PM
Thanks for trying to recreate the situation IchBin - much appreciated. If you look at the linked article above (published) and then the homepage you will see the problem. I am saving before publishing. On the frontpage and in the wysiwyg editor all is fine. As a standalone published article or in preview no images appear.

Cheers,

Matthew
Title: Re: TinyPortal
Post by: IchBin™ on April 03, 2011, 06:59:18 PM
The link you posted does not show any articles.
Title: Re: TinyPortal
Post by: Matthew-me on April 04, 2011, 01:58:12 PM
Oops - apologies - it does now. But no photo's. On the homepage the same article is showing photo's. ??
Title: Re: TinyPortal
Post by: IchBin™ on April 04, 2011, 03:45:35 PM
hmm... strange. I cannot reproduce this... I see what the problem is but don't know what is causing it. It seems to be dropping the URL from the path on the image. Would you mind giving me access to look at things on your site?
Title: Re: TinyPortal
Post by: Matthew-me on April 04, 2011, 04:50:01 PM
Thanks for your offer of help. May I PM you about it?
Title: Re: TinyPortal
Post by: IchBin™ on April 04, 2011, 05:59:36 PM
Yes, by all means feel free to PM me the details.
Title: Re: TinyPortal
Post by: desibees on April 04, 2011, 06:45:27 PM
Please help. How to remove the time from the sidebar? so it doesn't show the time.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg217.imageshack.us%2Fimg217%2F9387%2F50923674.png&hash=f2c2b1e49b7d2c33255a3e63af92389b)
Title: Re: TinyPortal
Post by: IchBin™ on April 05, 2011, 11:06:14 AM
I have no idea what that picture is or where you are talking about.
Title: Re: TinyPortal
Post by: Kindred on April 05, 2011, 11:49:25 AM
looks like a recent posts box...
Title: Re: TinyPortal
Post by: IchBin™ on April 05, 2011, 01:22:47 PM
Ahh that makes sense.

There are two instances of this code. One shows if you don't have the option to show avatars selected. You can remove both instances if you want. Open Themes/default/TPsubs.template.php and find this code and remove it:
Code: [Select]
<br /><span class="smalltext">['.$w['time'].']</span>
Title: Re: TinyPortal
Post by: Antechinus on April 05, 2011, 06:04:47 PM
Hey quick question: if I wanted to mess around with the expand/collapse icons for the blocks where would I be looking?

The default bunch of icons is a bit messy IMO as they usually overlap other elements of themes. Shouldn't be hard to clean them up a bit. )
Title: Re: TinyPortal
Post by: desibees on April 05, 2011, 06:37:59 PM
how to put facebook fan page in SIDEBAR??
Please help. something like this

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg217.imageshack.us%2Fimg217%2F290%2F91842879.png&hash=1cbeb76e90bc0bab17bd40afdaab1a7d)

*this picture is from some random website,

please help??
Title: Re: TinyPortal
Post by: Spoogs on April 05, 2011, 06:52:54 PM
http://developers.facebook.com/docs/plugins/
Title: Re: TinyPortal
Post by: desibees on April 05, 2011, 07:15:31 PM
http://developers.facebook.com/docs/plugins/

k i have the code, where do i add it?
Title: Re: TinyPortal
Post by: IchBin™ on April 06, 2011, 10:16:22 AM
http://developers.facebook.com/docs/plugins/

k i have the code, where do i add it?

Did you try adding it to a block?

Hey quick question: if I wanted to mess around with the expand/collapse icons for the blocks where would I be looking?

The default bunch of icons is a bit messy IMO as they usually overlap other elements of themes. Shouldn't be hard to clean them up a bit. )

Themes/default/TPBlockLayout.template.php right at the top of the file is the template_tp_above() layer that has the upshrink code I believe. Just checked, so here's the code:
Code: [Select]
if(!empty($context['TPortal']['upshrinkpanel']))
echo '
<div style="float: right; margin-right: 0.5em; margin-top: -1.5em;">', $context['TPortal']['upshrinkpanel'] , '</div>';
Title: Re: TinyPortal
Post by: desibees on April 06, 2011, 11:21:51 AM
http://developers.facebook.com/docs/plugins/

k i have the code, where do i add it?

Did you try adding it to a block?

I know u have to add it to a block, but as what... like HTML? or.. like.. how do u make your own custom block, than selecting the premade ones.
Title: Re: TinyPortal
Post by: IchBin™ on April 06, 2011, 11:25:05 AM
If you are putting HTML or javascript, then yes you add it to a "HTML and Javascript code" block. If you are adding PHP you put the code into a "php code" block. Pretty self explanatory I think. If you don't know what kind of code you are putting in, then you'll need to post a link to show me what code they are asking you to use so I can help.
Title: Re: TinyPortal
Post by: Antechinus on April 06, 2011, 07:32:29 PM
Hey quick question: if I wanted to mess around with the expand/collapse icons for the blocks where would I be looking?

The default bunch of icons is a bit messy IMO as they usually overlap other elements of themes. Shouldn't be hard to clean them up a bit. )

Themes/default/TPBlockLayout.template.php right at the top of the file is the template_tp_above() layer that has the upshrink code I believe. Just checked, so here's the code:
Code: [Select]
if(!empty($context['TPortal']['upshrinkpanel']))
echo '
<div style="float: right; margin-right: 0.5em; margin-top: -1.5em;">', $context['TPortal']['upshrinkpanel'] , '</div>';
Cool. Thanks. I was running a search for image names and id's and couldn't find the right bit. :)
Title: Re: TinyPortal
Post by: desibees on April 07, 2011, 04:35:41 PM
hi, do you have copyright removal 1 time purchase?
i know like 50 people who are using tiny portal but they removed the copyright.
Are you aloud to do that or they bought "copyright removal 1 time purchase" ?
Title: Re: TinyPortal
Post by: IchBin™ on April 07, 2011, 04:52:35 PM
http://developers.facebook.com/docs/plugins/

k i have the code, where do i add it?

Did you try adding it to a block?

I know u have to add it to a block, but as what... like HTML? or.. like.. how do u make your own custom block, than selecting the premade ones.

Like I said, if it's html or javascript then you add it to a HTML and Javascript block. That is the name of the actual block type. Once you select the block type, (not one of the pre-made blocks) you can input the code into the textbox to create your own block with HTML or PHP depending on the blocktype you select.


As for removing the copyright if they have removed it they are doing it illegally without permission.
Title: Re: TinyPortal
Post by: desibees on April 07, 2011, 05:11:10 PM
yes but some mods allow you to "pay" for removal rights, could I do that?
Title: Re: TinyPortal
Post by: mariusfv on April 09, 2011, 10:32:23 AM
Hi,
IchBin I can't access tinyportal.co.uk for over 1 week, I access him via proxy to read some useful documentation, now via 5 proxy server I get : server not found, I have posted on tinyportal.co.uk few time ago a post: Europe some ISP can't access tinyportal(something like that)...I contact again my ISP and they tell me: host/or IP didn't respond at ping. I think tinyportal should change the host, sorry is my opinion!(My ISP have over 1-2 million customers, I download with 10-14 MB/s, upload 5-7 MB/s)

I will ask here for support:
How can I rewrite an tinyportal article?
I have a external html page called products.html, now I want to include inside smf/tinyportal that page via article feature, but I want to keep my desire url: domain.com/products.html. I use pretty url mod made it by vbgamer, the mod work good but didn't rewrite tinyportal article, my article is: /index.php?page=5.
Example: www.smfhacks.com/products.html (is that an TP article feature no?) and have the desired url: domain.com/products.html, how this is possible ?
Is important for me to keep my desire url(the page is good indexed for search engine).
And if this is possible, I want to know how I will add to that html article the: description and meta keywords?... because I add actual for test the title(of article) and when i look at page source code I see: the <title> and <meta name="description" content=" are the same(let say is ok) but at <meta name="keywords" content=" - the article take the first 2 words from title and repeat it for 3 times.
Title: Re: TinyPortal
Post by: IchBin™ on April 09, 2011, 12:35:20 PM
It doesn't look to me like he's using TinyPortal on those custom pages that end in .html. I think he is just putting the file on his site and linking to that page. There's no way currently to have URL's like that within TP.

Sorry about the site being down. We have been having a lot of problems since yesterday. It has crashed twice for some reason. However, the problem hasn't been going on for a week. Lesmond is in the middle of talking with the host about this. If you can't reach the site later by going to tinyportal.co.uk, please try www.tinyportal.net as it should work as well.
Title: Re: TinyPortal
Post by: mariusfv on April 09, 2011, 01:01:10 PM
Tinyportal.co.uk, tinyportal.net are down for me.

Please tell me, I have a html page, how I do to linking to that page, so that page to be inside TP  like vbgamer45 do in his website ?, so to show blocks, etc and that page to be loaded inside tinyportal/smf(to not be an external page?).
10x
Title: Re: TinyPortal
Post by: IchBin™ on April 09, 2011, 01:28:04 PM
I don't know how he did those pages while keeping the URL. You should probably ask him.
Title: Re: TinyPortal
Post by: Arantor on April 09, 2011, 01:30:46 PM
I'd suggest it was standalone pages using SSI but I don't know how TP interacts with SSI...
Title: Re: TinyPortal
Post by: IchBin™ on April 09, 2011, 01:44:53 PM
It's possible to create a stand alone page outside of TP using SSI, but the html page through me off. I guess that could be done using some rewrite rules or something.
Title: Re: TinyPortal
Post by: Matthew-me on April 10, 2011, 07:55:57 AM
IchBin,

Thanks for your help. Very generous.

Matthew
Title: Re: TinyPortal
Post by: DesuChan on April 10, 2011, 11:43:41 PM
I just have a single query:

Is it at all possible to perhaps change the code in the Download Manager to, instead of linking to a file stored where the forum itself is hosted, but instead link off to an external file sharing website (eg Mediafire, Megaupload, etc.)? I mean, this would be temporary for myself as the only reason this is an issue for me is because my webhost is... evil, for lack of a better word and I'm currently uploading text files with links to my files on Mediafire
Title: Re: TinyPortal
Post by: IchBin™ on April 11, 2011, 11:17:17 AM
There's no way to currently do this in TP. I'd suggest you just post a link in the download description until the feature can be added.
Title: Re: TinyPortal
Post by: desibees on April 11, 2011, 04:18:59 PM
Hey, im using Tinyportal sidebar. When I expand/collapse, the thing... just blinks and expands or collapses. How can I make it so When I collapse or expand, the thing slides... If you know what i mean..
Title: Re: TinyPortal
Post by: IchBin™ on April 11, 2011, 05:02:05 PM
You'd have to go in and change the javascript routines to use those effects. Not something I have time to do.
Title: Re: TinyPortal
Post by: desibees on April 11, 2011, 05:41:09 PM
Not something I have time to do.

aw... Can you atleast tell me how to do it so I can give the solution to someone expert to do it for me?
Title: Re: TinyPortal
Post by: DesuChan on April 11, 2011, 11:10:26 PM
There's no way to currently do this in TP. I'd suggest you just post a link in the download description until the feature can be added.
...So it's going to be added?

Best news I've heard all day. And it's been a pretty good day today! Thank you!!!
Title: Re: TinyPortal
Post by: desibees on April 11, 2011, 11:15:44 PM
will you please gimme the solution for my problem above ^^^ even if u dont have time to do it yourself
Title: Re: TinyPortal
Post by: mashby on April 11, 2011, 11:20:32 PM
will you please gimme the solution for my problem above ^^^ even if u dont have time to do it yourself
Do you realize the conflict that mere question has? If he doesn't have time, I doubt he will give you a solution to something. Maybe it's time to open up a manual on JavaScript.
Title: Re: TinyPortal
Post by: desibees on April 12, 2011, 07:43:00 AM
Well if he doesn't have time to do it, he could gimme a short solution because it is his mod and only he would know. Looks luke no one tried to do this before so I don't want the solution to remain secret.

** I might  sound like I'm arguing but I'm not. Just giving my point of view
Title: Re: TinyPortal
Post by: Ken. on April 12, 2011, 09:01:32 AM
Sometimes there is no 'simple' answer to a coding question and this is one of those times... had there been a simple answer or fix you can be sure that IchBin™ would have given you that answer when the question was first posted.

Sometimes patience is needed, especially when the issue is of a minor nature.  ;)
Title: Re: TinyPortal
Post by: Kindred on April 12, 2011, 09:32:11 AM
desibees,

google is your friend...
here's a code that does what you are asking.
http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide
and another
http://docs.jquery.com/UI/Effects/Slide
Title: Re: TinyPortal
Post by: IchBin™ on April 12, 2011, 12:17:11 PM
desibees,

google is your friend...
here's a code that does what you are asking.
http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide
and another
http://docs.jquery.com/UI/Effects/Slide


After you figure out how