<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Same problem here (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Same problem here
#1451
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Target links problem 1 Year, 5 Months ago Karma: 9  
YOU REMOVED THE POWERED BY LINK BACK TO DEW-CODE !

That is the only requirement to using this script

please add a link back to http://www.dew-code.com in your footer file


Or.. you could paint me a masterpiece work of art worth a couple million dollars, I'll erase your name on it and sell it as my own
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1452
tsimpouri (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Target links problem 1 Year, 5 Months ago Karma: 0  
Hello i am really sorry about this i have came recently in this company and the i dint make the site from the begin...I have put back the powered by link to the site.

Thanks for the code we have try to change the code to the file the links are working and they are opening to new window the problem is that the images are not opening in a new window and in the Internet explorer we getting the message that "they are errors in the site".

Thank you very much,
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1453
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Target links problem 1 Year, 5 Months ago Karma: 9  
I supplied a similar change for the site preview picture, and the site name link, if both changes were made, it should work on both types of links.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1456
tsimpouri (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Target links problem 1 Year, 5 Months ago Karma: 0  
The text links are working fine the image links is not working and we have the error in the code...

Another thing that we saw is a problem with internet explorer8 and the links...

I saw the problem in other topic in the forum and i fix it we your code,but the same problem is happening in ie8 when you try to search a website and click the link in the result the page that is opens is the root page of the directory.

Thanks,
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1457
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Target links problem 1 Year, 5 Months ago Karma: 9  
Search result listings are created by a seperae function than the one you have edited.

In the file /include/functions.php the function draw_search_sites function starts around line # 1347, and the links are created by the code around lines 1416 - 1430
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1466
Alex (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Same problem here 1 Year, 5 Months ago Karma: 0  
In IE the link opens in a new window but it;s redirected to my home page.
It happens only from the search results page.
More than this the hits out counter is not working anymore

If you open my popular, new , cool pages with IE an error icon appears in the browser bottom corner ( http://www.cumpotsa.ro/directory/new.html )

As suggested I made this change in the script:

Near line 1249, locate
Code:
$htmlsrc .= "<a class=\"siteName\" href=\"" . $sites_array['site_url'] . "\" onclick=\"location.href='./out.php?ID=" . $sites_array[site_id] ."';return false;\">";
Change to
Code:
$htmlsrc .= "<a target=\"blank\" class=\"siteName\" href=\"" . $sites_array['site_url'] . "\" onClick=\"javascript:window.open(\'out.php?ID=" .$sites_array['site_id'] ."\';return false;\">";

Didn't change the first one because it results in an error...and I have no idea how to debug it.

Strange thing is that if I change above code to the original it will work fine in counting the HitsOut in firefox but it will just redirect to main page in IE (including from Popular , New etc.)

Later edit : In Firefox the generated link to the site is : http://www.cumpotsa.ro/out.php?ID=xx
In IE it is : http://www.cumpotsa.ro/directory/out.php?ID=xx
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/09/08 12:32 By Alex.
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008