How to remove SQL rewrite permission for mods

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

How to remove SQL rewrite permission for mods

Postby ChevRonBurgandy » Thu Jul 03, 2014 12:53 am

I've seen it posted before how to limit rewrite permission however (ironically) I can't find it when i search for it. Please can someone help me out on this one?
ChevRonBurgandy
 
Posts: 2
Joined: Wed Jul 02, 2014 10:01 pm

Advertisement

Re: How to remove SQL rewrite permission for mods

Postby dcz » Thu Jul 03, 2014 4:57 am

add :
Code: Select all
      return false;

after
Code: Select all
   function url_can_edit($forum_id = 0) {
      global $user, $auth;
      if (empty($this->seo_opt['sql_rewrite']) || empty($user->data['is_registered'])) {
         return false;
      }
      if ($auth->acl_get('a_')) {
         return true;
      }


in phpbb_seo/phpbb_seo_class.php
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21383
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 18 guests