inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Jan 11, 2016 7:27:39 GMT -8
I'm not entirely sure what you mean. Could you maybe link me to the post, or post the contents in a spoiler with post1, post2 etc. It's just dawned on me that there may be an issue using special characters in the "Find text" field, like \ ? or . as I didn't escape those. If you're not using any special characters then I won't change it until I fix the current issue, as to not add extra parameters into the equation. I'll run another set of tests and report back. In answer to your question, I didn't use special characters.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Jan 11, 2016 9:13:27 GMT -8
and the result is everything appears to work well, as intended although if you look more closely the html has pushed the text onto the line below. (also the code box is affected) After creating a 2nd test thread, the above has continued into the 2nd thread, which is good. Now let's change some of the settings to the words we used and see what happens: 1. Change html colour to blue from red - worked well. 2. Remove HTML setting from plugin (cross it out completely) <p style="color:blue">HTMLiscool</p> and the result is that the text remains blue, and doesn't revert back to it's original state. This is an observation, not a concern for error. What it tells me is that the plugin makes permanent changes to the text, and not just temporary ones. 3. I replace the HTMLiscool and the css, this time green, but don't choose an option, ie, link, image, or html, and the result is that the text that was blue reverts to default black. Choose the html option and it reverts to green. I'd say this is an indication that it is working, however the line break needs to be addressed.1. Picture observation. If I remove the url of the image, the picture disappears from the text, but the word picture does not return to the text, nor is there an 'image error' logo, or obviously an 'alt' declaration. However, if I remove the image completely from the hosting server, to simulate a broken link, then Photobucket 'photo not found' images ' do' appear. If I then remove the setting completely from the plugin, the Photobucket image errors remain, yet there is nothing to edit the fault out in the post, so the word 'picture' is now missing from the text. If I then return to the plugin, and enter the word picture as a fresh command, but no other settings, and press save, the word picture 'does' reappear in the posts, which tells me that the plugin is storing info. Question : is it possible to have a fail safe to return settings to normal should a plugin be removed accidentally, or corrupt, or an image can't be found? Also, if you pressed the wrong cross and didn't remember what word it was associated with, that word would then be missing from every instance of it on the forum, so care is needed for sure. So, to summarize, it strikes me that it is functioning quite well in it's basic form, with the exception of the html breaking the line. If you need me to test anything else, please let me know. Obviously the above is just notes, as I test, and may or may not make perfect reading, but I wanted to get the results posted before I lost them etc. Thanks once again.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Jan 11, 2016 16:12:51 GMT -8
1. Sweet.
2. The plugin can't make permanent changes. It's not programmed for that. If the settings persist then it must be on ProBoards end, or you're not saving it.
3. The line break is because you're using the P tag.
4. Don't use the image option if you have no image. I should add an alt attribute though, good catch.
5. The plugin can't store info. The only "storage" is in the UI which is controlled by PB.
Q: It would take a considerable amount of code to determine if an image is found or not, simply put, don't use none-existant images. If an image is found to be out of date then replace it, just like you would with the img bbcode. If the plugin is removed accidentally or is disabled, nothing will change.
Thanks for the feedback though. I really should prevent it from appearing in code and html tags. I'll have another look at it tomorrow.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Jan 12, 2016 3:12:08 GMT -8
1. Sweet. 2. The plugin can't make permanent changes. It's not programmed for that. If the settings persist then it must be on ProBoards end, or you're not saving it. 3. The line break is because you're using the P tag. 4. Don't use the image option if you have no image. I should add an alt attribute though, good catch. 5. The plugin can't store info. The only "storage" is in the UI which is controlled by PB. Q: It would take a considerable amount of code to determine if an image is found or not, simply put, don't use none-existant images. If an image is found to be out of date then replace it, just like you would with the img bbcode. If the plugin is removed accidentally or is disabled, nothing will change. Thanks for the feedback though. I really should prevent it from appearing in code and html tags. I'll have another look at it tomorrow. Top man. Incidentally, I unticked the plugin, and all reverted to default. If you get the time, perhaps you could offer some HTML examples of how you think that option could be used, given that was your own idea, as sometimes discovering other peoples vision can be enlightening and can lead to fresh ideas.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Jan 12, 2016 3:28:07 GMT -8
You mean the Custom HTML option? I just included it because I couldn't have a drop down list for every html tag. It's done in such a way that it uses Regular Expressions, so you can simply use a pipe | to separate different searches and return it to the same HTML.
You might have two user's pages and want to link to them both, so something like this would work.
avinalaff|quozzo
Then in the HTML field enter
<a href='www.proboards.com/page/$1'>$1</a> and it would convert each word into the link with the username in the URL.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Jan 15, 2016 3:57:54 GMT -8
You mean the Custom HTML option? I just included it because I couldn't have a drop down list for every html tag. It's done in such a way that it uses Regular Expressions, so you can simply use a pipe | to separate different searches and return it to the same HTML. You might have two user's pages and want to link to them both, so something like this would work. avinalaff|quozzo Then in the HTML field enter <a href='www.proboards.com/page/$1'>$1</a> and it would convert each word into the link with the username in the URL. Quozzo, I appreciate all the effort. Is this plugin safe to transfer on to the main site now or is there more to do? Many thanks.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Jan 15, 2016 4:37:22 GMT -8
It seems alright unless there is something else you want changing. I will get around to making it not parse text in the code tags, but that's an easy workaround.
Oh yeah. There is the issue of it not working on page change due to the ajax.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Jan 15, 2016 4:56:33 GMT -8
It seems alright unless there is something else you want changing. I will get around to making it not parse text in the code tags, but that's an easy workaround. Oh yeah. There is the issue of it not working on page change due to the ajax. No worries man, I'll hold back for now then, as have a few other things to fix, but will check back. I hope you support Everton BTW ha ha.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Feb 3, 2016 9:50:42 GMT -8
Quozzo Have you checked your pm's bud? I don't know if you have notifications switched off but have pm'd you twice.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Feb 3, 2016 10:48:03 GMT -8
Ah yes. The plugin works for the most part. It just parses the code tags. Was there something in particular that you wanted changing?
|
|
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 Feb 3, 2016 11:48:00 GMT -8
Ah yes. The plugin works for the most part. It just parses the code tags. Was there something in particular that you wanted changing? Are you going to add page change support and add to the library?
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Feb 12, 2016 13:54:58 GMT -8
Is there anybody else that is interested in building this plugin please?
|
|
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 Feb 12, 2016 15:25:13 GMT -8
Ah yes. The plugin works for the most part. It just parses the code tags. Was there something in particular that you wanted changing? Page change?
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Feb 13, 2016 5:19:42 GMT -8
I am quite busy now but I will get round to it when possible. If someone wants to make this plugin then please feel free.
|
|
inherit
188870
0
May 2, 2015 7:52:39 GMT -8
Newby
139
January 2013
danielsilk
|
Post by Newby on Feb 15, 2016 7:36:56 GMT -8
If you would be willing to manually add what word should be autolinked then I could knock something up. Something like: var arr = [ ["Tom Jones","http://somedomain.com/thing"], ["Fixture List","http://loveevertonforum/pages/Fixture List"] ];
Actually, I think a plugin could use the autoform for that. On a side note, I'm from Liverpool myself, are you too? This would be great if it can be made to work any progress on this one? Thanks very much
|
|