I'm working on an update for this ext now, wrestling through a few problems.Theriddler1 wrote: ↑Thu Jun 01, 2017 10:08 amSo i believe if this extension uses own database tables to store it's data connected with the post id where to show it will be better.
Code: Select all
public function posting_modify_message_text($event)
{
$message = $event['message_parser'];
$this->user->data['is_mobile'] = $this->mobile_device_detect();
if ($this->user->data['is_mobile'] && $event['mode'] != 'edit' && !$event['preview'] && !$event['refresh'])
{
$status = $this->mobile_device_detect();
$board_url = generate_board_url() . '/';
$text = $this->user->lang['POST_MADE_VIA'];
$message->message .= "\n\n[size=85][b][i][ " . $text . " " . $status[1] . " ][/i][/b][/size] [img]" . $board_url . "ext/sniper/mobiledevice/images/" . $status[1] . ".png[/img]";
$event['message_parser'] = $message;
};
}
Code: Select all
$message->message .= "\n\n[size=85][b][i][ " . $text . " " . $status[1] . " ][/i][/b][/size]
Yes, I will create another table for the posts then add an event template to append the "Post made via Mobile Device" in with the post. Then disabling the extension will remove it from all your previous posts. But sorry, in your old posts with previous versions of mobiledevice you will have to manually edit them out.Theriddler1 wrote: ↑Wed May 31, 2017 8:59 pm As nice as this extension seems the trouble begins when you uninstall the extension.
You have to keep the phone image files on the server because the phone images are still present in the post pages.
Is it possible to remove them when you uninstall the extension.
La pagina web all'indirizzo http://127.0.0.1/testforum/adm/index.ph ... ode=config potrebbe essere temporaneamente non disponibile oppure è stata permanentemente spostata a un nuovo indirizzo web.
ERR_CONTENT_DECODING_FAILED
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/AustinMaddox/s3/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 67: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 542: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 543: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 542: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 543: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4517: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4517: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4517: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)