Advertisement:

Author Topic: TinyPortal  (Read 775913 times)

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2560 on: December 31, 2019, 06:30:30 AM »
Those ads can take a bit of time to show up, as you probably already know.  And make sure your browser isn't blocking them.

Just chuck the code in a HTML/JavaScript block and activate it. 

I would recommend you set the block:

Frame Options: Do not use title/frame styles
Allow block to collapse: Do not allow this block to collapse.

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,105
  • Hoarding Budweiser in NY
Re: TinyPortal
« Reply #2561 on: December 31, 2019, 03:57:53 PM »
Got it working in SP, but prefer to use TP.  Had to disable three layers of security to see the ads, including my AV.  Everything google does is just crawling with crap. >:(  Is there any way to resize the ads?  They're way too big.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2562 on: December 31, 2019, 04:22:36 PM »
Got it working in SP, but prefer to use TP.  Had to disable three layers of security to see the ads, including my AV.  Everything google does is just crawling with crap. >:(  Is there any way to resize the ads?  They're way too big.

What add type of Google add units are you using?  Google Display adds are responsive by default.  Google In Feed adds and In Article.  And Google auto adds are ok, they are responsive, but can be a bit hit and miss where they display.


Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,105
  • Hoarding Budweiser in NY
Re: TinyPortal
« Reply #2563 on: December 31, 2019, 04:55:03 PM »
It's not responsiveness that's the problem, it's the size of the ads in pc view.  I have access to the client's adsense account, will take a look soon as I finish the migration I'm working on.

Offline dowhelp

  • Semi-Newbie
  • *
  • Posts: 25
Re: TinyPortal
« Reply #2564 on: January 11, 2020, 10:09:41 PM »
Hi Lurkalot

Firstly great mod. Thank you

Secondly, I have an issue.

When I uninstall 1.6.3 and install 1.6.4. The blocks containing the mods are missing. If I restore 1.6.3 then all is as should be.

I am on 2.0.17 but this was same on 2.015/6

Any help appreciated.

Thank you.


Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2565 on: January 12, 2020, 03:16:15 AM »
In TinyPortal check the setting: Use language visibility option for blocks?

If it is set uncheck it. That will make the blocks show again.
If you leave it set to ‘on’ you can specify in the block settings for what languages the block will show. If no language is selected it will not show at all..

This feature was broken before 1.6.4. and is fixed now...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline dowhelp

  • Semi-Newbie
  • *
  • Posts: 25
Re: TinyPortal
« Reply #2566 on: January 12, 2020, 08:28:23 AM »
@rjen thank you

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
    • WYLEK.RU
Re: TinyPortal
« Reply #2567 on: January 14, 2020, 04:22:33 AM »
Hi.
I have installed the SimpleSEF mod (https://github.com/dragomano/SimpleSEF).
For the SimpleSEF mod to work with Tinyportal.

SimpleSEF.php

Find
Code: [Select]
if (isset($sefstring3))
$sefstring .= $sefstring3;

Replace
Code: [Select]
if (empty($sefstring3))
$sefstring .= $sefstring3;
         
Find
Code: [Select]
$start = $data[1] ?: 0;
Replace
Code: [Select]
$start = isset($data[1]) ? $data[1] : 0;         


It is not possible to go to the Tinyportal menu via the Downloads link. This is how it works with the SimpleSEF mod and without it.

TPSubs.php

Find
Code: [Select]
'href' => $scripturl . '?action=tpmod;dl',
Replace
Code: [Select]
'href' => $scripturl . '?action=tpmod;dl=1',

TPdlmanager.template.php

Find
Code: [Select]
'frontdl' => array('text' => 'tp-downloadss1', 'lang' => true, 'url' => $scripturl . '?action=tpmod;dl' ),
Replace
Code: [Select]
'frontdl' => array('text' => 'tp-downloadss1', 'lang' => true, 'url' => $scripturl . '?action=tpmod;dl=1' ),

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2568 on: January 28, 2020, 11:28:01 AM »
I just installed TinyPortal 1.6.4 and this is how my homepage (/index.php) is showing:

Any ideas?

SMF 2.0.17, no other mods or themes, PHP 7.2.26.

Coming up from a 1.1.20 to 2.0.17 upgrade. The 1.1.20 install HAD a TinyPortal mod, but I don't know which one.

"Greeting Death as an old friend, they departed this life as equals."

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2569 on: January 28, 2020, 11:38:47 AM »
Mmm, looks a bit wonky.

Was the old Tinyportal uninstalled prior to upgrade?
Link to the forum?
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2570 on: January 28, 2020, 12:07:31 PM »
Mmm, looks a bit wonky.

Was the old Tinyportal uninstalled prior to upgrade?
Link to the forum?

No, it wasn't because prior upgrade the forum was unaccessible.

I'm guessing I would have to uninstall 1.6.4, drop the related tables and reinstall?

http://www.projumpforum.com/index.php

"Greeting Death as an old friend, they departed this life as equals."

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2571 on: January 28, 2020, 12:28:30 PM »
Quote
I'm guessing I would have to uninstall 1.6.4, drop the related tables and reinstall?

If you are not worried about loosing the content of blocks and articles from the old forum, that should work ok.
Can you still access the package manager?
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2572 on: January 28, 2020, 12:39:21 PM »
If you are not worried about loosing the content of blocks and articles from the old forum, that should work ok.
Can you still access the package manager?

Yes, I do have full access to the forum now, but I just had that issues reinstalling TinyPortal.

So the best course of actions is what I said or is there a better one?

"Greeting Death as an old friend, they departed this life as equals."

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2573 on: January 28, 2020, 12:52:15 PM »
If you are not worried about the content your plan is the best one...

If you are worried about the content then you should try to find the cause of the errors.

Cannot see from this error what the cause is:
Notice: Undefined variable: tab1 in /homepages/10/d107635368/htdocs/Forum/Themes/default/TPsubs.template.php(141) : eval()'d code on line 1

Have you checked the option "Disable evaluation of templates"?
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2574 on: January 28, 2020, 01:02:12 PM »
Additional info: looking at the site code makes me suspect that there is code in the TinyPortal blocks that may be incorrect and may be causing the errors. You could try to go to TinyPortal admin and disable all blocks.

http://www.projumpforum.com/index.php?action=tpadmin;sa=blocks

I suspect that will fix the layout, then switch on the blocks one by one, and see which is causing the distortion of the page... that would be your culprit(s)
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2575 on: January 28, 2020, 01:09:59 PM »
That was it. When I disabled all the blocks the forum came back to normal. Now I'll have to figure out which block are causing issues and fix them, but I think I can do it myself.

Thanks for the help, much appreciated!

"Greeting Death as an old friend, they departed this life as equals."

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2576 on: January 28, 2020, 01:15:45 PM »
You're welcome  ;)

By the way: you have TP 1.6.3 installed, not 1.6.4...

not much difference, but 164 has a number of bugfixes..

Relevant to 2.0 and 2.1:
- added functionality for social buttons to use 'query title' for article links
- updated menu manager to use 'query titles' for articles and 'short names' for categories
- added language visibility functionality to frontpage blocks
- added extra layout option to articles: 'Use frame style, but not title style'. This allows for removal of title bar for articles without titles
- updated source code and templates for better html5 compliance
- fixed error '8: Undefined variable: count' due to function art_recentitems
- fixed language visibility for blocks not working correctly
- fixed do_hooks.php function not running to manually add/remove hooks
- fixed error with constant SMF_FULL_VERSION when using SSI.php
- fixed Icon for 'General' category TPdownloads not correctly set on install
- fixed incorrect responsive behaviour Quickreply area
- fixed error 'undefined index: locked' for article authors on Category page
- fixed shoutbox creating double shouts on some forums
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2577 on: January 28, 2020, 01:21:56 PM »
Ah yeah, I forgot I uninstalled 1.6.4 and installed 1.6.3 to check if it was a version problem. Thank you, I just installed 1.6.4 back :)

"Greeting Death as an old friend, they departed this life as equals."

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2578 on: January 28, 2020, 02:07:41 PM »
Ah yeah, I forgot I uninstalled 1.6.4 and installed 1.6.3 to check if it was a version problem. Thank you, I just installed 1.6.4 back :)

Turning off the offending block and recreating them will sort some of the issues. And some custom blocks no doubt were written with code not compatible with SMF 2.0 example, not using $smcFunc

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2579 on: January 28, 2020, 05:10:57 PM »
The articles are showing as plain HTML. I'm not really familiar with TinyPortal, there are a LOT of features. Am I missing something?

http://www.projumpforum.com/index.php?page=82

"Greeting Death as an old friend, they departed this life as equals."