Register
phpBB.com Wiki · Home Projects Help

root / tags / release_3_0_B1 / phpBB / posting.php

posting.php

View | Annotate | Download (47.9 KB)

# Date Author Comment
6094 View | Annotate 06/17/2006 10:30 PM

This commit was manufactured by cvs2svn to create tag
‘release_3_0_B1’.

6073 View | Annotate 06/16/2006 06:54 PM acydburn

- removed db cache (might re-appear, but for now we do not see the need for it)
- all changes to styles/subsilver/template are purely cosmetic (no functional changes)
- cosmetics
- bugfixes
- add index to modules table
- use modules ordering code for forums too

6063 View | Annotate 06/14/2006 08:59 PM naderman

- automatically sync topic_reported when deleting a post [Bug #2152]
- retrieve forum information in report.php
- don’t update deleted topics
- proper permission check for “admin or moderator”
- allow changing poster while ip dropdown contains a different user [Bug #2190]
- fixed a typo in acp_styles [Bug #2188]
- allow inserting BBCode at the first position of the textarea [Bug #2078]
- allow the style name to be different than the style path

6022 View | Annotate 06/08/2006 12:59 PM acydburn

- fix some smaller bugs
- removed custom profiles preview field from acp

6015 View | Annotate 06/06/2006 10:53 PM acydburn

ok, this one is rather large… the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different

apart from this, code cleanage, bug fixing, etc.

6014 View | Annotate 06/06/2006 12:54 PM acydburn

make sure we check the attachment status for the correct user ;)

5967 View | Annotate 05/26/2006 05:04 PM acydburn

some tiny changes…

5949 View | Annotate 05/20/2006 06:23 PM acydburn

#1871

5934 View | Annotate 05/20/2006 12:50 AM davidmj

a few changes ;-)

5922 View | Annotate 05/17/2006 06:58 PM acydburn

fix bug #1857

5911 View | Annotate 05/13/2006 07:48 PM davidmj

- captcha stuff
- unique_id

5902 View | Annotate 05/12/2006 10:52 PM acydburn

- introduce new function build_url to easily build a valid url from the user->page object as well as optionally removing certain keys
- changed attachment config to utilize the config build methods
- cleaned up posting.php
- the submit/delete_post functions are now usable (functions_posting.php)
- adjusted header icons (transparency)
- a bunch of fixes for mssql
- bug fixes

5888 View | Annotate 05/06/2006 05:15 PM naderman

- introduce LA_, UA_ and A_ template variables (they allow styles to use template variables used for javascript in subSilver outside javascript in their own template while they won’t break our javascript if they contain quotes) also fixes [Bug #1116]
- corrected page title for search indexing progress bar [Bug #1695]
- correct poster name for the anonymous user in mcp_queue and mcp_reports

5883 View | Annotate 05/05/2006 07:56 PM acydburn

- some adjustements for phpdocumentor

5858 View | Annotate 04/29/2006 03:18 AM acydburn

- fixing some bugs, containing fixes for anonymous username displays, eaccelerator issue, permission trace and a few smaller bugs.

5857 View | Annotate 04/28/2006 06:37 PM davidmj

- Added some missing lang strings

5813 View | Annotate 04/21/2006 10:42 PM grahamje

Porting the random number generator code over
Fingers crossed that this doesn’t break anything…. ;-)

5791 View | Annotate 04/18/2006 12:36 AM acydburn

say hello to role descriptions, role ordering and tooltips on role selects

5784 View | Annotate 04/15/2006 04:48 PM acydburn

- fixed some bugs
- made sql schemas consistent
- added correct sequences and generators to sql schemas
- extended some rows to hold more data. This solves issues with multibyte characters and too short topic titles, names, etc.
- allow multibyte characters in usernames

5765 View | Annotate 04/06/2006 07:15 PM acydburn

To all people having their bug status set to fixed: SF pserver CVS access is currently down, therefore the snapshots are still out of date.

- fix a bunch of bugs
- <!- $Id$ -> is no longer allowed in template (.html) files
- changed layout of private message screens (folders are menu items)
- removed unread mode for private messages
- added new feature to template engine – “jump out of loop” or “loop another loop within my loop” :D (will be documented within the coding guidelines)
- added autologin field to sessions
- check session length checks
- added add_log statement to sessions to track session valid to invalid changes if ip/browser change depending on config settings (only debug)
- added multibyte support for various variables (exception at the moment is usernames which needs some discussion)
- hopefully not broke something. :/

5739 View | Annotate 03/28/2006 02:44 PM davidmj

- Visual Confirmation for guest posting

5721 View | Annotate 03/25/2006 05:10 PM acydburn

do not ask why i put the pm table there instead of the polls. :o
- remove forum description from title tag (now it’s able to hold bbcode etc. resulting in broken layout)

5709 View | Annotate 03/25/2006 01:07 PM acydburn

- extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) – session_page gets truncated to 200 chars
- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment)
- a bunch of schema changes for the bbcode-enabled text and the session page change (sorry for this)
- if decode_message is used there is no need to include functions_posting.php anymore (should fix the search.php bug too)

5678 View | Annotate 03/21/2006 08:23 PM acydburn

- a bunch of bugfixes. :P

5633 View | Annotate 03/15/2006 02:03 PM acydburn

- adding ability to assign moderator specific ban options
- fixing destroying of sql caches
- fixing referencing of sql cached queries if more than one are active on one page
- other fixes

5603 View | Annotate 03/06/2006 03:03 PM acydburn

- added “display_on_posting” setting to custom bbcodes (creates a button with the bbcode tag)
- fixed forum editing and parent id selection
- completely removed HTML support (it only creates security problems)
- changed cache_moderators() to reflect permission changes

5588 View | Annotate 02/26/2006 09:38 AM subblue

Fixed undefined poll and topic_attachment variables when editing posts.

5580 View | Annotate 02/24/2006 06:33 PM acydburn

- blabla, additional bugfixing permissions…

5523 View | Annotate 02/05/2006 12:02 AM subblue

Changed url target method for BBcode help links and fixed undefined index bug

5494 View | Annotate 01/25/2006 10:01 PM acydburn

- moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking
- added missing config variables
- other minor things

5490 View | Annotate 01/23/2006 07:47 PM acydburn

- fix minor bugs

5486 View | Annotate 01/22/2006 02:06 PM acydburn

- size select fix
- introduced function for building group options (acp)
- fixed acl_getf if negated option needs to be retrieved
- only using one function for updating post informations
- fixing module display if module is disabled
- if user is having a non-existent style do not print out error message, instead fix the users value and load the default style

5485 View | Annotate 01/22/2006 01:41 PM grahamje

A few missing redirection changes

5482 View | Annotate 01/21/2006 11:57 PM naderman

- search deals with global topics
- fixed some other search related bugs

5471 View | Annotate 01/18/2006 07:06 PM acydburn

- fix two very annoying bugs
(1) mark topic read behaving incorrectly if editing posts (the topic gets marked unread)
(2) jump to wrong page number (viewtopic with post id) if descending post ordering is set

5468 View | Annotate 01/17/2006 07:03 PM acydburn

just preparing…

5451 View | Annotate 01/14/2006 03:34 PM acydburn

- assign user rank
- only a few very tiny bugfixes

5441 View | Annotate 01/11/2006 07:56 PM naderman

- overhauled search system
– updated structure for search backend plugins
– better result caching using ACM
– search results no longer session restricted => link to them by copying the URL :)
– in-topic search
– indexing posts now uses search backend plugins
– develop/search_fill.php working again
– fulltext_mysql not working yet
- tiny bugfixes to ACM

5380 View | Annotate 12/27/2005 02:44 PM davidmj

- Post/Topic icon text selection is fixed

5272 View | Annotate 10/19/2005 08:00 PM acydburn

- updated topic tracking code
- additional changes (mostly bugfixes)
- bart, if you update your user table with the user_lastmark field, set it to the user_lastvisit value ;)
- and last but not least, introducing some bugs in ucp main front (regarding topic tracking)

5263 View | Annotate 10/08/2005 01:00 AM acydburn

- another try to break things. :)
- adjusted the dbal a little bit
- removed db2 support

5249 View | Annotate 10/03/2005 05:21 PM acydburn

fix tiny bug. ;)

5247 View | Annotate 10/02/2005 08:47 PM acydburn

- session changes

5199 View | Annotate 08/19/2005 12:48 PM acydburn

- add ability to limit search to groups

5157 View | Annotate 06/10/2005 08:57 PM acydburn

- log removing posts
- fix queue saving if package size is 0
- user memberships (not used atm)

5138 View | Annotate 04/30/2005 04:36 PM acydburn

- some fixes here and there

5117 View | Annotate 04/10/2005 08:07 PM acydburn

- added updated coding guidelines
- introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users
- changed bot code to act on useragent || ip

5114 View | Annotate 04/09/2005 02:26 PM acydburn

- Documentation related changes
- added resend activation email dialog
- fixed issue in session code
- log failed/successful admin re-authentication/login
- fixed simple forum dropdown box (used in mcp and posting)

5108 View | Annotate 03/21/2005 11:43 PM acydburn

- first try to break things…

5088 View | Annotate 01/29/2005 03:46 PM acydburn

fix last_post_information for moderated topics

5082 View | Annotate 01/27/2005 07:54 PM acydburn

- fix serious bug (not updating topic/post count), i do not know why this slipped through and no one noticed… :) Maybe only i, lately i was performing very badly, had a few flaws, need to update myself to a stable version…

5074 View | Annotate 01/24/2005 12:02 AM acydburn

- change registration page language on-the-fly
- added download function to functions_compress as well as tiny bugfixes
- added local_name and author to iso.txt file

5068 View | Annotate 01/20/2005 09:57 PM acydburn

- bugfixes
- default sort options for posts too
- adjusted format_date to remove the (time intensive) preg_ calls
- temporary style.php code.

5066 View | Annotate 01/16/2005 01:09 PM acydburn

- do not add post to queue (if moderated forum) if posting user is able to approve posts.

5063 View | Annotate 01/15/2005 07:49 PM acydburn

- bugfixes
- do not hardcode url bbcode tag (please change the bitfield accordingly – see schema file!)

5032 View | Annotate 12/12/2004 03:07 PM acydburn

- fix attachment mod errors
- make upload path consistent with all other 2.2 path settings
- fix “post title wrong after split” bug

5011 View | Annotate 10/30/2004 07:04 PM acydburn

fix subject bug

5003 View | Annotate 10/19/2004 09:26 PM acydburn

- search updates

4989 View | Annotate 09/28/2004 07:46 PM acydburn

- fixing ongoing “topic/post icons bug”

4984 View | Annotate 09/16/2004 08:33 PM acydburn

- more updates, mostly bugfixes to the bbcode parser
- changed current_user in sessions (please review)
- give more flexibility to style authors in regard to the pagination elements
- profile fields updates (included a sample constuct into viewtopic_body.html – have to be documented extensivly)
- code optimizations (use of strpos, sizeof, loops not iterating functions on every call, memory savings…)
- and last but not least - hopefully not introduced more bugs than healthy (cough)

4981 View | Annotate 09/05/2004 05:45 PM acydburn

- re-enable polls (user is now able to decide if users are able to change votes if this feature is enabled within the given forum)

4978 View | Annotate 09/04/2004 09:32 PM acydburn

my turn to break the forum (and at least pm’s are no longer working – will not last long). HARRRR

4970 View | Annotate 09/01/2004 05:47 PM psotfx

This is a mass commit … expect trouble! Changes made here are primarily to how login is handled, schema changes necessary!

4968 View | Annotate 09/01/2004 10:40 AM acydburn

- re-enable post icons (sorry for this, thought we would only support topic icons. :D) – fixed ordering to let the post icon_id be the primary selection

4956 View | Annotate 08/04/2004 08:29 PM acydburn

- fix time limit issue for moderators
- fixing redirection after posting

4938 View | Annotate 07/27/2004 09:47 PM acydburn

do not update post_text if the message content was not changed… (fixing a bug ;))

4937 View | Annotate 07/19/2004 10:13 PM acydburn

- approve/disapprove posts/topics
- changed mcp_front to be more moderator friendly
- able to change the forum in mcp_queue (for moderators moderating more than one forum)

4925 View | Annotate 07/11/2004 05:20 PM acydburn

- fixed permissions for mcp (global permission settings are false if user is only able to moderate one to x forums)
- determine permission settings for submodules
- further approve/disapprove work (approve_details added)

4920 View | Annotate 07/09/2004 12:41 AM acydburn

- remove output buffering options from download.php (not needed anymore)
- optimized viewtopic.php a little bit
- removed the create_function (was consuming too much memory) from viewtopic
- check for manually added convert[.exe] program name to imagemagick path in admin_attachments
- reduced filesize checking for imagemagick program (some installations require less than 20k)
- added checked=”checked” for “not selected” topic icon
- moved parse_text_display function from functions_posting.php to functions.php (see comment above function)
- check for user_id != ANONYMOUS in page_footer for displaying the administration link (there seems to be a problem checking for global options)
- rewrote attachment thumbnail functions – utilize GD2 functions if available, more uptodate checks…
- changed final thumbnail size calculation
- define S_ROW_COUNT within template class itself
- added SID to template vars in page_header
- added ability to view topic/forum within admin_viewlogs
- added optional acl checking to make_jumpbox, no need to duplicate the function for this small need
- added custom body file for confirm_box

4919 View | Annotate 06/24/2004 10:09 AM acydburn

- fixed topic icon display (correct radio box checked, only visible in first post)

4912 View | Annotate 06/06/2004 11:44 PM acydburn

- added folder_moved image
- new feature: bookmark topics
- fixed post details link
- added confirmation screen to cookie deletion

4905 View | Annotate 05/31/2004 11:35 PM acydburn

- fix notify templates
- re-added subscribe/unsubscribe topic links. ;)

4904 View | Annotate 05/31/2004 08:00 PM acydburn

- added delete cookies link
- fixed global announcement links in viewforum
- do not display redirects in link forums as posts in forum overview

4903 View | Annotate 05/30/2004 09:24 PM acydburn

- forum rules + link to forum rules
- three new (tiny) functions added to functions_posting responsible for handling text with bbcode/smilies/urls, use them at items all over across phpbb…
- some bugfixes within admin_forums and other files
- new admin_board layout (much safer, security wise)

4890 View | Annotate 05/26/2004 08:20 PM acydburn

approval/other fixes

4883 View | Annotate 05/02/2004 03:06 PM acydburn

fix some issues with oop, fixing small bugs and prepare the next steps…
NOTE TO DEVS: have a look at adm/admin_board.php (new config layout)

4870 View | Annotate 03/20/2004 06:06 PM acydburn

add a little bit more information for style authors
ease the jumpbox handling a little bit

4862 View | Annotate 03/11/2004 10:17 PM acydburn

- re-enable drafts. ;)
- put extension checking into a small function…

4861 View | Annotate 03/10/2004 09:30 PM acydburn

- check for array [lang]
- admin_forums delete routine updated
- added extension groups per forum

4859 View | Annotate 03/06/2004 05:58 PM acydburn

minor adjustments

4857 View | Annotate 03/05/2004 10:21 AM acydburn

argh… parse error

4855 View | Annotate 03/02/2004 02:52 PM acydburn

correct passworded forum login

4846 View | Annotate 02/28/2004 10:24 PM acydburn

cleanup… :P

4844 View | Annotate 02/28/2004 10:16 PM acydburn

splitted language files

4836 View | Annotate 02/21/2004 01:47 PM acydburn

- put consoring and smilie processing into functions (we use them all over the place) for better changing and consistency.
- changed docs/AUTHORS to reflect the recent code re-use in functions_messenger.php
- pleasing the users a little bit more by using table constants. :D
- login box if “mode” is not allowed -> posting (thought about trigger_error integration, but we do not need this that often).

4834 View | Annotate 02/15/2004 03:03 PM acydburn

removed message type from message parser
assign message if specified
parse/decode html if enabled
validate url

4832 View | Annotate 02/15/2004 08:52 AM acydburn

re-add and fix quoting from topic/post review

4819 View | Annotate 02/08/2004 07:02 PM acydburn

inline attachment capability…

4779 View | Annotate 02/02/2004 06:20 PM acydburn

preserve ‘jump to post’... if emailed notification link and login required.

4770 View | Annotate 01/31/2004 04:43 PM acydburn

fixed: username validation in posting.php

4767 View | Annotate 01/25/2004 03:30 PM acydburn

fixed: smilie parsing in signatures
added: edit notes

4700 View | Annotate 11/30/2003 07:03 PM acydburn

update forum_ids for global announcements.

4699 View | Annotate 11/30/2003 06:45 PM acydburn

speed improvement… slap me for not seeing the user var. ;)

4696 View | Annotate 11/28/2003 12:44 AM ludovic_arnaud

Fixed: ”$config[‘allow_quote’]”? No sir, there is no such thing. (my bad)
Changed: do not perform flood check when disabled
Added: a couple notes for Acyd ;)

4682 View | Annotate 11/23/2003 11:25 PM acydburn

my attempt to break things…

4678 View | Annotate 11/22/2003 01:44 PM acydburn

some performance/bug fixes

4668 View | Annotate 11/16/2003 10:53 PM acydburn

Finished drafts, one bit is remaining though.
added file and disk space statistics.
some minor changes here and there.

4654 View | Annotate 11/06/2003 06:13 PM acydburn

doh^2!

4652 View | Annotate 11/06/2003 04:05 PM acydburn

UCP -> Attachments

4641 View | Annotate 11/05/2003 03:57 PM acydburn

related to attachments

4638 View | Annotate 11/04/2003 11:12 PM acydburn

damn local storage folder. :/

4637 View | Annotate 11/04/2003 11:05 PM acydburn

new permissions, merged attachment tables (the intended purpose of two tables is no longer valid), attachment updates along the merging…

Note: please merge your attachment tables (develop dir).

4634 View | Annotate 11/01/2003 05:10 PM acydburn

finish bump topic feature…

4627 View | Annotate 10/28/2003 10:23 PM acydburn

fix “not able to reply to announcements” and wrong notify checkbox status.

4625 View | Annotate 10/22/2003 10:41 PM acydburn

oops… not realised the config name change locally. :/
added logging of bump action

4620 View | Annotate 10/21/2003 03:05 PM psotfx

Enable/disable fulltext indexing of a given forum

4614 View | Annotate 10/19/2003 05:36 PM acydburn

bump topic and orphan attachments
changes here and there…

4585 View | Annotate 10/12/2003 05:45 PM psotfx

this was working … hhmmm

4583 View | Annotate 10/12/2003 05:29 PM psotfx

Updated the various “users of emailer”, fixed issue(!) of jabber using the email address as the uid, blah fixes, blah, blah di blah yakety smackety

4582 View | Annotate 10/12/2003 05:14 PM psotfx

Wasn’t finished and on my system is not performing correctly … hence comments ;) Please leave commented out for now.

4581 View | Annotate 10/12/2003 04:56 PM acydburn

do not delete all users, i do not know if this was intended paul. :)
user_jabber not used within messenger object, only ‘email’ defined.

4578 View | Annotate 10/12/2003 01:59 PM psotfx

Let’s break lots of things

