Jump to content

Radical Tags


Makoto

Recommended Posts

Posted
6 hours ago, Mike Redman said:

Hi

Can you tell me if images are supported as prefixes please? 

 

I think we were using the predecessor to this, and it allowed it. 

Essentially we use country flags as prefixes, with the use of PNGs. 

 

On 12/6/2020 at 10:00 PM, Makoto said:

Sorry about that! Here's some example code you can use in the advanced editor; just replace the href link with the actual link to where your image is located.

<a href="{tagUrl}"><img src="https://your-image-url.com/" data-ipstooltip alt="{tag}" title="{tagTitle}" height="22px" style="padding-right: 2px;"></a>

 

 

  • 2 weeks later...
Posted
On 7/26/2021 at 5:33 PM, CyanideBurial said:

When trying to use this on IP pages database when i try to use prefix tag mode the field disappears.

Tags are enabled on the database.

Sorry for the late response! Are you able to set me up with temporary access to this IPS installation so I can take a look?

Just send me a DM here if you can and I'll see what's going on.

Posted

Hi, this application causes an error when I want to clone download categories ...

UnderflowException:  (0)
#0 /home/**********/public_html/system/Node/Model.php(3019): IPS\Db\_Select->first()
#1 /home/**********/public_html/init.php(902) : eval()'d code(225): IPS\Node\_Model->__clone()
#2 /home/**********/public_html/applications/downloads/sources/Category/Category.php(753): IPS\Node\radtags_hook_C_NodeModel->__clone()
#3 /home/**********/public_html/system/Node/Controller.php(908): IPS\downloads\_Category->__clone()
#4 /home/**********/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->copy()
#5 /home/**********/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#6 /home/**********/public_html/applications/downloads/modules/admin/downloads/categories.php(44): IPS\Node\_Controller->execute()
#7 /home/**********/public_html/system/Dispatcher/Dispatcher.php(153): IPS\downloads\modules\admin\downloads\_categories->execute()
#8 /home/**********/public_html/admin/index.php(13): IPS\_Dispatcher->run()
#9 {main}

When I deactivate Radical Tags everything works fine.

Posted

Hi @Darth Vortex,

Can you please confirm whether or not you are running the latest version of the application?

If you are, can you please send me a PM here and provide me with a temporary AdminCP account so that I may look into the issue for you further?

Posted

I'll have to try and see if I can replicate the issue locally, but without direct access to test I can't provide any ETA on a fix I'm afraid.

Please make sure you follow the application and look out for updates in the meantime.

  • 4 weeks later...
  • 3 weeks later...
Posted (edited)

I have an issue when I replaces tags, I changed the string from Hebrew work to an English(merged to an existed tag),

In the topics list I see the old tags, but when I enters to the topic, there's a new one without the older tags that I still see in the topics list.

Also, I cannot find the "older tags" in the ACP -> Manage Tags

Topics list:

image.png.0e1983331f856d8e09d82e4000a696ed.png

Inside the topics:

image.png.8d1360fd2707c04cba0d85615ea67e53.png

image.png.41d6d11b0beae1e8ee244b14973b56fa.png

image.png.59d74268545ec88195b3cb56841979c7.png

Edited by IceCore
Posted (edited)

EDIT: Fixed by replacing NULL values for tag_text with 'null' string in core_tags, so the question is why the tags were nullified.

Need help with the following error. I have a NULL tag(s) somehow I suspect and want to know how I can get around it. This one prevents me from displaying my forum base page (due to widget error):

TypeError: Argument 1 passed to IPS\radtags\Tag\_TagFactory::getTag() must be of the type string, null given, called in /srv/sites/_forum/applications/radtags/widgets/tagCloud.php on line 80 (0)
#0 /srv/sites/_forum/applications/radtags/widgets/tagCloud.php(80): IPS\radtags\Tag\_TagFactory->getTag()
#1 /srv/sites/_forum/system/Widget/Widget.php(103): IPS\radtags\widgets\_tagCloud->init()
#2 /srv/sites/_forum/system/Widget/StaticCache.php(41): IPS\_Widget->__construct()
#3 /srv/sites/_forum/system/Widget/Widget.php(296): IPS\Widget\_StaticCache->__construct()
#4 /srv/sites/_forum/system/Dispatcher/Front.php(561): IPS\_Widget::load()
#5 /srv/sites/_forum/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\_Front->finish()
#6 /srv/sites/_forum/index.php(13): IPS\_Dispatcher->run()
#7 {main}

Relevant code for first one:
 

    public function init()
    {
        parent::init();
        \IPS\Output::i()->cssFiles = \array_merge( \IPS\Output::i()->cssFiles, \IPS\Theme::i()->css( 'jqcloud.css', 'radtags', 'global' ) );
        \IPS\Output::i()->jsFiles[] = (string) \IPS\Theme::i()->resource( 'js/jqcloud.min.js', 'radtags', 'interface' );

        $tagCount        = $this->configuration['radtags_tagCloud_count']       ?? 25;
        $appFilter       = $this->configuration['radtags_tagCloud_appFilter']   ?? NULL;
        $includePrefixes = $this->configuration['radtags_tagCloud_prefixes']    ?? TRUE;
        $colorful        = $this->configuration['radtags_tagCloud_colorful']    ?? FALSE;
        $filtered        = \iterator_to_array(
            \IPS\Db::i()->select(
                \IPS\radtags\Tag::$databasePrefix . 'name', \IPS\radtags\Tag::$databaseTable,
                [ \IPS\radtags\Tag::$databasePrefix . 'ignores_widgets' ]
            )
        );

        $tags = \IPS\radtags\Application::popularTags( $tagCount, $includePrefixes, $appFilter, (array)$filtered );
        $json = [];
        foreach ( $tags as $tag )
        {
            $config = [
                'text'      => $tag['tag_text'],
                'weight'    => $tag['count'],
                'link'      => (string) \IPS\Http\Url::internal( 'app=core&module=search&controller=search&tags=' . $tag['tag_text'], 'front', 'tags' ),
            ];

            if ( $colorful )
            {
                try
                {
                    $tag = \IPS\radtags\Tag\TagFactory::i()->getTag( $tag['tag_text'] );
                    if ( $tag->color )
                    {
                        $config['html'] = ['style' => "color: {$tag->color}"];
                    }
                }
                catch ( \OutOfRangeException $e ) {}
            }

            $json[] = $config;
        }

        \IPS\Output::i()->jsVars['radtags_tagCloud'] = $json;
        \IPS\Output::i()->jsVars['radtags_tagCloud_delay'] = $this->configuration['radtags_tagCloud_delay'] ?? 50;
    }

This one prevents me from sorting tags in the ACP:

TypeError: Argument 2 passed to IPS\radtags\Table\_Tags::parseRow() must be of the type string, null given, called in /srv/sites/_forum/applications/radtags/sources/Table/Tags.php on line 174 (0)
#0 /srv/sites/_forum/applications/radtags/sources/Table/Tags.php(174): IPS\radtags\Table\_Tags->parseRow()
#1 /srv/sites/_forum/system/Helpers/Table/Table.php(489): IPS\radtags\Table\_Tags->getRows()
#2 /srv/sites/_forum/applications/radtags/modules/admin/tags/listing.php(56): IPS\Helpers\Table\_Table->__toString()
#3 /srv/sites/_forum/system/Dispatcher/Controller.php(96): IPS\radtags\modules\admin\tags\_listing->manage()
#4 /srv/sites/_forum/applications/radtags/modules/admin/tags/listing.php(37): IPS\Dispatcher\_Controller->execute()
#5 /srv/sites/_forum/system/Dispatcher/Dispatcher.php(152): IPS\radtags\modules\admin\tags\_listing->execute()
#6 /srv/sites/_forum/admin/index.php(14): IPS\_Dispatcher->run()
#7 {main}

Relevant code for second one:
 

        /* Run query */
        $rows = [];
        $select = \IPS\Db::i()->select(
            ( \count( $this->selects ) ) ? $this->table . '.*, ' . implode( ', ', $this->selects ) : '*',
            $this->table,
            $where,
            $orderBy,
            array( ( $this->limit * ( $this->page - 1 ) ), $this->limit ),
            'tag_text'
        );

        if ( $this->keyField !== NULL )
        {
            $select->setKeyField( $this->keyField );
        }

        foreach ( $select as $rowId => $row )
        {
            /* Add in any 'custom' fields */
            $_row = $row;
            if ( $this->include !== NULL )
            {
                $row = array();
                foreach ( $this->include as $key )
                {
                    $row[ $key ] = isset( $_row[ $key ] ) ? $_row[ $key ] : NULL;
                }
            }

            /* Loop the data */
            foreach ( $row as $key => $value )
            {
                $value = $this->parseRow( $key, $value, $_row );

                /* Are we including this one? */
                if( ( $this->include !== NULL and !\in_array( $key, $this->include ) ) or ( $this->exclude !== NULL and \in_array( $key, $this->exclude ) ) )
                {
                    unset( $row[ $key ] );
                    continue;
                }

                /* Add to array */
                $row[ $key ] = $value;
            }

            $row['_buttons'] = $this->addRowButtons( $row );
            unset( $row['tag_id'] );

            $rows[ $rowId ] = $row;
        }

 

Edited by z929669
  • 4 weeks later...
Posted

