*

epsilon

  • ***
  • 91 posts
Advertisement
« on: October 07, 2024, 03:59:59 PM »
Hello, if I enter a banner html code in the advertisement area and then press the save button, the html code disappears again, why is that?

*

epsilon

  • ***
  • 91 posts
Re: Advertisement
« Reply #1 on: October 07, 2024, 04:07:39 PM »
In whichever file the banner areas are located, I would like to insert the HTML code into each individual area.

*

MB Themes

Re: Advertisement
« Reply #2 on: October 07, 2024, 09:12:01 PM »
you mean into themes banner? which theme?
as far as I can remember, this usually happens due to some security layer on hosting that does not allow especially javascript code like adsense (but often also endup with 403 error).

This can be tested by entering simple string... if this is saved, it's security.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epsilon

  • ***
  • 91 posts
Re: Advertisement
« Reply #3 on: October 07, 2024, 10:12:15 PM »
Thanks for answering. What is the simple string?

*

epsilon

  • ***
  • 91 posts
Re: Advertisement
« Reply #4 on: October 07, 2024, 11:16:41 PM »
Yes, when I insert letters, numbers, symbols and even spaces it is displayed on the website. But an HTML code is not saved.

*

epsilon

  • ***
  • 91 posts
Re: Advertisement
« Reply #5 on: October 07, 2024, 11:20:12 PM »
And if I insert the code in file area the advertisements are also visible on the website.

*

MB Themes

Re: Advertisement
« Reply #6 on: October 08, 2024, 03:55:51 PM »
File area?
Which area you mean?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epsilon

  • ***
  • 91 posts
Re: Advertisement
« Reply #7 on: October 08, 2024, 04:02:25 PM »
item.php and main.php if I insert the banner html code here into both it works

*

epsilon

  • ***
  • 91 posts
Re: Advertisement
« Reply #8 on: October 08, 2024, 08:16:05 PM »
Where can I find the code for the right and left side banner?

*

MB Themes

Re: Advertisement
« Reply #9 on: October 10, 2024, 03:01:36 PM »
Probably header.php in theme folder
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epsilon

  • ***
  • 91 posts
Re: Advertisement
« Reply #10 on: October 10, 2024, 04:14:13 PM »
Paste the HTML code in footer.php for left, line 262 for right, line 269