Roundcube Community Forum

 

disable things in roundcube

Started by peachmelba, April 01, 2011, 07:14:24 PM

Previous topic - Next topic

peachmelba

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

SKaero

You can remove the icons in the skin files, but they could still go to it by url.

peachmelba

#2
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?

SKaero

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; />

peachmelba

#4
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?

SKaero

Try opening the file the notepad or textedit.

peachmelba

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.

SKaero

The settings button is in /skins//includes/taskbar.html

peachmelba

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

SKaero

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