[BETA] Topic Tag Prefixes MOD 0.1.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Locked
User avatar
TheMoustic
Registered User
Posts: 76
Joined: Sat Aug 25, 2007 1:32 pm
Location: France

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by TheMoustic »

Hi !

I've upgrade bb3 to bb3.0.1, and i've this error in acp, forum mangement, when I click on "edit forum":
Fatal error: Call to undefined function: manage_forum_topic_tags() in (...) /includes/acp/acp_forums.php on line 692
Have you an idea ?
Theory, it is when nothing works, and when we know why.
Practice, it is when everything works, and when we do not know why.

Here, both are combined: nothing works, and nobody knows why.
Albert Einstein
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by joebart72 »

Hi Highway :)

Maybe I'm wrong but it really seems you don't care anymore about this mod... So many questions, bugs and we wait.. :? But you post new mods and it's great too :D

You talked about a next release a long time ago so can you tell us when you think to post it ?

Thanks for your work ;)
I learn English with phpbb.com :)
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Bend, OR
Name: David Lewis
Contact:

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by Highway of Life »

I’ve just been too busy to maintain this MOD... I have many others that are big that include the PayPal Donation MOD, the Referral Invitation MOD, the MOD Manager, the Activity Stats MOD, and many others... I spoke with RBCP today who asked what MOD he should create and I suggested he take this one over from me and continue development on it, as I don’t want everybody waiting on this one forever, as I am not interested in maintaining this one.

More news as it comes...
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by joebart72 »

Thanks for your answer and once again, thanks for all your mods :D
I learn English with phpbb.com :)
Forke
Registered User
Posts: 102
Joined: Fri Feb 08, 2008 6:03 am

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by Forke »

Highway of Life wrote:I’ve just been too busy to maintain this MOD... I have many others that are big that include the PayPal Donation MOD, the Referral Invitation MOD, the MOD Manager, the Activity Stats MOD, and many others... I spoke with RBCP today who asked what MOD he should create and I suggested he take this one over from me and continue development on it, as I don’t want everybody waiting on this one forever, as I am not interested in maintaining this one.

More news as it comes...
Thats great, Highway. I'd love to see some more development for this MOD, as it is one of the pillars of my forum.

Thanks for the news.
My first validated mod!
Adaptive Quick Search
User avatar
TheMoustic
Registered User
Posts: 76
Joined: Sat Aug 25, 2007 1:32 pm
Location: France

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by TheMoustic »

I've find and fix my error: it was just a file which was uncomplete because I upgrade my phpBB3.0.0 version to phpBB3.0.1 with a phpBBSeo premod.

Then, this mod does not work with phpBB30.0.1: tags appear on the post:

Image

in mcp:

Image

but not in the forum:

Image

I have exactly the same error on another forum.

I've check viewforum.php and all lines are ok.

EDIT:

Moreover, when I click on set as "post-it", I have:
[phpBB Debug] PHP Notice: in file /includes/functions_topic_tags.php on line 118: array_keys() [function.array-keys]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_topic_tags.php on line 118: array_combine() expects parameter 1 to be array, null given
Theory, it is when nothing works, and when we know why.
Practice, it is when everything works, and when we do not know why.

Here, both are combined: nothing works, and nobody knows why.
Albert Einstein
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by joebart72 »

Ca marche THE MOUSTIC, tu n'as pas fait la modif pour SEO justement. je continue en Anglais ^^

in viewforum.php find :

Code: Select all

		// Added by Topic Tags MOD
		topic_tags_title($row, $forum_data['forum_topic_tags']);
		// End Added by Topic Tags MOD
Add before :

Code: Select all

      // www.phpBB-SEO.com SEO TOOLKIT BEGIN 
      $row['topic_title'] = (isset($phpbb_seo->seo_censored[$topic_id]) ) ? $phpbb_seo->seo_censored[$topic_id] : censor_text($row['topic_title']); 
      // www.phpBB-SEO.com SEO TOOLKIT END 
Find :

Code: Select all

TOPIC_TITLE'      => (isset($phpbb_seo->seo_censored[$topic_id]) ) ? $phpbb_seo->seo_censored[$topic_id] : censor_text($row['topic_title']),
Replace with :

Code: Select all

         'TOPIC_TITLE'      => $row['topic_title'], 
Et roulez jeunesse :D
I learn English with phpbb.com :)
J.o.h
Registered User
Posts: 32
Joined: Tue May 11, 2004 12:47 pm

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by J.o.h »

Hi, how can I fit this mod in these 3 other mods:

NV_recent_topics
board3 portal
NV_advanced_last_topic_titles

:oops:
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by joebart72 »

J.o.h wrote:Hi, how can I fit this mod in these 3 other mods:

NV_recent_topics
board3 portal
NV_advanced_last_topic_titles

:oops:
I had asked for this too, with the search but impossible to have an answer...If someone know how to do. ;)
I learn English with phpbb.com :)
User avatar
TheMoustic
Registered User
Posts: 76
Joined: Sat Aug 25, 2007 1:32 pm
Location: France

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by TheMoustic »

Yeahh great !!

Fallait le savoir tout même ^^
Theory, it is when nothing works, and when we know why.
Practice, it is when everything works, and when we do not know why.

Here, both are combined: nothing works, and nobody knows why.
Albert Einstein
User avatar
cedarrapidsboy
Registered User
Posts: 35
Joined: Thu Sep 29, 2005 9:45 pm

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by cedarrapidsboy »

Want to add my voice for support of this MOD. It's sad to hear Highway has lost interest in it. I really hope someone will pick it up.

I'd love to see an automated flow between topic tags, that is, the topic tag changes automatically when a reply is posted, the topic is locked, etc.
User avatar
cedarrapidsboy
Registered User
Posts: 35
Joined: Thu Sep 29, 2005 9:45 pm

Sort forum using Topic Tag Prefixes MOD 0.1.0

Post by cedarrapidsboy »

I'm running a board that relies on topic tags for light weight incident states. [New], [Assigned], [Pending], [Resolved], etc. It is what it is. We're getting by, but wanted to be able to sort our forum view using the topic tags as the criteria. We use the term "State" to indicate what "state" the incident is in. This was fairly easy.

NOTE: The following in no way makes me a competent phpBB3 developer. I'm sure I've broken a few rules. However, it is easy, quick, and doesn't "modify" any existing phpBB3 or topic_tags code-lines (it only appends to it). I've only considered "en" language in this customization.

viewforum.php

Around line 210, add:

Code: Select all

//added for topic tags sort support
$sort_by_text['x'] = $user->lang['STATE'];
$sort_by_sql['x'] = 't.topic_tag_id';
//end topic tags sort support
  • $user->lang['STATE']: Reference to the local language constant for "State".
  • 't.topic_tag_id': Reference to the topic tag in this topic's SQL row.
language/en/common.php

Around line 823, append to $lang array:

Code: Select all

//added for topic tags sort support
$lang['STATE'] = 'State';
//end topic tags sort support
I encourage continued development of this MOD. I'll continue to post as we make changes to better support our incident management model. I hope to see topic tag colors, automatic topic tag transitions (incident state flows), and even locking/unlocking of topics based on topic tag selection.

BTW, if it isn't clear how to sort... at the bottom (typically) of the forum view, there is a drop-down box for sort criteria. This customization adds "State" as a sort criteria.
Forke
Registered User
Posts: 102
Joined: Fri Feb 08, 2008 6:03 am

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by Forke »

cedarrapidsboy, THANKS!!!

I updated my mod with your fix and it works just great. I changed the State part, of course. BTW: my forum is in Spanish, and the fix works too.

Is there a way to display ONLY topics with X tag? I mean a sort of... "view only [fixed] topics" or something like that.

I'll be looking forward to your fixes. :D
My first validated mod!
Adaptive Quick Search
User avatar
cedarrapidsboy
Registered User
Posts: 35
Joined: Thu Sep 29, 2005 9:45 pm

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by cedarrapidsboy »

Forke wrote:cedarrapidsboy, THANKS!!!

I updated my mod with your fix and it works just great. I changed the State part, of course. BTW: my forum is in Spanish, and the fix works too.

Is there a way to display ONLY topics with X tag? I mean a sort of... "view only [fixed] topics" or something like that.

I'll be looking forward to your fixes. :D
I'm glad this is useful. I can't commit to actually making future modifications... but I assume I will, and continue to alter topic tags to fit our model, and as I do, I will definitely post them.

Regarding hiding topics tags, I assume this would be done via the search.php page and use the 't.topic_tag_id' as a filter. I haven't actually looked into this, but that is where I would start.
JAMEEL225
Registered User
Posts: 70
Joined: Sun Mar 25, 2007 7:01 pm

Re: [BETA] Topic Tag Prefixes MOD 0.1.0

Post by JAMEEL225 »

hello dear

i have install this mod

its showing this error

and not apearing topic tak in new post and reply

plz help me

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_topic_tags.php on line 118: array_keys() [function.array-keys]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_topic_tags.php on line 118: array_combine() expects parameter 1 to be array, null given
Locked

Return to “[3.0.x] MODs in Development”