arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Dec 7, 2012 11:04:40 GMT -8
I am working on converting 2 forums over to proboards v5, and each one uses a different variant of the [gsheet] tag code. This code provides a new bbcode tag that works like this: The person wanting to embed a spreadsheet puts in a code similar to the following: [gsheet]0ArvN5KxFV56ndEZMYjRzUHh1Z0t3cV9DS0xvMGwyYVE[/gsheet] or [gsheet width=500 height=300]0ArvN5KxFV56ndEZMYjRzUHh1Z0t3cV9DS0xvMGwyYVE[/gsheet] and the forum converts that to something like this: <iframe width='500' height='300' frameborder='0' src='https://docs.google.com/spreadsheet/pub?key=0ArvN5KxFV56ndEZMYjRzUHh1Z0t3cV9DS0xvMGwyYVE&output=html&widget=true'></iframe> One of the forums just has a generic [gsheet] tag which either uses a fixed width/height for the iframe or simply doesn't specify them (I'm not sure exactly), and the other has a version which supports the height and width attributes in the [gsheet] tag. Could someone make a plugin for this for me? Ideally, the plugin code should support the height and width parameters, but not require them. Ideally the code should work with pre-existing gsheet tags, but if not it's not a huge deal, provided that I'll only need to edit and save the affected posts to fix them (without actually making any changes). I hope this make sense, and ty in advance for helping with this. --Arek
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Dec 9, 2012 21:00:21 GMT -8
Bump, and edited the OP to clarify what I'm asking for (oops).
--Arek
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Dec 17, 2012 1:14:42 GMT -8
Anyone? (bump)
--Arek
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Dec 26, 2012 20:35:16 GMT -8
Bump yet again.
--Arek
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Dec 26, 2012 21:35:04 GMT -8
you dont require a button right?
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Dec 29, 2012 14:05:11 GMT -8
Not really, and thinking about it...a button doesn't make much sense, since it would be like a url/image (I always found it easier to just do those tags by hand).
Thanks for looking into this. :-)
--Arek
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Jan 5, 2013 6:59:51 GMT -8
Bump. :-)
--Arek
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Jan 12, 2013 11:35:53 GMT -8
Bump.
--Arek
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 27, 2013 3:56:39 GMT -8
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Jan 30, 2013 11:03:45 GMT -8
It works, althought the default width/height are extremely small (something like 300x200, if you even specified defaults, didn't check).
Thanks Wormopolis.
Edit/Note: It's really important that the default width x height be set to at least 500 x 300 on this, or better still, be editiable in config. If you need me to, I can PM you the original code that did this so that you can look at it.
--Arek
P.S. Sorry for taking a couple of days to respond....have been paying less attention than even I would like here.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 30, 2013 12:05:15 GMT -8
I didnt put in anything about default height/width because I saw you wanted to define one in the tag itself. I will see what I can do.
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Jan 30, 2013 12:11:36 GMT -8
On one of the forums I'm upgrading, no defaults would be fine, since that forum uses a code that already supports width= and height= params.
The other forum, however, uses a different version of the code that does not support width= and height=, meaning that requiring these parameters now would require a lot of posts to be fixed.
Thanks for looking into this, Wormopolis, and sorry for not being clear about the defaults in the OP.
--Arek
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 30, 2013 13:19:26 GMT -8
no worries. I will be back soon
|
|
arek
New Member
Posts: 72
inherit
183874
0
Feb 15, 2014 20:16:38 GMT -8
arek
72
October 2012
arek
|
Post by arek on Feb 10, 2013 9:36:32 GMT -8
Any progress on this?
--Arek
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Feb 10, 2013 11:30:26 GMT -8
sorry I thought I replied back on this. re-download from dropbox
|
|