After taking forever I have finally updated CMS Forum Member Hack. I stopped work on 2.x version of this a few weeks ago in plans to update 1.x version using existing framework.
Thus I have updated the hack to version 1.20 BETA. I still consider it a beta because I have not completed extensive testing on the new code (Never-the-less, I have done some basic testing with local installs).
If you wish to test this, I suggest making a backup of any files that this script tells you to chmod (with exception of script's own files). That way even if the uninstall fails for some reason, you are not screwed (where you then have to go and manually edit files). I also strongly recommend backing up your forum and cms database(s). If you do not, a botched merging of the users could leave you fairly angry.
What's New
- Restructured modules folder.
- Added support for IPB 2.1 and e107 0.7.5.
- Touched up install / uninstall displays and text. Also added database warning.
- Fixed search / replace text during install not properly converting html entities.
- Updated and added better detection of default configurations.
- Modified configuration to be class. Global no longer used.
- Updated MySQL access module to prevent sql injection attacks. Only e107 0.7.5 and IPB 2.1 have been updated to use safe access (other versions of CMS / Forum already suffer from multiple vulnerabilities).
- Renamed most general functions in CMS / Forum modules to be more programmer-friendly.
Things I need people to test
- Merging users for new modules.
- Forgot Password link (ensure that it updates password for both CMS and forum once password it is reset).
I have tested most of the other functionality and have had it working on local installs. However, each setup varies so who knows what could arise.
What about the planned redirection feature?
Many have asked for a redirection feature that would allow for redirection to previous e107 page after login (instead of redirecting to forum).
I decided I would provide separate hack code that you will be able to copy & paste rather than incorporate the feature into the script. The reason for this is that incorporating such a feature would require me to do even more research on older versions of software, edit all of the modules (each with varying search / replace points), and add additional functions into the script itself. That is a ton of work for such a small feature.
I will provide redirection code to be placed (most likely in index.php of forum and class2.php of e107) once the hack has been tested a bit and can be fully released.
EDIT:
Link updated (Beta 2) to include proper initializing of objects.




