Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: peachmelba on April 01, 2011, 07:14:24 PM

Title: disable things in roundcube
Post by: peachmelba on April 01, 2011, 07:14:24 PM
Hi.
I want to disable "create meassage" and "settings" ikon, and also people shall not be able to registrer accounts.
Basiclly people shall only be able to login and view their email.
I hope somebydy can help.

Thx in advice.

BR

Peachmelba
Title: disable things in roundcube
Post by: SKaero on April 02, 2011, 12:28:16 AM
You can remove the icons in the skin files, but they could still go to it by url.
Title: disable things in roundcube
Post by: peachmelba on April 02, 2011, 03:42:58 AM
Thanks a lot for your answer
That ok a ok solution to me.
How do i practically do this?
I have downloadet all the template files via FTP to play and try, but when i open the files in firefox/IE they are just blanc.
How can i know what to remove?
Title: disable things in roundcube
Post by: SKaero on April 02, 2011, 05:08:51 AM
You'll need to edit the html, for example the compose icon is in: /skins//templates/mail.html

<roundcube:button command=&quot;compose&quot; type=&quot;link&quot; class=&quot;button compose&quot; classAct=&quot;button compose&quot; classSel=&quot;button composeSel&quot; title=&quot;writenewmessage&quot; content=&quot; &quot; />
Title: disable things in roundcube
Post by: peachmelba on April 02, 2011, 11:44:15 AM
Thx for the answer once again !
Sorry, but i still dont see what i need to delete.
If i view the file: file:///C:/Users/carstenst/Desktop/templates/mail.html
i only see some dots. The same if i see the same file on the webpage.
I dont see some icons where i can see what i remove. I have also tried to take the site into expression web. There i see the same - nothing useful.
Where do i see what part of the code i need to remove to remove icons on the homepage?
Where do i e.g. remove the settings button?

And when i find the line (or the line that you have shown med) - shall i just delete the line?
Title: disable things in roundcube
Post by: SKaero on April 03, 2011, 12:14:45 AM
Try opening the file the notepad or textedit.
Title: disable things in roundcube
Post by: peachmelba on April 03, 2011, 06:47:58 AM
I still cant see what code to remove if i want to remove the settings icon. :o

If i mark the settings button in firebug (firefox) i can see the code attached to the icon is:

Settings

But i dont know where to find and remove this code.
Title: disable things in roundcube
Post by: SKaero on April 03, 2011, 08:22:21 AM
The settings button is in /skins//includes/taskbar.html
Title: disable things in roundcube
Post by: peachmelba on April 03, 2011, 01:32:30 PM
T.Y. so much.
You have really been a great help !

The last part i am missing is to remove the "sent" and the "trash" folder in the left folder panel.

Can you help me with that also?

Thx in advice
Title: disable things in roundcube
Post by: SKaero on April 03, 2011, 04:13:12 PM
You would most likely have to delete those folders off of the imap server, you'd also need to remove them from the $rcmail_config['default_imap_folders'] array in /config/main.inc.php