|
|
| Author |
Message |
ascentuk
New User
Joined: 27 May 2008
Posts: 4
|
Posted: May 28th 2008, 10:58 am Post subject: Ezportal Hacking Attempt Msg |
|
|
hi , im useing Ezportal and mainly im very happy with it
howerver in the top right hand block the welcome Username block
when anyone clicks on there username thay get a plain white screen with black text saying Hacking Attempt!
anyone know how i might be able to resolve this problem
you can view the site here http://radio.audioaddictz.co.uk
Thanks in advance for any help |
|
| Back to top |
|
 |
Ricky_Racer
Dedicated User

Joined: 19 Jul 2003
Posts: 1385
Location: Middle of Nowhere, USA
|
Posted: May 28th 2008, 12:48 pm Post subject: |
|
|
If my memory serves me correctly, along about the phpBB2 update to v.2.0.19, the code, (./includes/page_header.php), for the variable, {U_PROFILE} was changed in short,
OPEN:
portal.php
FIND:
| Code:
|
|
$name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&" . $userdata['user_id']) . '">' . $userdata['username'] . '</a>';
|
REPLACE WITH
| Code:
|
|
$name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile") . '">' . $userdata['username'] . '</a>';
|
|
|
| Back to top |
|
 |
ascentuk
New User
Joined: 27 May 2008
Posts: 4
|
Posted: May 28th 2008, 1:21 pm Post subject: |
|
|
hi , thanks for your reply
i will try this out and post back to you the results
Edit --------------------------
hi thanks again for your help
it works a treat no more hacking attempt msgs
would it be posible to make link goto the users profile view rather than the edit profile view
cheers  |
|
| Back to top |
|
 |
ascentuk
New User
Joined: 27 May 2008
Posts: 4
|
Posted: May 30th 2008, 3:03 pm Post subject: |
|
|
Would i be correct in thinking that this would work
open the file portal php
Find
| Code:
|
$name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile") . '">' . $userdata['username'] . '</a>';
|
And Replace with
| Code:
|
$name_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile") . '">' . $userdata['username'] . '</a>';
|
Would that work to make it view profile rather than edit it |
|
| Back to top |
|
 |
Ricky_Racer
Dedicated User

Joined: 19 Jul 2003
Posts: 1385
Location: Middle of Nowhere, USA
|
Posted: May 30th 2008, 3:20 pm Post subject: |
|
|
Yes, I do believe that would be the code to use.  |
|
| Back to top |
|
 |
|