![]() |
HELP!!!!!! Problems with Permissions
I'm working on a customized version of the newthread.php file that will handle posts destined for a specific forum. In addition to the normal thread handling tasks the file will need to post data to a seperate table.
I want the script to ignore the incoming forum direction (i.e. the f=X in the URL) and lock onto it's own forum. I can get it to work with the URL newspell.php?do=newthread&f=6 But I want to get rid of the f=6 and if the do isn't specified I want to default to new thread, making it possible for the URL to simply be newspell.php However, I can't get past the permissions system. I get no permissions errors, sorry the forum isn't accepting new posts and all sorts of related garbaage. I *can* disable the permission system of course, but I fear that could create a security whole especially since I may at some point want to limit new posting priveledges to specific usergroups. HELP. I'm getting incredibly fustrated here. |
what if you just do an
PHP Code:
|
That brings up the "Sorry, this forum isn't accepting new posts" error :(
|
Got it!
$_GET['f'] = '6'; Odd. Get works, but not Request. Has to be set b4 the backend is called. |
Something else that might help someone once:
f, t, p and all those short variables are all converted to their respective name, in the init.php I think (i.e. forumid, threadid, postid) |
I know - but ironically if the init doesn't do the conversion then it'll throw a fit (Or at least I think it will. I got it working now - not too willing to tamper with it).
|
All times are GMT. The time now is 11:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|