xoops forums

Forum Index


Board index » All Posts (fabou78)




fabou78

Friend of XOOPS
Posted on: 9/13 20:50
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#1

Re: NewBB 5.0 loading wrong template?

Thanks, it worked.


fabou78

Friend of XOOPS
Posted on: 9/12 20:04
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#2

Re: NewBB 5.0 loading wrong template?

UPDATE: I have downloaded the latest version of XOOPS 2.5.10 and NEWBB 5.00 from github and tried the install a few time on my Linux server, I still encounter the same problem with the forum display.

Would be glad if someone confirm they see the same issue


fabou78

Friend of XOOPS
Posted on: 9/12 15:00
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#3

NewBB 5.0 loading wrong template?

I have an issue on NewBB 5.00 where the web page is loading with unresolved smarty constant like this

_MD_USERS_ONLINE 1 _MD_BROWSING_FORUM
[ _MD_ADMINISTRATOR ] [ _MD_MODERATOR ]
0 _MD_ANONYMOUS_USERS
1 _MD_REGISTERED_USERS

I suspect that the template that is loaded when I click on furum is themes/xbootstrap/modules/newbb/newbb_index.tpl since I am running the xbootstrap theme. In that file all smarty constants are in the form of “_MD_XXXXXXX”.

However, if I look in modules/newbb/language/english/main.php all constants are in form of “_MD_NEWBB_XXXXXX".


I found out that the template here modules/newbb/templates/newbb_index.tpl make reference to the correct constants format “_MD_NEWBB_XXXXXX".

How can I force XOOPS to load newbb_index.tpl from modules/newbb/templates/ instead of loading it from themes/xbootstrap/modules/newbb/ ?


fabou78

Friend of XOOPS
Posted on: 9/7 19:42
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#4

Re: Fine tuning template won't show on browser

Thanks,

It worked ...


fabou78

Friend of XOOPS
Posted on: 9/7 18:24
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#5

Fine tuning template won't show on browser

I was trying to update the navbar and was under the assumtion that themes/xbootstrap/tpl/nav-menu.tpl was the correct file when using them xboostrap.

When I refresh my browser my changes are not coming up, restarting my webserver won't work either.

cleaning the data/caches/ folder won't work either

In an attempt to disable caching I have attempted

$tpl->caching = 0; in backend.php file with no success either.

Anyone know how I can work on the template and have my changes reflected straight after browser refresh ? If caching is the issue here how to disable it?


fabou78

Friend of XOOPS
Posted on: 9/5 15:20
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#6

Re: 2.5.10 - User profile won

Thanks Mamba for your help got it sorted now.

I can update mysql on my server but my hosting provider won't so need to stick to the version I have.


fabou78

Friend of XOOPS
Posted on: 9/3 14:01
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#7

Re: 2.5.10 - User profile won't install when using utf8mb4

Doing the change as requested moved the problem to table "profile_regstep" (line 43 in same file you mentioned)

So I have then changed
`step_name`       varchar(255)
to
`step_name`       varchar(200)
(line 45) and it installed the module fine.

Do you have an idea on what is going on?


fabou78

Friend of XOOPS
Posted on: 9/3 10:39
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#8

2.5.10 - User profile won't install when using utf8mb4

Setup of the server:
XOOPS Version XOOPS 2.5.10
PHP Version 7.2.22
mySQL Version 5.7.27-0ubuntu0.16.04.1 - (Ubuntu)
OS Linux Ubuntu Server

Creating database at install won't work with my current provider so I need to create database beforehand. The default charset for my provider is utf8mb4_unicode_ci.

When using this, I can't install the user profile module and it is showing the following MySQL related error.
0.000255 CREATE TABLE profile_field ( `field_idint(12unsigned NOT NULL auto_increment, `cat_idsmallint(5unsigned NOT NULL default '0', `field_typevarchar(30NOT NULL default '', `field_valuetypetinyint(2unsigned NOT NULL default '0', `field_namevarchar(255NOT NULL default '', `field_titlevarchar(255NOT NULL default '', `field_descriptiontext, `field_requiredtinyint(1unsigned NOT NULL default '0', `field_maxlengthsmallint(6unsigned NOT NULL default '0', `field_weightsmallint(6unsigned NOT NULL default '0', `field_defaulttext, `field_notnulltinyint(1unsigned NOT NULL default '0', `field_edittinyint(1unsigned NOT NULL default '0', `field_showtinyint(1unsigned NOT NULL default '0', `field_configtinyint(1unsigned NOT NULL default '0', `field_optionstext, `step_idsmallint(3unsigned NOT NULL default '0'PRIMARY KEY (`field_id`), UNIQUE KEY `field_name` (`field_name`), KEY `step` (`step_id`, `field_weight`) ) ENGINE=MyISAM
Error number
1071
Error message
Specified key was too longmax key length is 1000 bytes



If I force the database into utf8_general_ci the installation would work fine.

I have read somewhere that since MySQL 5.5.3 is advised.

Is there no support yet for XOOPS runing on utf8mb4_unicode_ci?

I have little understanding of the issue nor the effect of changing character set on database but I ham fully admin on my server so can run any commands for debug if required.

My aim is to reproduce an environment as close as possible to our hosting service for future website migration.


fabou78

Friend of XOOPS
Posted on: 2018/3/26 12:56
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#9

Re: NewBB 5.0 is in development

Thanks Mamba,

I will start testing with 4.33 on 2.5.9 for now and report any issue found. Also please note that changelog.txt still do not mention about 2.5.9 (only 2.5.8 is shown).

If I get it correctly there is no functionality differences or major structural changes between 4.33 and 5 but only bug fixes and port to PHP 7?

I am asking because I am working on moving our old forum from 2.5.0 which is running a quite old version of NewBB to either 4.33 or 5 depending on if there is no drastic change in the way it works.


fabou78

Friend of XOOPS
Posted on: 2018/3/24 18:22
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 31
Since: 2012/6/16
#10

Re: NewBB 5.0 is in development

Hi guys,

Can you please confirm that there is no NewBB module available at the moment for XOOPS 2.5.9 aside 5.0 which is still in Dev?

Also as far as I can see the latest NewBB is 4.33 RC 13 which would work for 2.5.8 and not tested/approved for 2.5.9?

Can you please confirm if my above assumptions are correct?



TopTop
(1) 2 3 »