1
Mods & Plugins (Requests & Discussions) / auth_viewcat and new field
« on: June 04, 2006, 10:06:15 PM »
hello,
I want to use more than one 4images but only 1 database.
But not every categorie should viewable at every homepage
e.g.
I create at the databease "4images_categories" a new field it´s called "auth_sites"
At the first Site you can see all categories "auth_site = 0"
Th the second Site it should only show the categories with the ID 1
...
...
BY my phpBB I had done the same. I changed this
Daraus machen wir für Board 1Code:
[qcode]if ( $is_auth_ary[$forum_id]['auth_view'] && (in_array($forum_data[$j]['forum_view'], array(0,1))) ) [/qcode]
What I had to change that it worked for 4 iamges too.
I want to use more than one 4images but only 1 database.
But not every categorie should viewable at every homepage
e.g.
I create at the databease "4images_categories" a new field it´s called "auth_sites"
At the first Site you can see all categories "auth_site = 0"
Th the second Site it should only show the categories with the ID 1
...
...
BY my phpBB I had done the same. I changed this
Code: [Select]
if ( $is_auth_ary[$forum_id]['auth_view'] )
Daraus machen wir für Board 1Code:
[qcode]if ( $is_auth_ary[$forum_id]['auth_view'] && (in_array($forum_data[$j]['forum_view'], array(0,1))) ) [/qcode]
What I had to change that it worked for 4 iamges too.