Please or Register to create posts and topics.

Where are the uploads stored when creating new topic?

Hi,

This is by far the best wp forum plugin available for wordpress.

I have a question.  Where are the uploads stored when placing a new topic?  such as images, files, etc?

Also, since it is topic related, how can I change the wording for a non logged in person the following alert

“You need to login to have access to uploads.”

I want to change the wording for it.  Is there a way to do that on my theme rather than your plugin?  Ideally, it will be good to have this field (to change) in your plugins settings.

Please advise.

Thanks.

Hello goldstrikn,

the uploads for a post area saved in the following folder:

wp-content\uploads\asgarosforum\ID-OF-FORUM-POST\my-file.jpg

You can change the translation by adding the following code to your themes functions.php file:

add_filter('gettext', 'change_translations', 20, 3);

function change_translations($translated_text, $untranslated_text, $domain) {
  if ($domain === 'asgaros-forum') {
    switch ($translated_text) {
      case 'You need to login to have access to uploads.':
        $translated_text = 'Your new text.';
      break;
    }
  }

  return $translated_text;
}

 

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

Thanks for the quick reply.  By the way, I didn’t get alerted of your reply by email.  I just happen to view again this topic and notice your answer.  You may want to check that.

Have you subscribed to this topic via the link at the lower-left area?

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

ahh, that was the situation.  I didn’t subscribe to it.  Thanks for pointing that out.