71
rickh
Re: Sessions: users must stay logged in
  • 2004/9/16 14:36

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


someone?



72
rickh
Sessions: users must stay logged in
  • 2004/9/15 16:17

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


Hello,

I want that the users of my site stay logged in when they close their browser. Now I found something about sessions in the admin panel and I enabled it. Default the session time is 15 minutes and it works. But after 15 minutes the session ends and users have to log in again. So I changed this to 99999.

Now my question: is it safe to change this 15 minutes to a very large number like 999999 ? So users stay logged in for a long time. Are there any risks when I do this?

grtz



73
rickh
changing the URL of my xoops site
  • 2004/9/10 9:02

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


I now have a subdomain adress likehttp://www.<myname>.<provider>.com/xoops. Since an few days I have registered a domainname at that same hosting provider. My site is now working at both adresses. But for cosmetical reasons I want to change the settings in XOOPS so it points to that domainname in stead of the subdomain.

I've found these settings in the mainfile.php. Can I change the URL of my site in this file without having the risk that my site becomes totally damaged? And do I have to change other settings?



74
rickh
Re: Problem with mydownloads upload hack
  • 2004/9/7 20:10

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


when i enable the PHP debug mode, i get the following message when posting a news message with attachment:

Quote:
Warning [PHP]: open_basedir restriction in effect. File is in wrong directory in file modules/news/include/fileup.inc.php line 70


what does that mean?



75
rickh
Re: Problem with mydownloads upload hack
  • 2004/9/7 19:25

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


Yes i've tried lots of other file formats and made a thumbnail folder (and chmod 777), but nothing will be uploaded at all (uploads directory on ftp remains empty).

Some other information:
I've installed XOOPS inhttp://<my_url>/cms

uploads directory is:http://<my_url>/cms/uploads

Maybe the PHP configuration on the server does not allow me to upload? But it's strange that the XOOPS image upload function does work properly, even as a photo gallery module. So I don't thing it's a security restriction or something like that.

This is the fileup.ini.php that i've configured:

Quote:

//
// Form style section
//
$def_form = 0; // Default post form style. 0=Simple 1=Normal
$simple_smilies = 1; // Use Smilies Option for Simple Form
//
// Upload File section
//
define( 'UPLOADS' , 'cms/uploads/' ); // upload folder for files
define( 'UPLOAD_ACCLEVEL' , 0 ); // 0 = Guest upload ok, 1 = xoopsUser, 2 = Auther(Admin), Default = 1
define( 'GUEST_DOWNLOAD' , 0 ); // Guest Download Acceptable 0 = No , 1 = YES
$denyUID = array(0,99999); // Set deny naughty user's UID. It's work with UPLOAD_ACCLEVEL 1
//
// Image and Thumbnail Setting
//
$gd_ver = 0; // PHP GD Library Version (0:Not support, 1:Ver 1, 2:Ver 2)
$img_dir = "cms/uploads/"; // image folder ( You have to create this folder if you change. )
$thumb_dir = "cms/uploads/thumbs/"; // Thumb image folder ( You have to create this folder. )
$thumb_ext = ".+\.jpe?g$|.+\.png$|.+\.gif$"; // Thumb image target file extentions
$w = 140; // Thumb target width
$h = 160; // Thumb target height
//
// for Japanese
//
//define( 'SAVE_AS_MBSTR' , 'SJIS' ); // In case of multi-byte filename ( SJIS, UTF-8,EUC-JP, etc... )
//define("_FILEUP_TITLE", "źÉÕ¥Õ¥¡¥¤¥ë¡§"); // File up title for your language
//define("_FILEUP_USAGE","<br />¥×¥ì¥Ó¥å¡¼¤ò¼Â¹Ô¤¹¤ë¤ÈźÉÕ¥Õ¥¡¥¤¥ëÍó¤Ï¥¯¥ê¥¢¤µ¤ì¤Þ¤¹¡£"); // Add Message for About Post
//define("_FILEUP_ERROR","¥À¥¦¥ó¥í¡¼¥É¤ò¹Ô¤¦¤Ë¤Ï¥æ¡¼¥¶ÅÐÏ¿¤ò¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£"); // Error message when reject guest download /*
//
// for English
//

