Bookmarking/Favoriting Posts like Topic Subscriptions

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
JustChise
Registered User
Posts: 87
Joined: Thu Oct 30, 2014 4:56 am

Bookmarking/Favoriting Posts like Topic Subscriptions

Post by JustChise » Thu Jun 20, 2019 4:00 pm

Ok so I've seen this topic bandied around before but no one really ever got to the point of creating an extension or mod or really anything more than no phpbb can't do this currently. If I wanted to do something like create an extension for allowing people to bookmark/favorite/save for later specific posts, where can I find the current topic subscription code to see how that is done? Subscribing to a topic or forum is fine and all but sometimes there are tons of posts so allowing users to save the specific post in their UCP would be beneficial. Any ideas or can someone please point me to the file/function that handles the topic subscribing?


Support Request Template
What version of phpBB are you using? phpBB 3.2.7
What is your board's URL? http://www.stablewars.com/forum
Who do you host your board with? Go Daddy
How did you install your board? I used the automatic download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3.2.x
Is registration required to reproduce this issue? N/A
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? phpBB 3.2.6
What extensions do you have installed? No answer given
What styles do you currently have installed? prosilver and a few others
What language(s) is your board currently using? British English
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? None.
Please describe your problem. See description of question above...
Generated by SRT Generator

User avatar
Lumpy Burgertushie
Registered User
Posts: 66342
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Bookmarking/Favoriting Posts like Topic Subscriptions

Post by Lumpy Burgertushie » Thu Jun 20, 2019 4:58 pm

don't need an extension. just scroll to the bottom or top of the post just like in this one, you will see a drop down with the wrench icon. click on that and bookmark it from there. then go to your user control panel and click on "manage bookmarks" in the left menu.



robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51727
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Bookmarking/Favoriting Posts like Topic Subscriptions

Post by Brf » Thu Jun 20, 2019 5:07 pm

They are asking how to bookmark a single post in a long topic.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50512
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Bookmarking/Favoriting Posts like Topic Subscriptions

Post by stevemaury » Thu Jun 20, 2019 5:12 pm

I believe the OP wants to bookmark a specific POST, which the dropdown tool will not do. The red piece of paper with folded corner icon just to the left of "by So-And-So" is a link to that post. Right click the icon, choose "Copy link address", paste it in a browser tab address bar and use the browser to bookmark it.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

JustChise
Registered User
Posts: 87
Joined: Thu Oct 30, 2014 4:56 am

Re: Bookmarking/Favoriting Posts like Topic Subscriptions

Post by JustChise » Thu Jun 20, 2019 8:03 pm

Yes I understand how to personally bookmark a post but I want to make it more user-friendly so it saves in your bookmark/subscription list like the topics/forums do. Say we have this forum, for example, over the year, there may be tons of useful posts people might see but then they also might be in a 50 page topic. Keeping it confined to phpbb software instead of asking users to utilize their own browser is preferable.

Anyhow, I just need to find where the current subscribe code is and then I can fork it myself from there as I've been doing with functionality that gets dropped from the responsive design for some reason and stuff like that.

User avatar
EA117
Registered User
Posts: 654
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: Bookmarking/Favoriting Posts like Topic Subscriptions

Post by EA117 » Thu Jun 20, 2019 9:33 pm

Following the subscription links, they invoke viewtopic.php?watch=topic or viewforum.php?watch=forum, which ultimately invokes watch_topic_forum() in /includes/functions_display.php to perform the SQL and prompting work for recording a subscribe or unsubscribe.

posting.php shows submit_post() from /includes/functions_posting.php is the one who then instantiates the /phpbb/notification/ classes to send notifications based on the topic and/or forum involved in the new post.

JustChise
Registered User
Posts: 87
Joined: Thu Oct 30, 2014 4:56 am

Re: Bookmarking/Favoriting Posts like Topic Subscriptions

Post by JustChise » Fri Jun 21, 2019 2:22 pm

Thanks EA117. Appreciate the info.

Post Reply

Return to “Extension Writers Discussion”