The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
hello ,
i use this query Code:
$getforum = $db->query_read("SELECT forumid, title_clean FROM " . TABLE_PREFIX . " forum where ".$vbulletin->bf_misc_forumoptions['allowposting']." = '1' "); thnx ... --------------- Added [DATE]1394273222[/DATE] at [TIME]1394273222[/TIME] --------------- forum permission for allowposting on options field , but how i use it ? |
#2
|
||||
|
||||
![]()
You would need to look at the forumpermission table and the find which bit of the permissions shows allowed posting, you'd need to join the query with one looking at the forum table in order to get the forum name, it's a lot more complicated than you think.
|
#3
|
||||
|
||||
![]() Quote:
i look at forumpermission table already , and it's empty .. no data on it sorry , but i think what you talk about is wrong allowposting permission on options field -> Table: forum thnx brother , |
#4
|
||||
|
||||
![]()
What is it exactly you are trying to do, perhaps post the code and explain what it is you want.
|
#5
|
||||
|
||||
![]() Quote:
i make it by another way , by product seeting i put all categorys and i can Chose the categorys that i want to exclude from appearing . Code:
$forumbits_mod_forums = explode(",", $vbulletin->options['forumbits_mod_forums']); $getforum = $db->query_read("SELECT forumid, title_clean FROM " . TABLE_PREFIX . " forum where forumid NOT IN ('" . implode("','",$forumbits_mod_forums) . "') order by displayorder ASC "); thnx ... |
#6
|
||||
|
||||
![]()
Perhaps....
PHP Code:
Code:
<group name="forumoptions"> <bitfield name="active">1</bitfield> <bitfield name="allowposting">2</bitfield> <bitfield name="cancontainthreads">4</bitfield> <bitfield name="moderatenewpost">8</bitfield> <bitfield name="moderatenewthread">16</bitfield> <bitfield name="moderateattach">32</bitfield> ..... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|