Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-05-29 17:37:23

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Banner url is not a valid url address!

Can it be that that "-" in the url name is the reason of the "Banner url is not a valid url address!" error message ?

Ben

Offline

#2 2011-05-30 16:48:56

mv911
Member
Registered: 2011-05-26
Posts: 2

Re: Banner url is not a valid url address!

i think this may be because of the : sign after xxxx(which i am assuming is a number)

Offline

#3 2011-05-30 17:09:48

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Banner url is not a valid url address!

Yepp.... here is the addres in code tags - so all is shown

http://www.example-name.com/hit.php?w=27696:9804000000025332&p=1

All up from .com is the original link.

Offline

#4 2011-05-30 19:13:11

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Banner url is not a valid url address!

Which page does return this? I could disable the valid url checking. Its a PHP filter, so its not my code, but it can be disabled.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2011-05-30 22:37:41

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Banner url is not a valid url address!

it´s ?q=adv/sponsor_add

Offline

#6 2011-05-31 07:27:39

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Banner url is not a valid url address!

Edit admin/modules/adv/sponsor_add.php and replace the following lines:

$url            = $filter->get('url');

with:

$url = trim($_POST['url']);

and

$image_url  = $filter->get('image_url');

with:

$image_url = trim($_POST['image_url']);

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2011-05-31 09:53:20

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Banner url is not a valid url address!

Found it on admin/modules/adv/components and edited it but get still the same error message sad

Offline

#8 2011-06-03 21:10:30

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Banner url is not a valid url address!

Well i use HTML/Javascript Code for adding banners of these studios now

<a   href='http://www.example-name.com.com/hit.php?w=27696:9804000000025332&p=1'  target='_blank'><img src='http://www.oursite.com/xxxxxxx/5-0-28103400-1306675205.gif' alt='example-name' border='0'></a>

This works fine cool

Offline

#9 2011-06-03 21:15:23

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Banner url is not a valid url address!

BTW: Adrian mentioned the fix.

Did you change ALL instances of his solution ?


sgt-halfsize-banner.jpg

Offline

#10 2011-06-03 21:18:54

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Banner url is not a valid url address!

Coscast the edits that Adrian posted above didn´t fix the problem. I said this in my direct reply of the posted fix.

Offline

#11 2011-06-03 22:17:24

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Banner url is not a valid url address!

What i want to say is, that are more than one instances of what adrian said........


sgt-halfsize-banner.jpg

Offline

Board footer

Powered by FluxBB