FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Creating a PHP 7/8 FUDforum (About my effort to create a new version of FUDforum)
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Message by interestinglyaverage is ignored  [reveal message]  [reveal all messages by interestinglyaverage]  [stop ignoring this user] Go to next message
Re: Creating a PHP 7/8 FUDforum [message #187955 is a reply to message #187954] Fri, 18 September 2020 17:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3768
Registered: December 2004
Karma: 27
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
I like it, but have a couple of questions:

1. How do we test your version?
2. Will it be possible to upgrade (or migrate) old forums to your version? This is key, as there are a lot of LARGE (and extremely stable) forums on FUDforum.
3. Do you think it might be possible to use the exiting deployment model for Twig themes, where themes are copied (with localization) from the DATA to WEB directories? This may even allow older and newer themes to exist together in the same deployment.

Just a couple of random notes:
1. FUDforum 3.1 is compatible with PHP 7 (but I haven't tested PHP 8 yet).
2. SEO URL's are currently possible with the path_info_SEO theme.
3. Localization is integrated with TranslateWiki - they are committing translations on a periodic basis.

I assume it won't be possible to push your changes to the existing FUDforum repositories (like https://github.com/fudforum/FUDForum/) as your code is a radical departure from the existing structure. Anyway, I'm looking forward to test your version, to see if it can run my forum sites, and if not, if we can port some of it to the main repo.

[Updated on: Fri, 18 September 2020 17:21]

Report message to a moderator

Re: Creating a PHP 7/8 FUDforum [message #187956 is a reply to message #187955] Fri, 18 September 2020 20:03 Go to previous messageGo to next message
interestinglyaverage is currently offline  interestinglyaverage   United States
Messages: 5
Registered: July 2020
Karma: 0
Junior Member
add to buddy list
stop ignoring messages by this user
1. - To test, just check it out from git into the web folder, run `composer install` in that folder to install the dependencies, then edit the GLOBALS.php file with the paths and database settings. If you are using MySQL it should work, if you are using another PDO database it will probably work.
2. - Yes and no. The forum would work, the URLs would be unchanged, all the data would still be there, but the themes would not be compatible so they would either be reset to the default theme or would need to have a new theme ready to install.
3. - So, I did initially have it following the original file structure, but then I realized that that approach is somewhat counter productive. My end goal is to only have a single copy of each pages code that is completely independent of the theme, and multiple theme-specific view files, one per page per theme. This removes everything that shouldn't be directly displayed to the end user from the public folder, and could still be configured to allow for distributable themes - even a theme marketplace like WordPress has. Also, the ability to create child themes is possible. And, you could have different theme systems side by side. Don't like Twig, put in an HTML renderer. Or a JSON renderer and create an Angular or React front end. Just by changing a single dependency.

1. - Probably saying compatible wasn't right - but I want to take advantage of the improvements in 7 and 8, leverage things like stronger typing in the code. So I am targeting 7.3 right now. I can downgrade to 7.2 if that is preferred, but that is two versions out of date.
2. - This is really one of the key changes. The URL structure will be independent of the theme being used. You would be able to change the URL structure regardless of the theme just by changing the request object.
3. - I can incorporate the TranslateWiki files, or even have the translation system be able to use TranslateWiki or .pot files, or whatever is needed, and just change a single setting to load the appropriate translation. But again, the goal would be to switch from having theme-en-us, theme-es, etc. to having a single theme that can translate its content into any language.

It probably won't be able to be merged in git - at least at this early stage I wouldn't, but rather see how the two align after the next stage of the development. I am sure there will be plenty of things to fix as well, places that I may have missed, etc. This is still Alpha 0.0.1. But at least it is progress toward the final idea.

[Updated on: Fri, 18 September 2020 20:04]

Report message to a moderator

Message by GaryM is ignored  [reveal message]  [reveal all messages by GaryM]  [stop ignoring this user] Go to previous messageGo to next message
Re: Creating a PHP 7/8 FUDforum [message #187970 is a reply to message #187957] Thu, 05 November 2020 10:13 Go to previous messageGo to next message
interestinglyaverage is currently offline  interestinglyaverage   United States
Messages: 5
Registered: July 2020
Karma: 0
Junior Member
add to buddy list
stop ignoring messages by this user
So to update, I am still working on this, beginning the next stage of the roadmap. It is taking a back seat unfortunately to a couple of paid projects though, which makes it take longer. I would not be opposed to funding options which would allow me to dedicate more hours to it every week. Feel free to reach out, let me know what you have in mind. I am interestinglyaverage at gmail.

[Updated on: Thu, 05 November 2020 11:47]

Report message to a moderator

Re: Creating a PHP 7/8 FUDforum [message #188033 is a reply to message #187970] Sun, 31 January 2021 06:21 Go to previous message
naudefj is currently offline  naudefj   
Messages: 3768
Registered: December 2004
Karma: 27
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
We are about to release FUDforum 3.1.1.
Please let me know if you have any patches that can be folded back into the main branch that won't break existing forums ASAP.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Issues with topics not being shown
Next Topic: Is there a script to convert the phpBB to FUD within the PHP-Nuke portal
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Oct 23 15:54:57 EDT 2021

Total time taken to generate the page: 0.00726 seconds