3.3.x Extensions Database 3.2 / 3.3Topic Image

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6483
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Topic Image

Post by dmzx »

Extension Name: Topic Image
Author: dmzx & martin

Special thanks to: clight77 for making this development possible.

Extension Description:
Topic image on index extension.

dmzx/Topic-Image


- Added WebP case.


- Code update.
- Added title to images option and colour option.
- Added width selection in APC.


- Added limit for images in topics.
- Added Cron for deleting and grabbing images.
- Code updates.


Screenshots:
Image

Image

Image

Extension Download:
Download-link
Topic Image v1.0.3
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `topicimage`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `topicimage` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/topicimage/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Topic Image` under the Disabled Extensions list, and click its `Enable` link.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6483
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Topic Image

Post by dmzx »

First post taken....

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

clight77
Donator
Donator
Status: Offline
User theme: Dark
Posts: 504
Joined: Sep 24th, '15, 14:23
    Windows 10 Chrome

Re: Topic Image

Post by clight77 »

Thanks, I like it :)
Suits my site :)

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

clight77
Donator
Donator
Status: Offline
User theme: Dark
Posts: 504
Joined: Sep 24th, '15, 14:23
    Windows 10 Chrome

Re: Topic Image

Post by clight77 »

Just a suggestion.
I think ext could have a auto prune function in ACP for the oldest as it seems after 1000 - 1500 images site tends to slow down.

Possible to do ?

Cheers :

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Hamidouki-dz
Users
Users
Status: Offline
User theme: Dark
Posts: 164
Joined: Sep 1st, '18, 09:26
    Android Chrome

Re: Topic Image

Post by Hamidouki-dz »

Hello
does the extension function on phpbb version 3.2.7
Thanks

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Topic Image

Post by Sniper_E »

clight77 wrote: Feb 27th, '21, 16:17Just a suggestion.
Sniper_E wrote: Feb 27th, '21, 16:38Just a suggestion.
You should update your phpbb version 3.2.7 to 3.3.3
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6483
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Topic Image

Post by dmzx »

Hamidouki-dz wrote: Mar 3rd, '21, 08:13 Hello
does the extension function on phpbb version 3.2.7
Thanks
No only: PHPBB_VERSION, '3.3.0', '>='

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Hamidouki-dz
Users
Users
Status: Offline
User theme: Dark
Posts: 164
Joined: Sep 1st, '18, 09:26
    Android Chrome

Re: Topic Image

Post by Hamidouki-dz »

I have a lot of html code on my forum, and it is difficult to update it otherwise I will have a lot of problems fixing the errors.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5116
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Topic Image

Post by martin »

Then you just learnt a lesson dont edit core files.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Topic Image

Post by Sniper_E »

Dm has an extension that will allow you to make those core edits, then you can do phpbb updates and still have your ext core edits.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

faroud
Users
Users
Status: Offline
User theme: Dark
Posts: 141
Joined: Jul 11th, '15, 09:08
    Windows 10 Firefox

Re: Topic Image

Post by faroud »

How does that work?
I uploaded it and turned it on
but don't see anything?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

clight77
Donator
Donator
Status: Offline
User theme: Dark
Posts: 504
Joined: Sep 24th, '15, 14:23
    Windows 10 Chrome

Re: Topic Image

Post by clight77 »

faroud wrote: Mar 3rd, '21, 17:57 how does that work?
I uploaded it and turned it on
but don't see anything?
click on a forum or 2 that contains images then they should show, select forums in ACP Image Topic 1st.

Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6483
Joined: Jan 13th, '14, 20:45
    Android Chrome

Re: Topic Image

Post by dmzx »

I will post a how to use soon for this.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5116
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Topic Image

Post by martin »

Select the forums you want to get images from and then click on grab now button.

You can also set group permissions to grab images this will update images also as members surf your board.

Note it only works on img tags not attachments.
Screenshot from 2021-03-03 20-09-11.png
Screenshot from 2021-03-03 20-12-16.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

umi
Users
Users
Status: Offline
User theme: Dark
Posts: 89
Joined: Aug 5th, '19, 12:18
    Windows 7 Firefox

Re: Topic Image

Post by umi »

Spanish Language
es.zip
:beers: :beers: :beers:
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.