Keyword Linking by Siropu

Keyword Linking by Siropu [Paid] 1.5.1

No permission to buy (€29.99)
I searched for this thread, but, I didn't see anything. Does this also support @Bob's blogs addon? I don't have AMS, but I do have his blogs addon.
 
Does this inject per referenced keyword in a topic, or singular? Singular makes more sense, less clutter.
 
How do you set the fontawesome icon in the default keyword settings?

I tried setting the glyph, unicode, icon name, and even the full html code i.e(<i class="fa-solid fa-circle-info"></i>) and I can't get the icon to show up, am I missing something here?

Thanks!
 
The default keyword settings are for when you create a new keyword and it only requires the icon name: fa-house
Do I need to clear cache or some type of rebuild to make it show on keywords that are already created?
 
Hey brother,

I'm not seeing the area where I'm supposed to add keywords.

Also, I would like to upload a list of keywords and urls. Is that possible or is it going to be possible in the future?

Thanks
 
Setup>Keyword Linking

/admin.php?keyword-linking/


You can import or export an xml file / example below:
kl999.JPG

Code:
<?xml version="1.0" encoding="utf-8"?>
<keywords>
  <keyword>
    <keyword_id>55</keyword_id>
    <category_id>0</category_id>
    <content_id>0</content_id>
    <content_type/>
    <keyword><![CDATA[TeamRush
Team Rush]]></keyword>
    <replacement><![CDATA[TeamRush]]></replacement>
    <title><![CDATA[]]></title>
    <description><![CDATA[Click for the TeamRush ignition upgrade.]]></description>
    <url><![CDATA[https://jeep-cj.com/community/threads/teamrush-ignition-upgrade.11416/]]></url>
    <settings><![CDATA[{"display_delay":"0","css_style":"font-weight: bold; font-style: italic; color: #FFA500;","css_class":"","rel":"","rel_custom":"","nofollow":0,"target_blank":"1","count_clicks":"1","tooltip":"1","post_limit":"0","page_limit":"0","case_sensitive":0,"fa_icon":"","fa_position":"before","fa_description":"1","node_id_is":"","node_id":"","thread_id":"","no_self_link":0,"content":{"thread":"1","thread_poll":"1","thread_question":"1","thread_article":"1","thread_suggestion":"1","conversation":"1","profile":"1","resource":"1","ams_article":"1","showcase_item":"1"}}]]></settings>
    <user_criteria><![CDATA[[]]]></user_criteria>
    <click_count>237</click_count>
    <priority>0</priority>
    <enabled>1</enabled>
  </keyword>
  <keyword>
    <keyword_id>56</keyword_id>
    <category_id>0</category_id>
    <content_id>0</content_id>
    <content_type/>
    <keyword><![CDATA[centerforce]]></keyword>
    <replacement><![CDATA[Centerforce]]></replacement>
    <title><![CDATA[]]></title>
    <description><![CDATA[Click for Centerforce clutches.]]></description>
    <url><![CDATA[https://www.centerforce.com/]]></url>
    <settings><![CDATA[{"display_delay":"0","css_style":"font-weight: bold; font-style: italic; color: #FFA500;","css_class":"","rel":"","rel_custom":"","nofollow":0,"target_blank":"1","count_clicks":"1","tooltip":"1","post_limit":"0","page_limit":"0","case_sensitive":0,"fa_icon":"","fa_position":"before","fa_description":"1","node_id_is":"","node_id":"","thread_id":"","no_self_link":0,"content":{"thread":"1","thread_poll":"1","thread_question":"1","thread_article":"1","thread_suggestion":"1","conversation":"1","profile":"1","resource":"1","ams_article":"1","showcase_item":"1"}}]]></settings>
    <user_criteria><![CDATA[[]]]></user_criteria>
    <click_count>10</click_count>
    <priority>0</priority>
    <enabled>1</enabled>
  </keyword>
</keywords>
 
Last edited:
Setup>Keyword Linking

/admin.php?keyword-linking/


You can import or export an xml file / example below:
View attachment 291878

Code:
<?xml version="1.0" encoding="utf-8"?>
<keywords>
  <keyword>
    <keyword_id>55</keyword_id>
    <category_id>0</category_id>
    <content_id>0</content_id>
    <content_type/>
    <keyword><![CDATA[TeamRush
Team Rush]]></keyword>
    <replacement><![CDATA[TeamRush]]></replacement>
    <title><![CDATA[]]></title>
    <description><![CDATA[Click for the TeamRush ignition upgrade.]]></description>
    <url><![CDATA[https://jeep-cj.com/community/threads/teamrush-ignition-upgrade.11416/]]></url>
    <settings><![CDATA[{"display_delay":"0","css_style":"font-weight: bold; font-style: italic; color: #FFA500;","css_class":"","rel":"","rel_custom":"","nofollow":0,"target_blank":"1","count_clicks":"1","tooltip":"1","post_limit":"0","page_limit":"0","case_sensitive":0,"fa_icon":"","fa_position":"before","fa_description":"1","node_id_is":"","node_id":"","thread_id":"","no_self_link":0,"content":{"thread":"1","thread_poll":"1","thread_question":"1","thread_article":"1","thread_suggestion":"1","conversation":"1","profile":"1","resource":"1","ams_article":"1","showcase_item":"1"}}]]></settings>
    <user_criteria><![CDATA[[]]]></user_criteria>
    <click_count>237</click_count>
    <priority>0</priority>
    <enabled>1</enabled>
  </keyword>
  <keyword>
    <keyword_id>56</keyword_id>
    <category_id>0</category_id>
    <content_id>0</content_id>
    <content_type/>
    <keyword><![CDATA[centerforce]]></keyword>
    <replacement><![CDATA[Centerforce]]></replacement>
    <title><![CDATA[]]></title>
    <description><![CDATA[Click for Centerforce clutches.]]></description>
    <url><![CDATA[https://www.centerforce.com/]]></url>
    <settings><![CDATA[{"display_delay":"0","css_style":"font-weight: bold; font-style: italic; color: #FFA500;","css_class":"","rel":"","rel_custom":"","nofollow":0,"target_blank":"1","count_clicks":"1","tooltip":"1","post_limit":"0","page_limit":"0","case_sensitive":0,"fa_icon":"","fa_position":"before","fa_description":"1","node_id_is":"","node_id":"","thread_id":"","no_self_link":0,"content":{"thread":"1","thread_poll":"1","thread_question":"1","thread_article":"1","thread_suggestion":"1","conversation":"1","profile":"1","resource":"1","ams_article":"1","showcase_item":"1"}}]]></settings>
    <user_criteria><![CDATA[[]]]></user_criteria>
    <click_count>10</click_count>
    <priority>0</priority>
    <enabled>1</enabled>
  </keyword>
</keywords>
Thanks!

Your username had me laughing 🤣😂
 
I have two small suggestions @Siropu:
  • In ACP, truncate long URL's in the keyword linking list.
    Right now, long URL's corrupt the table layout.1698132370001.webp
  • And an option to remove a category?
 
Getting a ton of these errors. Check out the URL in the stack trace..

  • TypeError: XF\Util\Url::urlToUtf8(): Argument #1 ($url) must be of type string, null given, called in /var/www/vhosts/myurlremoved/httpdocs/src/XF/BbCode/ProcessorAction/AutoLink.php on line 430
  • src/XF/Util/Url.php:50
  • Generated by: Unknown account
  • Dec 20, 2023 at 4:39 PM

Stack trace​

#0 src/XF/BbCode/ProcessorAction/AutoLink.php(430): XF\Util\Url::urlToUtf8(NULL, false)
#1 src/XF/BbCode/ProcessorAction/AutoLink.php(149): XF\BbCode\ProcessorAction\AutoLink->unfurlLinkUrl('https://alfa-pe...')
#2 [internal function]: XF\BbCode\ProcessorAction\AutoLink->XF\BbCode\ProcessorAction\{closure}(Array)
#3 src/XF/BbCode/ProcessorAction/AutoLink.php(146): preg_replace_callback('#^(?<=[^a-z0-9@...', Object(Closure), [invalid])
#4 src/XF/BbCode/Processor.php(377): XF\BbCode\ProcessorAction\AutoLink->filterString([invalid], Array, Object(XF\BbCode\Processor))
#5 src/XF/BbCode/Processor.php(360): XF\BbCode\Processor->filterString([invalid], Array)
#6 src/XF/BbCode/Traverser.php(67): XF\BbCode\Processor->renderString([invalid], Array)
#7 src/XF/BbCode/Traverser.php(39): XF\BbCode\Traverser->renderSubTree(Array, Array)
#8 src/XF/BbCode/Traverser.php(22): XF\BbCode\Traverser->renderAst(Array, Object(Tapatalk\XF\BbCode\RuleSet), Array)
#9 src/XF/Service/Message/Preparer.php(164): XF\BbCode\Traverser->render([invalid], Object(XF\BbCode\Parser), Object(Tapatalk\XF\BbCode\RuleSet), Array)
#10 src/XF/Service/Message/Preparer.php(129): XF\Service\Message\Preparer->processMessage([invalid])
#11 src/addons/XFMG/XF/Service/Message/Preparer.php(11): XF\Service\Message\Preparer->prepare([invalid], true)
#12 src/XF/Service/Post/Preparer.php(98): XFMG\XF\Service\Message\Preparer->prepare([invalid], true)
#13 src/XF/Service/Thread/Replier.php(114): XF\Service\Post\Preparer->setMessage([invalid], true, true)
#14 src/XF/Pub/Controller/Thread.php(441): XF\Service\Thread\Replier->setMessage([invalid])
#15 src/XF/Pub/Controller/Thread.php(590): XF\Pub\Controller\Thread->setupThreadReply(Object(XFMG\XF\Entity\Thread))
#16 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(XFMG\XF\Pub\Controller\Thread), NULL)
#18 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFMG\XF\Pub\Controller\Thread), NULL)
#19 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#20 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#21 src/XF.php(524): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}

Request state​

array(4) {
["url"] => string(68) "/threads/2023-mr-universe-bodybuilding-championship.273314/add-reply"
["referrer"] => string(82) "https://my-url-removed/"
["_GET"] => array(0) {
}
["_POST"] => array(7) {
["_xfToken"] => string(8) "********"
["message"] => string(522) "Электроустройство печатей и еще стереотипов в недлинные сроки
печати-в-челябинске.рф сверху чтобы нашем сайте печати-в-челябинске.рф

https://печативкраснодаре.рф]


http://печати-в-челябинске.рф]


https://alfa-pechati.ru]"
["no_captcha"] => string(1) "1"
["submit"] => string(0) ""
["last_date"] => string(10) "1694846609"
["last_known_date"] => string(10) "1694846609"
["load_extra"] => string(1) "1"
}
}
 
Top Bottom