inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Apr 8, 2016 0:02:40 GMT -8
I've updated the code. It now includes two new options. One is that you can specify if you want to match a whole word or a partial word, the other is ignoring case (capital letters). It now also stops when it reaches a code tag. support.proboards.com/post/6563215/Thanks Quozzo. I'll give it a blast, although it will be later on in the day before I get chance. Appreciated.
|
|
inherit
188870
0
May 2, 2015 7:52:39 GMT -8
Newby
139
January 2013
danielsilk
|
Post by Newby on Apr 8, 2016 2:59:14 GMT -8
I've updated the code. It now includes two new options. One is that you can specify if you want to match a whole word or a partial word, the other is ignoring case (capital letters). It now also stops when it reaches a code tag. support.proboards.com/post/6563215/Not sure if I did something wrong, but it looks exactly the same as before.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Apr 8, 2016 4:25:20 GMT -8
I've updated the code. It now includes two new options. One is that you can specify if you want to match a whole word or a partial word, the other is ignoring case (capital letters). It now also stops when it reaches a code tag. support.proboards.com/post/6563215/Not sure if I did something wrong, but it looks exactly the same as before. What version are you using. I remembered to change it.
|
|
inherit
188870
0
May 2, 2015 7:52:39 GMT -8
Newby
139
January 2013
danielsilk
|
Post by Newby on Apr 8, 2016 5:14:26 GMT -8
Not sure if I did something wrong, but it looks exactly the same as before. What version are you using. I remembered to change it. 0.0.3 now loaded sorry I think it was my mistake. I will give it a try not and let you know how it goes. Thanks very much! I think this will become one of the best plugins ever, seriously!
|
|
inherit
188870
0
May 2, 2015 7:52:39 GMT -8
Newby
139
January 2013
danielsilk
|
Post by Newby on Apr 8, 2016 8:09:29 GMT -8
Seems to be great so far no problems spotted yet. Thanks very much! well done
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Apr 8, 2016 11:09:14 GMT -8
One thing I meant to mention was that things aren't respecting the flow of a paragraph, and appear to be stacking. I've taken a quick screenshot below. The code box is working, and represents what I wrote above it, and how it stacks. I think HTML etc overides url too, but I need to sit down and give it a proper test which I'll try to find time over the weekend.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 8, 2016 12:52:15 GMT -8
One thing I meant to mention was that things aren't respecting the flow of a paragraph, and appear to be stacking. I've taken a quick screenshot below. The code box is working, and represents what I wrote above it, and how it stacks. I think HTML etc overides url too, but I need to sit down and give it a proper test which I'll try to find time over the weekend. Thats weird i would assume it should be one line
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Apr 8, 2016 15:09:19 GMT -8
Are you still using P tags?
Oh also, it depends what you define as the URL. The href attribute is untouched but the text part, what you click on, is obviously parsed.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Apr 10, 2016 8:11:53 GMT -8
Are you still using P tags? Oh also, it depends what you define as the URL. The href attribute is untouched but the text part, what you click on, is obviously parsed. Yes, P tags. By url I mean the whole thing. If a url is posted on the forum then the words in the url change. Don't you see the same yourself on your own test forum or is it just me?
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Apr 10, 2016 9:00:04 GMT -8
Are you still using P tags? Oh also, it depends what you define as the URL. The href attribute is untouched but the text part, what you click on, is obviously parsed. Yes, P tags. By url I mean the whole thing. If a url is posted on the forum then the words in the url change. Don't you see the same yourself on your own test forum or is it just me? P tags use display: block. If you're converting quozzo and Robles into P tags then they will create line breaks. I'm not seeing the URL change though. The text does but not the URL. Can you post the BBCode and all the options in the plugin, along with the converted result, and I'll take a look.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Apr 10, 2016 13:39:38 GMT -8
Yes, P tags. By url I mean the whole thing. If a url is posted on the forum then the words in the url change. Don't you see the same yourself on your own test forum or is it just me? P tags use display: block. If you're converting quozzo and Robles into P tags then they will create line breaks. I'm not seeing the URL change though. The text does but not the URL. Can you post the BBCode and all the options in the plugin, along with the converted result, and I'll take a look. The p tags were in your plugin example, so I presumed that was part of the coding. If not, then that's likely going to sort that issue out. I'll take a look at it all again and report back. Many thanks.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Apr 10, 2016 13:53:26 GMT -8
P tags use display: block. If you're converting quozzo and Robles into P tags then they will create line breaks. I'm not seeing the URL change though. The text does but not the URL. Can you post the BBCode and all the options in the plugin, along with the converted result, and I'll take a look. The p tags were in your plugin example, so I presumed that was part of the coding. If not, then that's likely going to sort that issue out. I'll take a look at it all again and report back. Many thanks. Oh I see, sorry for the confusion. I'll have to sort out the default values then since I've overwritten them with my own tests and didn't know what they were set as. This is the sort of feedback I like before submitting it to the library.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Apr 12, 2016 11:27:33 GMT -8
The p tags were in your plugin example, so I presumed that was part of the coding. If not, then that's likely going to sort that issue out. I'll take a look at it all again and report back. Many thanks. Oh I see, sorry for the confusion. I'll have to sort out the default values then since I've overwritten them with my own tests and didn't know what they were set as. This is the sort of feedback I like before submitting it to the library. A bit of feedback. 1. The links are parsing, so that's a problem that is quite a big issue, for example: 2. After removing the P, the stacking stopped. 3. I don't think the various options, such as "Image / Link / HTML" are going to work together.The name of a person is being viewed as 2 separate words, and not one whole word, (John + Smith) and so the word match restrictions aren't working in that sense, so the name John Smith, can have John, or Smith, changed by the html or image. I'd be happy just to have a plugin that dealt ' only' with a hyperlink facility, if it were to make it simpler for you, with the input options of NAME and LINK and exact word as default. I can't think how the html or image option will be needed on a mass scale and they are only going to cause complications. As long as the plugin only targets words with a capital letter, i.e, John "Green" as opposed to grass is green, which I think it does, we're laughing. The link thing as described above is a biggy though. Hope that helps.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Apr 12, 2016 11:47:14 GMT -8
Hi Barkley I'm not seeing the name being viewed as two separate words. The code replaces the match with whatever you want. So if you want "John" replaced it would find the word "John" regardless of his or her second name. It might replace it with an image, leaving the word "Green" untouched. If you want it to find the match "John Green" it could too, replacing both words with whatever you want. For example: John Smith
Smith
blacksmith
John Doe Given the above. I want to change "John Smith" and so only the top one is altered as that contains the match. If I wanted to change "John" then it would change both words in the top and bottom line. Selecting the "word only" option would prevent it from checking partial words, like the text in that link (in the image). If you want it to only select anchors then appending " a" (note: the space) after ".widget-content, .message" in the advanced tab, so it looks like ".widget-content a, .message a" would only select anchors. There is an option to specify case, so you're golden
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Apr 14, 2016 9:04:42 GMT -8
Hi Barkley I'm not seeing the name being viewed as two separate words. The code replaces the match with whatever you want. So if you want "John" replaced it would find the word "John" regardless of his or her second name. It might replace it with an image, leaving the word "Green" untouched. If you want it to find the match "John Green" it could too, replacing both words with whatever you want. For example: John Smith
Smith
blacksmith
John Doe Given the above. I want to change "John Smith" and so only the top one is altered as that contains the match. If I wanted to change "John" then it would change both words in the top and bottom line. Selecting the "word only" option would prevent it from checking partial words, like the text in that link (in the image). If you want it to only select anchors then appending " a" (note: the space) after ".widget-content, .message" in the advanced tab, so it looks like ".widget-content a, .message a" would only select anchors. There is an option to specify case, so you're golden Is there something you can do about the links please bud?
|
|