Looking to see if this will be an acceptable replacement to the following application below. I had used it in the past, but unfortunately it hasn't been updated in a while.

Additionally, can these be used within Saved Actions, which is where we'd use them the most? 

Thanks!

 

Posted (edited)
On 10/28/2021 at 12:17 PM, itismejoey said:

Looking to see if this will be an acceptable replacement to the following application below. I had used it in the past, but unfortunately it hasn't been updated in a while.

Additionally, can these be used within Saved Actions, which is where we'd use them the most? 

Thanks!

 

It worked out for me really well

Edited by Primarius
Posted
On 11/2/2021 at 9:23 AM, IceCore said:

Is there any option to separate the Tags with Prefix tags?

Hey there! Thanks for your interest in the application!

Can you provide me with a bit more detail on what it is you're after? Are you wanting to change the way tags as a whole are displayed or something else?

Posted
On 11/7/2021 at 11:11 PM, Makoto said:

Hey there! Thanks for your interest in the application!

Can you provide me with a bit more detail on what it is you're after? Are you wanting to change the way tags as a whole are displayed or something else?

I use the tags as a "child" of the prefix tags. When I l'm on a ACP > tags page, would be nice if the prefixes will be marked somwhow differently from a tags.

Thanks for your reply!

Posted
2 hours ago, Armbian_Werner said:

When I tried to re-order tags I run into this error as soon as I place a tag on its destination:

3S101/B We could not locate the item you are trying to view. 

Invision v4.6.8

Hey there! Can you send me a DM with more information on this? Do you get this when trying to add tags to content items after installing the application?

Posted
On 8/12/2021 at 6:45 PM, Darth Vortex said:

Hi, this application causes an error when I want to clone download categories ...

UnderflowException:  (0)
#0 /home/**********/public_html/system/Node/Model.php(3019): IPS\Db\_Select->first()
#1 /home/**********/public_html/init.php(902) : eval()'d code(225): IPS\Node\_Model->__clone()
#2 /home/**********/public_html/applications/downloads/sources/Category/Category.php(753): IPS\Node\radtags_hook_C_NodeModel->__clone()
#3 /home/**********/public_html/system/Node/Controller.php(908): IPS\downloads\_Category->__clone()
#4 /home/**********/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->copy()
#5 /home/**********/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#6 /home/**********/public_html/applications/downloads/modules/admin/downloads/categories.php(44): IPS\Node\_Controller->execute()
#7 /home/**********/public_html/system/Dispatcher/Dispatcher.php(153): IPS\downloads\modules\admin\downloads\_categories->execute()
#8 /home/**********/public_html/admin/index.php(13): IPS\_Dispatcher->run()
#9 {main}

When I deactivate Radical Tags everything works fine.

 

I have the same problem when I try to clone download categories 

UnderflowException:  (0)
#0 /usr/local/apache/hosting/mysite/www/system/Node/Model.php(3051): IPS\Db\_Select->first()
#1 /usr/local/apache/hosting/mysite/www/init.php(902) : eval()'d code(225): IPS\Node\_Model->__clone()
#2 /usr/local/apache/hosting/mysite/www/applications/downloads/sources/Category/Category.php(758): IPS\Node\radtags_hook_C_NodeModel->__clone()
#3 /usr/local/apache/hosting/mysite/www/system/Node/Controller.php(907): IPS\downloads\_Category->__clone()
#4 /usr/local/apache/hosting/mysite/www/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->copy()
#5 /usr/local/apache/hosting/mysite/www/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#6 /usr/local/apache/hosting/mysite/www/applications/downloads/modules/admin/downloads/categories.php(44): IPS\Node\_Controller->execute()
#7 /usr/local/apache/hosting/mysite/www/system/Dispatcher/Dispatcher.php(153): IPS\downloads\modules\admin\downloads\_categories->execute()
#8 /usr/local/apache/hosting/mysite/www/admin/index.php(13): IPS\_Dispatcher->run()
#9 {main}

 

  • 1 month later...
Posted

my question is proberbly real simple.

 

The forum was using Advance Tags,  we disabled that and we added tags to the Radical Tags as Images.  

How do we get the Tags to show on the Forum as an Image (the ones we have added in the ACP) ?

At the moment the tags are not showing up at all.

Thank you !

Posted
1 minute ago, Wicked007 said:

my question is proberbly real simple.

 

The forum was using Advance Tags,  we disabled that and we added tags to the Radical Tags as Images.  

How do we get the Tags to show on the Forum as an Image (the ones we have added in the ACP) ?

At the moment the tags are not showing up at all.

Thank you !

Hey!

If the tags aren't displaying as configured, would you be able to PM me here and set me up with a temporary AdminCP account so I can take a look?

  • Recently Browsing   0 members

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