define( 'SAVE_AS_MBSTR' , 'UTF-8' ); // In case of multi-byte filename ( SJIS, EUC-JP, etc... )
define("_FILEUP_TITLE", "Upload File :"); // File up title for your language
define("_FILEUP_USAGE","<br />The upload file name is clear when you pushed preview."); // Add Message about post
define("_FILEUP_ERROR","You must signup before download."); // Error message when reject guest download /*

// Max upload file size
// If you want set upper 2M, You must change php.ini
// memory_limit = 8M (default)
// post_max_size = 8M (default)
// upload_max_filesize =2M (default)
$maxfilesize = 2000000; // 2MB for News

// Acceptable MIME Content-Type
$subtype = "wav|gif|jpe?g|png|bmp|zip|lzh|pdf|excel|powerpoint|octet-stream|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg";

// embedding image MIME Content-Type
$imgtype = "gif|jpe?g|png|bmp|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg";

// Reject Ext. name
$viri = "cgi|php|jsp|pl|htm";

Maybe u have some other tips i can try??



76
rickh
Re: Problem with mydownloads upload hack
  • 2004/9/4 23:04

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


thanks for the link, but i think that module is way too advanced for my purposes... i'm making a site for complete noobs and they never understand it i think....

I just need a very simple sollution to upload files in Xoops. I've also tried the hack for the news module (news_fileup.zip), but that uses the same scripts like the mydownloads_fileup, so i get the same problems 'I've tried a lot of things, but i dont get it to save the file in the uploads directory. I'm getting totally desperate Files are getting uploaded (when i check the bandwoth meter of my internet connection), but wont be saved.

What i've tried:

- chmod 777 the uploads map offcourse
- using absolute path in stead of relative
- tried totally other directory
- with or without slashes in the upload folder variable

and NOTHING works



77
rickh
Problem with mydownloads upload hack
  • 2004/9/3 23:45

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


Hello,

I've downloaded and uploaded the upload hack for the mydownloads module, but it wont work :( I've checked the "fileup.ini.php" but everything seems to be OK. The problem is that everything seems to be good (posting the new download etc. no error messages), but the file wont be uploaded. It doesnt appear in the uploads directory (chmodded to 777).

I'm using the latest release of Xoops. Is this maybe not compatible with that hack? (dated july 2004).

What am i doing wrong?



78
rickh
Xoops Dutch translation
  • 2004/7/23 10:37

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


Hello,

I've tested XOOPS 2.06 a few months ago and I used a dutch translation of Xoops. Now i have a new XOOPS install with 2.07 and i also want it to be translated to dutch. But i can't find any Dutch translation files for XOOPS :( I tried the 2.06 version for dutch translation, but it works not well.

Anyone knows there is a Dutch translation available for 2.07 and where to download it?

thnx in forward



79
rickh
sections/articles module with UPLOAD possibility...
  • 2004/4/27 19:50

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


now i'm using the articles module, which is very easy to use (because users are stupid and dont understand advanced modules). My only wish is an upload function in that module to easily upload attachments.

Maybe someone knows such a module or can modify/hack that articles-module to make it possible to upload attachements?

I've tried lots of other modules (XFsection, ARMS, mydownloads etc.), but they dont meet my requirements.

Keywords for what im looking for: easy and upload attachements.



80
rickh
page generated in 0.xxx seconds
  • 2004/4/21 19:40

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


Is there anyting available (module, XOOPS code) which has the parse time from the page as output?

I want to make a small text at the footer of my site to show this information (page generated in xxx seconds).




TopTop
« 1 ... 5 6 7 (8) 9 »



Login

Who's Online

222 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 222


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