Hi, last two or three weeks I developed my project based on Xoops. I changed some things in it and want to know your ideas about that. (I just suggest to pay attention to this, not to do this)
1.
Redirect page.
I definately hate it
so i made a constant USE_REDIRECT. In my project this const is 'false'
So, i just send headers to needed page. One more thing with this, sometimes at the end of url (for ex.
https://xoops.org/?) we can see '?'. I pregmatche it and kill :) i think we don't need it, yea?
2.
Directory structure.
Why there are several cache dirs? Now:
ROOT_DIR/templates_c
ROOT_DIR/cachefirst one is for smarty, second for xoops, but all in all both are for cache, so i do this:
ROOT_DIR/cache/temp
ROOT_DIR/cache/templates_c3.
Modules directoryI changed my modules directory 'name' because of more friendly url. There could be several ways: to use mod_rewrite (not all users can do that) or to change modules directory name. I created 'XOOPS_MODDIR_NAME' and used it instead of 'modules'.
4.
CSS and IMAGESI put them just into root dir in IMAGES and CSS directories. xoops.css too. I just separated html, css, images files, because now they are just mixed in themes. (actualy, i named themes into layout, because i use them like my layouts, not as themes).
This part is mostly for structure and naming.. I made core changes to generate cute keywords, description or title. Few SEO things like URL constructing and so on.. Why i said, that this is just offer and not TODO list items.. Because a lot of users couldn't upgrade theirs XOOPS to such version. Because almost all modules needs fixes and so on.. I made changes in news, newsbb and several other modules, but we have lost of them.. In other hand, now i can have SEO friendly urls like (in news)
http://PROJECT_URL/PROJECT_SPECIFIC/news/my-super-duper-news.htmljust for thinking..