SMFHacks.com

Ad Seller Pro => Support => Topic started by: coyote on February 25, 2017, 10:06:11 am

Title: Stacking ads down the right side
Post by: coyote on February 25, 2017, 10:06:11 am
When I setup multiple ads and set them to be imprinted on the right side, I'm only getting one ad per page. Each refresh cycles the ad. Is there a way to have multiple ads stacked down the right side?
Title: Re: Stacking ads down the right side
Post by: SMFHacks on February 25, 2017, 11:27:04 am
Yes there is.
What ad location are you using?
Title: Re: Stacking ads down the right side
Post by: coyote on February 25, 2017, 11:29:37 am
Right now I'm using   Right Side of the Forum .  I see one ad on the right and it will cycle with the other ads on refresh. I'm also having some issues even getting some images to display. One thing at a time though.
Title: Re: Stacking ads down the right side
Post by: SMFHacks on February 25, 2017, 11:34:09 am
Attach your themes index.template.php

How many ads max do you want to show on the right side?
Title: Re: Stacking ads down the right side
Post by: coyote on February 25, 2017, 11:38:43 am
4 at a time would be good.

File attached
Title: Re: Stacking ads down the right side
Post by: SMFHacks on February 25, 2017, 11:43:21 am
Ok will work on it this afternoon when i get back
Title: Re: Stacking ads down the right side
Post by: coyote on February 25, 2017, 11:47:58 am
Thanks.
Title: Re: Stacking ads down the right side
Post by: SMFHacks on February 25, 2017, 03:04:24 pm
Attached updated file
Title: Re: Stacking ads down the right side
Post by: coyote on February 25, 2017, 03:30:23 pm
Looks great. Thank you!

I found my image problem but not sure how to resolve it.  I have this site hosted as a subdomain and it appears any images in the subdomain folders are not accessible by SMF or this mod. If I move the images to the primary hosted domain on this server they are accessible.

I do not think it is an issue with SMF or the mod, but if you have any ideas I'd be grateful.

Thanks again for the edit.
Title: Re: Stacking ads down the right side
Post by: SMFHacks on February 25, 2017, 03:35:50 pm
Accessible meaning you can't view them? I would need to see an example.
Title: Re: Stacking ads down the right side
Post by: coyote on February 25, 2017, 03:46:47 pm
Yeah, sorry, I have limits on the correct terminology.

Here is an example image.

http://www.harleytechtalk.com/ads/test3.jpg

You can view it with no problem. But if that is the web address I give for the ad image, it will not load at all. If I move the image up one level so it's just under _public_html  it will load find from SMF.

My private server is structured so the primary domain is harleytechtalk.org. When I add subdomains, like the dot com, it puts them in a folder under public_html. 

Not sure if that makes any sense or not.
Title: Re: Stacking ads down the right side
Post by: SMFHacks on February 25, 2017, 03:59:54 pm
Files if you want them to be viewable from the web generally have to be in the public_htmll folder

Sometimes you can have subdomain under public_html such as
public_html/subdomainname/

Then you can either do http://www.harleytechtalk.com/subdomainname/test3.jpg
Or
http://subdomainname.harleytechtalk.com/test3.jpg

To view the file/image normally.
Title: Re: Stacking ads down the right side
Post by: coyote on February 25, 2017, 04:17:06 pm
Funny thing is if I create a folder called      ads     and put it under the Sources  folder and then adjust the directory paths in the Add Pro setup it all works fine.  Has to be some sort of permissions issue but all the folder permissions look ok to me. IDK.

It's working though. Appreciate your help
Title: Re: Stacking ads down the right side
Post by: coyote on March 06, 2017, 07:48:26 pm
Noticed an issue today. When the window size is down we are seeing a formatting issue come up. Some browsers may be worse than others although I'm seeing this on Fire Fox.


This goes away if I expand my window far enough. It also is no issue what so ever if I turn off the ads being displayed.  Ads are on the right side only, 150 x 275

(http://www.smfhacks.com/index.php?action=dlattach;topic=9292.0;attach=5257;image)
Title: Re: Stacking ads down the right side
Post by: coyote on March 06, 2017, 09:44:17 pm
Added. I did some more testing. This issue goes on anytime the available window drops where it hits a fixed width item on any post. That could be an image or as shown above, a dialog box. If the ads are turned off, this issue goes away completely.

Thanks for looking
Title: Re: Stacking ads down the right side
Post by: SMFHacks on March 07, 2017, 12:53:38 pm
What do you want to see happen or change that is different than it appears now?
Title: Re: Stacking ads down the right side
Post by: coyote on March 07, 2017, 04:43:25 pm
Here is what it should look like. Everything is still where it should be and the window just gets scroll bars. All of the menus are good.


(http://www.smfhacks.com/index.php?action=dlattach;topic=9292.0;attach=5259;image)


But what I'm seeing is this.  The top part of the forum is not the same width and things are all over each other.

(http://www.smfhacks.com/index.php?action=dlattach;topic=9292.0;attach=5261;image)


Title: Re: Stacking ads down the right side
Post by: coyote on March 07, 2017, 04:46:52 pm
To be honest, I can't say for sure it's mod related but I did not have this issue before, although I do have other mods installed. It's a problem for users with a narrower screen resolution, like cell phones.

I guess I could uninstall the ad mod but I'll have to do part of it by hand as you did alter my template file.
Title: Re: Stacking ads down the right side
Post by: SMFHacks on March 07, 2017, 04:57:44 pm
That could be the issue. Cell phones and tablets will not work well. Since this mod is table based and SMF is not responsive by default.
Title: Re: Stacking ads down the right side
Post by: coyote on March 07, 2017, 06:03:27 pm
Yeah but something new is causing this. My old forum doesn't do it. The new forum is a fresh install of SMF and pretty much the same mods and the ad mod.  However if I disable ads, it still has an issue where the old site did not.

I'd be OK paying for some time if one of you guys had time to look at it. Really want to get it fixed.  It may well be something I messed up causing it.  I don't have a clue where to look though.
Title: Re: Stacking ads down the right side
Post by: SMFHacks on March 07, 2017, 08:26:58 pm
You can try disabling all the ad locations and see if that helps or uninstall the mod.
Unfortunately I do not have the time if you need someone post on this board for help http://www.simplemachines.org/community/index.php?board=50.0