Register
phpBB.com Wiki · Home Projects Help

root / trunk / phpBB / includes / functions_module.php

functions_module.php

View | Annotate | Download (22.2 KB)

# Date Author Comment
8786 View | Annotate 08/24/2008 12:04 PM acydburn

Merge of the language-specific custom path change Revision #r8782

8572 View | Annotate 05/29/2008 02:25 PM acydburn

ok… i hope i haven’t messed too much with the code and everything is still working.
Changes:
- Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed.
- A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid(‘memberlist’)) – in this case the root path and extension get added automatically. The hook is called after these are added.

8477 View | Annotate 03/29/2008 01:08 AM naderman

Go away evil carriage returns\!

8351 View | Annotate 01/30/2008 05:14 PM acydburn

merge with revision #r8350

8349 View | Annotate 01/29/2008 04:57 PM acydburn

Merging revisions #r8346, #r8347 and #r8348

8146 View | Annotate 10/05/2007 04:30 PM acydburn

dumdidum… sorry. ;)

8026 View | Annotate 08/13/2007 02:24 PM acydburn

this addition was only a test…

8025 View | Annotate 08/13/2007 02:14 PM acydburn

Some changes… non-invasive…

7938 View | Annotate 07/24/2007 05:20 PM acydburn

+ some fixes

7900 View | Annotate 07/17/2007 06:08 PM acydburn

it has been decided amongst the team that using glob() is bad practice, after determining the overall usage among projects as well as the security history of the function.

7863 View | Annotate 07/10/2007 07:36 PM acydburn

more failsafe “glob()” method.

7848 View | Annotate 07/09/2007 01:33 PM acydburn

- do not include if there are no files fetched with glob()
- allow options for merged files on update (merge, new file, old file)

7819 View | Annotate 07/01/2007 08:46 PM acydburn

allow mod authors to plug in info_ language files for population within the menu.

7433 View | Annotate 04/30/2007 03:32 PM acydburn

“Ghost” topics in active topics list when shadow topics and corresponding topic in same resultset [#10313]
Find a member supporting hidden groups for those able to see them [#10305]
Display hidden groups for all those able to see them across the board (composing messages, viewonline)
Fix space for sending PM’s to groups
Let the permissions_phpbb file be included the same way as all other permission files [#10301]
Add request_a-z+ handling within modules_auth suggested by Pyramide. This will allow modders to directly show/hide their module in addition to !empty() $_REQUEST variables. [#10297]

7384 View | Annotate 04/22/2007 05:27 PM acydburn

#10005, #10003, #10001, #9999, #9945, #9965, #9909, #9906, #9877, #9861, #9831, #9830, #9815, #9665, #9624

prosilver adjustments for important announcements in ucp – #9995
MCP fixes for user notes/warnings – #9981
Preserving imageset values on save/edit
find a member link for Mass PM’s – #9925
syndicate window.onload events where necessary – #9878
Duplicate topics in forums with announcements – #9840
Email template for forced re-activation – #9808
Topic pagination adjustment – #9763
Changed compose message layout in UCP – #9706, #9702
Fixed inline attachment font size (hopefully)

7232 View | Annotate 03/26/2007 05:42 PM acydburn

some tiny bugfixes and changed is_active() a bit…

7229 View | Annotate 03/24/2007 07:00 PM davidmj

#5280

6925 View | Annotate 01/24/2007 12:29 PM acydburn

- added confirm box to ucp zebra (adding fried/foe)
- permission fixes for conversions
- use more appropiate error message within convertor if source tables could not be found
- other tiny fixes

6920 View | Annotate 01/22/2007 06:05 PM acydburn

fixing mcp bugs by introducing a new feature to check for loaded/accessible modules/modes. If the MCP module “logs” get disabled the quick mod tools on viewtopic still show a link to the logs, this will then lead to an error message. This is not fixable. The logs should be accessible to all moderators by default.

6803 View | Annotate 12/24/2006 02:11 PM acydburn

some fixes today
- most important change is the consolidation of the display attachment functions; merging them together to have one function we need to call.

6787 View | Annotate 12/21/2006 11:37 AM acydburn

- some fixes
- important bugfix for the mcp and determining allowed ids in general (if global announcements are included)

6630 View | Annotate 11/21/2006 07:23 PM acydburn

hmm, this was for debugging. :)

6628 View | Annotate 11/21/2006 07:15 PM acydburn

- fixing a bunch of bugs
- moved the install trigger error to sessions and also disabled it for those having DEBUG_EXTRA enabled.
i hope not having introduced too many new bugs.

6619 View | Annotate 11/20/2006 05:40 PM acydburn

fix for bug #5490
- make sure bots are catched by the posting auth too.

6614 View | Annotate 11/19/2006 10:00 PM acydburn

some tiny fixes.

6511 View | Annotate 10/19/2006 03:55 PM acydburn

Revised attachment categories a bit
Fixes for the following bugs:
#4830
#4818
#4816
#4810
#4808
#4798
#4796
#4772
#4662
#4646
#4546
#4524
#4270

I hope not having introduced additional severe errors :)

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

fix some bugs – hopefully not breaking anything…

6177 View | Annotate 07/13/2006 02:51 PM acydburn

- renamed the following columns:
comment -> attach_comment
new, forwarded, unread, marked, deleted -> pm_new, pm_forwarded, pm_unread, pm_marked, pm_deleted
module_name -> module_basename
value -> lang_value

- every column is now NOT NULL
- every column is now having a DEFAULT value
- hopefully mostly consistent across every db schema
- untested schemas: sqlite, oracle, firebird

6135 View | Annotate 07/01/2006 09:11 PM acydburn

- add additional auth check to the permission roles modules
- added new function to return globally used expressions (get_preg_expression($mode)). This should be very helpful in getting wide spread similar checks (regular expressions) to one place reducing the risk of forgetting to change every location if you fix one. ;) We will add additional ones later, at the moment only the email check is retrieved…
- added “active module” var to the module class returning the current active module
- changed call to image magick
- add administrator to global moderators group by default
- extend auth_option column a little bit
- other bugfixes

6054 View | Annotate 06/13/2006 12:16 AM acydburn

- get swatch converted into new acp format
- add page title to ucp pages
- add ability to supress getting the who is online list in page_header() (saves us ideally 1-2 queries on ucp/mcp pages)
- fixing pm rules a bit as well as now having complete author memberships for author_in_group (sender -> is in usergroup -> xxx)

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.

6013 View | Annotate 06/06/2006 12:45 PM acydburn

ok, try this one. :) Hopefully not breaking anything.

