[ABD] Images from posts

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
elawrenc
Registered User
Posts: 141
Joined: Thu Jul 21, 2011 2:41 pm

Re: [DEV] Images from posts

Post by elawrenc »

I just noticed this will display images from unapproved topics. Can you change this so that only approved topics can have their images displayed or at least give us the option in the config?
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] Images from posts

Post by ViolaF »

Have it, its the "Scheuer-Script" + the rest, so fully based by this mod (Demo I - Demo II). So a direct port or fork, enough for giving full credit to the linked author.
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [DEMO] Images from posts

Post by [email protected] »

ViolaF, Check this mod: http://custom.simplemachines.org/mods/i ... p?mod=1151 like?

The code in an archive file watched? ;)
Last one image attachments each topic in the block on the main and first in topic list.
No IMG tags in the messages.

Archive has been updated, new features + identifies the authors javascript frameworks.
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
User avatar
girello
Registered User
Posts: 169
Joined: Tue Mar 30, 2010 8:53 am
Location: italia

Re: [BETA] Images from posts

Post by girello »

oh nice good extension [email protected]

very tnx :D
i have insert into my photographic forum

http://www.photogirello.it/forummn/index.php

Is possible see last picture attachment in first page near topic?
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] Images from posts

Post by [email protected] »

More functionality will not be added, only the current revision, what require for my forum.

New opportunities may be in other extensions. Sorry)))
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
Holger
Registered User
Posts: 1892
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [BETA] Images from posts

Post by Holger »

Thank you for this great ext!

Please check the English text. It is very hard to understand the functionality! And almost impossible to translate, I would like to provide the Swedish translation!
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] Images from posts

Post by [email protected] »

I will be glad to English)))
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
User avatar
nuxtovios
Registered User
Posts: 17
Joined: Tue May 29, 2007 6:06 pm

Re: [BETA] Images from posts

Post by nuxtovios »

Hi there

When i enter a topic to ignore with no comma "65" nothing happens
When i enter the topic id "65," with a comma i get this error.

Code: Select all

General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND t.forum_id NOT IN (0) GROUP BY a.topic_id DESC LIMIT 9' at line 8 [1064]

SQL

SELECT a.attach_id, a.post_msg_id, a.physical_filename, a.real_filename, a.extension, t.topic_title FROM phpbb_attachments a, phpbb_forums f, phpbb_topics t WHERE (mimetype = "image/jpeg" OR mimetype = "image/png" OR mimetype = "image/gif") AND f.forum_id = 72 AND a.topic_id = t.topic_id AND t.forum_id IN (4, 5, 6, 21, 22, 23, 41, 62, 63, 64, 65, 68, 69, 70, 71, 72) AND t.topic_id NOT IN (65,) AND t.forum_id NOT IN (0) GROUP BY a.topic_id DESC LIMIT 9

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/mysql_base.php
LINE: 45
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 261
CALL: phpbb\db\driver\mysql_base->_sql_query_limit()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 321
CALL: phpbb\db\driver\driver->sql_query_limit()

FILE: [ROOT]/ext/bb3mobi/imgposts/event/listener.php
LINE: 174
CALL: phpbb\db\driver\factory->sql_query_limit()

FILE: [ROOT]/ext/bb3mobi/imgposts/event/listener.php
LINE: 64
CALL: bb3mobi\imgposts\event\listener->last_images_attachment()

FILE: (not given by php)
LINE: (not given by php)
CALL: bb3mobi\imgposts\event\listener->last_forum_images()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 164
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 53
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
LINE: 167
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 40
CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()

FILE: [ROOT]/viewforum.php
LINE: 404
CALL: phpbb\event\dispatcher->trigger_event()
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: [BETA] Images from posts

Post by ViolaF »

IN (4, 5, 6, 21, 22, 23, 41, 62, 63, 64, 65, 68, 69, 70, 71, 72) AND t.topic_id
NOT IN (65,)


Of course you dont have to put it IN and NOT IN
User avatar
qiaof
Registered User
Posts: 19
Joined: Tue Jan 18, 2011 2:50 am

Re: [BETA] Images from posts

Post by qiaof »

I wish that it not only works with attached images, but also work well with external images (Images from URL), third party images :D
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.

Re: [BETA] Images from posts

Post by draky »

Interesting.

Missing english translation in ACP settings EXT TAB : Делать изображения квадратными? :
Google Translate says "Making square image?" ;)
User avatar
nuxtovios
Registered User
Posts: 17
Joined: Tue May 29, 2007 6:06 pm

Re: [BETA] Images from posts

Post by nuxtovios »

after updating to the new version 1.0.2 i got 2 image sliders also the forward and back buttons don't work.
Image
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] Images from posts

Post by [email protected] »

qiaof, It is necessary separate extension will do.

draky, Added "Making square image?"

nuxtovios, Before you upgrade, you need to remove the old version or ext/styles/templates/
Move the event blocks.
General Error
SQL ERROR [ mysqli ]
Fixed

Update Extension.
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
Clubkop
Registered User
Posts: 11
Joined: Sun Jan 11, 2015 5:27 pm

Re: [BETA] Images from posts

Post by Clubkop »

Hello,

I installed this extension and it works perfect, thanks!

I have 1 question about it, the images / thumbnails are always square, (120 x 230 pixels).
In this way, when an image is not square, the extensions cuts something of the original image, so for example a rectangle is missing the top and bottom from the original image.

What do I have to do if I want the extension to show the original image, but only resized?
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [BETA] Images from posts

Post by cece74 »

Tested and fully functional!

Return to “Abandoned Extensions”