Author |
Topic |
|
Radianation
Junior Member
USA
186 Posts |
Posted - 19 February 2004 : 01:12:17
|
I have the Calendar mod installed (along with poll mod). I think somewhere in the topic.asp my code is goofed because I tried to merge the poll/cal code. Now, when a user edits his/her CAL(event) post the event date is reset and the database reports that it has been erased. When viewed on the forum it shows the date as today's date (I assume by default?)...
Please help!!
I have not been able to isolate the problem for almost 6 months. Users frequently post an event and then edit their post to include event updates or changes the the lineup of the event (music concerts mostly). This changes their date and the only way to fix it is for me to manually update hte database with the correct date. Needless to say, it's hurting our forum's popularity for having the most up-to-date underground event listing in the region. Grrrr
http://www.louipimps.com/forum/post.txt <<--- text file for coders to help me please!!! If you think it's in another file, let me know and I'll post a text file of it. |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 19 February 2004 : 19:11:29
|
Funny, you say you think the code in your topic.asp file if goofed up, but you posted a link to your post.asp file. |
Support Snitz Forums
|
|
|
Radianation
Junior Member
USA
186 Posts |
Posted - 19 February 2004 : 20:23:30
|
Yeah, I meant to say in the post.asp -- it's been a long week |
|
|
Radianation
Junior Member
USA
186 Posts |
Posted - 20 February 2004 : 01:01:39
|
I know somebody wants to help me out. I'll friggin pay you... |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
Jezmeister
Senior Member
United Kingdom
1141 Posts |
Posted - 20 February 2004 : 16:02:17
|
why didn't i get here first? lol ;) |
|
|
Radianation
Junior Member
USA
186 Posts |
Posted - 23 February 2004 : 14:50:35
|
Grr... still not working. Thanks for trying. Any ideas. |
Edited by - Radianation on 23 February 2004 14:56:03 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 23 February 2004 : 16:47:03
|
Uhh, I just re-read your post and realized whatever changes I made to your file wasn't going to fix your problem.
Although this isn't a problem with you installing the poll mod because I checked your file and everything looks ok. So whatever is happening is with the calendar mod.
Could you create an account (or give me a username and password of an existing one) so i can test and see what exactly is happening? Just run me through the steps of recreating the problem on your forum. |
Support Snitz Forums
|
|
|
Radianation
Junior Member
USA
186 Posts |
Posted - 24 February 2004 : 13:08:50
|
login: testuser password: testpassword
1. Create an event in "New Event Posts" and set the event date to any future date. 2. Edit the post to make changes to your event details. Don't change the event date. 3. Refer to the event and notice that the event date has changed to today's date instead of the original date, and you will be unable to change it to anything else...
|
|
|
Radianation
Junior Member
USA
186 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 26 February 2004 : 00:24:34
|
I need your post_info.asp file. Post a link to a txt version of it. |
Support Snitz Forums
|
|
|
Radianation
Junior Member
USA
186 Posts |
|
Radianation
Junior Member
USA
186 Posts |
Posted - 26 February 2004 : 17:53:20
|
Davio is the man |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 26 February 2004 : 20:37:19
|
Add the following code after line 464:txtMessage = chkString(Request.Form("Message"),"message") 'line 463
txtSubject = chkString(Request.Form("Subject"),"SQLString") 'line 464
if Request.form("isevent")="1" then
dateHolder = DatetoStr(CDate(Request.Form("event_date")))
else
dateHolder=""
end if That should fix it. |
Support Snitz Forums
|
|
|
Radianation
Junior Member
USA
186 Posts |
Posted - 27 February 2004 : 00:16:59
|
That did it. Thank you so much man!! let me know if there is anything I can do for you. (ie free cds) |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
|
Topic |
|