ACP Images Do Not Use Asset URL
0
236
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

1 participant


ACP Images Do Not Use Asset URL
ACP Images Do Not Use Asset URL

<span style="font-weight: bold;" class="mycode_b">Version:</span> 1.8.33 specifically for me (but could be others as well)<br />
<span style="font-weight: bold;" class="mycode_b">Board URL:</span> <a href="https://devbb.mysite.com/forum" target="_blank" rel="noopener" class="mycode_url">https://devbb.mysite.com/forum</a><br />
<span style="font-weight: bold;" class="mycode_b">File/Folder Directory:</span> <span style="font-family: Courier New;" class="mycode_font">public_html/forum/[<span style="font-style: italic;" class="mycode_i">allmybbfileshere</span>]</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Description:</span><br />
In the AdminCP images used for post icons, set as default theme, task manager icons, and so on look to be just coded as /images/etcetcetc instead of using the asset URL defined in the ACP.<br />
<br />
So all of these images are not loading because they're trying to use <span style="font-family: Courier New;" class="mycode_font">devbb.mysite.com/images/etcetcetc</span> (which points to the public_html directory) instead of <span style="font-family: Courier New;" class="mycode_font">devbb.mysite.com/forum/images/etcetcetc</span> (which "forum" is the directory where the mybb forum is).<br />
<br />
This problem only occurs in the AdminCP. From the front end everything is fine as it is called forth with one of these variables in the URL.<br />
<pre class="block-code line-numbers language-none"><code class="language-none">{$mybb-&gt;asset_url}
or
{$mybb-&gt;settings['bburl']}</code></pre><br />
<span style="font-weight: bold;" class="mycode_b">Screenshots:</span><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46007" target="_blank" title="">Capture.PNG</a> (Size: 124.35 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46008" target="_blank" title="">Capture2.PNG</a> (Size: 185.71 KB / Downloads: 7)
<!-- end: postbit_attachments_attachment -->


https://community.mybb.com/thread-238362.html

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.

Messages In This Thread
ACP Images Do Not Use Asset URL - by Bot - 26-05-2023, 01:32 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)