2061
Dave_L
Re: Changing time format
  • 2004/1/1 0:02

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


That's determined by the following constants in language/english/globals.php:

define("_DATESTRING","Y/n/j G:i:s");
define("_MEDIUMDATESTRING","Y/n/j G:i");
define("_SHORTDATESTRING","Y/n/j");


The format strings are used by the PHP function date.

So you could change "Y/n/j G:i:s" to "Y/n/j g:i:s a" and "Y/n/j G:i" to "Y/n/j g:i a".



2062
Dave_L
Re: Blocks won't stick in configuration
  • 2003/12/31 23:21

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


A block's visibility attribute is independent of the user group.

Whether a group can see a block is determined by the group's block access rights. (System Admin >> Groups >> Modify)



2063
Dave_L
Re: NewBB Enhancements
  • 2003/12/31 14:14

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Will do.



2064
Dave_L
Re: Cookie prefix
  • 2003/12/31 14:04

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


So what do you think? Would the xoops_setcookie() function, and a configurable cookie prefix be a good idea?

Or it might be better to have a cookie class, with methods for setting/getting cookies. The class could also make it easier to store multiple values within single cookies, timestamp the cookies, etc.



2065
Dave_L
NewBB Enhancements
  • 2003/12/31 13:58

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I've been evaluating XOOPS for use on my site. I generally like it, but from my point of view, the weakness is the forum module, NewBB, which lacks a number of features that I require.

I know that enhancements are planned, but I haven't seen an official list of planned changes, or an implementation schedule.

As a software developer with experience in PHP and MySQL, I'm capable of making the needed enhancements myself, but I'd prefer to avoid spending the time and effort if NewBB is going to be updated in the near future.

Questions:

1) Is there a list of planned changes and an implementation schedule?

2) I'm willing to help the current module developer(s) in this effort. Is there any interest is this?




2066
Dave_L
Re: Tutorial about how to do Blocks and Modules???
  • 2003/12/30 23:06

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Are you asking how to use existing blocks and modules, or how to create new blocks and modules?



2067
Dave_L
Re: change username
  • 2003/12/26 3:16

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Here are the character sets allowed in usernames, from register.php:

$strict 'a-zA-Z0-9_-';
$medium $strict."<>,.$%#@!'"";
$loose = $medium."?{}[]()^&*`~;:\+=";


There's also a separate check that appears to exclude spaces:

if ( strrpos($uname,' ') > ) {
   
$stop .= _US_NICKNAMENOSPACES."<br />";
}


When I get ready to use XOOPS on my site, I'll probably tweak that a bit. I'll add a line of code to "squash" multiple spaces, add "." and " " (space) to $strict, and remove the extra check for spaces.



2068
Dave_L
Re: Recommended CVS Client?
  • 2003/12/25 4:17

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I installed TortoiseCVS. What parameters do I use to connect to the XOOPS SourceForge.net CVS repository? The dialog asks for either a CVSROOT, or a Protocol, Server, Port, Repository name, and User name.

Edit: Never mind, I got it to work using CVSROOT=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoops" and "module=xoops2"



2069
Dave_L
Re: Newlines
  • 2003/12/25 0:47

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Thanks

I found this function in class/module.textsanitizer.php. So it looks like it doesn't matter whether \r\n, \r, or \n is used in the database.

/**
     * Convert linebreaks to <br /> tags
     *
     * @param    string  $text
     *
     * @return    string
     */
    
function &nl2Br($text)
    {
        return 
preg_replace("/(1512)|(15)|(12)/","<br />",$text);
    }



2070
Dave_L
Re: Donate problem
  • 2003/12/24 14:51

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


It's best to use "<?php" instead of "<?". Then it doesn't matter whether short_open_tag is enabled in php.ini.




TopTop
« 1 ... 204 205 206 (207) 208 209 210 ... 212 »



Login

Who's Online

187 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 187


more...

Donat-O-Meter

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

Latest GitHub Commits