We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Advertisement plugin not showing ads on mobile devices only desktop | Forum

Ryan Schostag
Ryan Schostag Jul 2 '14
Ads using the ad plugin at http://www.oxwall.org/store/item/37 are appearing on my desktop/laptop computer, but not on any mobile device I have (android). What code can I add/remove from the plugin, etc. to make the ads appear.

The weird thing is that ads were showing at first. I put ads in HTML. But, they were not responsive. I changed the width from say width="718" to width="100%". This makes them responsive on a desktop vut invisible on any mobile device? Then, I tried switching them back to fixed width and they still do not appear. This is the case no matter which theme I use.
Attachments:
  Screenshot_2014-07-02-07-57-21.png (340.77Kb)
ross Team
ross Jul 3 '14
where did you do those changes?
Ryan Schostag
Ryan Schostag Jul 3 '14
I did it in the plugin module in Admin>Plugins>Installed Plugins>Advertisement
ross Team
ross Jul 3 '14
Yes, but where exactly in which file? or in CSS?

Please switch to the default theme and try again. Keep us updated. 

The Forum post is edited by ross Jul 3 '14
Ryan Schostag
Ryan Schostag Jul 3 '14
No, it is a plugin that you download at http://www.oxwall.org/store/item/37 and edit in the plugin editor. It requires you to enter html code for all of the banner ads.

Per your request, I changed it to default theme. One of the problems I had with the Menu items not appearing on my mobile device was automatically resolved. However, I still cannot see ads on devices other than my desktop/laptop.

Now, I see the phrase, "advertisement", which normally appears on the upper right top of the banner ad, as you know, but it doesn't display the link and image.

I read some articles on how to make a website responsive. However, on the Oxwall platform, I don't know where to begin to do that. I'd like to make the site, content, and media responsive. If you have any advice for that, please let me know. Thank you so much.
ross Team
ross Jul 3 '14
Can you please revert the changes you did in the plugin? and it would be the best if you try to reinstall the plugin and try again on a mobile device. 


If that does not help, can you please PM me your admin details for the website, I'll take a look at the problem. 

Ryan Schostag
Ryan Schostag Jul 3 '14
I never changed the plugin. I changed the html I input in the ad fields for the banners. I will uninstall the plugin and reinstall it. If the problem persists, I will PM you. Thank you for all of your help.
Ryan Schostag
Ryan Schostag Jul 7 '14
Ross, I fixed the problem with the following HTML code you add to the HTML code field for ads of the Advertisement plugin:

<a href="LANDING PAGE URL" target="_blank"> <img src="IMAGE URL" style='width:100%;' border="0" alt="ALTERNATIVE TEXT"> </a>

The only problem now is that the ads display on Android and IOS devices, but randomly, seemingly anyway, they appear either the right size OR very small. I'd like to know if you know the HTML code to add to the above that will solve that issue.

Thank you for all your time and effort!
The Forum post is edited by Ryan Schostag Jul 7 '14