Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Watch this Forum -Groups
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Watch this Forum -Groups

 Post Reply Post Reply
Author
rhamlin View Drop Down
Newbie
Newbie


Joined: 02 December 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote rhamlin Quote  Post ReplyReply Direct Link To This Post Topic: Watch this Forum -Groups
    Posted: 02 December 2004 at 12:30pm
Is there a way that as the admin of the forums, I can make sure that a specific "Group" receives email notification of new or updated posts in a particular forum.
 
If not, it would make a great addition to the member groups feature.
 
Just a thought.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2004 at 2:16pm
no. they have to subscribe to it.

else it can be classed as a form of spam (i know silly) but its true.

unless they subscribe then no.
Back to Top
rhamlin View Drop Down
Newbie
Newbie


Joined: 02 December 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote rhamlin Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2004 at 2:33pm
I think we should be able to add it and then they can unsubscribe if they dont want it. It should be up to the admin to turn it on or not. If this isnt a public forum then It wouldn't be considered spam.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2004 at 2:37pm
if its not public.. why not set AN INSERT IN TO SQL

that adds a record automaticlly into the email notify table with the details of the forums.

do this when they are put into the Group.
Back to Top
rhamlin View Drop Down
Newbie
Newbie


Joined: 02 December 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote rhamlin Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2004 at 3:18pm
Originally posted by dj air dj air wrote:

if its not public.. why not set AN INSERT IN TO SQL

that adds a record automaticlly into the email notify table with the details of the forums.

do this when they are put into the Group.
 
How?
 
BTW I am using an access DB, Not SQL
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2004 at 3:40pm
sorry ment use SQL "INSERT INTO "

it would work in both versions.






   
    'Initalise the SQL string with a query to get the email notify topic details
    If strDatabaseType = "SQLServer" Then
        strSQL = "EXECUTE " & strDbProc & "TopicEmailNotify @lngAuthorID = " & lngLoggedInUserID & ", @lngTopicID= " & lngTopicID
    Else
        strSQL = "SELECT " & strDbTable & "EmailNotify.*  "
        strSQL = strSQL & "FROM " & strDbTable & "EmailNotify "
        strSQL = strSQL & "WHERE " & strDbTable & "EmailNotify.Author_ID=" & lngLoggedInUserID & " AND " & strDbTable & "EmailNotify.Topic_ID=" & lngTopicID & ";"
    End If

    With rsCommon

        'Set the cursor type property of the record set to Dynamic so we can navigate through the record set
        .CursorType = 2

        'Set the Lock Type for the records so that the record set is only locked when it is updated
        .LockType = 3
       
        'Query the database
        .Open strSQL, adoCon

            'Check to see if the user is allowed to view posts in this forum
            Call forumPermisisons(intForumID, intGroupID, intReadPermission, 0, 0, 0, 0, 0, 0, 0, 0, 0)
           
            'If the user can read in this forum the add them
            If blnRead Then
                'Add new rs
                .AddNew
   
                'Create new entry
                .Fields("Author_ID") = lngLoggedInUserID
                .Fields("Topic_ID") = lngTopicID
   
                'Upade db with new rs
                .Update
               
                'Set the return value
                strReturnValue = "&EN=TS"
            End If


        'Clean up
        .Close

    End With



alll you need to do is add this to the section that changes group, use an If groupID = x then

code
end if


all you need to do is specify lngTopicID

also you may want to ad dmultipals of it to allow for extra forums or do a loop
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.