Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Batch Move Topics Mod Request
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Batch Move Topics Mod Request

 Post Reply Post Reply
Author
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Topic: Batch Move Topics Mod Request
    Posted: 08 May 2003 at 3:13pm

When you use the Batch Move in the admin (awesome function btw), it also moves sticky and announcement topics. This can be a problem depending on your forum.

I am trying to figure this one out but don't have enough ASP knowlege yet.

===============
My mod so far:

admin/batch_move_topics_form.asp -  Line 166 or so (easy part)

<select name="priority">
                <option value="0" selected>Normal</option>
                <option value="1">Sticky</option>
                <option value="2">Announce this Forum</option>
                <option value="3">Announce All Forums</option>
</select>

admin/batch_move_topics.asp

Line 69  intPriority = CInt(Request.Form("priority"))

============================

I know what I need to modify the "Update" SQL statement and/or the "If" statement just below. However, I'm not quite sure what to do.

Back to Top
Zamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 27 February 2003
Location: Netherlands
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote Zamal Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2003 at 3:55pm

Add the following

AND (" & strDbTable & "Topic.Priority=" & intPriority & ")

to both SQL statements

Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2003 at 7:55pm

Worked like a charm! I knew it had to be something simple. I'll post the mod'ed pages here for anyone else that wants to use them.

Thanks a lot Zamal!

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.