1
fnog
Re: How to Handle Office 2007 File Attachments?
  • 2010/6/23 9:10

  • fnog

  • Just popping in

  • Posts: 4

  • Since: 2002/8/2 2


Tom,

Just made the changes you mentioned.

Patched smartsection/class/file.php
/**
* $Id: file.php,v 1.14 2005/10/10 19:51:14 malanciault Exp $
* Module: SmartSection
* Author: The SmartFactory <www.smartfactory.ca>
* Licence: GNU
*/


And changed sql table definition:

mysqldesc smartsection_files;
+-------------+-----------------+------+-----+---------+----------------+
Field       Type            Null Key | Default | Extra          |
+-------------+-----------------+------+-----+---------+----------------+
fileid      int(11)         | NO   PRI NULL    auto_increment 
itemid      int(11)         | NO   |     | 0       |                | 
name        varchar(255)    | NO   |     |         |                | 
description text            NO   |     |         |                | 
filename    varchar(255)    | NO   |     |         |                | 
mimetype    varchar(64)     | NO   |     |         |                | 
uid         int(6)          | YES  |     | 0       |                | 
datesub     int(11)         | NO   |     | 0       |                | 
status      int(1)          | NO   |     | -1      |                | 
notifypub   tinyint(1)      | NO   |     | 1       |                | 
counter     int(8unsigned NO   |     | 0       |                | 
+-------------+-----------------+------+-----+---------+----------------+
11 rows in set (0.00 sec)

mysqlALTER TABLE smartsection_files MODIFY COLUMN mimetype varchar(255NOT NULL;


mysqldesc smartsection_files;
+-------------+-----------------+------+-----+---------+----------------+
Field       Type            Null Key | Default | Extra          |
+-------------+-----------------+------+-----+---------+----------------+
fileid      int(11)         | NO   PRI NULL    auto_increment 
itemid      int(11)         | NO   |     | 0       |                | 
name        varchar(255)    | NO   |     |         |                | 
description text            NO   |     |         |                | 
filename    varchar(255)    | NO   |     |         |                | 
mimetype    varchar(255)    | NO   |     |         |                | 
uid         int(6)          | YES  |     | 0       |                | 
datesub     int(11)         | NO   |     | 0       |                | 
status      int(1)          | NO   |     | -1      |                | 
notifypub   tinyint(1)      | NO   |     | 1       |                | 
counter     int(8unsigned NO   |     | 0       |                | 
+-------------+-----------------+------+-----+---------+----------------+
11 rows in set (0.00 sec)


A minor "issue" that has been in my website for a long time, is now solved. (probably a newer version of smartsection already exists with this correction, nevertheless, this topic gets the solution for smartsection 2.1.

Once again, thank you Tom!



2
fnog
Re: Notification-management module
  • 2006/11/25 14:18

  • fnog

  • Just popping in

  • Posts: 4

  • Since: 2002/8/2 2


Searching exactly the same thing, I wonder if there isn't a module for that functionality already... I haven't found it though

At this moment I'm looking for a way to send new forum posts (CBB) notifications for all my private site members (20 users +/-)



3
fnog
newbb2 error : Solved de problem in my sites!
  • 2005/5/16 11:53

  • fnog

  • Just popping in

  • Posts: 4

  • Since: 2002/8/2 2


Hello everybody.

I've been reported this error in my websites this morning.
In fact, yesterday I've made a two step upgrade from version 2.0.7->2.0.9.2->2.0.10

I removed the newbb directories from the first patch, as explained in the download description.
The problem, in fact, had to do with the second patch wich has no warning for this problem.

After reading this topic, as I suspected, I had a new post.php file since yesterday.
I've replaced all newbb files in with a fresh newbb2.2 module files in my test environment and the error is gone.

All websites are up and running again with no posting problems.

Hope this helps!

Best Regards!



4
fnog
Triggering missed tasks
  • 2004/8/5 14:06

  • fnog

  • Just popping in

  • Posts: 4

  • Since: 2002/8/2 2


Why not putting a missed tasks function somewhere in the header file to check for missed tasks on every user action?

The downside would be an little overhead on every page execution (depends on the complexity of the code).

If scheduled time is reached, tasks could be executed without any output, so that it would be invisible to the current user that trigger it (though without knowing it )

Another downside would be the time taken by those tasks. Maybe the user would start his computer if they would take too long to execute and for him to get the page requested. Maybe the footer section would be the right place to put de code!

I hope I could make myself clear...

Regards,




TopTop



Login

Who's Online

229 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits