Welcome Guest, Not a member yet? Register   Sign In
wee problem with validator
#1

[eluser]Bainzy[/eluser]
hi everyone,

im really stuck at the moment on how to do something.

what i have is a simple forum software, when a user is logged in and they are looking at a post the reply box comes up at the bottom of the forum for the user to quick reply. When you are on the forum view the url looks like this

http://localhost/forums/index.php/forum/comments/3/1

the 3 in the url is the topicID and the 1 in the url is the categoryID now the problem i am having is when the form is subbmited it goes to the following url :

http://localhost/forums/index.php/validator/

I want to be able to send the 3/1 part there aswel but if i adjust the url to look like :

http://localhost/forums/index.php/validator/3/1 the page does nothing it just loads a blank page and sits there. Now if i change it back to the orignal without the 3/1 in the url it works fine. I get redirected to index.php/forum/comments/ however i need the 3/1 in the url for the querys on the page to work otherwise its just showing the comments page with no data in it.

What am i doing wrong, i have included the url library in the validator class and in the forum class but still nothing.

What is the best way to go about doing this ?

any help would be greatly appreciated, i am so close to finishing this project and adding it to the wiki along with a tutorial on how to make a forum as i see this question asked alot around here.

Regards
Chris


Messages In This Thread
wee problem with validator - by El Forum - 01-19-2010, 10:55 AM
wee problem with validator - by El Forum - 01-19-2010, 11:09 AM
wee problem with validator - by El Forum - 01-19-2010, 11:41 AM
wee problem with validator - by El Forum - 01-19-2010, 11:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB