bzb
New Member
Posts: 3
inherit
258166
0
Apr 4, 2019 4:44:19 GMT -8
bzb
3
April 2019
bzb
|
Post by bzb on Apr 2, 2019 5:50:42 GMT -8
Would like to allow users to checkbox a list of their collection, so we can keep track of where certain items are in the city (or who has possession). Anything like this out there?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 2, 2019 5:59:50 GMT -8
Need more information.
Where does the list come from (i.e do you create the list)? Is the list viewable to just the user, or is it public for others to see what is ticked off?
|
|
bzb
New Member
Posts: 3
inherit
258166
0
Apr 4, 2019 4:44:19 GMT -8
bzb
3
April 2019
bzb
|
Post by bzb on Apr 2, 2019 6:15:39 GMT -8
- List would be created by admins only (eliminate duplicates, standardization, etc) - Total list can be viewed by anyone - List would be added to each user's profile (their personal collection only shows the items they ticked)
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 2, 2019 6:36:25 GMT -8
Including guests?
Where should this list show? New page? Appended to an element? Floating div? etc.
So lets step through this...
1 - Items added to the list by you/staff. 2 - Somewhere I can view all the items on the list you added. 3 - This list allows me to "tick" items to add them to my collection. 4 - This collection will show on my profile (maybe a new tab). 5 - If a member views my profile, they can see which items are in my collection.
So #2 needs to be clarified a bit because the way you describe it, it sounds like you want 2 lists.
- One for all items for anyone to view. - One for the member themselves to view which would be their collection on their profile.
I would usually do one list, but make it editable by the member so they can tick/untick items, then when saved it shows just the items ticked.
|
|
bzb
New Member
Posts: 3
inherit
258166
0
Apr 4, 2019 4:44:19 GMT -8
bzb
3
April 2019
bzb
|
Post by bzb on Apr 2, 2019 6:45:14 GMT -8
Would prefer the single list, so maybe view only by Members. Everything else you've nailed.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 2, 2019 8:43:20 GMT -8
I don't know if I will have time to do this. So no promises.
I won't mark it as in progress yet, that way someone else can do it if they wish. If I find time later this week, I will maybe look into doing it for you.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 3, 2019 11:36:00 GMT -8
github.com/PopThosePringles/ProBoards-Member-Collection-List/releasesIt's extremely rushed, but it works. You can style it completely with CSS, and you can even customise how it looks as I wrote a very basic template parser. Default template (Goto the Template tab in the plugin settings to customise the look): <div class="collection-list-header">Collection List</div> <div class="collection-list-items"> {foreach item} {if editing} <input type="checkbox" value="{item.value}" />{item.name}<br /> {else} {item.name}<br /> {/if} {/foreach} </div> <div class="collection-list-footer"> <button id="save-collection-list">Edit List</button> </div> The plugin will handle the showing/hiding of the button.
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Apr 6, 2022 14:21:41 GMT -8
Peter I hope you don't mind me asking -- how do I actually insert this into my site? Like is there a certain class or ID I'm supposed to put into a layout template so it knows where to go?
|
|
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,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Apr 6, 2022 15:22:24 GMT -8
Peter I hope you don't mind me asking -- how do I actually insert this into my site? Like is there a certain class or ID I'm supposed to put into a layout template so it knows where to go? After a cursory eye-balling of the source code, it looks like this plugin creates a new "Collections List" tab on the profile page where items are listed using the template supplied in the plugin settings. No id or class is required EDIT: You would of course need the companion yootil plugin installed and above this plugin in the manage plugin list for this plugin to use the functions contained within that yootil library.
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Apr 6, 2022 15:26:49 GMT -8
Peter I hope you don't mind me asking -- how do I actually insert this into my site? Like is there a certain class or ID I'm supposed to put into a layout template so it knows where to go? After a cursory eye-balling of the source code, it looks like this plugin creates a new "Collections List" tab on the profile page where items are listed using the template supplied in the plugin settings. No id or class is required
Ahh okay, so a highly-customized theme wouldn't work with it. Thank you for the quick clarification, I appreciate it very much!
|
|
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,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Apr 7, 2022 11:32:50 GMT -8
The plugin was left editable (I installed it to test) so if you played loose with some classes and IDs it can simply be edited just post your profile template here since guests can no longer view full profiles.
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Apr 7, 2022 12:14:07 GMT -8
The plugin was left editable (I installed it to test) so if you played loose with some classes and IDs it can simply be edited just post your profile template here since guests can no longer view full profiles.
I appreciate you, man, even after all these years you're going strong with proboards and still helping out. That's okay, though, I don't want to take up your time with my experimentation when I'm not even sure where I'd put it or how I'd use it. Now that I'm thinking on it, this could pretty much be achieved with custom profile field checkboxes. If the plugin were already ready-to-go, I'd play with it, but with it requiring some work to function first, I don't think it's worth me taking up your time/effort just for that.
|
|