You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 57 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Fixing Http referers [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
griffinsbridge
Captain
Captain


Joined: Aug 25, 2005
Posts: 380


PostPosted: Sat Jan 21, 2006 6:47 am Reply with quoteBack to top

Ive noticed this problem in 2 versions of Nuke, 7.6 and 7.7. perhaps it spills over into other versions too.

The problem was, that you could see the url of the referer, but clicking on it would return a "page cannot be displayed", heres the fix for this:

Find this code:
Code:
<a href=\"index.php?url=$url\" target=\"_blank\">$url</a>

and replace it with
Code:
<a href=\"$url\" target=\"_blank\">$url</a>

Sorted.
Simple really. Not sure why it would want to use index.php?url= as it doesnt work.

Anyway, have a look. HTTPreferers might not be something you use much, but if you get it working, youll be suprised how interesting and useful it can be.

_________________
Black listed: Beretta, Danny stewardson
1 owes $40 and the other £4500
Find all posts by griffinsbridgeView user's profileSend private messageVisit poster's website
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Sat Jan 21, 2006 7:06 am Reply with quoteBack to top

Is this in standard or patched?

I use 7.6 patched and have never had this problem.

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Prophet
Captain
Captain


Joined: Mar 14, 2004
Posts: 422

Location: Florida, USA, Earth, Space

PostPosted: Sat Jan 21, 2006 7:12 am Reply with quoteBack to top

Looks like someone's unfinished modification.

oh yeah, I forgot about that ....
global $url;
if(isset($url)) Header("Location: $url");
Wink

I guess if you list your top referers on the front page this might help keep them from jumping off your page rank. Doesn't do much good in admin though.

_________________
- Prophet
Get the Last Visit module (and others modules I designed) from my website! FREE! http://jasonlau.biz

http://DotCom.Name
Find all posts by ProphetView user's profileSend private messageVisit poster's websiteAIM Address
griffinsbridge
Captain
Captain


Joined: Aug 25, 2005
Posts: 380


PostPosted: Sat Jan 21, 2006 7:57 am Reply with quoteBack to top

Im using patched versions of both and thats where I found the problem. But Im not sure the referers.php file is included in the patch files, so Im guessing its standard nuke where the problem lies

_________________
Black listed: Beretta, Danny stewardson
1 owes $40 and the other £4500
Find all posts by griffinsbridgeView user's profileSend private messageVisit poster's website
Prophet
Captain
Captain


Joined: Mar 14, 2004
Posts: 422

Location: Florida, USA, Earth, Space

PostPosted: Sat Jan 21, 2006 9:33 am Reply with quoteBack to top

Must be an error in the patched versions.

_________________
- Prophet
Get the Last Visit module (and others modules I designed) from my website! FREE! http://jasonlau.biz

http://DotCom.Name
Find all posts by ProphetView user's profileSend private messageVisit poster's websiteAIM Address
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Sat Jan 21, 2006 7:22 pm Reply with quoteBack to top

Actually there is a purpose to it... it is to show the referrals coming from your index.php page, not your admin page. Smile
This was added in phpNuke 7.6 and should be working in the Patched files

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
griffinsbridge
Captain
Captain


Joined: Aug 25, 2005
Posts: 380


PostPosted: Sun Jan 22, 2006 4:35 pm Reply with quoteBack to top

oh, I knew thered be some reason but couldnt figure it out.
Thing is, after making this mod, I still get good data in there. and Im the only one into admin. Not sure If Ive understood you fully tho E, so could be wrong.

Im thinking about making a modded version of that file. Itd be really useful if it displayed times and IP addresses too, possibly even the landing page. any thoughts on this? havent tried yet, but I think Ive got the theory right in my head.

_________________
Black listed: Beretta, Danny stewardson
1 owes $40 and the other £4500
Find all posts by griffinsbridgeView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Sun Jan 22, 2006 5:37 pm Reply with quoteBack to top

Smile Not sure what your question is

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
griffinsbridge
Captain
Captain


Joined: Aug 25, 2005
Posts: 380


PostPosted: Mon Jan 23, 2006 11:04 am Reply with quoteBack to top

Lol, fair enough! Very Happy
Ill try again.

The referers.php file seems to list the sites a user clicked a link on and appeared at our site. Therefore, it seems safe to assume, that the link was to our site. Does it list the referers TO the INDEX.php or THE WHOLE SITE?

And the mods i want: rather than simply list the URL of the referer, Id also like the time, date AND the page on my site they were refered to.
How possible is this? I imagine Id need extra rows in the referer table for (atleast) Datetime and landing page. The Datetime I can handle, done it many times before, but, landing page?

_________________
Black listed: Beretta, Danny stewardson
1 owes $40 and the other £4500
Find all posts by griffinsbridgeView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Mon Jan 23, 2006 12:53 pm Reply with quoteBack to top

Only tracks to those hitting your index.php

There are other addons that will track referrals, I believe to all pages on your site. Try MS_Analysis

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.443 Seconds - 261 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::