Jump to content

(DP34) Advanced Thumbnails


DawPi

Recommended Posts

I had uploaded the updated files but will do so again.

If a post has an Internal and an External image, the mod could select the first one (or last .. maybe an acp choice)

How easy / difficult is it to detect the first image type and treat it accordingly?

It would probably be a very popular upgrade.

Neil

Link to comment
Share on other sites

  • Replies 239
  • Created
  • Last Reply

Hi Dawid, I've bought yet another one of your apps... This one really meets a pre-existing need of ours too!

One issue:

We've used the addon which brings topic descriptions back, and the Advanced Thumbnails don't take them into account.

For some reason, I can't upload an image here so I'll need to describe it:

Now, it looks like this (X-shape represents the thumbnail)...


XXXXXX


XXXXXX Topic title


XXXXXX


Topic description




We want it to look like this:


XXXXXXXX


XXXXXXXX Topic title


XXXXXXXX Topic description


XXXXXXXX




Basically, we need BOTH title and description to align at the right of the thumbnail.

How can we make this edit? I'd also suggest it be built in, for those who are in the same situation. :wink:

Also, can I suggest you include a stock "image not available" file for people to use in the /upload/ folder?

Thanks as always!
Link to comment
Share on other sites

Also, the prefix tag appears at the left of the image and it looks sort of weird...

I think what my team would like is if we could left align the image, so that all topic info appears to the right of the thumb, like this:

XXXXXXX [prefix] Topic title
XXXXXXX Title description
XXXXXXX Started by so and so

Clean, everything aligned evenly... Just a matter of visual flow, you know? :)

Link to comment
Share on other sites

Sat0ri,
Ok, could you check (only you - if will be fine I'll update the mod for everyone)..

Open file: hooks/dp3_adt_forumViewSkinOverloader_{xxx}.php
Find:

$data['prefix'] = "<img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' height='" . $data['adt_height'] . "px' title='" . $data['title'] . "' /> &nbsp;" . $data['prefix'];[/CODE]

Change to:

[CODE]$data['tags']['formatted']['prefix'] = "<span style='float:left;'><img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' height='" . $data['adt_height'] . "px' title='" . $data['title'] . "' /></span> &nbsp;" . $data['tags']['formatted']['prefix'];



On my dev board works, but please check it on yours (with topic descriptions).

Link to comment
Share on other sites

A couple of things:

post-35543-0-83372300-1321343055_thumb.p

a. The image has no right padding, for layout balance, needs a little space imho.

b. The tags continue onto another line (starting under the image), would like to have all text to the right of the image.

Those are perhaps minor adjustments, I think they clean up the appearance... Quick visual with edits:

post-35543-0-35549300-1321343388_thumb.p


What do you think? :)

Link to comment
Share on other sites

So check this code:


$data['tags']['formatted']['prefix'] = "<span style='float:left; padding-right: 5px;'><img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' height='" . $data['adt_height'] . "px' title='" . $data['title'] . "' /></span>  " . $data['tags']['formatted']['prefix'];




"Parse error: syntax error, unexpected $end in /home/user/public_html/forum/admin/applications_addon/other/athumbnails/modules_admin/tools/tools.php on line 1"


Grr, again?
Did you reupload all files?
Link to comment
Share on other sites

  • 4 weeks later...

Sat0ri,


Ok, could you check (only you - if will be fine I'll update the mod for everyone)..



Open file: hooks/dp3_adt_forumViewSkinOverloader_{xxx}.php


Find:


$data['prefix'] = "<img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' height='" . $data['adt_height'] . "px' title='" . $data['title'] . "' /> &nbsp;" . $data['prefix'];[/CODE]

Change to:

[CODE]$data['tags']['formatted']['prefix'] = "<span style='float:left;'><img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' height='" . $data['adt_height'] . "px' title='" . $data['title'] . "' /></span> &nbsp;" . $data['tags']['formatted']['prefix'];



On my dev board works, but please check it on yours (with topic descriptions).



Hi Dawid, this has been a good solution for our needs, except for one thing...

Changing the file you suggested works well, until we rebuild our skins for any reason, then the changes are erased.

So basically, it's effecting a cached file or something?

Any way to make the change to the core app file, from which the skins are rebuilt?
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

This isn't working for me. I installed it, and enabled it in the 10 different places you have to enable it, but still nothing is showing up.



Works fine.. I just checked this for you - set the settings for 'admin' forum, posted topic with image and check on the topics list - works. :)
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...