Jump to content

Topic Thumbnail for IPS4.x


onlyME

Recommended Posts

Posted

Hi all,

I released 1.1.10

  • Fixes permission bug in search results & activity streams.
  • New option to enable/disable showing thumbnails in search results & activity streams.
Posted
Just now, GoGators said:

After the last patch, the thumbnails are available in all forums, even though I only enabled it in one forum.

In search results or in forums?

Posted
2 hours ago, GoGators said:

Hello OnlyME,

When I close a topic, and uncheck "Closed" in the Thumbnail Widget, it still displays the thumbnail.

Hi,

I confim this bug, it will be fixed in the next version.

Posted (edited)

Got a wild one for you. 

Custom theme, but the main change is just a fixed position header.

Plugin works fine on default of course.

On this theme, any thumbnails, whether from the first post or uploaded separately as a topic thumbnail, if the image is mostly square in ratio ie 300x300, 700x700, etc. the hover function only works on the very left edge of the thumbnail. Anywhere else and the it breaks, repeatedly trying to insert the <p> element.

If the images are not square *or* they are the default thumbnail (square or otherwise) they work fine.

Took a quick look at the hover js and didn't see anything that jumped out at me. Any guesses?

EDIT: Found the problem.

.ipsLayout_container {
    max-width: 100%;
    padding: 0 6%; 
}

If a left/right padding is applied to ipsLayout_container and it is not a fixed number of pixels but instead a percentage the y function in your js breaks.

Found it when I collapsed the browser to tablet view and everything worked fine.

Any way you can account for padding width percentages in your js?

Edited by Expeditiary
Posted
4 minutes ago, Expeditiary said:

Got a wild one for you. 

Custom theme, but the main change is just a fixed position header.

Plugin works fine on default of course.

On this theme, any thumbnails, whether from the first post or uploaded separately as a topic thumbnail, if the image is mostly square in ratio ie 300x300, 700x700, etc. the hover function only works on the very left edge of the thumbnail. Anywhere else and the it breaks, repeatedly trying to insert the <p> element.

If the images are not square *or* they are the default thumbnail (square or otherwise) they work fine.

Took a quick look at the hover js and didn't see anything that jumped out at me. Any guesses?

I don't understand the problems you got. Can you give me the screenshots?

Posted
.ipsLayout_container {
    max-width: 1340px;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
}

That's the default theme css. Works.

Now change that to this, still on the default theme:

.ipsLayout_container {
    max-width: 1340px;
    padding: 0 75px;
    margin: 0 auto;
    position: relative;
}

Hover now breaks. It starts to break at about 50px;

You can reproduce this on your demo site, just use a browser inspector to change the padding on ipsLayout_content

Since my theme uses percentages it was easily greater than 50px most of the time.

Posted

I can work around this easily enough by swapping out the padding for custom margin-left margin-right calls so no big deal for me now that I know how to fix it but very cool you are fixing it as others might have the same problem.

:thumbsup: Great fast support response!

Posted

Hello guys.

I want to ask you for advice. I have two sites, one is based on Wordpress and the other is IPBoard 4 equipped with thumbnail awesome plugin.

I wish to display latest topics from ipboard directly on wordpress site the same way this plugin's widget works (row with thumbnails).

However I'm not sure what would be the best and fastest way to access this data from ipboard. 

I have two options, mysql query (but I can't find any example how to make external connection and access this data), or php parser (easiest way, but also the slowest). 

Any advice would be very appreciated. Love this plugin so far ^_^ 

 

 

Posted
2 minutes ago, WhyCry said:

Hello guys.

I want to ask you for advice. I have two sites, one is based on Wordpress and the other is IPBoard 4 equipped with thumbnail awesome plugin.

I wish to display latest topics from ipboard directly on wordpress site the same way this plugin's widget works (row with thumbnails).

However I'm not sure what would be the best and fastest way to access this data from ipboard. 

I have two options, mysql query (but I can't find any example how to make external connection and access this data), or php parser (easiest way, but also the slowest). 

Any advice would be very appreciated. Love this plugin so far ^_^ 

 

 

Hi,

It was built as a plugin of IPS, so it doesn't work with wordpress.

Posted
1 hour ago, onlyME said:

Hi,

It was built as a plugin of IPS, so it doesn't work with wordpress.

I hope you read my question, because that's quite obvious that this plugin does not work for wordpress..

What I want to achieve is to access IPB data through mysql and display thumbnails on wordpress site. 

 

Posted
1 minute ago, WhyCry said:

I hope you read my question, because that's quite obvious that this plugin does not work for wordpress..

What I want to achieve is to access IPB data through mysql and display thumbnails on wordpress site. 

 

Hi,

The thumbnails was saved in colums topic_thumbnail and upload_thumbnail in table forums_topics. You can use sql query to get the data.

  • 2 weeks later...
Posted (edited)

Hi, how to change from this

<option value="tthumbnail" selected="">----------------</option>

to this

<option value="tthumbnail" selected="">Atomatic</option>

? In the options translations do not have this variable.

tthumb.png

Edited by Namo
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...