View Single Post
Old January 25th, 2006, 10:42 AM   #1 (permalink)
Vi_UK
Junior Member
Verified Customer
 
Join Date: Aug 2005
Posts: 1
Newreply.php Javascript

Okay this one has been driving me mad for ages now and I've finally had to submit to asking for help.

Photopost is installed at /gallery/
Vbulletin is installed at /forums/

Everything works correctly apart from one thing.

After clicking on reply to image, the newreply.php page is displayed.
A user that is not logged in is presented with a 'Click here to log in' link, which hrefs to '/gallery/newreply.php?i=<imgnum>#' (where <imgnum> refers to the image number). However when you try and click this link there is a javascript error:

Quote:
Line: 363
Char: 1
Error: 'null' is null or not an object
Code: 0
URL: /gallery/newreply.php?i=<imgnum>
However, if the user is logged in, they are presented with a 'Logged in as <username>' message which hrefs to '/gallery/member.php?u=<userid>' .

This doesn't appear to be the correct url, surely that should be '/forums/member.php?u=<userid>' ?

Where has this gone wrong?
Vi_UK is offline   Reply With Quote