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: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 274
Total: 274

Author Topic: Set Ad's to open in a new window or tab...  (Read 6565 times)

0 Members and 1 Guest are viewing this topic.

Offline project#7

  • Member
  • *
  • Posts: 13
    • View Profile
Set Ad's to open in a new window or tab...
« on: October 13, 2010, 09:13:50 am »
Is there a way to modify Ad Seller Pro to have links open in a new window or tab when clicked?

 ;D Thanks,
Project#7

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #1 on: October 13, 2010, 09:03:16 pm »
I might add that as a feature at some point. You can just modify the Sources/AdSeller.php and search for references a href=" and add target="_blank" to the code to make it appear in new window
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 coopoli

  • Member
  • *
  • Posts: 11
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #2 on: December 17, 2010, 10:28:38 am »
Hi
Is it possible to make the ad´s linked to a different website.

I.e. when an other company advertise on our site and wants the banner to link the their homepage.

//Miguel

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #3 on: December 17, 2010, 02:57:47 pm »
Yes you can enter a destination url for banners and text ads.
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 coopoli

  • Member
  • *
  • Posts: 11
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #4 on: December 17, 2010, 03:23:23 pm »
I tried that.

But what happens is when i write i.e. www.luftbutiken.se as the external banner url, it takes me to http://www."my forum name".se/adpro/www.luftbutiken.se

Why is that??

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #5 on: December 17, 2010, 03:36:31 pm »
You need to put in as http://www.luftbutiken.se
That will fix that issue.
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 coopoli

  • Member
  • *
  • Posts: 11
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #6 on: December 17, 2010, 04:50:27 pm »
Of course ;)

Your support is fantastic!!! I´m glad i bought this module!

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #7 on: February 24, 2011, 08:07:48 pm »
I might add that as a feature at some point. You can just modify the Sources/AdSeller.php and search for references a href=" and add target="_blank" to the code to make it appear in new window
Could you enable that on my attached file please? I'm not sure where to find the line you are describing.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #8 on: February 24, 2011, 08:55:58 pm »
Updated File Attachted
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 dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: Set Ad's to open in a new window or tab...
« Reply #9 on: February 25, 2011, 09:32:53 am »
Thanks. Works like a champ!!!

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2831 Views
Last post March 29, 2007, 03:53:10 am
by bluetail
6 Replies
5430 Views
Last post July 18, 2011, 11:09:43 pm
by ewensupport
3 Replies
3839 Views
Last post February 15, 2013, 10:10:45 am
by amwebby
3 Replies
6602 Views
Last post March 29, 2013, 06:46:48 am
by SMFHacks
1 Replies
3180 Views
Last post May 01, 2014, 12:20:13 pm
by SMFHacks

+- 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