View Single Post
Old 09-10-2024, 03:32 PM   #9915
Homer55
Enthusiast
Homer55 began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Aug 2016
Device: Kobo
Hi!, I'm encountering some trouble with xenforo and tags.
This is the normal code that I had have for some time:
Quote:
[base_xenforoforum]
include_in_category:category,tagsfromtitle,parentf orums
Category=>genre,tagsfromtitle
skip_threadmarks_categories:Staff Post
order_threadmarks_by_date:true
I have a custom column called "Fandom" and I have in the custom columns settings that "Category" should fill the "fandom" column. When downloading the following story: https://forums.spacebattles.com/thre...solid.1110955/
the title and "fandom"column are as follow:

Title: Magical Espionage Action
Fandom: Harry Potter, Metal Gear, Metal Gear Solid, Wizarding World

wanting to clean the "fandom" column I added the following to the bottom of the previous code
Quote:
add_to_replace_metadata:
(Harry Potter|Wizarding World)=>HP
(Metal Gear|Metal Gear Solid)=>Metal Gear
And wanting to see if I did this correctly, I downloaded the story again and now the title and fandom column looks as follow:

Title: Magical Espionage Action (HP/Metal Gear Solid)
Fandom: HP, Magical Espionage Action (HP/Metal Gear Solid), Magical Espionage Action (HP/Metal Gear Solid)), Metal Gear, Metal Gear Solid

the same thing happened when downloading other stories that I tried to clean for example a story from QQ (NSFW link removed--JimmXinu as mod) was changed to:[NSFW]Tech is harder than diamonds (SU) and the fandom was:[NSFW]Tech is harder than diamonds (SU) (yes the same as the title)

So either I'm doing something wrong, or there is a bug in the code.
Hope someone can help me and thanks!

Edit: I realized that just having "add_to_replace_metadata:" even without anything under it (I noticed because I forgot to comment it) causes this except nothing gets replaced, which is to be expected seeing as no replacement tags were indicated.

Last edited by JimmXinu; 09-10-2024 at 05:10 PM. Reason: Remove NSFW link
Homer55 is offline   Reply With Quote