Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Ad code problem
Not Solved
This is my ad code

But when i put it in header it says its potentially harmful and i cant use it...???
Not Solved
You can't use ${PUB_URL} in templates as the current templating system uses eval() which is evil and is very risky so we black list certain patterns to help prevent arbitrary code execution.
No longer involved in the MyBB project.
Not Solved
So what next?? I've to compromise my earnings Sad
Not Solved
Contact the company which you're using and ask them if there's a way to display advertisements without using ${PUB_URL}. If they say it's not possible, then you'd need to use an advertisement plugin (MyAdvertisements or My Ad Manager for example) which doesn't require code to be inserted in to the templates directly.
No longer involved in the MyBB project.

Forum Jump:

Users browsing this thread: 1 Guest(s)