Off-TopicExtending Advertisement Template Locations

All the various Off-Topic crap here ;)
User avatar

martin
Admin
Admin
    Linux Chrome
Magic user status: Offline
Posts: 4690
Joined: Apr 6th, '14, 14:12

Re: Extending Advertisement Template Locations

Post by martin »

Fixed files
phpbb_ads_2_0_3.zip
demo http://www.the-chinese-diesel-heater-community.com/
You do not have the required permissions to view the files attached to this post.
Use this to install an ext on your board no more ftp or path making.
Path too install this ext is ext/boardtools/upload
Download is here Make it easy for us to solve your issues
User avatar

Topic Author
Exabot
Users
Users
    Macintosh Firefox
Magic user status: Offline
Posts: 45
Joined: Mar 22nd, '20, 11:59

Re: Extending Advertisement Template Locations

Post by Exabot »

Would it be possible to use both variants?
Some ads only on the index page and some everywhere?
Currently, each option only displays on the index page.
User avatar

Topic Author
Exabot
Users
Users
    Macintosh Firefox
Magic user status: Offline
Posts: 45
Joined: Mar 22nd, '20, 11:59

Re: Extending Advertisement Template Locations

Post by Exabot »

Kurv wrote: Mar 25th, '20, 20:12 Would it be possible to use both variants?
Some ads only on the index page and some everywhere?
Currently, each option only displays on the index page.
:roll:
User avatar

martin
Admin
Admin
    Linux Chrome
Magic user status: Offline
Posts: 4690
Joined: Apr 6th, '14, 14:12

Re: Extending Advertisement Template Locations

Post by martin »

Sorry i was in hospital.

Sure open the ext files ext/phpbb/ads/styles/all/template/event/ and find the file you want and
Find This may be a partial find and not the whole line

Code: Select all

{% if SCRIPT_NAME eq 'index' %}
and
Find This may be a partial find and not the whole line

Code: Select all

{% endif %}
and delete them two parts.