6012 View | Annotate 06/06/2006 12:38 PM acydburn

ah, damn, revert this change. If we check here, hidden modules are no longer able to be called.

6011 View | Annotate 06/06/2006 12:36 PM acydburn

correctly hide categories with only hidden modules

5997 View | Annotate 06/02/2006 11:35 AM acydburn

i see the reports arise…

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

5920 View | Annotate 05/17/2006 06:26 PM acydburn

fixing bug #1860

5767 View | Annotate 04/08/2006 03:01 PM acydburn

- changed module*_url to only use the main module name but the mode as parameter
- custom module lang function now suffixed by _lang
- added general custom function with mode and module_row parameter

- do not display friends/foes if zebra has been disabled

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

5612 View | Annotate 03/09/2006 07:32 PM acydburn

- fix cookie shortening
- let the acm handle the module cache
- call $cache->save() after destroying data if necessary

5570 View | Annotate 02/22/2006 12:39 PM naderman

- properly hide items

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

5547 View | Annotate 02/12/2006 04:07 PM naderman

- make acl_getf_global() availible to module auth checks

5517 View | Annotate 02/03/2006 09:59 PM acydburn

- ability to change anonymous user settings more easily
- fix serious bugs in permissions (always allowing if permissions explicitly set and getting wrong permission options from bitfield)
- added option for returning an array to make_forum_select
- again fixing bugs in module system (one for a very query consuming part and one for correctly filling the cache)

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

5459 View | Annotate 01/14/2006 09:35 PM davidmj

Rats! Out of Bug Spray… Still have a handy can of Superfluous Function-call Be-gone!

// TODO: Pick up more Bug Spray!

5432 View | Annotate 01/06/2006 11:38 PM grahamje

Fixing a permissions issue where a user only has local moderator rights.
David – please test to make sure it works for you as well
NB: There is still an outstanding issue on the queue module to be looked at later

5408 View | Annotate 12/30/2005 06:56 PM acydburn

- fix a very nasty error: If there is a tree of more than one category but with no module in there there is no module to activate (module not found error). We have to go through the tree to make sure we are not displaying categories with no modules – took a bit to find this bug. :/

5376 View | Annotate 12/25/2005 12:10 PM acydburn

- only include modules with the correct extension. ;)
- fix evaluating if module is enabled or disabled (now disables all childs if parent/category is disabled)

5325 View | Annotate 12/11/2005 12:20 AM acydburn

- custom profile fields
- prune users
- prune forums

5319 View | Annotate 12/04/2005 09:25 PM acydburn

- some bugfixes
- checking if page_header has been called already
- call correct page footer function
- rewrote avatar gallery
- seperated compilation of template and template functions (new file: functions_template.php)
- added assign_display function to template
- added group management (acp)
- removed admin_groups

5313 View | Annotate 11/28/2005 07:38 PM acydburn

- some SQL:2003 changes (basicly joins, mysql5 is sql:2003 compliant in strict mode now) – postgresql not supporting this standard. :/
- acp changes

5310 View | Annotate 11/20/2005 07:58 PM acydburn

- more acp additions and changes…

5305 View | Annotate 11/17/2005 10:54 PM grahamje

In keeping with tradition I remove yet more code….
(abstraction of functionality used by the mcp to allow it to be used
elsewhere)

5304 View | Annotate 11/17/2005 07:19 PM acydburn
  • empty log message *
5302 View | Annotate 11/17/2005 06:32 PM acydburn

- some ucp changes (added the module info too)

5300 View | Annotate 11/12/2005 08:03 PM grahamje

The MCP strikes back…. :-)

5295 View | Annotate 11/08/2005 08:24 PM acydburn

- add module_display to modules table (for modes executed but not displayed)
- correctly assign $id variable for modules (name for modules and id for categories)

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)

5268 View | Annotate 10/09/2005 07:59 PM acydburn

- added new query type to dbal’s sql_build_array
- allow setting custom template path
- adjusted module class to correctly parse trees with more than one category
- added caching to module class

5257 View | Annotate 10/04/2005 11:47 PM acydburn

dumdidum

5252 View | Annotate 10/04/2005 11:24 PM acydburn

- Pauls (psoTFX) new module class

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)

5016 View | Annotate 10/31/2004 02:26 PM psotfx

Hello everyone! My name is functions_module, happy to meet you … no humping please