I use your addon to add hashtags to my posts. url for a single hashtag is dbtech-usertag/hashes/mytag, for example. Can I rewrite this url to hashtag/mytag ? I've tried it with the built in XF route system but failed. Can you help @DragonByte Tech
Unfortunately not, if the default route filter system doesn't work for you.I use your addon to add hashtags to my posts. url for a single hashtag is dbtech-usertag/hashes/mytag, for example. Can I rewrite this url to hashtag/mytag ? I've tried it with the built in XF route system but failed. Can you help @DragonByte Tech
Confirmed, will push an update for thisServer error log
- ErrorException: Fatal Error: Declaration of DBTech\UserTagging\XFMG\Service\Media\Preparer::setDescription($description, $format = true) must be compatible with XFMG\Service\Media\Preparer::setDescription($description, $format = true, $performValidations = true)
- src/addons/DBTech/UserTagging/XFMG/Service/Media/Preparer.php:42
- Generated by: ConfusedUser
- Dec 10, 2022 at 11:05 PM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(27) "/community/media/save-media"
["referrer"] => string(71) "https://www.mysite.org/community/media/albums/name.4721/add"
["_GET"] => array(1) {
["/community/media/save-media"] => string(0) ""
}
["_POST"] => array(8) {
["_xfToken"] => string(8) "********"
["attachment_hash"] => string(32) "730eb24c5424cb1475e75e07b863309d"
["attachment_hash_combined"] => string(91) "{"type":"xfmg_media","context":{"album_id":4721},"hash":"730eb24c5424cb1475e75e07b863309d"}"
["media"] => array(5) {
[1673] => array(7) {
["title"] => string(2) "10"
["description"] => string(0) ""
["tags"] => string(0) ""
["temp_media_id"] => string(4) "1673"
["media_hash"] => string(32) "42af9981c6b88cf713676b49eb1c97b9"
["media_type"] => string(5) "image"
["attachment_id"] => string(6) "698061"
}
[1674] => array(7) {
["title"] => string(1) "4"
["description"] => string(0) ""
["tags"] => string(0) ""
["temp_media_id"] => string(4) "1674"
["media_hash"] => string(32) "43e683190728eae27360ada2f8081b3d"
["media_type"] => string(5) "image"
["attachment_id"] => string(6) "698062"
}
[1675] => array(7) {
["title"] => string(1) "9"
["description"] => string(0) ""
["tags"] => string(0) ""
["temp_media_id"] => string(4) "1675"
["media_hash"] => string(32) "0ea22d855f672975e32d5ab9e05ed4a2"
["media_type"] => string(5) "image"
["attachment_id"] => string(6) "698063"
}
[1676] => array(7) {
["title"] => string(1) "5"
["description"] => string(0) ""
["tags"] => string(0) ""
["temp_media_id"] => string(4) "1676"
["media_hash"] => string(32) "74e45c8953f50a6379cda591c267d840"
["media_type"] => string(5) "image"
["attachment_id"] => string(6) "698064"
}
[1677] => array(7) {
["title"] => string(1) "6"
["description"] => string(0) ""
["tags"] => string(0) ""
["temp_media_id"] => string(4) "1677"
["media_hash"] => string(32) "82dbfd1748be78c5f97300254330b742"
["media_type"] => string(5) "image"
["attachment_id"] => string(6) "698065"
}
}
["album_id"] => string(4) "4721"
["_xfRequestUri"] => string(47) "/community/media/albums/name.4721/add"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
php8.1
xen 2.2.12
user tagging 1.7.5
Update highlights
This version fixes a compatibility issue that arose from the recent upgrade to XenForo Media Gallery v2.2.5. This version is now the minimal version if you're running this add-on alongside XFMG.
Complete Change Log
Change: Set XFMG's minimum version to 2.2.5
Change: Replace utf8_ functions with mb_ functions
Fix: XFMG integration with XFMG 2.2.5 caused a server error
Could you please re-post it here: https://www.dragonbyte-tech.com/support/categories/dragonbyte-user-tagging.452/ so it gets tracked and I can look at it when I'm next doing a bugfix pass?Dear @DragonByte Tech
if the user edit a posting (wich contains a Hashtag) and delete the Hashtag, the post-entry in the db (xf_dbtech_usertagging_hash_usage) will not be deleted. The (edited) post is still shown (now with no Hashtag inside) on the hashtag-site .../dbtech-usertag/hashes/your-hashtag/
Is it possible, that your Addon can update the xf_dbtech_usertagging_hash_usage after editing a posting?
Thanks in advance for your help!
Sadly no, as they function entirely differently.Can you connect the hashtags to the tags? Together it would be much better.
Update highlights
!!!This version requires PHP 7.4+!!!
This version adds a new permission; Can mention users. Without this permission, even normal @ user mentions will not trigger a link nor a notification, which can reduce spam from less trusted users.
This version also refactors some backend code and fixes a compatibility issue with PHP 8.4.
Complete Change Log
Feature: New user group permission: Can mention users
Change:...
We use essential cookies to make this site work, and optional cookies to enhance your experience.