<? 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?
Re:something odd (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:something odd
#1571
Tim (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
something odd 1 Year, 3 Months ago Karma: 0  
ever since I did that .htaccess changes now everytime you click on one of our links it returns you back to the front page, unless you right click open window etc

any ideas?
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1572
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:something odd 1 Year, 3 Months ago Karma: 9  
Yes that does sound odd, since it doesn't do that for me, I'm using Firefox btw. If I got the same behavior you described, I'd refer you to this FAQ entry ...

http://www.dew-code.com/content/view/20/25/

You should probably make sure your directory file has the lines mentioned in that FAQ. I think your version has them, but not 100% certain. Even still, that doesn't explain why it works correctly for me, and not for you.

Another thing that comes to mind, one of the nuances I've picked up doing over a decade of web development now (damn I'm old) is that your browser's cache can often prevent you from seeing what the webserver is currently sending. Now I instinctively right click the page, press a shift key, and select reload/refresh to ensure I'm seeing exactly what the server is sending.

On most browsers, holding a shift key down while you select reload/refresh tells it to completely ignore it's cache, otherwise you might get cached elements no matter how many re-loads you do.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1573
Tim (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:something odd 1 Year, 3 Months ago Karma: 0  
yeah - I've come home and used my computer - which I use firefox as hate IE and it works, but it clearly didn't at work which used IE... will try the fix and try again tomorrow at work

thanks
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1574
Tim (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:something odd 1 Year, 3 Months ago Karma: 0  
just tried it on IE 6 at home - and it's not fixed it...
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1575
Tim (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:something odd 1 Year, 3 Months ago Karma: 0  
checked at work on version 8 - still the same loops around, also now our pictures are not loading in some cases... something odd is really going on....
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1576
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:something odd 1 Year, 3 Months ago Karma: 9  
Dusted of my copy of IE6, and the pages do eventually load but I noticed a couple things.

1, the javascript snippet responsible for tallying outbound clicks is somewhat misunderstood. As I may have mentioned in a FAQ you read, I always imagined people installing the script into a directory, not using using it as their main page, and this issue appears to be related. So...

make a backup copy of /includes/functions.php
Looking through the draw_sites_function which starts around line # 1140 (likely different for your version) find mentions of the tracking file "out.php" Since the actual out.php file sits in your root directory, "./out.php" needs to be changed to "/out.php" losing the initial period.

You should find 2 mentions, one for the site preview pic/link, and one for the Site name link.




2, You are using height & width tags to scale down some pretty large images. like this one for example http://www.motorsportlinks.co.uk/images/a1.jpg which your pages display using height=98 width=131, but the actual image is much much larger 1024x768 .


This will give the appearance of the script loading slow, for 2 reasons.. first, all the very large images need to be downloaded, then the viewer's computer needs to spend CPU time to resize them for display.

Since the images are on your server, it would be best to make a thumbnail set, all with height that is actually 98, their widths seems to vary.

Check out a free program called Irfanview , it's great for creating batch thumbnails, optimizing jpgs, gifs etc. Not everyone will be viewing your site from their workplace with super internet speeds, so images should be optimized, and actually be the size you use in height/width, to remove the need for the viewers browser to rescale them, not to mention the file sizes will be much smaller, eg, faster to download.
 
Report to moderator   Logged Logged  
 
Last Edit: 2011/01/20 07:32 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  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