Change in auth.php and overall_header.tpl

This mod will make it posible to specify permissions to all "special pages, like MEMBERLIST, PROFILE VIEW and so on.
The permissions support USERGROUP, making this tool very powerfull

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Change in auth.php and overall_header.tpl

Postby shinken on Wed 21. May, 2003 02:30

I'm trying to install v.0.9.6, but I don't understand the double find/replace in auth.php... It doesn't make sense, since there aren't 2 lines that are the same... :?

I noticed, though, that there are
Code: Select all
$forum_match_sql = ( $forum_id != AUTH_LIST_ALL ) ? "WHERE a.forum_id = $forum_id" : '';

and
Code: Select all
$forum_match_sql = ( $forum_id != AUTH_LIST_ALL ) ? "AND a.forum_id = $forum_id" : '';

So the changes in = $forum_id should be made in these 2 lines?

Also, after installing the MOD, the only link (memberlist, faq, search, etc) showing in the header is the "Logout" option.
So I'd like to know if it would be any problem if I don't edit overall_header.tpl, if I don't want to make any changes to the permissions about guests viewing the memberlist (ie. all can view the memberlist).

Thanks
shinken
Poster
Poster
 
Posts: 4
Joined: Tue 18. Feb, 2003 09:23

Re: Change in auth.php and overall_header.tpl

Postby vision3inc on Tue 15. Jul, 2003 06:38

shinken wrote:I'm trying to install v.0.9.6, but I don't understand the double find/replace in auth.php... It doesn't make sense, since there aren't 2 lines that are the same... :?

I noticed, though, that there are
Code: Select all
$forum_match_sql = ( $forum_id != AUTH_LIST_ALL ) ? "WHERE a.forum_id = $forum_id" : '';

and
Code: Select all
$forum_match_sql = ( $forum_id != AUTH_LIST_ALL ) ? "AND a.forum_id = $forum_id" : '';

So the changes in = $forum_id should be made in these 2 lines?

Also, after installing the MOD, the only link (memberlist, faq, search, etc) showing in the header is the "Logout" option.
So I'd like to know if it would be any problem if I don't edit overall_header.tpl, if I don't want to make any changes to the permissions about guests viewing the memberlist (ie. all can view the memberlist).

Thanks



all of my links (memberlist, faq, search, etc) are gone too. i went over it 4 times already search this forum and found many other people with the same problem but i havent heard any solutions. can any one tell me how to fix that?
vision3inc
Poster
Poster
 
Posts: 1
Joined: Tue 15. Jul, 2003 05:50

Re: Change in auth.php and overall_header.tpl

Postby rubinho on Mon 29. Sep, 2003 12:12

shinken wrote:Also, after installing the MOD, the only link (memberlist, faq, search, etc) showing in the header is the "Logout" option.
So I'd like to know if it would be any problem if I don't edit overall_header.tpl, if I don't want to make any changes to the permissions about guests viewing the memberlist (ie. all can view the memberlist).

Thanks


Im having as well the same problem, and also look thru the forum without any fix. Any help will be appreciate.

Also, im suspicious that maybe this problem is because when i ran db_extra, i didnt saw any COMPLETED messages like the others scripts. This is what i saw after run db_extra.php:

Code: Select all
' : ''; if( !($result = $db->sql_query($sql[$n])) ) { $message .= '[Posible error] line: '.($n+1).' , '.$sql[$n].'
'; } else { if ( $db->sql_affectedrows() ) { $message .='[Added/Updated] line: '.($n+1).' , '.$sql[$n].'
'; } else { $message .='[Already added] line: '.($n+1).' , '.$sql[$n].'
'; } } $n++; } message_die(GENERAL_MESSAGE, $message); ?>


Im a lil desesperate, considering that i was able to fix minor troubles with other Mods installations like Bank, Shop, etc. Maybe if anyone can point me on how to add or edit to my SQL could be better. LOL, sometimes is better to do manually than automatically.

Thanks in advance.
rubinho
Poster
Poster
 
Posts: 1
Joined: Fri 26. Sep, 2003 15:45


Return to Extra permission [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron