Jump to content

Advanced Tags & Prefixes - IPS 4.x


Ryan H.

Recommended Posts

@Ryan H. I found what seems to appear to be a bug. When this application is active (amazing application btw), I can't change a database' info in the pages application from

firefox_2016-06-18_19-00-11.png

To "No store records in the database directly". No matter how many times I save it. No error logs just seem to be generated. I've tried it across two different sites/servers. Disabling it lets me edit it real fast but constantly doing that is not really an option.

Link to comment
Share on other sites

On 21.5.2016 at 2:16 PM, Beatrina said:

You answered:

I understand the appeal, but it's not an easy thing to accomplish. If nothing else, it would be very liable to cause performance problems.

--------------------------------

Sorting tags by tags and by forum and posting date ... showing in a forum ... is that so difficut and cause this realy performance problems?

I though it is just a sorting thing like sort by: recently updated, last reply, title, start date, most viewed and so on.

And doesn´t do the job -the search engine- at the moment when you click on a tag (searching for a special tag but in all forums not in a special one)?

 

Edited by Beatrina
Link to comment
Share on other sites

On 6/17/2016 at 6:31 AM, Unlucky said:

Hi,

Getting this error - can you please advise how to resolve it?

ErrorException: Division by zero (2)

It happens because there isn't enough variety in your tag cloud (they all have the same occurrences). As soon as one tag occurs more than the rest, the error will go away. I'll fix that for next release.

On 6/17/2016 at 9:31 PM, jp said:

When i move topics that have been tagged to another forum category, all of the tags of the topics that have been moved disappear. Is this supposed to happen or is it a bug?

If it is supposed to happen it should be fixed as it isn't a very good method. I have thousands of topics tagged and I want to move these into some different categories but now this means i can't.

I've made sure the category has the tags of the topics i am moving as well. 

need help please as i want to recategorise a large portion of my website urgently. thanks

First I've heard of such an issue, never seen it myself. It's certainly not intentional, but I can't say much more than that at this point. What version of IPB? How are you moving them? If you run a search reindex, does that fix it?

On 6/18/2016 at 10:10 AM, GrooveOnBeat said:

1) I'd like to suggest the option to set the form permissions when creating prefixes, instead of having to go to each forum and adding in the prefixes. :smile:

Fine idea, but I'm trying to keep everything app-agnostic. I couldn't add that without making it completely Forum-specific. Doing that for every prefix-capable app in turn is not very practical.

On 6/18/2016 at 10:10 AM, GrooveOnBeat said:

2) Has the bug in which database cannot save settings when Advanced Tags & Prefixes is enabled, been fixed?

Not yet.

On 6/18/2016 at 7:03 PM, The Dark Wizard said:

@Ryan H. I found what seems to appear to be a bug. When this application is active (amazing application btw), I can't change a database' info in the pages application from

firefox_2016-06-18_19-00-11.png

To "No store records in the database directly". No matter how many times I save it. No error logs just seem to be generated. I've tried it across two different sites/servers. Disabling it lets me edit it real fast but constantly doing that is not really an option.

This is a known bug, see numerous replies on the last page. Until it's fixed, you can temporarily disable AT&P to make any Pages settings changes.

2 hours ago, Beatrina said:

Sorting tags by tags and by forum and posting date ... showing in a forum ... is that so difficut and cause this realy performance problems?

Yes.

2 hours ago, Beatrina said:

I though it is just a sorting thing like sort by: recently updated, last reply, title, start date, most viewed and so on.

No, it is not "just a sorting thing".

2 hours ago, Beatrina said:

And doesn´t do the job -the search engine- at the moment when you click on a tag (searching for a special tag but in all forums not in a special one)?

I'm not sure I understand. Are you saying, since the search engine already incorporates tags and forums, it should be easy? ...No, the search engine functionality would not help with filtering and sorting a forum. I'm not about to rewrite a fundamental part of the Forum application.

Link to comment
Share on other sites

Has anyone used this with the Rules application? I use Adv Tags in my forsale forums and want threads to autoclose when the tag is changed to SOLD. Can't seem to get it to work and wanted to see if someone could share theirs.

Link to comment
Share on other sites

9 minutes ago, NoGi said:

Has anyone used this with the Rules application? I use Adv Tags in my forsale forums and want threads to autoclose when the tag is changed to SOLD. Can't seem to get it to work and wanted to see if someone could share theirs.

Tags are a core feature, so unless you're talking about adding or changing tags through some app-specific feature (saved actions, mass add, tag edit, etc), I would expect it to work--but that's all on the Rules app.

Link to comment
Share on other sites

29 minutes ago, NoGi said:

Arrrghh sorry, I meant prefix. When the prefix is changed to SOLD, I want the thread to be closed.

prefix.PNG

Well, same answer: Prefixes are a core feature too. I can't be sure of how Rules works to say whether it would pick it up with AT&P in place, but I would expect that it should.

Link to comment
Share on other sites

2 minutes ago, The Dark Wizard said:

@Ryan H.

If someone sets a tag that is similar to the prefix, the prefix won't appear even though it is required for the forum.

However if I reapply the staff tag.

Reapply the prefix:

I'm not sure I follow. Are you saying "staff" was entered both as prefix and tag?

Link to comment
Share on other sites

2 minutes ago, Ryan H. said:

I'm not sure I follow. Are you saying "staff" was entered both as prefix and tag?

Well staff is an example but yes. If the prefix matches a tag, the prefix won't appear until the tag is removed.

So if a thread has both Prefix X and Tag X, then only tag X manifests.

Link to comment
Share on other sites

5 hours ago, The Dark Wizard said:

@Ryan H. Would you like a live example?

That probably won't be necessary. I need to try reproducing it still, but I imagine I will be able to. That kind of behavior doesn't surprise me.

As for the Pages issues people are having, I've heard rumor that the upcoming 4.1.13 release might address the problem. Can't promise that though.

Edited by Ryan H.
Link to comment
Share on other sites

Need help please!

 

ErrorException: Division by zero (2)
#0 /home/encontinuo/www/applications/advancedtagsprefixes/widgets/tagCloud.php(219): IPS\IPS::errorHandler(2, 'Division by zer...', '/home/encontinu...', 219, Array)
#1 /home/encontinuo/www/system/Widget/Widget.php(755): IPS\advancedtagsprefixes\widgets\_tagCloud->render()
#2 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(13110): IPS\_Widget->__toString()
#3 [internal function]: IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#4 /home/encontinuo/www/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#5 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(10979): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#6 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(10979): IPS\Theme\SandboxedTemplate->widgetContainer('sidebar', 'vertical')
#7 [internal function]: IPS\Theme\class_core_front_global->sidebar('right')
#8 /home/encontinuo/www/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#9 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(4953): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#10 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(4953): IPS\Theme\SandboxedTemplate->sidebar('right')
#11 [internal function]: IPS\Theme\class_core_front_global->globalTemplate('28a0034a542283d...', '?<img src="http...', Array)
#12 /home/encontinuo/www/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)

Link to comment
Share on other sites

16 hours ago, Pedro Ibáñez said:

Need help please!

 

ErrorException: Division by zero (2)
#0 /home/encontinuo/www/applications/advancedtagsprefixes/widgets/tagCloud.php(219): IPS\IPS::errorHandler(2, 'Division by zer...', '/home/encontinu...', 219, Array)
#1 /home/encontinuo/www/system/Widget/Widget.php(755): IPS\advancedtagsprefixes\widgets\_tagCloud->render()
#2 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(13110): IPS\_Widget->__toString()
#3 [internal function]: IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#4 /home/encontinuo/www/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#5 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(10979): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#6 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(10979): IPS\Theme\SandboxedTemplate->widgetContainer('sidebar', 'vertical')
#7 [internal function]: IPS\Theme\class_core_front_global->sidebar('right')
#8 /home/encontinuo/www/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)
#9 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(4953): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#10 /home/encontinuo/www/system/Theme/Theme.php(718) : eval()'d code(4953): IPS\Theme\SandboxedTemplate->sidebar('right')
#11 [internal function]: IPS\Theme\class_core_front_global->globalTemplate('28a0034a542283d...', '?<img src="http...', Array)
#12 /home/encontinuo/www/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array)

That happens because there isn't enough variety in your tag cloud (they all have the same occurrences). As soon as one tag occurs more than the rest, the error will go away. I'll fix that for next release.

Link to comment
Share on other sites

29 minutes ago, mistera said:

Hello, 

I'm in trouble with prefix. Even with good setting, prefix doesn't appear in appropriate forum. Tags can be used. 

What version of IPB?

Do you have prefixes enabled under Posting settings? Is your group allowed to use them?

Link to comment
Share on other sites

I just noticed that when a prefix is used, the default IPS sidebar for Topic listing no longer hyperlinks the topic title. Only seems to happen with topics using a prefix.

no hyperlink.png <- Dar is not hyperlinked to go to the Topic

Link to comment
Share on other sites

Just now, NoGi said:

I just noticed that when a prefix is used, the default IPS sidebar for Topic listing no longer hyperlinks the topic title. Only seems to happen with topics using a prefix.

no hyperlink.png <- Dar is not hyperlinked to go to the Topic

4.1.13, or earlier?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...