Former Member
inherit
guest@proboards.com
222576
0
Nov 28, 2024 15:35:47 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 19, 2017 9:21:12 GMT -8
Can i request a bbcode button to add imgs and links together pls so it does this basically .... thank you [a href=""][img style="max-width:100%;" src=""][/a]
|
|
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 Mar 20, 2017 11:05:05 GMT -8
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 28, 2024 15:35:47 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 20, 2017 12:54:43 GMT -8
it does, you're right ... i already got it ..... how would i do this pls ?
|
|
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 Mar 20, 2017 13:25:14 GMT -8
Beats me. Maybe chris would know?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 28, 2024 15:35:47 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 20, 2017 13:37:12 GMT -8
Beats me. Maybe chris would know? ok .. chris the plugin maker ?
|
|
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 Mar 20, 2017 14:50:51 GMT -8
yes
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 20, 2017 15:45:30 GMT -8
It doesn't create promptable nested BBCode beyond the main one unfortunately. In your example the [a] would be the main (outer) BBCode and the [img] would be the inner BBCode. If you have static BBCode that you want nested within the main BBCode the button outputs then you can use the pragma_content attribute to define the inner content which can contain text or even additional BBCode but the inner BBCode would not have promptable fields asking for "src" for example while the outer BBCode could still prompt for "href".
In a nutshell, if the image remains unchanged and you want the "href" as user configurable then the plugin can do it but it won't prompt for both "href" and "src".
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 28, 2024 15:35:47 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 20, 2017 17:57:33 GMT -8
It doesn't create promptable nested BBCode beyond the main one unfortunately. In your example the [a] would be the main (outer) BBCode and the [img] would be the inner BBCode. If you have static BBCode that you want nested within the main BBCode the button outputs then you can use the pragma_content attribute to define the inner content which can contain text or even additional BBCode but the inner BBCode would not have promptable fields asking for "src" for example while the outer BBCode could still prompt for "href". In a nutshell, if the image remains unchanged and you want the "href" as user configurable then the plugin can do it but it won't prompt for both "href" and "src". i kindof understand .... can you nutshell this down pls "In a nutshell, if the image remains unchanged and you want the "href" as user configurable then the plugin can do it but it won't prompt for both "href" and "src"." does this mean it can't be done ?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 20, 2017 18:20:56 GMT -8
If it is the same exact image everytime but a different link URL each time someone posts then possible. If it is a limited set of images chosen by the user then multiple buttons for each image would be possible If it is any image arbitrarily chosen by the user then no can do, best to use the image button then wrap it with the link button.
|
|
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 Mar 20, 2017 23:05:18 GMT -8
Wow I'm surprised that something the great Eton Bones created actually has a limitation
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 21, 2017 7:06:20 GMT -8
Wow I'm surprised that something the great Eton Bones created actually has a limitation All such limitations will vanish with the introduction of an editor equally adept at creating custom markup as it is at making cheesy remarks. This editor has been rumored to do away with your standard keyboard input instead opting to anticipate and type out what you may want to say before you even know you wanted to say it. The paradigm will shift from creating content to managing content created for you while you were asleep so no more fretting over BBCode. It will be a glorious day when we ascend to massive clouds of data on the wings of the phoenix , I of course have already made other arrangements for my own private ascension on an equally impressive bird
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 28, 2024 15:35:47 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 21, 2017 7:57:17 GMT -8
If it is the same exact image everytime but a different link URL each time someone posts then possible. If it is a limited set of images chosen by the user then multiple buttons for each image would be possibleIf it is any image arbitrarily chosen by the user then no can do, best to use the image button then wrap it with the link button. ok so can we do this ?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 21, 2017 8:28:55 GMT -8
You've highlighted two of the three options but have given no further info on which one is acceptable so I'll go with the first which can be used to create the second scenario Tag: a Image: (add any button image of your choice) Title: (any title you want, in image above I used "Linked Image") Attributes: href=|pragma_content=[ img]http://storage.proboards.com/forum/images/admin/pbhelpicon.png[ /img] (obviously change the static image to the one you want to use) That should produce a new button that will popup a dialog asking the user to input an href then add that link to the typing area with the image inside that link
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 28, 2024 15:35:47 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 21, 2017 8:52:42 GMT -8
You've highlighted two of the three options but have given no further info on which one is acceptable so I'll go with the first which can be used to create the second scenario Tag: a Image: (add any button image of your choice) Title: (any title you want, in image above I used "Linked Image") Attributes: href=|pragma_content=[ img]http://storage.proboards.com/forum/images/admin/pbhelpicon.png[ /img] (obviously change the static image to the one you want to use) That should produce a new button that will popup a dialog asking the user to input an href then add that link to the typing area with the image inside that link ok i'v done it chris thank you i did it like this tho href=|pragma_content= YOUR IMG URL GOES HERE [/img] very caveman like but i'll put more instructions (tooltips) so the members can understand better. thank you
|
|
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 Mar 21, 2017 18:48:25 GMT -8
Wow I'm surprised that something the great Eton Bones created actually has a limitation All such limitations will vanish with the introduction of an editor equally adept at creating custom markup as it is at making cheesy remarks. This editor has been rumored to do away with your standard keyboard input instead opting to anticipate and type out what you may want to say before you even know you wanted to say it. The paradigm will shift from creating content to managing content created for you while you were asleep so no more fretting over BBCode. It will be a glorious day when we ascend to massive clouds of data on the wings of the phoenix , I of course have already made other arrangements for my own private ascension on an equally impressive bird it sounds good. As long as that time comes before my untimely death Which I might die waiting at this point. Death is just one aspect of living though.
|
|