Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 189
Total: 189

Author Topic: Stacking ads down the right side  (Read 6861 times)

0 Members and 1 Guest are viewing this topic.

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Stacking ads down the right side
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Stacking ads down the right side
« Reply #1 on: February 25, 2017, 11:27:04 am »
Yes there is.
What ad location are you using?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #2 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Stacking ads down the right side
« Reply #3 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?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #4 on: February 25, 2017, 11:38:43 am »
4 at a time would be good.

File attached

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Stacking ads down the right side
« Reply #5 on: February 25, 2017, 11:43:21 am »
Ok will work on it this afternoon when i get back
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #6 on: February 25, 2017, 11:47:58 am »
Thanks.
« Last Edit: February 25, 2017, 01:52:39 pm by coyote »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Stacking ads down the right side
« Reply #7 on: February 25, 2017, 03:04:24 pm »
Attached updated file
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #8 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Stacking ads down the right side
« Reply #9 on: February 25, 2017, 03:35:50 pm »
Accessible meaning you can't view them? I would need to see an example.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #10 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Stacking ads down the right side
« Reply #11 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #12 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

Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #13 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


Offline coyote

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Stacking ads down the right side
« Reply #14 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

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
5606 Views
Last post March 12, 2008, 08:12:41 pm
by filipina
2 Replies
7448 Views
Last post July 08, 2009, 11:21:05 pm
by armorbeast
1 Replies
3380 Views
Last post October 10, 2011, 11:29:00 am
by SMFHacks
5 Replies
4301 Views
Last post December 20, 2014, 09:34:47 am
by SMFHacks
18 Replies
8707 Views
Last post January 27, 2016, 10:13:05 pm
by northview

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal