Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Menu problem
Tmsh
Posted on 06 Feb 2010, 13:10:01

Access: Member
Total Posts: 3
Joined: 2010-02-06

Hi, I cant go to the 'News' 'Messages' and 'Options'. So I cant do anything. Please help.
Look http://nod32.unl.pl/bib/news/admin.php?#
user: admin
pass: 123456
#1818
Last edited by Tmsh at 2010-02-06 13:20:00 Reason:
Chris
Posted on 06 Feb 2010, 13:26:01

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

The problem is your host is adding advertisements to files that have javascript in them.

Here for example

http://nod32.unl.pl/bib/news/js/main.php

You can fix this but it'll require editing a few files.

Edit admin.php, around line 70~ you'll see

Code:
    <script type="text/javascript" src="js/main.php"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>


change that to

Code:
    <script type="text/javascript"><?php include 'js/main.php'; ?></script>
    <script type="text/javascript"><?php include 'js/lightbox.js'; ?></script>


Now edit js/main.php, on line 21 change

Code:
include '../langmsg.php';


to

Code:
include 'langmsg.php';


And hopefully the menus should now work.
#1819
Tmsh
Posted on 06 Feb 2010, 13:29:07

Access: Member
Total Posts: 3
Joined: 2010-02-06

Thanks man, good job :)
#1820
Network-13.com © 2013