Name: hook_viewforum_sql
* Rationale: Allows the modificatation of sort order and filtering and just the SQL query in general. Used in mods that customise the viewforum output or sorting order/key, e.g add WHERE forum_icon= to the query
* Placement: viewforum.php
* Input arguments: $sql (the old sql, array or string?), sort key, sort order
* Output format:
false/null => Use normal passed sql/normal
string => Replace sql with string
array => build SQL -> Replace
* Output semantics:
Standard
* Infrastructure: void
* Related: none
viewforum query hook
These event requests have either been rejected by the community or have become redundant because of code changes or other events requests.
Post Reply
1 post
• Page 1 of 1
Return to “[3.x] Rejected Event Requests”
Jump to
- www.phpbb.com/community/
- General Development Discussion
- phpBB 4.x Development
- ↳ [4.x] Discussion
- ↳ [4.x] Tickets Discussion
- ↳ [4.x] Style Development
- phpBB 3.x Development
- ↳ [3.x] Discussion
- ↳ [3.x] Tickets Discussion
- ↳ [3.x] Style Development
- ↳ [3.x][Archive] RFCs
- ↳ [3.x] Event Requests
- ↳ [3.1/Ascraeus] Merged RFCs
- ↳ [3.1/Ascraeus] Merged Event Requests
- ↳ [3.2/Rhea] Merged RFCs
- ↳ [3.x] Rejected RFCs
- ↳ [3.x] Rejected Event Requests
- Everything Else
- ↳ Chit Chat
- ↳ Testing subforum
- ↳ Subforum
- ↳ A "category" subforum in the Testing subforum
- ↳ A sub-sub-forum
- ↳ Passworded Forum
- ↳ Archive of phpBB related forums
- ↳ phpBB 3.0.x Support
- ↳ phpBB 3.0.x MOD/Style Support
- ↳ EasyMOD for 2.0.x
- ↳ Download EasyMOD
- ↳ Announcements and News
- ↳ General EM Discussion
- ↳ Installing EasyMOD
- ↳ Installing MODs with EasyMOD
- ↳ SQL Parser
- ↳ EMC Discussion
- ↳ Bug Tracker
- ↳ Feature Requests
- ↳ Stable Branch: phpBB "Olympus" 3.0
- ↳ [3.0/Olympus] Discussion
- ↳ [3.0/Olympus] New features discussion
- ↳ [3.0/Olympus] Styling