inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Nov 27, 2012 20:00:05 GMT -8
Currently, personal notes don't seem very useful since it requires at least 3 clicks (profile, edit profile, personal) to be able to access them. I decided to fix this. This code will add an icon to the ProBoards Network (PBN) bar (as shown below.) When you click this icon, it will open a popup with the Personal Notes form. This way you can get easy access to your notes (and edit them!) without leaving the page. The ads are a requirement (of ProBoards) to be shown, so please do not ask to have them removed. I'm looking for input on what settings you guys would find useful for this plugin as well. Though not implemented, my current ideas for settings are as follows: - Popup height, width - Image icon (forgot this by default. My bad. ) - Display icon in a left toolbar (will be implemented via Yootil once I write that library.) DownloadPlease note that this plugin requires Yootil to be installed.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Nov 27, 2012 20:10:09 GMT -8
Width and height would be great to adjust. Doubt there's anyway to make it so it pops up from the icon at the bottom is there? Currently it's a new tab. and opens for me (yes opera ) in the top left. Great idea though. Very handy to have.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Nov 27, 2012 20:15:58 GMT -8
Width and height would be great to adjust. Doubt there's anyway to make it so it pops up from the icon at the bottom is there? Currently it's a new tab. and opens for me (yes opera ) in the top left. Great idea though. Very handy to have.
Nope. Can't have it popup from the bottom because there's no way to get the form there. (Would need AJAX or an iframe, and that's not allowed.)
As for opening in a new tab... that's your browser preferences not wanting it to open in a popup. I can't control that.
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Dec 12, 2012 7:14:51 GMT -8
Very useful! We currently have the floating slide menu by Texas installed. And it currently displays in the new window that opens. I was wondering if there was a way to stop it doing that? Thanks
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 29, 2012 13:37:32 GMT -8
Very useful! We currently have the floating slide menu by Texas installed. And it currently displays in the new window that opens. I was wondering if there was a way to stop it doing that? Thanks Grab version 0.1.1 that I just uploaded. I've added the ability to hide additional fields using a CSS selector as a setting. In your case, you'll want to enter the following: #left_box_container, #right_box_container Let me know if that works properly for you. (If not, please post or PM me a betazone link so I can debug.)
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Dec 29, 2012 17:32:44 GMT -8
Hi ChrisSeems to work perfectly! My personal notes (as random as they are) are there and it looks great. One little question, how do I work out what things to put in that field? (I've now also got the proboards sidebar running on the right of the forum and would like that not to appear in the pop up as well.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 29, 2012 17:40:01 GMT -8
It just requires a CSS selector. In this case, it'll be easiest to post a support thread (or in this thread for now) and someone can help you find the selector.
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Dec 29, 2012 17:54:36 GMT -8
And a CSS selector is like one of those things prefaced by a hash? So the one for the sidebars would be related to them, maybe sidebar_div? (My best guess from using right click inspect element.....)
Thanks
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 29, 2012 18:13:11 GMT -8
And a CSS selector is like one of those things prefaced by a hash? So the one for the sidebars would be related to them, maybe sidebar_div? (My best guess from using right click inspect element.....) Thanks # means "select by id" So, if the ID for the sidebar is sidebar_div, then you'd add "#sidebar_div" to that list, separated by a comma.
|
|
inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Jan 8, 2013 17:49:17 GMT -8
I think this brokted...or at least it did for me. All that happens when I click the notes button is it pops up a thing with the whole forum...it is however on the page with the notes.
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Jan 9, 2013 5:11:21 GMT -8
Mine's not the whole forum, but it looks like the whole forum in colour scheme, with the ads and such. Chris, would it be possible for it to popup like the participated box? (the way I've got my forum in a table now means I can't exclude the right bits to make it look nice in the new window there's still a big green space even if the content is gone.) The Money plugin pops up a box like that for editing money on the page. solariatest1.freemessageboards.com/
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 9, 2013 6:41:07 GMT -8
I think this brokted...or at least it did for me. All that happens when I click the notes button is it pops up a thing with the whole forum...it is however on the page with the notes. What template modifications have you made to your forum? This would most likely be the cause of anything like that. Edit: A board URL will also help.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 9, 2013 7:07:40 GMT -8
Mine's not the whole forum, but it looks like the whole forum in colour scheme, with the ads and such. Chris, would it be possible for it to popup like the participated box? (the way I've got my forum in a table now means I can't exclude the right bits to make it look nice in the new window there's still a big green space even if the content is gone.) The Money plugin pops up a box like that for editing money on the page. solariatest1.freemessageboards.com/So, I registered a test account. In your case, it's definitely because of the template mods that it shows with that border. I feel like I should add a "insert before this object" similar to the hider. That way you can select where to insert the new form object. Would that be helpful to you? As for the participated box, unfortunately not. See, there's no way to submit the form without loading the page with the normal notes form (what the popup does). This is because we need something called a CSRF token. this token is only assigned by loading the real page. In Peter's case, anything stored in a plugin key can be submitted without this token, thus he can make a form in a dialog box like the participated threads show up in.
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Jan 9, 2013 7:33:11 GMT -8
Yes that sounds like it would be helpful.
I don't mind the green border thing (thought the smaller it's possible to make the popup the better obviously, it's just the huge green space on the left that's a pain, so if where to insert it would solve that then yes please!
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Oct 9, 2013 20:48:37 GMT -8
I'd like to make a suggestion. Just the form/box, no banner, etc in the popup would be amazing
|
|