![]() |
1. array_intersect_key() creates the intersect of n arrays, eg. an array containing the values from array1 whose keys are present in all other arrays
2. Well, in an external script you don't have $options ... (or I am completely misunderstanding you) 3. 256 = 9th bit = allow HTML as defined in init.php |
ok you got me wrong
i want to do new file f3.php forumid = 3 so when i click on edit i get all of forum options same as on forum.php only here forumid is defined so i copy the things i wanted like PHP Code:
$_POST['do'] = 'update' and on that i got PHP Code:
hmm got me now ? |
Aaaah :)
So actually you are cloning forum.php but restricted to certain forums. So why do you use $forum = fetch_foruminfo()? $forum will be defined by the form in add/edit. |
can it be that im stupid ?
damnn your right... thank you very much mate i will report on progress damnn i still dont understand how i didnt saw it thanx MiZ :) |
1 more qustion ...
does build_forum_permissions(); affect all forums ? cuse after i use the clone script i need to go to my other forums via forum.php and do edit and update or its wont show them not on index and on forumdisplay im getting no premission error... |
Yes it does affect all forums.
|
so its ++++ing something up... cuse in order to see other forums i need to do rebuild forum information via Update Counters on admin cp
and idea what might be the problem ? |
nvm
build_forum_permissions(); was inside the while loop and thats what ++++ed the things up thank u very much for help :) |
All times are GMT. The time now is 11:14 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:
|