Site Admin
view posts by this user Offline
Site Admin
    This topic is locked, you cannot edit posts or make further replies. This topic is locked, you cannot edit posts or make further replies.
Warning! PBWoW is not for rookies. This stuff isn't 1-2-3-presto!
It is one of the hardest styles to set up properly you will probably ever see. PBWoW is currently in a release candidate stage. You can use it on a live phpBB board but we cannot guarantee a bug free experience. Board features may be broken and my source code modifications have not been thoroughly tested for security vulnerabilities. Make a backup of all your files before installing PBWoW.

The PBWoW.com staff is not responsible for any damages related to the use of PBWoW software.

Mirrors:


Find the changelog HERE.

Discuss RC4 HERE (also for some basic instructions for updaters).


You will need the readme to get PBWoW working. It is attached below (sign-up required).

Attachments
You do not have the required permissions to view the files attached to this post.
Site Admin
view posts by this user Offline
Site Admin
    This topic is locked, you cannot edit posts or make further replies. This topic is locked, you cannot edit posts or make further replies.
Little mistake on my part. If you have already installed RC4, you need to make one more edit.

In /forum/search.php find:
Code: Select all
print($row['user_rank']);


Remove that line. The readme/mods from the starting post have been fixed. So if you downloaded PBWoW RC4 readme mods v2.rar then you don't need to do this.
Site Admin
view posts by this user Offline
Site Admin
    This topic is locked, you cannot edit posts or make further replies. This topic is locked, you cannot edit posts or make further replies.
For people getting the MySQL error that the phpbb_pbwow_config table doesn't exist. Try this:

forum/includes/functions.php

Find:
Code: Select all
function obtain_pbwow_config()
{
...
}


Replace the entire function with:
Code: Select all
function obtain_pbwow_config()
{
   global $db, $cache, $phpbb_root_path, $phpEx;

   if (($pbwow_config = $cache->get('pbwow_config')) !== true)
   {
      $pbwow_config = $cached_pbwow_config = array();

      if (!class_exists('phpbb_db_tools'))
      {
         include("$phpbb_root_path/includes/db/db_tools.$phpEx");
      }
      $db_tool = new phpbb_db_tools($db);
   
      if($db_tool->sql_table_exists(PBWOW_CONFIG_TABLE)){

         $sql = 'SELECT config_name, config_value
            FROM ' . PBWOW_CONFIG_TABLE;
         $result = $db->sql_query($sql);
   
         while ($row = $db->sql_fetchrow($result))
         {
            $cached_pbwow_config[$row['config_name']] = $row['config_value'];
            $pbwow_config[$row['config_name']] = $row['config_value'];
         }
         $db->sql_freeresult($result);
   
         $cache->put('pbwow_config', $cached_pbwow_config);
      }
   return $pbwow_config;
   }
}


That should fix it.
Site Admin
view posts by this user Offline
Site Admin
    This topic is locked, you cannot edit posts or make further replies. This topic is locked, you cannot edit posts or make further replies.
For people getting the MySQL error: Field 'topic_first_poster_rank_img' doesn't have a default value [1364]. Try this:

/forum/includes/functions_posting.php

Find:
Code: Select all
   $post_approved = $sql_data[POSTS_TABLE]['sql']['post_approved'];
   $topic_row = array();

Add after:
Code: Select all
   get_user_rank_4others($user->data['user_rank'], $user->data['user_posts'], $rankx_title, $rankx_img, $rankx_img_src); // for PBWoW
   $rankx_img_src = pathinfo($rankx_img_src); // for PBWoW
   $rankx_img_src = $rankx_img_src['basename']; // for PBWoW


Find:
Code: Select all
            'topic_first_poster_colour'   => $user->data['user_colour'],

Add after:
Code: Select all
            'topic_first_poster_rank_img'   => (isset( $rankx_img_src )) ? $rankx_img_src : '', // for PBWoW
            'topic_first_poster_rank_title'   => (isset( $rankx_title )) ? $rankx_title : '', // for PBWoW
Jump to :