Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Blank Topics in Subscriptions
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zenfor
Junior Member

372 Posts

Posted - 28 May 2014 :  18:29:11  Show Profile  Reply with Quote
I noticed that many subscribed topics are blank and look like this:
Topic:

Is snitz not updating the subscriptions file when topics, etc. are deleted? Thanks!

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 28 May 2014 :  20:27:04  Show Profile
If you're using 3.4.07, the default "pop_delete.asp" does delete subscriptions upon deletion of topics/forums/categories. Have you installed a mod which changed that file?
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 30 May 2014 :  16:44:58  Show Profile  Visit Webbo's Homepage
Create a new blank file called lost_subscriptions.asp and copy and paste the following code to it:


<!--#INCLUDE FILE="config.asp" -->

<%

Dim strSql, conn, lngCount


strSql = "DELETE " & strTablePrefix & "SUBSCRIPTIONS FROM " & strTablePrefix & "SUBSCRIPTIONS LEFT JOIN " & _
strTablePrefix & "TOPICS ON " & strTablePrefix & "SUBSCRIPTIONS.TOPIC_ID = " & strTablePrefix & _
"TOPICS.TOPIC_ID WHERE " & strTablePrefix & "TOPICS.TOPIC_ID Is Null;"



Set conn = Server.CreateObject("ADODB.Connection")

conn.Open strConnString

conn.Execute strSql, lngCount, 1 + 128

Response.Write lngCount & " Subscriptions to lost Topics were Deleted<br>"

conn.Close

%>


Upload it into your forum folder and then run the file via your browser to delete the blank topic subscriptions


(Not my work but I can't remember the name of the author)

Edited by - Webbo on 30 May 2014 16:45:17
Go to Top of Page

Zenfor
Junior Member

372 Posts

Posted - 30 May 2014 :  19:04:53  Show Profile
quote:
Originally posted by Carefree

If you're using 3.4.07, the default "pop_delete.asp" does delete subscriptions upon deletion of topics/forums/categories. Have you installed a mod which changed that file?


I am at 3.4.07 and it looks like the who is online mod had me make a change to that file.
Go to Top of Page

Zenfor
Junior Member

372 Posts

Posted - 30 May 2014 :  19:08:17  Show Profile
quote:
Originally posted by Webbo

Create a new blank file called lost_subscriptions.asp

Yup, that worked great. Thank you!

Edited by - Zenfor on 30 May 2014 19:08:34
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 30 May 2014 :  22:24:48  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by Webbo

Create a new blank file called lost_subscriptions.asp and copy and paste the following code to it:


<!--#INCLUDE FILE="config.asp" -->

<%

Dim strSql, conn, lngCount


strSql = "DELETE " & strTablePrefix & "SUBSCRIPTIONS FROM " & strTablePrefix & "SUBSCRIPTIONS LEFT JOIN " & _
strTablePrefix & "TOPICS ON " & strTablePrefix & "SUBSCRIPTIONS.TOPIC_ID = " & strTablePrefix & _
"TOPICS.TOPIC_ID WHERE " & strTablePrefix & "TOPICS.TOPIC_ID Is Null;"



Set conn = Server.CreateObject("ADODB.Connection")

conn.Open strConnString

conn.Execute strSql, lngCount, 1 + 128

Response.Write lngCount & " Subscriptions to lost Topics were Deleted<br>"

conn.Close

%>


Upload it into your forum folder and then run the file via your browser to delete the blank topic subscriptions


(Not my work but I can't remember the name of the author)


By the looks of it, I think I know the author :).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07