News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

TinyPortal

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

Previous topic - Next topic

shadav

where can I edit the user panel block?
what file?

@rjen

Quote from: shadav on August 13, 2020, 04:14:26 AM
where can I edit the user panel block?
what file?

TPsubs.template.php

function TPortal_userbox()
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

lurkalot

Quote from: shadav on August 13, 2020, 04:14:26 AM
where can I edit the user panel block?
what file?

Or just add this to a php block and play with that.  ssi_login();

shadav

Quote from: @rjen on August 13, 2020, 12:33:52 PM
Quote from: shadav on August 13, 2020, 04:14:26 AM
where can I edit the user panel block?
what file?

TPsubs.template.php

function TPortal_userbox()

Thank you

Quote from: lurkalot on August 13, 2020, 01:08:35 PM
Quote from: shadav on August 13, 2020, 04:14:26 AM
where can I edit the user panel block?
what file?

Or just add this to a php block and play with that.  ssi_login();
thank you, I may play with that later

lurkalot

The TinyPortal Team is pleased to announce the release of TinyPortal 2.0.0 RC1

Note: You must uninstall any previous version of TinyPortal before you can install TP 2.0.0 RC1 for SMF2.0.x or SMF2.1. Make a backup of all your SMF and TP files before you uninstall.

Changelog: TinyPortal 2.0.0 RC1

Relevant to SMF 2.0 and 2.1:

Technical updates:

major updates to codebase, cleaned up sources, templates and language files
changes to database tables and fields
removed the unused code sections for plugins and modules
fixed a number of hard-coded language strings
updated language string usage in multiple locations for easier translation
updated block sorting function to resolve issues when moving blocks up and down
updated category layouts and fixed issues with just links layout
and many more....


New functionality:

updated admin pages for a more logical layout including checkboxes instead of radio buttons and tooltips
added setting to disable the PHP eval function
added setting that allows the removal of TinyPortal menu option for all users but admins
updated TinyPortal menu option allowing direct access to settings pages
added functionality to allow / disallow links in comments
updated article comments display and added comments counters
replaced 5-boards option with multi-select for news boards topics frontpage
added 'include or exclude boards' option to recent topics block
added extra css file tp-custom.css for maintaining extra css styles for use in articles
allow for over 30 search results and pagination on article search
added option in TPdownloads to create a downloadable item with a link to a file
added additional article category layout

Relevant to SMF 2.1 only:

added Mentions to Shoutbox and article comments for SMF2.1


NOTICE! because of the database changes in this version there's no going back to TP 1.x.x after installing version 2.0.0. You can install previous versions, but by doing that you WILL lose TP data and you will need to manually fix or recreate your content!!! For these reasons it's advised to backup your database and files before proceeding.

A huge thankyou to tino and @rjen, and all our beta testers for all their hard work, and making this release possible.

Download: SMF Mods site, http://custom.simplemachines.org/mods/index.php?mod=97

Download: https://www.tinyportal.net/index.php?action=tportal;sa=download;dl=item159

shadav

installed the update...still playing with it

found an extra } in tp-style.css
.tp_col8 {

float: left;

width: 50%;

}

}

lurkalot

Quote from: shadav on August 29, 2020, 06:12:17 PM
installed the update...still playing with it

found an extra } in tp-style.css
.tp_col8 {

float: left;

width: 50%;

}

}


Thank you shadav.   ;)

njtweb

I'm SO EXCITED! Great news guys, thank you so much!

njtweb

Unable to browse to TP site. Says unable to find IP.

This site can't be reachedwww.tinyportal.net's server IP address could not be found.
Try running Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN

vbgamer45

Down for me as well.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

lesmond

