• Welcome to Simple Machines Community Forum. Please login or sign up.

TinyPortal

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

Previous topic - Next topic

mcsee

September 29, 2021, 06:28:56 AM #2960 Last Edit: September 29, 2021, 06:54:10 AM by mcsee
OK - I got what's show in attachment, but got it on all pages, so have now uninstalled Tiny Portal. Thanks, I'm doomed not to get it working. Thanks.

@rjen

You got all settings right except the settings in the shoutbox block itself. That is where you can set the shoutbox layout in the block and on what pages the block is displayed.
Running SMF 2.0 with Tinyportal 2.1.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

lurkalot

Quote from: mcsee on September 29, 2021, 06:28:56 AMOK - I got what's show in attachment, but got it on all pages, so have now uninstalled Tiny Portal. Thanks, I'm doomed not to get it working. Thanks.

Drop me a PM and I'll gladly set it for you or if preferred talk you through it if still interested.

shadav

I haven't really played with the download section
is there a way to set each of the download categories to post into a specific board instead of all downloads posting into one board?

using smf 2.0.18 but even in future on 2.1.x

lurkalot

October 01, 2021, 04:13:42 PM #2964 Last Edit: October 01, 2021, 05:00:50 PM by lurkalot Reason: Fixed typo
If you go to TP Downloads > Settings, you can select "Boards to use for support topics:"

Then you can select any of those boards when you create a download.

Not sure if that's what you mean?

shadav

sort of
what I would like is say ok I have a download category named mods and I have a board named mods I want to have downloads in that category to post to that board

then I have a download category named cas and I have a board named cas, I want to have downloads in that category to post to that board

@rjen

It is up to the user uploading the file to choose what board to post in. The list of allowed boards is global: you cannot restrict one category to one board and the second category to another board .
Running SMF 2.0 with Tinyportal 2.1.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

shadav

ok, I see how it works now...
I guess I can live with that, wish I could set it automatically in the admin so the user doesn't accidently select the wrong place to post as there's a lot of different boards

also would be nice if the upload button would realize what category you are in and populate it instead of having to go back through and find the correct category to upload to :)

shadav

where is the code for the part that gets posted to a board? I'd like it to include the image for the download, if there is an image

I'm assuming it's somewhere in the TPdlmanager.template.php file but haven't found it yet, did find the layout for the download's page and playing with that :)

shadav

 :laugh: sorry I'm being bothersome tonight  :P
um problem
it shows the same image on all the Recent files in the download (the last image uploaded)
You cannot see attachments on this board.
if you click on the listing/download on the download page the correct image shows up but on the recent listing it's not pulling the download number or whatever it needs to know which image goes to which recent listing
it's just using this for every image
tp-images/dlmanager/thumb/1uidpreview.png

shadav

Quote from: shadav on October 02, 2021, 08:30:07 PMwhere is the code for the part that gets posted to a board? I'd like it to include the image for the download, if there is an image

I'm assuming it's somewhere in the TPdlmanager.template.php file but haven't found it yet, did find the layout for the download's page and playing with that :)
ok well I found in sources.tpsubs.php this bit of code
$smcFunc['db_insert']('insert',

'{db_prefix}tp_events',

array(

            'id_member'     => 'int',

            'date'          => 'int',

            'textvariable'  => 'string',

            'link'          => 'string',

            'description'   => 'string',

            'allowed'       => 'string',

            'eventid'       => 'int',

            'on'            => 'int',

),

I've tried
'{db_prefix}tp_events',

array(

            'id_member'     => 'int',

            'date'          => 'int',

            'textvariable'  => '<img class="lazyload" src="'.$dlitem['bigshot'].'" style="max-width: 100%;" alt="" /><br />'.$dlitem['description'].'',

            'link'          => 'string',

            'description'   => 'string',

            'allowed'       => 'string',

            'eventid'       => 'int',

            'on'            => 'int',

),
but that breaks the download, if you try to submit a download you get an error message of hacking attempt....
mehhhh

landyvlad

Who has a site which uses the front page - with TinyPortal - to provide content that might replace a worpdress style cover page?

I'd like to see examples of what's possible.

So here's what I mean.
My wordpress: https://gsx1400owners.org/
My forum (frontpage): https://www.gsx1400owners.org/forum/

I'm looking to construct a front page - by whatever means is most effective - to replace the wordpress install and provide that information via TP panels and blocks.

I don't need the video (that's probably too much to ask anyway) using gallery images would be fine.  (SMF Gallery)
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

@rjen

Quote from: shadav on October 02, 2021, 07:31:23 PMok, I see how it works now...
I guess I can live with that, wish I could set it automatically in the admin so the user doesn't accidently select the wrong place to post as there's a lot of different boards

also would be nice if the upload button would realize what category you are in and populate it instead of having to go back through and find the correct category to upload to :)

I'll look into that
Running SMF 2.0 with Tinyportal 2.1.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

@rjen

Quote from: shadav on October 02, 2021, 09:28:21 PM:laugh: sorry I'm being bothersome tonight  :P
um problem
it shows the same image on all the Recent files in the download (the last image uploaded)
You cannot see attachments on this board.
if you click on the listing/download on the download page the correct image shows up but on the recent listing it's not pulling the download number or whatever it needs to know which image goes to which recent listing
it's just using this for every image
tp-images/dlmanager/thumb/1uidpreview.png

I am not able to reproduce that. Is this with unaltered TinyPortal code?
Running SMF 2.0 with Tinyportal 2.1.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

shadav

Quote from: @rjen on October 05, 2021, 02:15:59 AMI am not able to reproduce that. Is this with unaltered TinyPortal code?
yes default 2.0.1 tp code on 2.0.18

@rjen

The it is probably a very specific situation with the downloads being in different (sub?) categories?

Any chance you can explain exacly how you got this result?
Running SMF 2.0 with Tinyportal 2.1.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

shadav

yes they are in different sub categories
created a download in sub category named tops
everything looked fine
created a download in sub category named bottoms
and well the recent list displayed as shown above

and I lied if I go back to the first download created the image is now the same as the second

I think I know the issue though
they were both named the same thing preview.png
so tp renamed them both to 1uidpreview.png so the second image overwrote the first image...i get the 1uid as that's my user id but should also add to the rename the number id of the download

@rjen

Ah, that explains it. Hmm, not sure what do with it: TP adopts the Filenam and adds the uid thing. To prevent this from happening it should actually rewrite the filename as well....
Running SMF 2.0 with Tinyportal 2.1.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

jsx

How to set up in TP so that forum topics that are published on the home page of the portal have content? One topic displays some content, but the other two topics that are posted to the home page do not display the content. Only topic titles are displayed.

lurkalot

Quote from: jsx on October 11, 2021, 02:18:23 AMHow to set up in TP so that forum topics that are published on the home page of the portal have content? One topic displays some content, but the other two topics that are posted to the home page do not display the content. Only topic titles are displayed.

What versions of SMF and TinyPortal are you using? Also any other info such as front page settings etc would be helpful to narrow down the issue.

Advertisement: