Register
Home Projects Help

root / branches / phpBB-3_0_0 / phpBB / includes / acp / acp_forums.php

acp_forums.php

View | Annotate | Download (60.1 KB)

# Date Author Comment
8655 View | Annotate 06/13/2008 09:39 PM acydburn

Fix some instances where we left db connections open (registration -> captcha for example)

8479 View | Annotate 03/29/2008 01:22 AM naderman

Hiding everywhere little buggers, eh?

8407 View | Annotate 02/27/2008 04:10 PM Kellanved

Using new validation options;
#15539

8374 View | Annotate 02/03/2008 11:55 PM naderman

merging r8373 into 3.0 branch: adding a new option to hide the entire list of subforums on listforums

8285 View | Annotate 12/26/2007 03:53 PM

This commit was manufactured by cvs2svn to create branch ‘phpBB-3_0_0’.

8253 View | Annotate 11/27/2007 04:13 PM kellanved

#15554
#15464
#15384
Yes, there is a lang change.

8197 View | Annotate 10/15/2007 08:06 PM kellanved

indeed.
#14789

8194 View | Annotate 10/15/2007 01:10 AM acydburn
  • empty log message *
8186 View | Annotate 10/14/2007 07:50 PM acydburn

use language variable

8172 View | Annotate 10/13/2007 12:30 PM acydburn

tiny tiny tiny

8171 View | Annotate 10/13/2007 12:26 PM kellanved

Lets put it back where it belongs.

8170 View | Annotate 10/13/2007 12:07 PM kellanved

errm, we actually want that.

8147 View | Annotate 10/05/2007 04:36 PM acydburn

dumdidum… sorry. ;)

8143 View | Annotate 10/05/2007 03:14 PM kellanved

#i43

8120 View | Annotate 10/03/2007 05:05 PM kellanved

Ok, here comes a big one. Poor updater. Also requires testing.

#i91
#i92
#i93
#i94
#i95
#i96

8099 View | Annotate 09/22/2007 08:31 PM acydburn

#i62 – #i65
gone through every javascript invocation and making sure we adhere to our coding guidelines.

8083 View | Annotate 09/07/2007 04:01 PM kellanved

Maybe – just maybe – it might a good idea to only allow users actually allowed to change permissions to do so.

8072 View | Annotate 08/30/2007 11:21 PM acydburn

necessary changes…

7920 View | Annotate 07/22/2007 10:11 PM acydburn

try to normalize everything…

7916 View | Annotate 07/21/2007 01:55 PM kellanved

err

7915 View | Annotate 07/21/2007 01:39 PM kellanved

#13663

7895 View | Annotate 07/16/2007 04:02 PM acydburn

- Handle forum links/redirects within viewforum if no read permission given (to display login box or error message) (Bug #13467)
- Prevent changing postable forum having subforums to link forum without moving subforums out first

7736 View | Annotate 06/09/2007 01:11 PM acydburn

ok, mess around with the templates + fixing some bugs + adjusting headers for those files already modified to circumvent conflicts for those having their editor set to remove trailing spaces (not recommended!)

7677 View | Annotate 05/25/2007 06:03 PM kellanved

Introduced checks to stop negative postcounts (Bug #11561, #11421)
Allow IP v4/v6 urls for remote avatars (Bug #11633)
Delete avatar files automatically (Bug #11631)
Automatically add selected columsn to group by statements in the converter (Bug #11465)

7652 View | Annotate 05/20/2007 12:07 PM acydburn

language change and reset locked status for link forum type.

7581 View | Annotate 05/15/2007 12:55 PM acydburn

added subforum read/unread icons (thanks to thatbitextra for providing them).
fixed issue with forum passwords only alloweing ASCII in administration while allowing non-ASCII on user-entered passwords

7517 View | Annotate 05/09/2007 07:37 PM acydburn

sync topics before forum.

7498 View | Annotate 05/07/2007 05:17 PM acydburn

fix moving forums around. :o

7466 View | Annotate 05/05/2007 06:53 AM davidmj

- changed the way we do forum accounting in phpBB, far less intensive and much faster. sync() recalculates the number of topics and posts using just the topics table instead of having to join topics and posts together. However, even this can be avoided if we know what operation is happening and an auto sync is not in action. Since MCP operations are “known”, we can provide very fast MCP operations.
- changed the way we decide if a DB gets multi value support. Old method uses switch/case, new method assumes a DB can’t unless the DB says it can via a property

I hope nothing is broken :P

7456 View | Annotate 05/04/2007 02:30 PM acydburn

added class for disabled options in ACP
E_USER_ERROR now using language keys if available [related to #10445]
UCP/MCP title tags [#10441]
Check $start parameter in viewforum [#10435]
Check for postable forum for moving user posts within users ACP [#10433]
Show error if admin tries to put forums beneath linked forums [related to #10433]
Correctly catch attachments while moving posts [#10431]
language change in install.html [#10425]
Updated AUTHORS file

7318 View | Annotate 04/09/2007 09:44 PM davidmj

#9551

7189 View | Annotate 03/14/2007 09:53 PM davidmj
  • empty log message *
7188 View | Annotate 03/14/2007 07:52 PM acydburn

- fixed a bug in syncing forums/topics in ACP
- now also syncing moved topics having no information at all (this may only be triggered while converting)

7137 View | Annotate 03/06/2007 05:06 PM dhn2

Be gone thou hardcoded image dimensions! There is not enough room for both of us!

6915 View | Annotate 01/21/2007 07:33 PM acydburn

fixing some bugs, most being submitted grammatical/spelling errors.

6905 View | Annotate 01/18/2007 03:41 PM acydburn

fixing some bugs

6894 View | Annotate 01/17/2007 07:41 PM acydburn

ok, handled some bugs… the most important being validate_username (the variable passed to validate_data([...]array(‘username’, [...])) and updating group listings while doing relevant group actions. Oh, and PM icons are working now. :o

6880 View | Annotate 01/11/2007 06:44 AM davidmj

#6772
- some other random things

6829 View | Annotate 01/02/2007 05:35 PM acydburn

- do not allow setting the parent to currently assigned childs [Bug #6708]
- Allow the display_on_index setting to be specified for link forums [Bug #6660]
- Rank code in functions_display.php [Bug #6656]
- Added some new locations for the viewonline page [Related to bug #6484]
- Do not display attached images inline if user disabled image display in posts; the same with flash files [Bug #6226]

6818 View | Annotate 12/28/2006 05:21 PM acydburn

- made sure ranks are displayed correctly (used RANK instead of RANK_TITLE)
- #6630
- hide a few links from bots (forum/topic marking, memberlist, post/reply/quote/edit/etc. buttons) [#6354]
- #5698

6816 View | Annotate 12/27/2006 06:43 PM acydburn

Unused Code inside function update_forum_data [Bug #6606]
Copy permissions protection for groups [Bug #6594]
HTML issues in ACP [Bug #6580, #6578]
Always send the correct encoding [related to bug #6576]
Mass email fixes for first loop iteration [Bug #6570]
Extension groups to be allowed in PM’s and/or Posts [Bug #6558]
Extension allowance checking clarified (no longer using forum id 0 for private messaging)
Using request_var() array method for some variables [Bug #6556]
Added confirmation for deletion of ranks/smilies/icons/word censores [Bug #6548, #6530, #6512, #6466]
Only show postable forums in dropdown list for moving posts on forum deletion as well as correct re-indexing [Bug #6510, #6476, #6384]
Jabber password being password field in jabber settings screen [Bug #6478]
user activity language variable if viewing not own profile [Bug #6432]
Show moderator group/user-name colour [Bug #6402]
Log rank creation/updating/removing [Bug #6398]
Update check permission changed from a_ to a_board [Bug #6392]

6601 View | Annotate 11/18/2006 05:27 PM acydburn

- a handful of mcp fixed, the most important one is the change for check_ids() – it is now supporting ids from more than one forum too, making it possible to use some mcp features as designed initially. We really need to get our moderator team testing the mcp extensively.
- fixed some other tiny glitches
- if a forum category with subforums get changed to a link type forum give options of what to do with the subforums (#5334)
- other bugfixes

6584 View | Annotate 11/15/2006 04:35 PM acydburn

- fixes for the following bugs:
#5326
#5318
#5304
#5290
#5288
#5278
#5276
#5272
#5266
- also fixed the “Call-time pass-by-reference” bug #5252
- within this step changed the normalize calls to require references.
- added captcha size variables to the class scope (suggestion was posted at area51)

6524 View | Annotate 10/24/2006 12:32 AM davidmj

This was caused by the removal of DEFAULT on some TEXT columns (MySQL really does not allow this). Only those using MySQL felt this issue :P

6497 View | Annotate 10/14/2006 04:56 PM acydburn

- store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks
(hopefully not introduced any parsing errors)

6470 View | Annotate 10/08/2006 09:04 PM acydburn

- forum image being an additional image instead of replacing forum indicators
- reasons fixes

6420 View | Annotate 09/30/2006 05:06 PM acydburn

just realizing that it is better to limit the uses of RANGE.

6419 View | Annotate 09/30/2006 04:58 PM acydburn

- fixing a bug i am unsure about when it occurs (but it occurs). The symptoms are broken template cache files if after removing unnecessary php opening/closing tags result in statements being syntactially incorrect.
- added real syncing to forums acp (not only forum statistics rebuild)

6383 View | Annotate 09/23/2006 12:14 AM acydburn

some tiny fixes here and there

6365 View | Annotate 09/13/2006 08:19 PM acydburn

seems like i forgot something. :)

6364 View | Annotate 09/13/2006 06:08 PM acydburn

- fixed some bugs
- changed attachment handling a bit
- tried to remove target tags out of the code
- do not add session ids to urls for bots as well as not creating a new session on each page view for them

I bet i introduced some bugs too. ;)

6342 View | Annotate 09/01/2006 03:16 PM acydburn

fix some bugs – hopefully not breaking anything…

6320 View | Annotate 08/28/2006 05:50 PM acydburn

- some bugfixes
- using E_USER_WARNING if an error occurred within the ACP (sadly not able to use it as a default for trigger_error – it seems to be hardcoded in PHP)

6271 View | Annotate 08/12/2006 03:14 PM acydburn

sql_in_set changes

6239 View | Annotate 08/06/2006 08:06 AM davidmj
  • empty log message *
6238 View | Annotate 08/06/2006 07:52 AM davidmj

This should end some issues we have been having regarding the proper binary encoding of stuff. :D
Acyd Burn: quit breaking the schema :P

6232 View | Annotate 08/03/2006 05:23 PM acydburn

- custom profile field fixed
- fixing sql_fetchfield from cache
- changing the quote parser. In my tests i have not seen changed behaviour – but i might have broken something with this change.

6209 View | Annotate 07/24/2006 12:08 PM davidmj

OK…

This commit should increase the total number of BBCodes from 31 to 2040. Some things to watch out for:

Each database likes to deal with binary data in its own, special way. They are, quite frankly, too cool for school.

MySQL, MSSQL and Oracle all allow me to send in a default value for their binary column using a hex number. However, MSSQL forces me to send the specific data as a hex number and thus we must CAST it.

PostgreSQL allows me to set a binary column, but with a twist. It demands that the default be in octal and its datatype allows somewhere around a gigabyte’s worth of BBCodes ( PGSQL users, we shut you down to 2040 for your own good! )

Firebird has no decent mechanism for allowing me to shuttle in binary data so I must force my way in. By virtue of triggers and a UDF, we ram in our default values.

SQLite is the most bizarre of them all. They have no mechanism for turning an ASCII code into a ASCII character. Because of this, we have a trigger and a UDF (just like Firebird!) but with a twist! The UDF is defined on the PHP side of things instead of SQL. SQLite also demands that it’s data be encoded before being sent off.

Other notes:
- SQLite installs again :D
- Firebird nearly installs again :P
- Database backup is not screwed up :P

P.S.
I hope nothing broke :D

6198 View | Annotate 07/20/2006 11:45 PM acydburn

- some bugfixes
- set ip_check to A.B.C. by default
- display postings in other encodings by default and present link to force the encoding as usual.

6188 View | Annotate 07/17/2006 05:23 AM davidmj

hmm… This commit does not increase the number of BBCodes. However, this does other things that we need to do first. This splits the usage of allow_* from the BBCode bitfield in forum descriptions, forum rules and group descriptions. This also fixes a tiny, tiny severe issue that nobody found :D I hope it works :P

6161 View | Annotate 07/09/2006 06:23 PM acydburn

- tackle some usability issues
- fix bug #3147
- added the lock-images made by SHS`
- fixed MSSQL errors (adding the correct ESCAPE sequence)

6114 View | Annotate 06/22/2006 05:14 PM acydburn

time to squash some bugs

6107 View | Annotate 06/20/2006 09:00 PM naderman

- correctly display subcategories
- use L_TRANSLATION_INFO [Bug #2357]
- always begin with ACL_UNSET in permission trace
- allow copy permissions when editing a forum
- default to parent forum for copying permissions
- no duplication of the breadcrumps on registration [Bug #2307]

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

6048 View | Annotate 06/11/2006 08:13 PM acydburn

- fixed a few bugs
- added user_add() function
- check posted images ([img]) for same domain/scipt and php files
- auth_api.html updated to the coding guidelines look&feel
- introduced ability to force non page-updates (cron is using it)
- correctly resend coppa email

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

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

6021 View | Annotate 06/07/2006 09:32 PM acydburn

ok, sorry for this. :/
- cleaned up table names/constants

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.

5995 View | Annotate 06/01/2006 03:47 PM acydburn

- create forums by default
- hide prune options if not enabled
- fixed module management enable/disable switch if in module itself
- fixed some schema errors
- adjusted $user->page array generation for developers calling scripts outside of phpBB root

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

some tiny changes…

5940 View | Annotate 05/20/2006 03:20 PM acydburn

- seperate queries and cached queries
- display correct read/unread information while displaying active topics
- fix for SELECT DISTINCT in mssql using sql_query_limit
- fix for forum updating in ACP using mssql (and probably other dbal having problems with primary keys in updates)

5929 View | Annotate 05/18/2006 08:18 PM acydburn

- added a few missing log variables
- include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now)
- added check to cron.php
- added database_gc config variable
- recalculate binary trees every once a week ;)

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

5728 View | Annotate 03/26/2006 01:36 PM acydburn

ok, this should work now (multi-table deletion syntax changed between mysql 4.0 and mysql 4.1)

5725 View | Annotate 03/25/2006 08:14 PM acydburn

ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing “hacks” is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code.

5715 View | Annotate 03/25/2006 04:32 PM acydburn

fix “copy permissions” as well as shortening the $acl_url for redirecting to the permissions screen.

5711 View | Annotate 03/25/2006 02:05 PM acydburn

fixed tiny bugs

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)

5643 View | Annotate 03/17/2006 01:51 PM acydburn

- fix some bugs…

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

5574 View | Annotate 02/22/2006 10:42 PM acydburn

implementing permission roles

- copy permissions (adding groups)
- copy permissions (adding forums)
- checking proper groupadd/del settings
- added intro page to permissions (to give an overview and quick links)
- able to select forums + subforums, single forum, all groups, all users (permission screens)
- able to reset permissions (only reset input field)
- fix forum deletion bug

5558 View | Annotate 02/18/2006 02:54 PM acydburn

- fix some tiny bugs
- fix module system (sometimes the layout is broken due to falsly deactivated categories)
- auth updates (setting permissions)
- fix “category jumping” bug in acp
- u_action is defined by the module itself

5553 View | Annotate 02/12/2006 08:21 PM acydburn

my turn to break things… harharhar
- checking in permission settings and permission masks
- permission presets and documentation not finished yet
- added backtrace function to determine file/line for sql errors
- fixed marlist for orphan attachments/groups/logs/users
- able to change anonymous user settings/permissions now
- re-arranged admin permissions a bit (added some and removed some)
- setting forum permissions after creating/editing forum now selects every default group (copy permisson/dropdown to be added for adding forums)
- finished user permissions in users acp

note: the layout for permissions might change
devs: please empty the user_permissions in phpbb_users. Also, first change your auth_options table, remove all cache files and then re-set admin permissions. After having set the admin permissions you can update your modules table (else you will not see the permission tabs) – or empty the auth setting within the modules table to be able to see the permission modules (they rely on newly added permission options)

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

5330 View | Annotate 12/13/2005 12:17 AM acydburn

- forum administration (now working and modified for easier handling the different forum types [UI])
- Changed += for arrays into array_merge. We do not want to append, we want to merge. ;)