Advertisement:

Author Topic: TinyPortal  (Read 794837 times)


Offline @rjen

  • Full Member
  • ***
  • Posts: 628
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2741 on: August 13, 2020, 12:33:52 PM »
where can I edit the user panel block?
what file?

TPsubs.template.php

function TPortal_userbox()
Running SMF 2.0 with Tinyportal 2.0.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.0.0 at test2.fjr-club.nl

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,707
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2742 on: August 13, 2020, 01:08:35 PM »
where can I edit the user panel block?
what file?

Or just add this to a php block and play with that. 
Code: [Select]
ssi_login();

Offline shadav

  • Full Member
  • ***
  • Posts: 673
  • Gender: Female
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: TinyPortal
« Reply #2743 on: August 13, 2020, 06:17:39 PM »
where can I edit the user panel block?
what file?

TPsubs.template.php

function TPortal_userbox()

Thank you

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

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

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,707
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2744 on: August 22, 2020, 08:09:43 AM »
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

Offline shadav

  • Full Member
  • ***
  • Posts: 673
  • Gender: Female
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: TinyPortal
« Reply #2745 on: August 29, 2020, 06:12:17 PM »
installed the update...still playing with it

found an extra } in tp-style.css
Code: [Select]
.tp_col8 {

float: left;

width: 50%;

}

}

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,707
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2746 on: August 29, 2020, 06:31:21 PM »
installed the update...still playing with it

found an extra } in tp-style.css
Code: [Select]
.tp_col8 {

float: left;

width: 50%;

}

}

Thank you shadav.   ;)

Offline njtweb

  • Sophist Member
  • *****
  • Posts: 1,079
Re: TinyPortal
« Reply #2747 on: August 31, 2020, 01:47:26 PM »
I'm SO EXCITED! Great news guys, thank you so much!

Offline njtweb

  • Sophist Member
  • *****
  • Posts: 1,079
Re: TinyPortal
« Reply #2748 on: September 25, 2020, 10:57:25 AM »
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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,966
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: TinyPortal
« Reply #2749 on: September 25, 2020, 11:09:55 AM »
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

Offline lesmond

  • Jr. Member
  • **
  • Posts: 102
  • Gender: Male
Re: TinyPortal
« Reply #2750 on: September 25, 2020, 12:00:51 PM »
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

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,707
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2751 on: September 25, 2020, 12:52:36 PM »
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

Down for me as well.

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.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,707
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2752 on: October 05, 2020, 06:00:27 PM »
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.

Offline jsx

  • Full Member
  • ***
  • Posts: 468
  • Gender: Male
Re: TinyPortal
« Reply #2753 on: October 06, 2020, 01:09:04 PM »
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:

The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline @rjen

  • Full Member
  • ***
  • Posts: 628
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2754 on: October 06, 2020, 01:46:07 PM »
First question: did you clear your browser cache?

Second question: link to the forum please?
Running SMF 2.0 with Tinyportal 2.0.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.0.0 at test2.fjr-club.nl

Offline jsx

  • Full Member
  • ***
  • Posts: 468
  • Gender: Male
Re: TinyPortal
« Reply #2755 on: October 07, 2020, 04:35:03 AM »
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.
The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline @rjen

  • Full Member
  • ***
  • Posts: 628
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2756 on: October 07, 2020, 05:07:35 AM »
I’ll look at it tonight.
Running SMF 2.0 with Tinyportal 2.0.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.0.0 at test2.fjr-club.nl

Offline @rjen

  • Full Member
  • ***
  • Posts: 628
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2757 on: October 07, 2020, 05:25:19 AM »
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

Code: [Select]
.shoutbox_time {
display: block;
float: right;
padding-left: 5px;
}
Running SMF 2.0 with Tinyportal 2.0.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.0.0 at test2.fjr-club.nl

Offline jsx

  • Full Member
  • ***
  • Posts: 468
  • Gender: Male
Re: TinyPortal
« Reply #2758 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

Code: [Select]
$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.
The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline tinoest

  • Development Contributor
  • Jr. Member
  • *
  • Posts: 255
Re: TinyPortal
« Reply #2759 on: October 07, 2020, 09:25:10 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

Code: [Select]
$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.