• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Keyword Replace by Waindigo [Deleted]

Jon W

Well-known member
#1
Waindigo submitted a new resource:

Keyword Replace by Waindigo (version 1.0.0b) - Subject user-generated text to keyword replacement rules defined in your admin control panel.

Similar to the built-in censorship function, this add-on allows the administrator to define a keyword or phrase and a replacement value, which can include a URL, overlay or other HTML code. Any occurrences of the keyword or phrase in user content is replaced as appropriate.

Installation:
  • Upload contents of upload folder to root directory, overwriting any existing files.
  • Install addon-Waindigo_KeywordReplace.xml file.
Licence and...
Read more about this resource...
 

Rob

Well-known member
#2
It's going to be good to see how this develops :)

Just to preempt some questions....
You can define your keyword replacements via the admin area under admin -> options -> keyword replace (just under the censorship options)
 

Digital Doctor

Well-known member
#4
Like a Virgin, Touched for the very first time.

lost.my.virginity.jpg

And after basking in the glow for a moment, I'm prompted for requests, just minutes later for "Round2".

virgin.round.2.wandigo.jpg
Keep 'em coming ?
 

Digital Doctor

Well-known member
#7
this would work for animated smilies ! :)

Suggestions:
- enable "Mass importing of items".
- populate Keyword Replace with some default items.
- tabs or categories ?
 

craigiri

Well-known member
#8
Hmm, so how about a calc on the replacement to a certain document and anchor....outside of XF?
Or, even inside of it but that would have to be a carefully defined glossary...

Example of outside replacement......

Words - URL
prefab - hearth.com/glossary/#prefab
flue - hearth.com/glossary/#flue

The idea here would be to only have to put the base URL in once, as opposed to typing it for each word.

Does it already work this way? Or could it?

Or, have it use a JS popup or rollover with the definition!
 

Rob

Well-known member
#12
this would work for animated smilies ! :)

Suggestions:
- enable "Mass importing of items".
- populate Keyword Replace with some default items.
- tabs or categories ?
Mass importing.... from what?
default items.... well, every forum is different and these are so dead easy to set up. However, what default items do you suggest?
Tabs or categories.... Can you elaborate as I dont understand..
 

Jon W

Well-known member
#14
Hmm, so how about a calc on the replacement to a certain document and anchor....outside of XF?
Or, even inside of it but that would have to be a carefully defined glossary...

Example of outside replacement......

Words - URL
prefab - hearth.com/glossary/#prefab
flue - hearth.com/glossary/#flue

The idea here would be to only have to put the base URL in once, as opposed to typing it for each word.

Does it already work this way? Or could it?

Or, have it use a JS popup or rollover with the definition!
I could certainly add this, but it is not available in the current version, except for internal links which open up in an overlay. Please message me if you are interested in adding any of these features and I will provide you with a cost estimate.
 

Digital Doctor

Well-known member
#17
Suggestion: be able to delete keyword replace items.

Mass importing.... from what?
People could make animated smiley sets, export them, and allow others to import them.

default items.... well, every forum is different and these are so dead easy to set up. However, what default items do you suggest?
Some really cool HTML things. Make it easy for newbies to just copy and edit the HTML examples for their own needs.

Tabs or categories.... Can you elaborate as I dont understand..
So far it is one big list.
That is going to become unwieldy over time !
 

Rob

Well-known member
#19
Animated smileys are easily possible using the smileys manager under xenforo.... why twist this into something when native support for animated smileys already exists? Weird if you ask me.
 

craigiri

Well-known member
#20
I could certainly add this, but it is not available in the current version, except for internal links which open up in an overlay. Please message me if you are interested in adding any of these features and I will provide you with a cost estimate.
I would pay for the add-on with these features or contribute towards the mods if 3 or 4 (or 10) others want the same thing.

DD, my idea with the "base url" would only require listing the words, not the URL. You'd list the url once, and from point on, the URL would match the base plus the word or term.

I guess for real value, it would have to have at least two word terms available....

examples:
zero clearance = hearth.com/glossary/#zero_clearance
clearance = hearth.com/glossary/#clearance
combustibles = hearth.com/glossary/#combustibles

I've never previously thought of this entire feature - so it's really nice folks are thinking outside the box. I have a glossary, but the more I think about it, the small hover or overlay or pop-up (pulling in from that or a db) would be superior in most cases to folks having to navigate outside of the forum post.

My glossary is at:
http://www.hearth.com/econtent/index.php/articles/glossary