Create Post Without Email Notification

rated by 0 users
This post has 2 Replies | 2 Followers

Not Ranked
Posts 8
Points 115
iuras Posted: Mon, Dec 24 2007 3:29 AM

I was wondering whether it is possible to create programmatically a post without sending notifications to any of the thread subscriptions? I wrote a module that will inject advertisement every n number of posts and would create a reply post with an ad. Any help would be greatly appreciated.         

Top 10 Contributor
Posts 3,564
Points 53,835
TelligentSupportTeam

Not sure about a way to prevent emails being sent with new forum posts however, as an alternative method, have you had a look at the AdPlacement and <AdTemplate> options on the ForumPostList in themes/YOURTHEME/forums/thread-flatview.ascx. You can use that to either insert ads as the 2nd post, 2nd last post or (both), in between every post or in between every other post.  You can also give you ads their own style, without a user avatar etc. apearing.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Not Ranked
Posts 8
Points 115
iuras replied on Mon, Dec 24 2007 1:11 PM

afscrome:

Not sure about a way to prevent emails being sent with new forum posts however, as an alternative method, have you had a look at the AdPlacement and <AdTemplate> options on the ForumPostList in themes/YOURTHEME/forums/thread-flatview.ascx. You can use that to either insert ads as the 2nd post, 2nd last post or (both), in between every post or in between every other post.  You can also give you ads their own style, without a user avatar etc. apearing.

 

You are a life saver.

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com