phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[RFC|Replaced] topic_title, forum_title hook

These event requests have either been rejected by the community or have become redundant because of code changes or other events requests.

[RFC|Replaced] topic_title, forum_title hook

Postby parasolx » Mon Nov 01, 2010 11:39 am

* Name: hook_topic_title, hook_forum_title

* Rationale: it allow to modified the title display of topic title. by passing this hook, it can be used to re-write the actual URL to be more clean by hook it into SEO MODules (seo MODX). also rest MODX such as topic title can easily altered to add tag like [SOLVE], [REQUEST]. also it can capable feature MODX to create auto-topic title by applying any TOKEN based on forum or scheme provide such as date, user create or rest.

* Placement: include/posting.php, viewtopic.php, viewforum.php

* Input arguments: $title, $recursive = null (this will include an array to altered or will be addon by other MODX), $permission

* Output format: $topic_title, $forum_title

* Output semantics:
Code: Select all
$posting_title = hook_topic_title($posting_title, $recursive = null, $permission);


* Infrastructure: void

* Related: hook_topic_row, hook_forum_row
parasolx
Registered User
 
Posts: 10
Joined: Mon Feb 02, 2009 3:07 am

Re: topic_title, forum_title hook

Postby MichaelC » Thu May 31, 2012 3:24 pm

This is already added in the viewtopic and viewforum events.
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.
User avatar
MichaelC
Website Team
Website Team
 
Posts: 798
Joined: Thu Jan 28, 2010 6:29 pm


Return to [3.x] Rejected Event Requests

Who is online

Users browsing this forum: Google [Bot] and 1 guest