Results 1 to 15 of 15

Thread: Get parent forum from Thread ID

  1. #1

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Arrow Get parent forum from Thread ID

    Is it possible to get the parent forum from a thread ID ?

    For example,
    By seeing ID of this thread (Thread ID = 457322), can we say it is posted in Forum Feed back (Forum ID = 6) ?

    Edit:
    or any other way that doesn't need downloading whole page ?
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Get parent forum from Thread ID

    Nope, there is no link between thread IDs and forums (thread IDs are sequential across the entire site).

    Even if there was a link, you would only be able to tell where a thread was created, not where it currently is.

  3. #3

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Get parent forum from Thread ID

    So, there is no other way ?
    The rss feed gives only last few threads. So it is useless.

    I'm planning to make a quick subscription maneger. (kinda like a rss reader)
    So, to show the forum (group) if I need to download whole page (feed article), it is no good.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Get parent forum from Thread ID

    Well it is included in a field I would have to say as the NewPosts link does show the new threads and what forum they are in. Can you use that page?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Get parent forum from Thread ID

    No. The NewPost page will not work. It is not be able to show your old subscribed threads.

    The subscription page doesn't show the forums,
    and there is no way to search for your subscribed threads.

    Isn't there any way to search the database with some options like
    query=&searchuser=iprank&subscribedonly=true or something ?
    Last edited by iPrank; Mar 12th, 2007 at 04:17 PM.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Get parent forum from Thread ID

    What do you mean you cant search for your subscribed thread? Let me post yours....

    iPrank Member Search

    Search for all iPranks posts

    Subscribed threads

    New Posts
    Last edited by RobDog888; Mar 12th, 2007 at 04:34 PM.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Get parent forum from Thread ID

    Quote Originally Posted by RobDog888
    What do you mean you cant search for your subscribed thread? Let me post yours....

    iPrank Member Search

    Search for all iPranks posts

    New Posts
    No..no..not like that.

    That only gives you threads where I've posted. You can't get a list of my subscribed threads (posted or not posted) - atleast as a normal member.

    For example I'm subscribed to this thread, but you'll not get it in search result.

    This page doesn't show forums.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Get parent forum from Thread ID

    Correct because if you execute the link you get the SearchID which is a temporary id number and gets destroyed. You could execute the link in code each time the reader reads.

    In post #5 you were asking about getting subscribed threads.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Get parent forum from Thread ID


  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Get parent forum from Thread ID

    Quote Originally Posted by penagate
    That just links to this thread.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Get parent forum from Thread ID

    No it opens the forum in which the thread is contained.


    ... but you still need to download the whole page.

  12. #12

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Get parent forum from Thread ID

    Thanks Pena !
    Not exactly what I want, but still it will reduce downloading if I download the page in chunks. The forum name is the first keywod.

    Classic VB:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- BEGIN TEMPLATE: FORUMDISPLAY -->
    
    <html dir="ltr" lang="en">
    <head>
    <!-- BEGIN TEMPLATE: headinclude -->
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="generator" content="vBulletin 3.5.7" />
    
    	
    <meta name="keywords" content="Classic Visual Basic, Visual Basic,.NET,programming,C#,CSharp,Microsoft,discussion,bulletin board" />
    <meta name="description" content="This forum is for all your Visual Basic (versions 3, 4, 5, &amp; 6) coding questions that do not fit into one of the more specific forums below." />
    Forum Feedback:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- BEGIN TEMPLATE: FORUMDISPLAY -->
    
    <html dir="ltr" lang="en">
    <head>
    <!-- BEGIN TEMPLATE: headinclude -->
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="generator" content="vBulletin 3.5.7" />
    
    	
    <meta name="keywords" content="Forum Feedback, Visual Basic,.NET,programming,C#,CSharp,Microsoft,discussion,bulletin board" />
    <meta name="description" content="Drop in here to constructively air your views on what's right and what's wrong with VB-Forums. This forum will also be used to provide general feedback to you." />
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  13. #13
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Get parent forum from Thread ID

    Sorry, meant forum.

    So you are going to link to all forums?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  14. #14

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Get parent forum from Thread ID

    Quote Originally Posted by RobDog888
    Sorry, meant forum.

    So you are going to link to all forums?
    Sorry I don't understand.

    My idea is something like this.

    1. Get Subscribed threads ID from subscription.php page.
    2. Get forums of subscribed threads and sort accortingly.
    Attached Images Attached Images  
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  15. #15

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Get parent forum from Thread ID

    Why the keywords (first keyword is forum name) mentioned in Post#12 is not available in some forums - like General Developer, API etc ?
    In those forums, first keyword is thread title.

    API:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- BEGIN TEMPLATE: SHOWTHREAD -->
    
    <html dir="ltr" lang="en">
    <head>
    	<!-- BEGIN TEMPLATE: headinclude -->
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="generator" content="vBulletin 3.5.7" />
    
    <meta name="keywords" content="Problem while dragging a transparent RichTextBox, Visual Basic,.NET,programming,C#,CSharp,Microsoft,discussion,bulletin board" />
    <meta name="description" content="Problem while dragging a transparent RichTextBox API" />
    General Developer:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- BEGIN TEMPLATE: SHOWTHREAD -->
    
    <html dir="ltr" lang="en">
    <head>
    	<!-- BEGIN TEMPLATE: headinclude -->
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="generator" content="vBulletin 3.5.7" />
    
    <meta name="keywords" content="Making a Database, Visual Basic,.NET,programming,C#,CSharp,Microsoft,discussion,bulletin board" />
    <meta name="description" content="Making a Database General Developer Forum" />
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width