Global Links

Site links


Bugtracker :: Bugtracker3 (feature requests) :: Prefix for the comments i... :: View request

Jump to 
Application Bugtracker3 (feature requests) Description Feature requests for bugtracker3 - what do you want to see in the next version.

Current release candidate v1.0 RC6
Owner bugrain
#266 [New feature] Prefix for the comments in latest comment menu etc.
Posted by alexx Tue 19 December 2006 - 16:12:10 Last updated by bugrain Tue 19 December 2006 - 16:49:55
Priority Low Resolution Awaiting Feedback
Status Open Implemented in version
It has no prefix in the lastest comment menu right now(like [news], it is nice to follow the setup and gat a [bugtracker] and [feature request] )
Maby this should me in bugs because it lookes like its included in the e_comment.php ($plugin_name = $pref["bugtracker3_pagetitle"]; )
I tested with " $plugin_name = COMLAN_TYPE_6; " and this workes good but only gives out bugtracker ofcourse.not Feature request..
Related feature requests
Developer comments
No comments.


bugrain (Comments: 372)

More info.

Please provide more info. As far as I know $plugin_name is the text used for the link to the main (in this case) Bugtracker page.

My List new pages/menus do not have any [...] prefix.
alexx (Comments: 8)

Re: More info.

If you see here : -link- , in the Last Comments menu the links has prefixes like [Links_Page] and [news] depending on where the comments are placed. But no [bugtracker] for the one comment placed in the bugtracker. As i understand it this is controlled by $plugin_name or $e_comment[plugin_name] . so in your file its $plugin_name = $pref["bugtracker3_pagetitle"]; and then nothing happens(im not shure what you meant it to do either). So i played a bit with it and tried
$plugin_name = BUG_LAN_BUGTRACKER; and then it gets a [Bugtracker3] prefix. Now this is not perfect because we want it to have a Bugtracker prefix when its a bug comment and a Feature request prefix when its a comment for a feature req.
alexx (Comments: 8)

Re: More info.

ps. BUG_LAN_BUGTRACKER calles to the first line in the language file
bugrain (Comments: 372)


OK, I see you are talking about the individual 'comments' menu - thought you were talking about the List New plugin.

So I activated it on my test site, and I get [Bugtracker] before each comment in the list.

Not sure about changing it, though. It does come from $plugin_name, as you say, but in the List New plugin this is used as the text of the href to the main Bugtracker page, so why would you want it to be different there.

As the comments menu uses the same e_comments.php file as List New then you changes it for both or neither.

Will have a think about this in relation to the 'combining bugs and feature requests in to one application' feature request.

You must be logged in to make comments on this site - please log in, or if you are not registered click here to signup