![]() |
Any chance of one that only does the attachments and images in posts excluding the sigs lol
|
Awesome mod!
|
I have a quick fix for preventing all post (and/or sig) images opening in new tabs.
Change: Code:
$post['message'] = str_replace('<img', '<img style="max-width: ' . $this->registry->options['gquick_autoresize_maxwidth'] . 'px; cursor: pointer;" onclick="window.open(this.src)" ', $post['message']); Code:
$post['message'] = str_replace('<img', '<img style="max-width: ' . $this->registry->options['gquick_autoresize_maxwidth'] . 'px; " ', $post['message']); Change: Code:
$post['signature'] = str_replace('<img', '<img style="max-width: ' . $this->registry->options['gquick_autoresize_maxwidth'] . 'px; cursor: pointer;" onclick="window.open(this.src)" ', $post['signature']); Code:
$post['signature'] = str_replace('<img', '<img style="max-width: ' . $this->registry->options['gquick_autoresize_maxwidth'] . 'px; " ', $post['signature']); |
Quote:
|
Does this also work for images in cms articles?
EDIT: No it doesn't, could you also work on a seperate addon which would do cms and blog's aswell? |
Anyone figure out a way to have it say something like click to view full size?
|
Can anyone explain barney style on how to install this mod?
|
All times are GMT. The time now is 07:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|