The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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. |
#2
|
||||
|
||||
![]()
what if you just do an
PHP Code:
|
#3
|
||||
|
||||
![]()
That brings up the "Sorry, this forum isn't accepting new posts" error
![]() |
#4
|
||||
|
||||
![]()
Got it!
$_GET['f'] = '6'; Odd. Get works, but not Request. Has to be set b4 the backend is called. |
#5
|
||||
|
||||
![]()
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) |
#6
|
||||
|
||||
![]()
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).
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|