| Author |
Message |
pizzafiend New Member


Joined: Jan 21, 2008 Posts: 19
|
Posted:
Tue Apr 01, 2008 11:48 am |
|
I upgraded my site from phpnuke 6.8.3.5 to phpnuke 7.6.0.3.5a and now my Personal Menu does not work - it displays only 0.
Any help would be very appreciated. |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3038 Location: United Kingdom
|
Posted:
Tue Apr 01, 2008 12:37 pm |
|
Sorry i'm not sure where you are talking about. Please can you clarify. |
|
|
|
 |
pizzafiend New Member


Joined: Jan 21, 2008 Posts: 19
|
Posted:
Tue Apr 01, 2008 1:04 pm |
|
There is a Personal Menu that can be activated in Your Account> Your Home. I have a few html links in it that no longer display, but rather a 0 is displayed instead. The 0 is displayed even with just text, no html...  |
|
|
|
 |
pizzafiend New Member


Joined: Jan 21, 2008 Posts: 19
|
Posted:
Wed Apr 02, 2008 8:19 am |
|
Eureka!
In mainfile.php, find:
function userblock() {
replace:
$ublock = intval($row['ublock']);
with:
$ublock = stripslashes(check_words(check_html($row['ublock'], "")));
All works fine again.  |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3038 Location: United Kingdom
|
Posted:
Wed Apr 02, 2008 10:49 am |
|
Glad you got it working.  |
|
|
|
 |
|
|
|
|