1
HazardEffect
Re: Cloned Content module + new FCK editor

Quote:

borpin wrote:
Why do you need cloned modules?


The menus had to go in 2 separate blocks, this was a reqirement of the site design. One menu on each side of the page. And I'm no XOOPS expert, so I have to admit I've no idea how to do this without cloning the modules (or even if it can be done easily).

Quote:

borpin wrote:
OK I just had a look at your site (very nice!). I think what you need is multiple menus rather than a complete duplication of the module. The disadvantage of the cloned module is that you cannot easily move a page between them (plus all the extra overhead of 2 modules).

Am I right?


Yes that would be better, providing the menus could be split between blocks. Also, for my sites (I have to set up 8 of these ) one group can have admin access to one menu only, with another group accessing the second menu only. But for general use, the single module approach would be easier.



2
HazardEffect
Re: Cloned Content module + new FCK editor

The problems you are getting with the file upload (I assume this is not working for you) are because the path to the upload folders is not correct (probably). I'm guessing here, but I would think $fckphp_config['basedir'] is not correct, you could try setting it to $_SERVER['DOCUMENT_ROOT'] or taking the leading backslash off $fckphp_config['UserFilesPath'] (../../../fck_common). These are some of the problems I had configuring the editor to get it working with domain aliases, but it might now be broken for normal domain names!
In fckeditor/editor/filemanager/browser/default/connectors/php/Commands/GetFoldersAndFiles.php, I added a couple of attributes to send debugging info back to default/frmresourceslist.html, and some additions in GetFoldersAndFilesCallback() and AddFile() to output this info to the browser. This may help you debug the problem.


Regarding FCKeditor, I have problems using it with Firefox (it gives up after a while) but IE6 (on XP pro) is fine, so I have no plans to upgrade the 2.3 release.

Regarding 'FCKLang undefined': Have you got english installed as a language?



3
HazardEffect
Re: Cloned Content module + new FCK editor

All the uploads should go into fck_common/users/admin/File, or fck_common/users/admin/Image. Have you got write permissions set for these folders? (i.e. site chmod 777 users)



4
HazardEffect
Re: Cloned Content module + new FCK editor

Should have mentioned that you also need to set $fckphp_config['urlprefix'] in admin\fckeditor\editor\filemanager\browser\default\connectors\php\config.php for each Content module.
I had to do this to get it to work with domain aliases



5
HazardEffect
Cloned Content module + new FCK editor

Very impressed with XOOPS and the Content module, but I found the version of FCK editor lacking in some areas. I also wanted multiple Content modules, that could share the same upload folder.

So I have replaced FCK editor with the version fromhttp://mcpuk.net/fbxp/?page=home
(the File Browser Extension Project)
This version has much better file upload handling, it allows for deleting files from the server and has some decent graphics. I've added a .zip icon as well as making changes to allow multiple editors to share the same file upload folders.

The Content Module is now 'cloned'. Rather than changing the code to allow multiple modules to exist together, I've just renamed many variables and constants with a suffix _01. Just change _01 everywhere to _02, _03 etc. to make multiple 'clones'. There are about 170 suffixes, 1 folder and 4 files. Also change the table name in sql.mysql
I would recommend a text editor that can do search and replace across multiple files, like Dreamweaver. Then it's all very straightforward.

I also changed system_blocks.php, so the content menus are not included in the main menu.

I've put my hacked Content module (2 'clones') and sundry other files in a .zip:
Content hacks
All XOOPS changes are marked with //rw
If anyone want to see what I've used this for, heres our site (still under development)
Ponterwyd Community Web Site

This all works with 2.0.5, don't know about later versions.
Hope this is all useful to someone else!



6
HazardEffect
Re: Deleted admin

Thanks anyway, I can't find anything in the FAQ about this, but I've picked up some really useful info about changing passwords etc. I'm still locked out and getting nowhere. This just shows how important backups are. I'll delete the site and re-install.



7
HazardEffect
Re: Deleted admin

My host doesn't seem to provide facilities for backing up the DB, but rather the whole site which is time-consuming. So I guess I will have to look for better hosting facilities. I am only in the early stages of development, so I hadn't backed up the site

But it does seem to be easy (for an idiot at least) to remove the admin account, so it would be very useful to know how to add a user directly to the database. I've tried copying the admin user from another site (from the xoops_users table) but I only get to access the Edit Profile page, no site menus are displayed.

So what is involved in adding a user directly to the database? Which tables need modifying? I'd be very grateful for some help here.



8
HazardEffect
Deleted admin

I have accidentally deleted the admin user (from the Edit / Delete users page), and now I can't log in as admin. I've tried adding a new row to the xoops_users table, with some values from another XOOPS database, but I still get a 'you dont have permissions to access this area' message when I try to log in.

How can I restore the admin user account?



9
HazardEffect
Re: How to add a language

Just did that, everything works perfectly! XOOPS rules!

Many thanks.



10
HazardEffect
How to add a language

Hi everyone,

How do I add a language pack to XOOPS after its installed? The FAQ tells how to do this before installation (copy files to the language folders, then run the installer) but I can't see how to add a language once XOOPS is set up - am I missing something simple, or do I have to add the language pack then install XOOPS from scratch?

Any help much appreciated.




TopTop
(1) 2 »



Login

Who's Online

242 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 242


more...

Donat-O-Meter

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

Latest GitHub Commits