Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  DNN Forum API Question
Previous Previous
 
Next Next
New Post 8/8/2008 8:10 AM
Unresolved
User is offline John Valentine
129 posts
www.webinnovationsystems.com/
9th Ranked


DNN Forum API Question 

Has anyone ever extended a custom module that automatically creates a thread linked to data in their module?

I have a customer who wishes to do this. I agree that it would be of great value to this customer, but am unsure how to interface with the Forum module.

In a nutshell, this is what I need to accomplish:

1) If there is no forum in the group(need to figure out which group) then create a forum => create a thread.

2) If there is a forum in the group(need to figure out which group) then check to see if a thread with the same subject exists (exists ? return url to thread : create new thread and return url)

Alternately, I suppose I could store the ThreadID in my data table, and build the url at page load.

Can anyone help point me in the right direction?

 

 


Cheers!
John Valentine
http://www.webinnovationsystems.com
 
New Post 8/8/2008 8:18 AM
User is offline Brian Dukes
472 posts
www.engagesoftware.com
8th Ranked


Re: DNN Forum API Question 

We did something like this for a client.  We stored the ThreadId, like you're saying, just for ultimate flexability.

In terms of interfacing with the module, we just directly accessed the stored procedures (based on which procedures we saw the code calling).

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 8/8/2008 9:31 AM
User is offline John Valentine
129 posts
www.webinnovationsystems.com/
9th Ranked


Re: DNN Forum API Question 

Yeah,

It looks like will be doing it much the same way. I will have to access the forum definitions manually and add one if it doesn't aready exist. Then add a post to the forum using appropriate subject and body content from my customers submit form. I think I can use the DNN PostAdd function to actually add the post ok. So that helps some.

Thanks for the affirmation.


Cheers!
John Valentine
http://www.webinnovationsystems.com
 
New Post 8/11/2008 7:32 AM
User is offline John Valentine
129 posts
www.webinnovationsystems.com/
9th Ranked


Re: DNN Forum API Question 

Hey Brian,

I seem to be getting different errors on my dev box. Sometimes everything gets added ok, sometimes the thread isn't being added to the threads table (No Errors - No Post Display). Did you encounter this issue at all?

Thanks!

John

 

 


Cheers!
John Valentine
http://www.webinnovationsystems.com
 
New Post 8/11/2008 8:18 AM
User is offline Brian Dukes
472 posts
www.engagesoftware.com
8th Ranked


Re: DNN Forum API Question 

I think we had an issue where there was a bug when we checked to see if the thread had already been created, but otherwise it went pretty smoothly for us.  Are you trying to call the stored procedure directly and it's still not getting into the table, or are you calling through a code API?  You'll probably need to do a careful study of what those are doing to make sure that you know when they might not end up creating a thread.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  DNN Forum API Question
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting
Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP