Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 01:50 am EST
Geeklog Forums
User Functions Block
David
Anonymous
How can I configure the User Functions Block to remove a particular item?
What file do I need to edit?
Thanks in advance for your help and keep up all your fantastic work!
What file do I need to edit?
Thanks in advance for your help and keep up all your fantastic work!
11
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Depends on which enty you want to remove.
The entries Geeklog provides ("My Calendar", "Account Information", "Preferences", and "Logout") are hard-coded in function
To get rid of the "My Calendar", you could also switch off personal calendars in config.php:
Any other entries you may have are provided by plugins. Those are usually returned by a function named
bye, Dirk
The entries Geeklog provides ("My Calendar", "Account Information", "Preferences", and "Logout") are hard-coded in function
COM_userMenu()
in lib-common.phpTo get rid of the "My Calendar", you could also switch off personal calendars in config.php:
$_CONF['personalcalendars'] = 0;
Any other entries you may have are provided by plugins. Those are usually returned by a function named
plugin_getuseroption_plugin-name
in the plugin's functions.inc file.bye, Dirk
9
10
Quote
David
Anonymous
Thanks a lot Dirk!
I edited functions.inc and I achieved what I wanted, thanks!
I edited functions.inc and I achieved what I wanted, thanks!
11
7
Quote
All times are EST. The time is now 01:50 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content