inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on May 2, 2016 10:17:13 GMT -8
Is it possible for me to put the 'comments' button on the post as it is shown on custom pages? And for the comments to show on that post also? mentality.freeforums.net/page/blogThe comments only work on posts. They wont work on custom pages.
|
|
inherit
224450
0
Feb 7, 2017 11:46:28 GMT -8
blitzen
236
August 2015
blitzen
|
Post by blitzen on May 2, 2016 10:28:54 GMT -8
Is there no way to get them to work on custom pages or would it require a whole new plugin?
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on May 2, 2016 11:49:03 GMT -8
Is there no way to get them to work on custom pages or would it require a whole new plugin? It would require a whole new plugin because the way the data currently is saved is per post. Pages don't have posts so the data can't be saved in that way.
|
|
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 May 2, 2016 21:20:27 GMT -8
Is there no way to get them to work on custom pages or would it require a whole new plugin? It would require a whole new plugin because the way the data currently is saved is per post. Pages don't have posts so the data can't be saved in that way. How does he have posts in a custom page to begin with?
|
|
inherit
224450
0
Feb 7, 2017 11:46:28 GMT -8
blitzen
236
August 2015
blitzen
|
Post by blitzen on May 2, 2016 23:31:05 GMT -8
It would require a whole new plugin because the way the data currently is saved is per post. Pages don't have posts so the data can't be saved in that way. How does he have posts in a custom page to begin with? I used the widget thats provided for it in the widget drop down menu when editing the custom page.
|
|
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 May 2, 2016 23:47:18 GMT -8
How does he have posts in a custom page to begin with? I used the widget thats provided for it in the widget drop down menu when editing the custom page. SO the widget is a copy of a board but on a custom page?
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 3, 2016 0:01:58 GMT -8
I used the widget thats provided for it in the widget drop down menu when editing the custom page. SO the widget is a copy of a board but on a custom page? The widget works showing the recent threads or posts as selected, for reference: forum.equestriheaven.net
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on May 3, 2016 2:20:41 GMT -8
SO the widget is a copy of a board but on a custom page? The widget works showing the recent threads or posts as selected, for reference: forum.equestriheaven.netHoly sieve batman. The key data is present on the custom pages when using the widget! That must have fallen through the cracks. I'll make some changes on it today and get back to you blitzen
|
|
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 May 3, 2016 4:37:38 GMT -8
Holy sieve batman. The key data is present on the custom pages when using the widget! That must have fallen through the cracks. I'll make some changes on it today and get back to you blitzen That was my next idea. If a widget loads the thread on a page, then the thread key must also be there. I was really confused on how the recently updated threads widget was added. I never mess with backend stuff. Other than the plugin I made for Boy_Wonder coincidentally for the widget.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on May 3, 2016 4:53:22 GMT -8
Holy sieve batman. The key data is present on the custom pages when using the widget! That must have fallen through the cracks. I'll make some changes on it today and get back to you blitzen That was my next idea. If a widget loads the thread on a page, then the thread key must also be there. I was really confused on how the recently updated threads widget was added. I never mess with backend stuff. Other than the plugin I made for Boy_Wonder coincidentally for the widget. I was just checking it out and I hit a rather large snag. It appears that the post ID is no where to be found on the recent posts in the widget, meaning the key and data are there, I just can't access them Using pb.plugin.key('postComments').get(57) in the console works fine, the comments are there, but without getting the ID off the post directly means it won't be possible to show them.
|
|
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 May 3, 2016 4:57:19 GMT -8
That was my next idea. If a widget loads the thread on a page, then the thread key must also be there. I was really confused on how the recently updated threads widget was added. I never mess with backend stuff. Other than the plugin I made for Boy_Wonder coincidentally for the widget. I was just checking it out and I hit a rather large snag. It appears that the post ID is no where to be found on the recent posts in the widget, meaning the key and data are there, I just can't access them Using pb.plugin.key('postComments').get(57) in the console works fine, the comments are there, but without getting the ID off the post directly means it won't be possible to show them. gimme a link to it and I'll do some digging
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on May 3, 2016 5:11:49 GMT -8
The top post "nibh" is the one containing the comments. It has a post ID of 22 but that is no where on the page. qtest.boards.net/page/recent-postspb.plugin.key('postComments').get(22);
|
|
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 May 3, 2016 5:24:30 GMT -8
The top post "nibh" is the one containing the comments. It has a post ID of 22 but that is no where on the page. qtest.boards.net/page/recent-postspb.plugin.key('postComments').get(22);$('.widget-recent-thread-title>a').attr('class').split(' ')[1].replace('thread-','') That gets the thread id
|
|
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 May 3, 2016 5:45:06 GMT -8
The top post "nibh" is the one containing the comments. It has a post ID of 22 but that is no where on the page. qtest.boards.net/page/recent-postspb.plugin.key('postComments').get(22);all post ids on page Object.keys(proboards.plugin.keys.data.postComments)
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on May 3, 2016 5:52:06 GMT -8
The top post "nibh" is the one containing the comments. It has a post ID of 22 but that is no where on the page. qtest.boards.net/page/recent-postspb.plugin.key('postComments').get(22);$('.widget-recent-thread-title>a').attr('class').split(' ')[1].replace('thread-','') That gets the thread id Post Comments are stored in the post key though. I would need the post ID.
|
|