FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » adding new functionality
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
adding new functionality [message #22846] Fri, 18 February 2005 15:09 Go to previous message
dennisp is currently offline  dennisp   Belize
Messages: 49
Registered: December 2004
Location: Belize
Karma:
Member
Hi,
I am trying to add an extra functionality to allow certain privilaged users to be able to rate a message. I need to do a form submission to update certain fields when the submit button is clicked. I was looking at the rate thread form >
"<form action="index.php?t=ratethread>"
As I studied the code I noticed that t=ratethread, means that ratethread.php is called.
Am I correct?

Well At first i was playing with the cases in init_usr function but then i noticed that that was for the pathinfo type urls and i am playing with the default.
I did no find any "special" checks on the variable $t for default url style and so i assume that ratethred.php is called as soon as it is pased through the url and so in my addtion I did a
<form action =index.php?t=ratepost>
but this does not seem to work. Any help please....
Smile
best regards,
Dennis

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create new sub-forum visible only to mods?..
Next Topic: Downloads for registered users only?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 03 20:53:03 GMT 2024

Total time taken to generate the page: 0.06796 seconds