[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/includes/ -> functions_posting.php (summary)

(no description)

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

Defines 16 functions

  generate_smilies()
  update_post_information()
  posting_gen_topic_icons()
  posting_gen_topic_types()
  upload_attachment()
  get_img_size_format()
  get_supported_image_types()
  create_thumbnail()
  posting_gen_inline_attachments()
  posting_gen_attachment_entry()
  load_drafts()
  topic_review()
  user_notification()
  delete_post()
  submit_post()
  phpbb_bump_topic()

Functions
Functions that are not part of a class:

generate_smilies($mode, $forum_id)   X-Ref
Fill smiley templates (or just the variables) with smilies, either in a window or inline


update_post_information($type, $ids, $return_update_sql = false)   X-Ref
Update last post information
Should be used instead of sync() if only the last post information are out of sync... faster

param: string    $type                Can be forum|topic
param: mixed    $ids                topic/forum ids
param: bool    $return_update_sql    true: SQL query shall be returned, false: execute SQL

posting_gen_topic_icons($mode, $icon_id)   X-Ref
Generate Topic Icons for display


posting_gen_topic_types($forum_id, $cur_topic_type = POST_NORMAL)   X-Ref
Build topic types able to be selected


upload_attachment($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false, $local_filedata = false)   X-Ref
Upload Attachment - filedata is generated here
Uses upload class


get_img_size_format($width, $height)   X-Ref
Calculate the needed size for Thumbnail


get_supported_image_types($type = false)   X-Ref
Return supported image types


create_thumbnail($source, $destination, $mimetype)   X-Ref
Create Thumbnail


posting_gen_inline_attachments(&$attachment_data)   X-Ref
Assign Inline attachments (build option fields)


posting_gen_attachment_entry($attachment_data, &$filename_data, $show_attach_box = true)   X-Ref
Generate inline attachment entry


load_drafts($topic_id = 0, $forum_id = 0, $id = 0, $pm_action = '', $msg_id = 0)   X-Ref
Load Drafts


topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id = 0, $show_quote_button = true)   X-Ref
Topic Review


user_notification($mode, $subject, $topic_title, $forum_name, $forum_id, $topic_id, $post_id, $author_name = '')   X-Ref
User Notification


delete_post($forum_id, $topic_id, $post_id, &$data)   X-Ref
Delete Post


submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $update_message = true, $update_search_index = true)   X-Ref
Submit Post


phpbb_bump_topic($forum_id, $topic_id, $post_data, $bump_time = false)   X-Ref
Handle topic bumping

param: int $forum_id The ID of the forum the topic is being bumped belongs to
param: int $topic_id The ID of the topic is being bumping
param: array $post_data Passes some topic parameters:
param: int $bump_time The time at which topic was bumped, usually it is a current time as obtained via time().
return: string An URL to the bumped topic, example: ./viewtopic.php?forum_id=1&amptopic_id=2&ampp=3#p3



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