Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

October 02, 2022, 04:54:33 PM

Login with username, password and session length

Recent Posts

Pages: [1] 2 ... 10
1
Block Codes / Re: photo block from frontpage
« Last post by SamoanOnion on September 20, 2022, 03:48:30 AM »
Thanks!
2
Block Codes / Re: photo block from frontpage
« Last post by @rjen on September 20, 2022, 03:45:13 AM »
Welcome to TinyPortal.

The block you are referring to is using a html code with a 'slider'.
It was asked about before here: https://www.tinyportal.net/index.php?topic=36201.msg295560#msg295560

Mind you: you will need to install some script...
The slider code comes from here: https://bxslider.com/

And to give you an example: the block is a HTML/Javascript block, that holds below code...

Code: [Select]
<!-- Start HEAD section --> <!-- add to the <head> of your page -->
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> -->
<!-- End HEAD section -->
<!-- Start BODY section --> <!-- add to the <body id="tpbody" class="tpcontnainer"> of your page -->

<script type="text/javascript">
  $(document).ready(function(){
   
$('.bxslider').bxSlider({
  auto: true,
  autoControls: true,
  speed: 600,
  responsive: true,
  captions: true,
});
  });
</script>

<ul class="bxslider">
  <li><img src="data1/images/articles.png" title="A Powerful Article System"/></li>
  <li><img src="data1/images/blocks.png" title="Blocks Built in, or Create Your Own"/></li>
  <li><img src="data1/images/downloads.png" title="A Built In Downloads System"/></li>
  <li><img src="data1/images/menu.png" title="Menu's and Site Maps"/></li>
  <li><img src="data1/images/shoutbox.png" title="A Great Shoutbox"/></li>
  <li><img src="data1/images/adminp.png" title="A Neat Admin Panel"/></li>
</ul>

<!-- bxSlider Javascript file -->
<script src="https://tinyportal.net/bxslider/jquery.bxslider.min.js"></script>
<!-- bxSlider CSS file -->
<link href="https://tinyportal.net/bxslider/jquery.bxslider.css" rel="stylesheet" /> <!-- replace with link to the css -->
3
Block Codes / photo block from frontpage
« Last post by SamoanOnion on September 20, 2022, 01:24:34 AM »
hello,

I was looking for the code to create the block like the one on the frontpage that scrolls through a few selected images.
4
Support / Re: Unable to load the 'main_above' template.
« Last post by @rjen on September 12, 2022, 08:24:13 AM »
Thanks for all your help @rjen

I've fixed the problem - it was an old theme that the DL part of TP was looking for but the path to the theme in SMF was incorrect.

It is nice that you found the problem: I am a bit confused though, because I cannot reproduce the error in any way:
1. Tried to delete the previously assigned theme: TinyPortal falls back to the default...
2. Tried by deliberately breaking the theme paths: TinyPortal page shows up without formatting, but it does show...

Would you mind sharing how exactly you managed to break it so it would result in the Unable to load the 'main_above' template error? Perhaps we can prevent such errors in future...
5
Support / Re: Choose from multiple layouts to present the dialog
« Last post by @rjen on September 06, 2022, 11:19:35 PM »
That depends on which TinyPortal version you are using…

What version are you on?

In the latest versions you select the layout in the block settings.

See: https://www.tinyportal.net/docs/index.php?page=TPShout-block

In older versions it was a forum-wide setting in the shoutbox settings…
6
Support / Choose from multiple layouts to present the dialog
« Last post by kieranmartin6223 on September 06, 2022, 08:03:27 PM »
Not exactly support but a question.

You say "You can pick and choose from multiple layouts to present the shoutbox in your forum. Layouts 1 and 2 are most suitable for using a side block, where layouts 3 and 4 will also work in a top or bottom block".

How the heck do you choose between layouts?
7
Support / Re: Unable to load the 'main_above' template.
« Last post by Data on September 06, 2022, 05:05:52 PM »
Thanks for all your help @rjen

I've fixed the problem - it was an old theme that the DL part of TP was looking for but the path to the theme in SMF was incorrect.

 
8
Support / Re: Unable to load the 'main_above' template.
« Last post by @rjen on September 06, 2022, 11:15:24 AM »
Did you use the downloads? Any entries in the tp_downloads table?

You can try this:
1. Create a full sql backup of all tp_ tables
2. Uninstall TP
3. Remove the tp_ tables from the database
4. Install TP clean

Check if it works now…
Then you can import the tp_ tables from the backup and see if it is ok…

It is a bit trial and error, best done on a test forum…
If you have that, give it a go, otherwise I am willing to test it if you can share the .sql backup of your tp_ tables.,.
9
Support / Re: Unable to load the 'main_above' template.
« Last post by Data on September 06, 2022, 10:44:45 AM »
What exactly do you mean with 'the downloads broke' ?

That makes me a bit suspicious...

When I clicked a link to goto the downloads nothing happened, not even an error message that I can remember.

I agree with you that there is something wrong in the DB.
10
Support / Re: Unable to load the 'main_above' template.
« Last post by @rjen on September 06, 2022, 10:36:06 AM »
Need to go now but what I recommend is that you make sure to create a phpmyadmin backup of all tp_ tables from your forum.

Store that safely.

I am starting to suspect that there is something off in one of the tables.

Need to think about that a bit...
Pages: [1] 2 ... 10