Please or Register to create posts and topics.

Simple Image Upload - Asgaros Forum

12

Updated the old plugin, now works with the forum 🙂

Description
This is a very simple alternative to attachment mod.
It works only with images and allows users to quickly add images to posts.
All images are stored on third party image hosting service and bbcode for
images is automatically inserted in posts when users upload images.
Thumbnails are automatically created on image hosting server.
This mod is very easy to install and very easy to use.

Other options and language settings are available here: http://postimage.org/mod.php

Download

Change the language:

wordpress-english.js

var postimage_lang="english";
var postimage_add_text="Add image to post";

english - Replace

afrikaans
  arabic
  armenian
  azerbaijani
  bangla
  basque
  bosnian
  bulgarian
  burmese
  catalan
  chinese_simplified
  chinese_traditional
  croatian
  czech
  danish
  dutch
  english  (default)
  estonian
  finnish
  french
  georgian
  german
  greek
  gujarati
  hebrew
  hindi
  hungarian
  icelandic
  indonesia
  italian
  japanese
  kazakh
  khmer
  korean
  kurdish
  kyrgyz
  lao
  latvian
  lithuanian
  macedonian
  malay
  marathi
  mongolian
  nepali
  norwegian
  panjabi
  persian
  polish
  portuguese
  portuguese_brazil
  romanian
  russian
  serbian
  serbian_lat
  slovak
  slovenian
  spanish
  spanish_america
  swahili
  swedish
  tagalog
  tamil
  telugu
  thai
  turkish
  turkmen
  ukrainian
  urdu
  uzbek
  vietnam
  welsh
  zulu
Uploaded files:
  • 7wtrKJsQRdaG6AAEvWX2lA.png
  • XOLHuV8hSfyAWLXSw19lfg.png
Asgaros has reacted to this post.
Asgaros

This is really a nice implementation, Yworld! 🙂

Yworld has reacted to this post.
Yworld
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

No problem 🙂

Thomas, thanks for the plugin!

Hi Yworld

I've downloaded your zip folder to my computer and unzipped the files.

My wordpress site with Asgaros forum is hosted by Hostpapa.

The readme.txt file has no content.

I presume the postimage.php and the wordpress-English.js files need to be uploaded to somewhere on Hostpapa but I have no idea where - can you or someone else help?

I have looked in a Cpanel-File Manager area and see the file structure for the Asgaros Forum as shown in the uploaded screen shot in case that helps.

Once the files are uploaded to the correct place, is there anything else I need to do to see that functionality appearing for ordinary users of the forum?

I'd be grateful for any comments on this (or if there is a simpler way to get this functionality since your post of January this year).

Regards

Gezza

 

 

Uploaded files:
  • asgaros-folders.jpg

Hi @gerald

Install as a normal plugin.

Thanks for the very quick response.

When I go to dashboard/plugins, I can search for plugins but don't know what to search for?

Also, if I try to install the zip file (which in theory it says it can do) it doesn't seem to recognise the zipped folder (ie it won't let me download that folder).

If I go to the unzipped folder, I don't see a plugin file as such ie I only see the two files I previously mentioned.

So pardon my ignorance, but are both the php and js files considered to be plugin files which I should install separately or am I missing something? You can probably tell I'm new to this technology but would like to learn.

Regards

Gezza

Unzip

folder simple-image-upload -> /public_html/wp-content/plugins/

Activate

Thanks for your patience.

I tried that and it would not let me upload the folder, so I just uploaded the php file. I also separately uploaded the js file into a js folder.

Then I went to the plugins folder where it duly appeared and I activated the SimpleImage plugin.

I updated the page with the Forum and then logged into the forum as an ordinary user to make a rely or create a new topic but cannot see the option to "Add image to post" like you show in your example.

My wordpress theme is the plain standard theme that comes when I recently installed wordpress in case that makes a difference - the forum is in the standard sample page.

Am I doing something wrong or is this a bug?

Thanks for any further comments.

Regards

Gezza

I checked again, everything works

Screenshot https://prnt.sc/lewlkq

I downloaded the archive ->downloaded as a plugin -> activated

Everything works, ideas run out 🙂

Thanks for testing that it works.

When you "download the archive and download as a plugin" does your system allow you to download the whole zipped folder because neither my cpanel/file manager or my wordpress/plugins/add new allows me to do that - ie I can only install (or download) an individual file.

That may not make any difference, but maybe someone who understands more about internet technology can think of more clues.

In the meantime, I'll have a fiddle and let this site know if I find anything useful.

Thanks once again for your time and suggestions.

Regards

Gezza

12