| Author |
Message |
griffinsbridge
Captain


Joined: Aug 25, 2005
Posts: 380
|
Posted:
Sat Jan 21, 2006 6:47 am |
  |
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 |
|
    |
 |
phpnuke-hosting
Support Mod


Joined: Oct 19, 2004
Posts: 1032
Location: UK
|
Posted:
Sat Jan 21, 2006 7:06 am |
  |
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.
Click Here! |
|
    |
 |
Prophet
Captain


Joined: Mar 14, 2004
Posts: 422
Location: Florida, USA, Earth, Space
|
Posted:
Sat Jan 21, 2006 7:12 am |
  |
Looks like someone's unfinished modification.
oh yeah, I forgot about that ....
global $url;
if(isset($url)) Header("Location: $url");
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 |
|
     |
 |
griffinsbridge
Captain


Joined: Aug 25, 2005
Posts: 380
|
Posted:
Sat Jan 21, 2006 7:57 am |
  |
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 |
|
    |
 |
Prophet
Captain


Joined: Mar 14, 2004
Posts: 422
Location: Florida, USA, Earth, Space
|
Posted:
Sat Jan 21, 2006 9:33 am |
  |
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 |
|
     |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12403
|
Posted:
Sat Jan 21, 2006 7:22 pm |
  |
Actually there is a purpose to it... it is to show the referrals coming from your index.php page, not your admin page.
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 |
|
     |
 |
griffinsbridge
Captain


Joined: Aug 25, 2005
Posts: 380
|
Posted:
Sun Jan 22, 2006 4:35 pm |
  |
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 |
|
    |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12403
|
Posted:
Sun Jan 22, 2006 5:37 pm |
  |
|
     |
 |
griffinsbridge
Captain


Joined: Aug 25, 2005
Posts: 380
|
Posted:
Mon Jan 23, 2006 11:04 am |
  |
Lol, fair enough!
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 |
|
    |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12403
|
Posted:
Mon Jan 23, 2006 12:53 pm |
  |
|
     |
 |
|
|