4575 View | Annotate 10/12/2003 11:18 AM acydburn

speed up posting in general… and some cleanups.

4552 View | Annotate 10/11/2003 01:57 PM acydburn

do not remove multiple newlines for posting message

4551 View | Annotate 10/11/2003 01:46 PM acydburn

re-add quote button. ;)

4545 View | Annotate 10/10/2003 05:02 PM acydburn

notification fix (wrong template var)
sticky/announcement time limit (viewtopic is pending)

4544 View | Annotate 10/10/2003 02:11 PM acydburn

admin decides which smilies to be displayed in posting screen

4542 View | Annotate 10/09/2003 06:55 PM acydburn

merged topic and post review
review updates
fix topic title

4541 View | Annotate 10/09/2003 04:53 PM acydburn

dumdidum…

4539 View | Annotate 10/09/2003 04:48 PM acydburn

fix resource id error. ;)
request_var updates
attachment updates/fixes
fix bbcode uid
Redirect to login upon emailed notification links (viewtopic and viewforum are not committed yet)

4536 View | Annotate 10/07/2003 07:33 PM acydburn

parse error…

4535 View | Annotate 10/07/2003 07:29 PM acydburn

changed user_notification… should be clearer to human brains and performance. :)

4533 View | Annotate 10/05/2003 10:05 PM ludovic_arnaud

Asylum seekers ate my baby

4510 View | Annotate 09/24/2003 09:41 PM acydburn

some small fixes
got rid of iframe (topic review)... tested new div method with various browsers, further testing and oppinions would be nice. ;)
NOTE: New css element added to theme

4504 View | Annotate 09/15/2003 11:05 PM acydburn

stat update fixes
global announcement fixes

4493 View | Annotate 09/09/2003 06:34 PM acydburn

fix bbcode_uid, we do not like you empty. :D

4492 View | Annotate 09/09/2003 09:02 AM acydburn

fixed censoring (quote post, word boundaries, attachment comments)

4486 View | Annotate 09/08/2003 09:05 AM acydburn

small things… decode_text now checks for bbcode_uid existence. And yes, i know i have screwed up a lot of posts. :/

4485 View | Annotate 09/07/2003 08:11 PM acydburn

username quoting should be working again…

4483 View | Annotate 09/07/2003 07:52 PM acydburn

fix preview of postings with embedded bbcode

4482 View | Annotate 09/07/2003 07:16 PM acydburn

okie, using array_merge. :D
fixed: admin_prune
added: prune topics last viewed at… (only admin_prune ATM)
moved: delete_attachments to functions_admin

4481 View | Annotate 09/07/2003 06:57 PM psotfx

ERrOr

4479 View | Annotate 09/07/2003 05:49 PM acydburn

put deletion of post into function

4478 View | Annotate 09/07/2003 05:33 PM acydburn

update topic stats if complete topic is stored for approval.

4477 View | Annotate 09/07/2003 05:23 PM acydburn

some sync-related updates… more logical processing of submit_post.

4473 View | Annotate 09/07/2003 03:46 PM psotfx

Updates mainly for removal of extension + header comment … moved some aspects of ucp around, further work to be done on these areas … not commiting search for time being

4467 View | Annotate 09/04/2003 08:30 PM acydburn

initial draft functionality, loading (and a bunch of other stuff) is not implemented yet + bugfixes.

4461 View | Annotate 08/30/2003 02:59 PM acydburn

oops

4460 View | Annotate 08/30/2003 02:21 PM acydburn

enable globalising within posting screen
not sure about forum statistics updates at the moment.

4458 View | Annotate 08/29/2003 08:06 PM acydburn

fixed: slashing attachment comments (hopefully)
changed header.

4451 View | Annotate 08/28/2003 07:32 PM acydburn

saved one query by moving max smilie check to the emoticons function

4414 View | Annotate 08/21/2003 03:51 PM ludovic_arnaud

I said “temp”

4401 View | Annotate 08/13/2003 06:58 PM acydburn</