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: MOD Implementation
 Updating Post Stamps for MySQL
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 November 2005 :  05:10:43  Show Profile
Has anyone managed to put together a script that will update the T_POSTS and R_POSTS fields of the TOPICS and REPLY tables that are used by the Post Stamp Mod? I know the mod itself includes a file that will do this for Access but has anyone done one for MySQL? I have been using this script for a while, but I notice today that it's not entirely accurate and, feeling under the weather as I am, I can't muster up the energy to figure it out. If you have a look here (numbers in bold is what the value of [X]_POSTS should be, other number is it's actual value), you'll see that my first 2 posts are "missing" and that I have 2 posts stamped number 24 and 25. Any assistance greatly appreciated But, in the meantime, I'm going to have another look at the Access script, see if it can't be used with the newer version of MySQL we're using now.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 November 2005 :  11:49:13  Show Profile
Huzzah! Managed to fix it by going back to the original Access file and coming up with this script. Thank god for UNIONs!


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 25 November 2005 12:17:32
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 25 November 2005 :  12:12:42  Show Profile  Send pdrg a Yahoo! Message
Huzzah for 404's!

well it *is* the weekend
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 November 2005 :  12:18:36  Show Profile
Fixed! It's only the weekend for some people; my excuse is, I'm sick!

Should be noted that the above'll only work with later versions of MySQL that support UNIONs.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 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 1.6 seconds. Powered By: Snitz Forums 2000 Version 3.4.07