2025-01-10, 06:31 AM
(This post was last modified: 2025-01-10, 06:34 AM by donutello. Edited 1 time in total.)
Hi guys.
Is there a way to translate "Add image to post" (see attached image, please)? I am talking about this plugin: https://postimages.org/mybb
This plugin has only one file: image_upload.php
And I don`t see "Add image to post". Is there a way to translate it?
Thank you.
Is there a way to translate "Add image to post" (see attached image, please)? I am talking about this plugin: https://postimages.org/mybb
This plugin has only one file: image_upload.php
<?php
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
$plugins->add_hook("pre_output_page","image_upload");
function image_upload_info()
{
return array(
"name" => "Image Upload",
"description" => "The easiest way to attach images to posts",
"website" => "http://community.mybb.com/mods.php?action=view&pid=765",
"author" => "Postimage Team",
"authorsite" => "http://postimage.org/",
"version" => "1.0.3",
"compatibility" => "*"
);
}
function image_upload($page)
{
return str_replace("</head>","<script type='text/javascript' src='//mod.postimage.org/mybb.js' charset='utf-8'></script>\n</head>",$page);
}
?>
And I don`t see "Add image to post". Is there a way to translate it?
Thank you.