1
Sven71
Re: Membership module probs
  • 2007/4/7 3:29

  • Sven71

  • Just popping in

  • Posts: 3

  • Since: 2006/6/25


This issue is caused by changes in SQL syntax. The module file affected is membership/sql/mysql.sql

If you open this one in a text editor you will find a line close to the lower end of the page which says:


time_changed timestamp NOT NULL default 'NOW()',


Due to the syntax of my server's MySQL I had to change that into

time_changed timestamp NOT NULL default CURRENT_TIMESTAMP,


The changes are:

1.) NOW() changed to CURRENT_TIMESTAMP
2.) the apostrophes in 'NOW()' are gone. Just CURRENT_TIMESTAMP

It worked for me. If it won't work for you and you have a quality service provider you should find a MySQL manual inside the webadmin area. Look up the correct syntax for timestamp settings.



2
Sven71
Re: News 1.53: problems with WYSIWYG editor
  • 2007/4/3 23:39

  • Sven71

  • Just popping in

  • Posts: 3

  • Since: 2006/6/25


Quote:

JulioNC wrote:
Hi!

News 1.51 with FCKeditor

FCKeditor and Koivi available!

XOOPS_ROOT_PATH/modules/news/functions.php



For newcomers to XOOPS I'd make that rather:

XOOPS_ROOT_PATH/modules/news/include/functions.php



3
Sven71
Re: xlanguage language tag shown and not hidden problem
  • 2007/3/31 13:28

  • Sven71

  • Just popping in

  • Posts: 3

  • Since: 2006/6/25


Quote:

phppp wrote:
/modules/xlanguage/include/functions.php
line #192/198
/* */
    
if(isset($xlanguage_langs[$xoopsConfig['language']])) {
        
$lang $xlanguage_langs[$xoopsConfig['language']];
        
$patterns[] = '/([([^]]*|)?'.preg_quote($lang).'(|[^]]*)?])('.$mid_pattern.')([/([^]]*|)?'.preg_quote($lang).'(|[^]]*)?])/isU';
        
$replaces[] = '$4';
    }
    
/* */


Hm, that's line 187 in my xlanguage version 3.01
But my problem is that it doesn't only show the tags of the chosen language but all translations including all tags, thereby crushing my webdesign.




TopTop



Login

Who's Online

73 user(s) are online (46 user(s) are browsing Support Forums)


Members: 0


Guests: 73


more...

Donat-O-Meter

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

Latest GitHub Commits