Author Topic: auth_viewcat and new field  (Read 5428 times)

0 Members and 1 Guest are viewing this topic.

Offline SantaZ

  • Hero Member
  • *****
  • Posts: 885
    • View Profile
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

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.
cu SantaZ

Offline SantaZ

  • Hero Member
  • *****
  • Posts: 885
    • View Profile
Re: auth_viewcat and new field
« Reply #1 on: July 16, 2006, 10:56:52 AM »
Can nobody help?

Or is my description not so good?
cu SantaZ