Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 251
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 126
Total: 126

Author Topic: Display ads on every page as a tower on the left side?  (Read 10369 times)

0 Members and 1 Guest are viewing this topic.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Display ads on every page as a tower on the left side?
« on: May 07, 2013, 12:58:12 pm »
Hi,

I'm using ad seller pro, but noticed in your free smf ad mod there is...

"Display ads on every page as a tower on the left side".

Tried it out on my test site here.
http://diyappliancerepair.com/index.php

Could you tell me where to put the code I create with the Ad Seller Pro mod for that same location?

Thanks!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Display ads on every page as a tower on the left side?
« Reply #1 on: May 07, 2013, 01:18:22 pm »
Looks like you have it working on that site?
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 ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Display ads on every page as a tower on the left side?
« Reply #2 on: May 07, 2013, 01:22:15 pm »
Hi,

I should have been more clear, sorry.

Yes, I have it working on http://diyappliancerepair.com (test site) using the free smf ad management mod.
http://custom.simplemachines.org/mods/index.php?mod=255

My question though is how can I create that same location using Ad Seller Pro?
I use Ad Seller Pro with http://appliancejunk.com to display ads.

Thanks,

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Display ads on every page as a tower on the left side?
« Reply #3 on: May 07, 2013, 01:57:17 pm »
There should be a left column location that you need to enable. Once enabled you can add ad's to that column
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 ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Display ads on every page as a tower on the left side?
« Reply #4 on: May 07, 2013, 02:23:14 pm »
That works, :D

Don't know how I did not see that before, thanks!

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Display ads on every page as a tower on the left side?
« Reply #5 on: May 07, 2013, 03:55:59 pm »
Sorry to be such a pest about this ad location.

There seems to be a slight difference between the left side ad location between the free SMF ad management mod and the Ad Seller Pro mod.

I have added two attachments to point out the differences along with the site links below.

Using: Ad Management
http://diyappliancerepair.com

Using: Ad Seller Pro
http://appliancejunk.com

I like how the ad location at http://diyappliancerepair.com is displayed under the link tree instead along side the link tree.

I would guess I need to edit the Ad Seller Pro ad location in the index.template.php file, but for the life of me I can't figure it out.

Any help in getting the ad location to display under the link tree at http://appliancejunk.com would be greatly appreciated.

Thanks,



Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Display ads on every page as a tower on the left side?
« Reply #6 on: May 07, 2013, 05:02:16 pm »
Think I figured it out. ;)

Took the link code in index.template.php

Code: [Select]
// Begin Ad Seller Pro Location - Left Side of the Forum


if (ShowAdLocation(9,0,true) || ShowAdLocation(10,0,true))
{
echo '<table width="100%">
<tr>';

global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(9);
if ($adSellerAdData != false)
{
echo '<td valign="top">';

echo $adSellerAdData;

echo '</td>';
}



echo '<td valign="top" width="100%">';
}


// End Ad Seller Pro Location - Left Side of the Forum

and moved it to just after...

Code: [Select]
// Show the navigation tree.
theme_linktree();

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Display ads on every page as a tower on the left side?
« Reply #7 on: May 07, 2013, 07:12:40 pm »
Awesome yeah that should do it.
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 ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Display ads on every page as a tower on the left side?
« Reply #8 on: August 05, 2014, 06:42:43 pm »
Old topic, but still related to what I'm trying to currently accomplish.

I"m using this code I got from Google to display my Google+ Badge as shown in the attachment.

Code: [Select]
<!-- Place this tag where you want the widget to render. -->
<div class="g-page" data-width="180" data-href="//plus.google.com/u/0/112501127124723139472" data-rel="publisher"></div>

<!-- Place this tag after the last widget tag. -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/platform.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

If I just copy and paste it into the "Left Column Location" it only displays the Google+ badge on my home page, index.php and not one any of the other pages even though I have the other locations checked in the settings.

If I replace the code with just simple text like the word TEST that word shows up in the "Left Column Location" on the index.php page and all the other pages as it should.

I'm guessing I must have to do a bit of editing to the code I got from google, but now sure how.

I have been experimenting with the code google gave to try and get it to work, but have given up and come here looking for help now.

I would greatly appreciate any help.

Thanks,
« Last Edit: August 05, 2014, 06:44:43 pm by ApplianceJunk »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Display ads on every page as a tower on the left side?
« Reply #9 on: August 06, 2014, 10:43:23 am »
Do you have any other google+ code on your forum? Such as a modification or code that you added?
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 ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Display ads on every page as a tower on the left side?
« Reply #10 on: August 06, 2014, 10:33:10 pm »
Yes I did have other google+ code on my site, so I removed it and tried again only to have the same problem.
But then it hit me. The problem was ad blocker, lol...

Don't know why it would not block it on the index page like it did on all the other pages, but once I disabled ad blocker in my browser it displayed correctly on the rest of the site.

Thanks!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Display ads on every page as a tower on the left side?
« Reply #11 on: August 06, 2014, 10:39:59 pm »
Ah good to know!
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/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3640 Views
Last post July 06, 2008, 01:49:41 am
by vkot
1 Replies
3680 Views
Last post June 13, 2013, 11:00:52 pm
by SMFHacks
9 Replies
5476 Views
Last post January 26, 2014, 12:11:17 pm
by SMFHacks
7 Replies
5961 Views
Last post January 26, 2014, 02:33:03 pm
by mrnuke7175
18 Replies
8754 Views
Last post January 27, 2016, 10:13:05 pm
by northview

+- Recent Topics

Please Help! by SMFHacks
Today at 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal