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)
 Decrease members post count on post deletion
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 April 2008 :  17:17:32  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
Also, you need to use the exact syntax I used, or you will have issues. Please do not change field names.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 April 2008 :  17:36:30  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
This file works perfectly for replies only. Haven't changed the topics code.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 20 April 2008 :  18:34:01  Show Profile  Reply with Quote
I've just tried ruirib's suggested file and received the folowing error when deleting a members reply to a post:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Circular reference caused by alias 'T_VALUE' in query definition's SELECT list.

/forum/pop_delete.asp, line 127
<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 April 2008 :  18:38:07  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
The code does not work for Access.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 20 April 2008 :  18:43:06  Show Profile  Reply with Quote
okay reverted back to original file.. thanks andy<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 April 2008 :  18:44:20  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
This file should work for all DBs and replies only. Haven't changed the topics code.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 21 April 2008 :  04:28:41  Show Profile  Reply with Quote
Thank you, will you so kindly be adding the topic code?<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 April 2008 :  04:36:46  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
quote:
Originally posted by Andy Humm

Thank you, will you so kindly be adding the topic code?


Well, this is modifichicci's mod, I'm just helping out. With the examples given, I think he will be able to provide the code for the topics. If not, I may find some time later in the week to get acquainted with the code, which I really am not at the moment.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 21 April 2008 :  05:05:40  Show Profile  Reply with Quote
Roger, that's copied! Thank you for your valuable input!<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 April 2008 :  05:06:56  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
You're welcome.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 21 April 2008 :  12:46:00  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Thank for help, I am sure I need it a lot!!!

With your code I receive the same error

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[MySQL][ODBC 3.51 Driver][mysqld-4.0.27-standard-log]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT MAX(T_DATE) AS T_VALUE FROM FORUM_TOPICS WHERE T_AUTHOR

on deleting reply. ( and on deleting topic also, if can help..)

The file is your file
I cannot understand what is the issue.. I am blockhead I am afraid..<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 April 2008 :  16:07:01  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
Can it be that MySQL 4.0 does not support the syntax? I can only access 4.1 and 5.x versions... If your server allows remote access and you don't mind sending me the access data, I may try the query from SQLYog.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 21 April 2008 :  16:53:27  Show Profile  Visit modifichicci's Homepage  Reply with Quote
I have to ask to the admin of the site, on my side there are no problem, in the meantime i will try an installation on a mysql5 server to see if it works. Thanks for your availability<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 April 2008 :  17:06:17  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
Ok, will wait for your input. I've tested the query in my local 5.0.19 version and a 4.1 server to which I have access and it runs without issues.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 22 April 2008 :  15:04:37  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Running well in Mysql 5.
Not on MySql 4.0.27..<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 22 April 2008 15:04:59
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07