[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/install/convertors/ -> functions_phpbb20.php (summary)

(no description)

Copyright: (c) 2006 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 1870 lines (51 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 35 functions

  phpbb_forum_flags()
  phpbb_insert_forums()
  phpbb_set_encoding()
  phpbb_set_default_encoding()
  phpbb_get_birthday()
  phpbb_user_id()
  phpbb_copy_table_fields()
  phpbb_convert_authentication()
  phpbb_set_primary_group()
  phpbb_convert_group_name()
  phpbb_convert_group_type()
  phpbb_convert_topic_type()
  phpbb_replace_size()
  phpbb_prepare_message()
  get_bbcode_bitfield()
  phpbb_post_edit_user()
  phpbb_get_files_dir()
  phpbb_copy_thumbnails()
  phpbb_attachment_category()
  phpbb_attachment_forum_perms()
  phpbb_avatar_type()
  phpbb_smilie_html_decode()
  phpbb_import_avatar()
  phpbb_get_avatar_height()
  phpbb_get_avatar_width()
  phpbb_privmsgs_to_userid()
  phpbb_unread_pm()
  phpbb_new_pm()
  phpbb_get_savebox_id()
  phpbb_import_attach_config()
  phpbb_inactive_time()
  phpbb_inactive_reason()
  phpbb_disallowed_username()
  phpbb_create_userconv_table()
  phpbb_check_username_collisions()

Functions
Functions that are not part of a class:

phpbb_forum_flags()   X-Ref
Set forum flags - only prune old polls by default


phpbb_insert_forums()   X-Ref
Insert/Convert forums


phpbb_set_encoding($text, $grab_user_lang = true)   X-Ref
Function for recoding text with the default language

param: string $text text to recode to utf8
param: bool $grab_user_lang if set to true the function tries to use $convert_row['user_lang'] (and falls back to $convert_row['poster_id']) instead of the boards default language

phpbb_set_default_encoding($text)   X-Ref
Same as phpbb_set_encoding, but forcing boards default language


phpbb_get_birthday($birthday = '')   X-Ref
Convert Birthday from Birthday MOD to phpBB Format


phpbb_user_id($user_id)   X-Ref
Return correct user id value
Everyone's id will be one higher to allow the guest/anonymous user to have a positive id as well


phpbb_copy_table_fields()   X-Ref
No description

phpbb_convert_authentication($mode)   X-Ref
Convert authentication
user, group and forum table has to be filled in order to work


phpbb_set_primary_group($user_level)   X-Ref
Set primary group.
Really simple and only based on user_level (remaining groups will be assigned later)


phpbb_convert_group_name($group_name)   X-Ref
Convert the group name, making sure to avoid conflicts with 3.0 special groups


phpbb_convert_group_type($group_type)   X-Ref
Convert the group type constants


phpbb_convert_topic_type($topic_type)   X-Ref
Convert the topic type constants


phpbb_replace_size($matches)   X-Ref
No description

phpbb_prepare_message($message)   X-Ref
Reparse the message stripping out the bbcode_uid values and adding new ones and setting the bitfield


get_bbcode_bitfield()   X-Ref
Return the bitfield calculated by the previous function


phpbb_post_edit_user()   X-Ref
Determine the last user to edit a post
In practice we only tracked edits by the original poster in 2.0.x so this will only be set if they had edited their own post


phpbb_get_files_dir()   X-Ref
Obtain the path to uploaded files on the 2.0.x forum
This is only used if the Attachment MOD was installed


phpbb_copy_thumbnails()   X-Ref
Copy thumbnails of uploaded images from the 2.0.x forum
This is only used if the Attachment MOD was installed


phpbb_attachment_category($cat_id)   X-Ref
Convert the attachment category constants
This is only used if the Attachment MOD was installed


phpbb_attachment_forum_perms($forum_permissions)   X-Ref
Obtain list of forums in which different attachment categories can be used


phpbb_avatar_type($type)   X-Ref
Convert the avatar type constants


phpbb_smilie_html_decode($code)   X-Ref
Just undos the replacing of '<' and '>'


phpbb_import_avatar($user_avatar)   X-Ref
Transfer avatars, copying the image if it was uploaded


phpbb_get_avatar_height($user_avatar)   X-Ref
Find out about the avatar's dimensions


phpbb_get_avatar_width($user_avatar)   X-Ref
Find out about the avatar's dimensions


phpbb_privmsgs_to_userid($to_userid)   X-Ref
Calculate the correct to_address field for private messages


phpbb_unread_pm($pm_type)   X-Ref
Calculate whether a private message was unread using the bitfield


phpbb_new_pm($pm_type)   X-Ref
Calculate whether a private message was new using the bitfield


phpbb_get_savebox_id($user_id)   X-Ref
Obtain the folder_id for the custom folder created to replace the savebox from 2.0.x (used to store saved private messages)


phpbb_import_attach_config()   X-Ref
Transfer attachment specific configuration options
These were not stored in the main config table on 2.0.x
This is only used if the Attachment MOD was installed


phpbb_inactive_time()   X-Ref
Calculate the date a user became inactive


phpbb_inactive_reason()   X-Ref
Calculate the reason a user became inactive
We can't actually tell the difference between a manual deactivation and one for profile changes
from the data available to assume the latter


phpbb_disallowed_username($username)   X-Ref
Adjust 2.0.x disallowed names to 3.0.x format


phpbb_create_userconv_table()   X-Ref
Checks whether there are any usernames on the old board that would map to the same
username_clean on phpBB3. Prints out a list if any exist and exits.


phpbb_check_username_collisions()   X-Ref
No description



Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1