MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
i made some fix, i think, for forum. site admins are mods..
AuthorText
dfdfdf
Junior Member
Avatar

Posts: 26
Contributes: 0

Gender: _NEUTRAL_
Online: No
Date: 25/10/2007 19:45
i made some fix, i think, for forum. site admins are mods..
#post2242
as you know site admin cant moderate forums he must be miderator to the forum that he want to mod...

v3.2

i made some changes so now admin is automaticaly modarator for all the forums.

in the forum page/index.php

there is lines with this:
code
if (ismodarator($ft_??,$user)) {

so i added to this line this:
code
if ((isModarator($ft_??,$user)) or (isAdmin($admin))) {


some thing like this i cant write exactly the lines and what i modi****ted bequse iam useing another computer right now(i dont have Net at my lol :opsSmile

and there is the code that show the select box for Moderator where lock, move and etc functions,there is
code
if (ismodarator($ft_??,$user)

i copied it all from { to }and changed it to:
code
if (isAdmin($Admin)


as i checked it, its works fine... i didnt found any bugs.

is it works or there is some problem or security problem?
tnx.
if you need i can post the lines and etec when i will be at net again...
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 25/10/2007 20:24
i made some fix, i think, for forum. site admins are mods..
#post2243
I've chosen not to make admins automatically moderators because in some cases you could want to have admins on your site without full control on the site

Anyway no security problems
Edited: 25/10/2007 20:25
Delete Edit Quote
 
dfdfdf
Junior Member
Avatar

Posts: 26
Contributes: 0

Gender: _NEUTRAL_
Online: No
Date: 25/10/2007 20:36
i made some fix, i think, for forum. site admins are mods..
#post2249
ok tnx.
may be i will try to make this options in admin previlgies page to select if he is or not...
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo