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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Static META Tag Generator (For search bots)
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 November 2001 :  01:23:50  Show Profile  Visit dayve's Homepage
create a directory named topics, ensure you allow WRITE permissions.

____________
dayve
http://www.nineinchnailz.com/forum
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 25 November 2001 :  04:24:35  Show Profile
Hello,

I have played with this code and like it.. Changed about line 32 from this;
strWrite = strWrite & "<meta http-equiv=""Refresh"" content=""2; URL=http://www.nineinchnailz.com/forum/topic.asp?TOPIC_ID=" & write_this & "&FORUM_ID=" & rsWrite("FORUM_ID") & "&CAT_ID=" & rsWrite("CAT_ID") & "&TOPIC_TITLE=" & rsWrite("T_SUBJECT") & "&FORUM_TITLE=" & FORUM_NAME & """>"


to this
strWrite = strWrite & "<meta http-equiv=""Refresh"" content=""2; URL=" & strForumURL & "topic.asp?TOPIC_ID=" & write_this & "&FORUM_ID=" & rsWrite("FORUM_ID") & "&CAT_ID=" & rsWrite("CAT_ID") & "&TOPIC_TITLE=" & rsWrite("T_SUBJECT") & "&FORUM_TITLE=" & FORUM_NAME & """>"


This way you do not have to change the forum name and it goes on your own forum.

Just thought that I would share it.. I am also looking at the part you need to change the amount of topics so it automatically gets the count from the intTopicCount in the database, but if anyone can tell me how to do it, then all the better.


Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 25 November 2001 :  13:01:57  Show Profile  Visit dayve's Homepage
thanks CMC, but this was script was used for personal use at the time and since it is not really a mod but a utility script I didn't mess with it. figured it was short enough, especially for a 1 or 2 time use, but that is not in any way to downplay the edit you've made, I am sure it is quite appreciated. there is a lot more that can be done with this script I'm sure.. like reading the amount of topics first and then plugging in the number dynamically instead of statically.

____________
dayve
http://www.nineinchnailz.com/forum
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 26 November 2001 :  02:14:57  Show Profile
Davye,

NP... Just playing around.. You know how some folks don't know how to edit the files and stuff.. Trying to make it so they do not play with something that works, and quite well at that I must say.. I just got caught when I ran the script and and it tried to send me to your site (doh, forgot to change the url it was making the auto redirection), but know there would be folks ot there that would not of changed it. Apart from that, the getting of the amount of topics is begining to be a bit of a bugger (Aussie term).

Shall just continue to play with it and see how I go.



Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 26 November 2001 :  12:06:50  Show Profile  Visit dayve's Homepage
getting the amount of topics will not be that hard, the pseudo for it would be something like:

SELECT COUNT(TOPIC_ID) AS TOPIC_COUNT FROM FORUM_TOPICS

or something similar.

As for being an Aussie term.. I know plenty of them. I have visited Austrailia about 10 times with my 11 year tour in the Navy. Been to Perth, Sydney and my favorite place Hobart, Tasmania. I spent much time getting pissed, cracking a fat and getting some root...

____________
dayve
http://www.nineinchnailz.com/forum
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 26 November 2001 :  20:53:29  Show Profile
daye, has the private forum issue been taken into account in the downloadable file? or chuck's code will be fine?
thanks.

Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 27 November 2001 :  05:37:34  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
The donwload link hasn't been updated.
My code *seems* to work fine.


Chuck

---
DNA.styx
DNA Games
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07