Skip to main content
Recent Posts
12
Support / Re: Add a menu mode
Last post by radu81 -
It all depends on your needs, if you need to add and update often the menu entries you probably nedd and add-on, if you only need to add an entry to menu and forget about it just edit the file sources/subs/Menu.subs.php.

here an example, I added the entry "Guide" which points to mydomain/index.php?page=guide_e_tutorial,  just after the Likes Stats:

find:
Code: [Select]
				'like_stats' => array(
'title' => $txt['like_post_stats'],
'href' => $scripturl . '?action=likes;sa=likestats',
'show' => !empty($modSettings['likes_enabled']) && allowedTo('like_posts_stats'),
),

and add after:
Code: [Select]
				'custom_link_guide' => array(
'title' => 'Guide e tutorial',
'href' => $scripturl . '?page=guide_e_tutorial',
'show' => true,
),

sources/subs/Menu.subs.php only for Elkarte 1.1.x
sources/Subs.php for Elkarte 1.0.x
14
Support / Re: Add a menu mode
Last post by TaliaJoy -
I saw that, but it doesn't look like it's been updated for ElkArte 1.1.x? I guess I could try it anyway.
16
Support / Add a menu mode
Last post by TaliaJoy -
What's the best way to add a new top menu item (i.e. to the section that hast the options Community, My Messages, Notifications, New Posts, New Replies)? I found a couple of threads relevant to this (https://www.elkarte.net/community/index.php?topic=5158 and https://www.elkarte.net/community/index.php?topic=3106), but they're pretty old and/or non-specific. I am not experienced in PHP programming (though I know really basic stuff), so if it requires that, you'll have to be pretty specific as to what I should do. Thanks!
17
Bug Reports / Re: Report Personal message
Last post by Spuds -
Cool ! ... yeah I found there are two possible ways the data is sent, one by post and one by get ... Anyway the last fix catches either option ... It will be added to 1.1.7 (and 2.0)
18
Bug Reports / Re: Report Personal message
Last post by radu81 -
I did the first edit and checked twice if the file was correctly saved, but the first solution did not worked for me. The second one works perfectly (MP reported, I received the PM and the notification in ACP, no errors in elk log...).

Thanks for your help!
19
Bug Reports / Re: Report Personal message
Last post by Spuds -
Thats really strange since I test it and it worked .... could you try this instead

Code: [Select]
		if (empty($modSettings['enableReportPM']) || empty($this->_req->getPost('pmsg', 'intval',  $this->_req->getQuery('pmsg', 'intval', 0))))
20
Bug Reports / Re: Report Personal message
Last post by radu81 -
Thanks for watching into this, but does not solve the problem. I steel see the same error when I try to report a PM, I did the test with a normal registered account.