It been down since 09:55 (UK Time) :(


Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

lurkalot

Quote from: njtweb on September 25, 2020, 10:57:25 AM
Unable to browse to TP site. Says unable to find IP.

This site can%u2019t be reachedwww.tinyportal.net%u2019s server IP address could not be found.
Try running Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN

Quote from: vbgamer45 on September 25, 2020, 11:09:55 AM
Down for me as well.

Quote from: lesmond on September 25, 2020, 12:00:51 PM
It been down since 09:55 (UK Time) :(


Yep, caused by this, https://www.simplemachines.org/community/index.php?topic=490462.msg4069020#msg4069020

Sorry for the inconvenience.

lurkalot

The TinyPortal Team is pleased to announce the release of TinyPortal 2.0.0

TinyPortal 2.0.0 can be used on SMF 2.0 and 2.1
Minimum required PHP version : 5.6.0
Highest supported PHP version (tested) 7.4.11

Changelog: TinyPortal 2.0.0

Technical updates (2.0.0):
- fix for frontpage layouts: 'Promoted topics only' and 'Only forum-topics' not showing images and 'Promoted topics + articles' and 'Forum-topics and articles' not showing the comments links for topics
- fix for topics on frontpage not being shortened
- fixed frontpage showing less forum topics then set
- fix for frontpage not showing guestnews when using Forum-topics and articles - sorted on date
- fixed Block collapse option
- fixed setting 'Use first post attachment preview as icon'
- fixed 'create article' links in User block not working for non-admins
- restored missing "Posted in" links in articles
- fixed the collapse function on article comments
- fixed TPdownloads error for empty items
- changed Hide edit link in articles to Display edit link in articles

New functionality (2.0.0 RC1 and 2.0.0):
- added Mentions to Shoutbox and article comments (for SMF2.1 only)
- updated admin pages for a more logical layout including tooltips
- added setting to disable the PHP eval function
- added setting allows removal of TinyPortal menu option for all users but admins
- updated TinyPortal menu option allowing direct access to settings pages
- added functionality to allow / disallow links in article comments
- updated article comments display and added comments counters
- replaced 5-boards option with multi-select for news boards topics Frontpage
- added 'include or exclude boards' option to recent topics block
- added extra css file tp-custom.css for maintaining styles for use in articles
- allow for over 30 search results and pagination on article search
- added option in TPdownloads to create a downloadable item with a link to a file
- added additional article category layout
- new setting in Article settings to control Icon upload size and display size
- new setting that allows selection of header and frame styles for forum topics on the Frontpage
- include Comments and New comment link in Simple article layout
- updated Edit and Comments link in articles
- added article setting that allows control over 'Posted in category' link

NOTICE! because of the database changes in this version there's no going back to TP 1.x.x after installing version 2.0.0. You can install previous versions, but by doing that you WILL lose TP data and you will need to manually fix or recreate your content!!! For these reasons it's advised to backup your database and files before proceeding.

jsx

lurkalot,

Previously, I had TinyPortal 1.6.7 installed on the forum and everything was fine, now after installing version 2.0.0 there was an incorrect display of content in the shoutbox from SMFPacks Shoutbox. The date is not displayed in the correct place. Now the date is showing on the right side but the date should be display after the avatar on the left.



And there is something wrong with the correct text displayed on the home page. Look at this screen:



The smile icon and text are next to each other. There is a space in the text:


@rjen

First question: did you clear your browser cache?

Second question: link to the forum please?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

jsx

Yes, even on the new test forum, the date in SMFPacks Shoutbox is incorrectly displayed after installing TinyPortal 2.0.0

I sent you a private message.

@rjen

I'll look at it tonight.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

@rjen

Well, I looked at it already. I see the cause: the TinyPortal shoutbox is actually using the same class names as the SMF Pack shoutbox, hence the conflict: class .shoutbox_time is the issue.

I can put it on the worklist for TP make the class names in the TinyPortal shoutbox specific (change the class to tp_shoutbox_time would be the most obvious).
We have actually done this in 2.0.0 for a  number of classes, but not this one...

You have two options now:

option 1. : switch to the standard TP shoutbox, which has layouts similar to the one you are using now

option 2. : change the tp-shout.css file
Line: 139: .shoutbox_time
comment out that section


.shoutbox_time {
display: block;
float: right;
padding-left: 5px;
}
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

jsx

@rjen,

Thank you for your help. Unfortunately, I can't install TinyPortal 2.0.0 right now because this information appears:

Database Error

Duplicate column name 'content'
File: /home/xxx/xxx/xxx/Packages/temp/install.php
Line: 884

$smcFunc['db_change_column']('{db_prefix}tp_shoutbox', 'value1', array( 'name' => 'content', 'type' => 'text', 'default' => ($db_type == 'mysql' ? null : '' )));

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.17, while your database is at version 2.0.15. The above error might possibly go away if you execute the latest version of upgrade.php.

Please help me again.

tinoest

Quote from: jsx on October 07, 2020, 09:10:47 AM
@rjen,

Thank you for your help. Unfortunately, I can't install TinyPortal 2.0.0 right now because this information appears:

Database Error

Duplicate column name 'content'
File: /home/xxx/xxx/xxx/Packages/temp/install.php
Line: 884

$smcFunc['db_change_column']('{db_prefix}tp_shoutbox', 'value1', array( 'name' => 'content', 'type' => 'text', 'default' => ($db_type == 'mysql' ? null : '' )));

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.17, while your database is at version 2.0.15. The above error might possibly go away if you execute the latest version of upgrade.php.

Please help me again.

Did you install 1.6.7 after you had installed 2.0.0?

If so you will have to drop some columns manually in the database. Otherwise the upgrade won't work.

Advertisement: