Update Forum Counts

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/69058?pagenum=1
04 November 2025, 20:49

Topic


top
Update Forum Counts
30 November 2009, 17:23


thanks in advance
Update Section CAT_ID=
Instead of the update to all forum

admin_count.asp
Updating Counts Step 1 of 5
I want to update one partition instead of every forum
Step CAT_ID=

how?..
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=69055

 

Replies ...


Etymon
01 December 2009, 08:14


Hi top,

I can give you an answer after I get back from a trip today.
Etymon
top
01 December 2009, 10:33


thanks advance Etymon
Etymon
02 December 2009, 16:20


Hi top,

You're quite welcome. smile
I am still working on it in between other projects. It'll come.
top
02 December 2009, 16:33


Hi Etymon
To wait..
Etymon
03 December 2009, 10:53


Hi top,

Give this a try and let me know if it is what you had in mind.
MOD: Update Category Counts Download: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=313
top
04 December 2009, 12:16


Hi Etymon
There is something wrong in the page when you enter the Redirect to admin_home.asp
Etymon
04 December 2009, 14:46


I am unsure of what you mean. Can you explain it in more detail?
top
04 December 2009, 15:25


When you open admin_count_category.asp Redirect admin_home.asp

if not(Request("update") = "cat") then
Response.Redirect "admin_home.asp"
Response.End
end if
Etymon
04 December 2009, 15:40


Good point!
I updated the instructions at the download link:

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=313
top
04 December 2009, 15:48


Good Works well

Thank you Etymon
Etymon
04 December 2009, 16:06


You're welcome. smile
golfmann
08 December 2009, 10:20


This is great! THANK YOU!
MUCH better smile
Etymon
08 December 2009, 12:20


You are welcome also golfmann.
I posted the mod and it's current updates in the MOD w/Code forum here: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=69072
Giumer
08 December 2009, 14:41


hello I wanted to know some information when I call the file admin_count_category.asp only a refresh of my home page in the file but I have to configure something?
Etymon
08 December 2009, 15:14


Hi Giumer,

I am sorry. sad I do not understand specifically what you are asking. Can you please ask your question in a different way?
Today, I made a change to the file.
In version 1.0, when updating the counts, the FORUM table was updated, but the TOTALS table was not.
In version 1.1, both the FORUM table and the TOTALS table are updated, and two different sections of the results display that information. The first section is for the category, and the second section is for all forums.
Giumer
08 December 2009, 16:19


Thank you for responding when you launch the file, nothing happens, returning only on the home page does nothing I'm on mysql db is good for that?
Etymon
08 December 2009, 16:28


All I did was add another section for updates. Hmmm.
Did you try this:

Installation:
admin_home.asp
In admin_home.asp find this:

" <LI><span class=""spnMessageText""><a href=""admin_count.asp"">Update Forum Counts</a></span></LI>" & vbNewLine

after that add the following:

Response.Write "<li><span class=""spnMessageText""><a href=""admin_count_category.asp?update=cat"">Update Category Counts</a></span></li>"

Giumer
08 December 2009, 16:37


ok ok wait me send E_mail and yuo ! for me accaunt and yuo please look ! thx for yuo time !
Etymon
09 December 2009, 05:46


I am not sure about the forum e-mail here. I did not get your e-mail. I sent an e-mail to myself and did not get that either. However, I did send an e-mail out to another member, and he got it. question question
Giumer
09 December 2009, 11:09


please try to send my e-mail lets see if you come, I did I try to send it to myself, and I got bo and try again! thanks
Etymon
09 December 2009, 11:13


I sent an e-mail message to you.
Giumer
09 December 2009, 15:23


ok mate thx problem me error !! sorry ! me copy and me file and admin_home.asp

not yuor querry me querry !

this is me string :
" <li><span class=""spnMessageText""><a href=""admin_count_category.asp?rand=" & int(10000000*rnd) & "&sectionid=888"">Update Category Counts</a></span></li>" & vbNewLine & _

ok me cange yuor string :

"<li><span class=""spnMessageText""><a href=""admin_count_category.asp?update=cat"">Update Category Counts</a></span></li>"

is ok ! thx ! and sorry !
Etymon
09 December 2009, 20:46


I am happy it worked out for you! smile
Giumer
10 December 2009, 00:23


thanks a lot and sorry if I made you lose time, sorry!
Todd
25 July 2012, 19:34


Face palm! I never built any groups. I'll update after I do.
Hi,

I just installed this and am running into a different issue. I have the link showing up on my admin home and when I click on it the new page does load. It says to choose a category but the drop down list is not populated.
Access database.
Any help is appreciated.
Thanks.
joycee
01 August 2012, 11:06


Wow, learn so much in this topic, thanks to etymon and all of you!
© 2000-2021 Snitz™ Communications