xoops forums

Forum Index


Board index » All Posts (dejadingo)




dejadingo

Just popping in
Posted on: 10/5 2:06
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#1

Re: Most current Xoops 2.5.11

@alain01: I merged the latest core changes into my fork and I am looking at the updates to xSwatch4.

Since my version of xSwatch5 is based on the most recent version of Bootstrap/Bootswatch, and there are features there I need, I plan to continue my implementation there. I don't want to step on any toes here, so would it be OK if I looked at how you are using the core changes and see about incorporating the way you implemented a few things?

I will share my private repo once I get the next pass complete.


dejadingo

Just popping in
Posted on: 10/4 22:15
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#2

Re: Most current Xoops 2.5.11

I have a preliminary port of the xSwatch4 theme to xSwatch5 for Xoops 2.5.11, based on Bootstrap/Bootswatch 5.1.1. It also adds a second menu option for a responsive, offcanvas sidebar menu in addition to the original navbar menu.

This is currently a private project on GitHub, and still needs some additional tweaks for items removed in Bootstrap 5.1.1.

Is there some place you would like me to put this so that it is visible within the Xoops community?


dejadingo

Just popping in
Posted on: 10/1 17:23
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#3

Re: Most current Xoops 2.5.11

Thanks,
I will take another look at xmnews (and perhaps xmcontent) and see how easy it is to shut everything down so we end up with only basic templated pages that can be displayed with the MyMenus module.

Other than the basic text content, my modules are specifically tied to the various tables in our database which hold the information we want to display. I am afraid there is nothing generic in them that would be worth sharing. However, I will eventually have a few bug fixes to share once I finish with the upgrade project.


dejadingo

Just popping in
Posted on: 10/1 14:39
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#4

Re: Most current Xoops 2.5.11

@alain01: Thank you very much for the information, especially about monxoops.fr using Xoops 2.5.11 Beta 2.

I appreciate your comments about using existing modules, and agree that for many websites that is the correct choice. I initially started our website with a version of TinyD, but we are not a portal, do not support submitted articles or comments/ratings/etc and it is currently not open to new users. The webmaster is the only content creator, so about 75% of the functionality of the impressive and well constructed public modules really just gets in my way. I found Xoops when I was looking for a way to organize and maintain the website for our small non-profit organization. Every time I upgrade to a new version of Xoops I review the public offerings, but the needs of our organization are not met by these modules at this time.

I want to thank everyone at Xoops for the time you put into the product. Over the years it has simplified my task as webmaster. And since I needed to develop my own specific functionality to maintain and display the data in our database, being able to easily create my own modules has been a significant benefit. I have enjoyed seeing the code base continue to improve in features, structure and OOP constructs. I look forward to the upcoming releases, will use the latest ModuleBuilder with Xoops 2.5.11 to refresh my modules, and see if my testing gives me enough confidence to upgrade the website to 2.5.11.


dejadingo

Just popping in
Posted on: 9/29 23:18
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#5

Re: Most current Xoops 2.5.11

@Mamba: Thanks. I can take a look at porting the Docker version to Xoops 2.5.11. The PHPUnit tests also look interesting, although at this point porting them does not seem to make sense.

It would be nice to understand what release strategy to expect for this version in relation to Xoops 2.6.0. Both appear to be in active development, but there does not seem to be a current Roadmap for Xoops in general. Do you plan to release Xoops 2.5.11 in the relatively near future?

I ended up here because, for a variety of reasons, I need to upgrade my website to Bootstrap 5.1.1, and in that process I also need to upgrade my collection of modules that run my website. A few of these were developed in Xoops 2.3/2.4 and they are in need of refreshing on the admin side. I would rather not have to do this work multiple times and it seems like Xoops 2.5.11 might have some admin improvements over 2.5.10. Would appreciate some advice/guidance for what to use as my code base.

Thanks for your help.


dejadingo

Just popping in
Posted on: 9/27 12:54
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#6

Re: Most current Xoops 2.5.11

@Mamba: Thanks, that's much closer to your fork than the version I initially found, not quite sure how.

Is there a standard set of System/Unit tests and a test environment I can install, other than just my local server installation?


dejadingo

Just popping in
Posted on: 9/25 17:58
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#7

Most current Xoops 2.5.11

Can anyone say what is the most current version of Xoops 2.5.11?

I would like to test/use ModuleBuilder version 3.x but the description seems to indicate it only works with Xoops 2.5.11. It looks like the Master version still reports itself as 2.5.10 while the Beta-2 version posted by Mamba reports itself as 2.5.11, and many files in the Beta-2 version seem more correct than those from the Master.

Thanks for the assistance.


dejadingo

Just popping in
Posted on: 2019/7/30 20:28
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#8

Upgrade my own modules to 2.5.10 and Xmf

I'm currently upgrading my own handful of simple modules to Xoops 2.5.10. Some are pretty old, and I would like to have a consistent admin side as well as position them to move forward easily in future.

Can someone point me to an existing module that takes full advantage of Xmf that I can use as an example? It can even be something working with the upcoming new Xoops version. I just want to see a complete basic implementation.

Thanks,
Sherry


dejadingo

Just popping in
Posted on: 2014/12/15 15:47
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#9

Re: PRECHECK resursion in protector

It also seems we need to add the protection
if (defined('PROTECTOR_{PRE|POST}CHECK_INCLUDED')) return;

at the top of both precheck.inc.php and postcheck.inc.php to avoid the constant page error for trying to redefine PROTECTOR_POSTCHECK_INCLUDED since both of these files are also included by functions in core.php.


dejadingo

Just popping in
Posted on: 2014/12/15 0:36
dejadingo
dejadingo (Show more)
Just popping in
Posts: 66
Since: 2004/10/22
#10

PRECHECK resursion in protector

Here's one I did not expect to find.
I'm testing out a new site using Xoops 2.5.7.1 (PHP 5.4.27) and I have installed the Common Utilities (2.2.75) so that I can try out bitcero's QuickPages. The problem I have encountered comes when you try to hide the Common Utilities module from the Main Menu. In the protector's precheck.inc.php we find:
require_once dirname(__FILE__).'/precheck_functions.php' ;

  if( 
class_exists'Database' ) ) {
     require 
dirname(__FILE__).'/postcheck.inc.php' ;
     return ; }

  
define('PROTECTOR_PRECHECK_INCLUDED' ) ;

When I hide other modules like User Profile, or Private Messaging, it does not appear that the Database class exists, so we turn on PROTECTOR_PRECHECK_INCLUDED, and proceed with the rest of the code in that file. When hiding Common Utilities, the Database class apparently exists, and we try to load the postcheck.inc.php file. Unfortunately this starts an infinite recursion because PROTECTOR_PRECHECK_INCLUDED has not yet been defined and we go back to loading precheck.inc.php.

If I change precheck.inc.php to move
define('PROTECTOR_PRECHECK_INCLUDED' ) ;
above the check for the Database class, this gets the flag set before we need it to prevent the resursion.



TopTop
(1) 2 3 4 ... 7 »