Jump to content

(DP34) Advanced Thumbnails


DawPi
 Share

Recommended Posts

%7Boption%7D



File Name: (DP34) Advanced Thumbnails

File Submitter: DawPi

File Submitted: 15 May 2010

File Category: Promotion

Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x



With this mod you can show small thumbnails from each first post in topic on the forum main view. This mod take first uploaded file ( must be image format ) and show it thumbnail on forum main board.


Features:

  • Enable/disable mod - per forum,
  • choose which groups can see thumbnails - per forum,
  • set width and height of each thumbnail - per forum,
  • choose what kind of images - external (entered by link) or internal (uploaded into board) you want show - per forum or choose the prority: first external then internal or vice versa,
  • set default image for specific forum or for all (global setting).



here to download this file

Link to comment
Share on other sites

Hello guys!


Hi, I installed this mod and do not let me select External Images, I select it but change only Internal Images.



Could you send me access to your ACP? I never got this error.



1. Does this mod require any hacks (edits of IPS files) ?



2. Are the thumbs created by resizing the image to a new smaller image, or by adding width and height attributes to the original image?



Ad 1 - unfortunatelly yes - if IPS will allow add new form items into forums edit then I'll try do this without edits.
Ad 2 - by adding.




This mod is for 3.x series.
Link to comment
Share on other sites

  • 2 weeks later...
  • 5 weeks later...

Great work!
Im interested in buying but I just want to know what is happening when type of image is set to internal and there are only external images in post? Is thumbnail than generated with external image?

And one more... Does the image keep proportions after resizing or it fit in given width and height?

I hope u understand what I am asking :)

Link to comment
Share on other sites

  • 2 months later...

Open file: admin/applications/forums/modules_public/forums/forums.php
Find:

if ( $dp3_settings['adt_enable'] AND in_array( $this->memberData['member_group_id'], explode(',', $dp3_settings['adt_groups'] ) ) )

Change to:

if ( $dp3_settings['adt_enable'] AND in_array( $this->memberData['member_group_id'], explode(',', $dp3_settings['adt_groups'] ) ) AND count( $topic_ids ) )


Works?

Link to comment
Share on other sites

  • 2 months later...

Quick fix fir 3.1.3+ users


Open: admin/applications/forums/modules_public/forums/forums.php

Find:

'where'  => "a.attach_post_key = p.post_key AND a.attach_is_image = 1 AND a.attach_approved = 1",

Change to:

'where'  => "a.attach_post_key = p.post_key AND a.attach_is_image = 1",



I'll release new version soon. :)

Edited by DawPi
Link to comment
Share on other sites

  • 3 months later...

I don't understand what is meant by INTERNAL image? What are they exactly?

Can this be set up automatically use the original posters PROFILE PICTURE?

EXTRA CREDIT: Could it be made to allow the poster to select a thumbnail from their Gallery (4.01)?

Thanx

Neil

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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