Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: What works?
by Zap_English on 2016/5/30 11:42:20

ok

By the way. WGTEAMS works without any errors or problems.

So there's another module that works
Re: What works?
by Mamba on 2016/5/30 11:21:25

Quote:
So, you're saying all those files in /themes/xbootstrap/modules/ stay in /themes/xbootstrap/modules/ and are NOT copied to the xxx/templates/ subdir for each module?

That's correct!
Re: What works?
by Zap_English on 2016/5/30 5:32:59

So, you're saying all those files in /themes/xbootstrap/modules/ stay in /themes/xbootstrap/modules/ and are NOT copied to the xxx/templates/ subdir for each module?
Re: What works?
by Mamba on 2016/5/29 20:16:05

Quote:
From themes/xbootstrap/modules I copied to modules/newbb/templates

index.html
newbb_index.html
newbb_index.tpl
newbb_thread.tpl
newbb_viewforum.tpl
newbb_viewforum_subforum.tpl
newbb_viewtopic.tpl

Some of the issues that you reported are caused by misunderstanding my advise to Cifug in this thread. I was advising him to copy the .tpl templates from XOOPS 2.5.8's xBootstrap theme:

/themes/xbootstrap/modules/newbb/

to XOOPS 2.5.7.2's xBootstrap theme:

/themes/xbootstrap/modules/newbb/

and not to the module itself.

As a result of you copying the files to the module itself, you were missing language variables like the "THEME_FORUM_REPLY" because they are defined in the theme:

\themes\xbootstrap\language\english\main.php

As a rule, you don't copy "down" the files, because the templates in the theme "overwrite" the templates in the module.

My apologies for not being clearer about it in my conversation with Cifug.
Re: What works?
by geekwright on 2016/5/29 4:01:26

Just to clarify one important point, this statement has been in every 2.5.8 announcement since RC1.
Quote:
... In previous XOOPS versions, E_STRICT warnings have been suppressed when using the debugging logger. These are no longer suppressed to give developers insight into what may need to be fixed. We've tried to make sure XoopsCore runs clean, but modules may produce debugging output you have not seen with earlier versions.


For many years, XOOPS has been suppressing messages like the following:
le="color: #000000"><?php Only variables should be assigned by reference in file ...


We removed the code that suppressed these as part our drive to improve code quality in XOOPS.

Those "errors" have been happening silently since the transition from PHP 4 to PHP 5. The code still works, just like it did before we started showing the message. Making the message available in the logger is essential to helping the developers in making sure they get fixed.

I also want to take this opportunity to say a sincere thank you to Mamba for all the work I know he has already invested in cleaning up hundreds of these and similar issues already!

Who's Online

175 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

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

Latest GitHub Commits