Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Linking to specfic forum post View modes: 
User avatar
Member
Member
TonyG - 3/24/2010 11:10:19 AM
   
Linking to specfic forum post
I am creating a module for auditing purposes.

I'm trying to create a link to a specific forum post or at least go the the specific page that the post is on in the thread.

Any ideas?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 3/26/2010 8:12:49 AM
   
RE:Linking to specfic forum post
Hello,

you could link the forum page like:

<domain>/<forum page>?forumid=<number>&threadid=<number>&tpage=<number>

For example:

http://localhost/50/Forums.aspx?forumid=2&threadid=7&tpage=2

Regrettably, it is not possible to link the post directly.


Best regards,
Helena Grulichova

User avatar
Member
Member
TonyG - 3/26/2010 9:27:47 AM
   
RE:Linking to specfic forum post
Thanks Helena.

Is the only way to know what page a post is on is take the "PostLevel" field in the database and divide it by how many post are on a page?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 3/26/2010 9:50:43 AM
   
RE:Linking to specfic forum post
Hello,

Yes, I think so. We do not store anywhere on which page the post is. The pages are generated dynamically.

Best regards,
Helena Grulichova

User avatar
Member
Member
TonyG - 3/26/2010 10:24:01 AM
   
RE:Linking to specfic forum post
Thanks alot.