Skip to main content
Recent Posts
1
Custom Themes / Re: [Theme] Separation
Last post by Burke Knight -
@Spuds
Is there a way to fix the menu so it's more responsive?
Right now, the drop-down goes left to right, where most gets cut off on mobile.
Is there a way to make it up-down instead?
Menu.png
2
Addons / Re: [BBCODE] HTML tag
Last post by Vector -
I installed this addon so that I could add an html tag, but when editing a message it gives an error and it is impossible to edit the message. /home/----/ I hid the full address

HTMLBBC::unpreparse_code(): Argument #3 ($i) must be passed by reference, value given
PHP Fatal error: Uncaught exception 'ErrorException' with message 'HTMLBBC::unpreparse_code(): Argument #3 ($i) must be passed by reference, value given' in /home/----/public_html/sources/Hooks.class.php:110
Stack trace:
#0 (): error_handler(integer, string, string, integer)
#1 /home/----/public_html/sources/Hooks.class.php(110): call_user_func_array(array, array)
#2 /home/----/public_html/sources/Subs.php(1434): hook(string, array)
#3 /home/----/sources/subs/BBC/PreparseCode.php(720): call_integration_hook(string, array)
#4 /home/----/public_html/sources/controllers/Post.controller.php(461): un_preparsecode(string)
#5 /home/----/public_html/sources/controllers/Post.controller.php(114): _generating_message()
#6 /home/----/public_html/sources/controllers/Post.controller.php(70): action_post()
#7 /home/----/public_html/sources/SiteDispatcher.class.php(364): action_index()
#8 /home/----/public_html/index.php(136): dispatch()
#9 /home/----/public_html/index.php(66): elk_main()
#10 {main}
thrown in /home/-----/public_html/sources/Hooks.class.php on line 110
4
Addons / Re: [ADDON] SimplePortal
Last post by Burke Knight -
@Spuds

Is there a way to have all attachments visible in the "Board News" block?

Also, I'd like to have the avatar show in the recent topics block, instead of the that's next to each post.

FYI, in the admin panel, the icon for the Blocks menu is not showing.

8
Feature Discussion / Re: How To Implement This My Chess Forum?
Last post by Vector -
We will be very grateful to those who will not refuse to help us! Because we have a chess community and we can’t share chess games in topics:((
I tried to install the plugin for smf Custom BBCodes Manager but nothing worked :((
9
Bug Reports / [1.1.9] Open Graph / Schema.org metadata bug
Last post by Acido -
If you enable the Open Graph / Schema.org metadata function added in 1.1.9, there is an issue if listing a post where a user has been deleted as they will become a guest user and no longer have a href defined and the page will generate the following error when loading:

Code: [Select]
Notice: Undefined index: href

    Undefined index: href
    PHP Fatal error: Uncaught exception 'ErrorException' with message 'Undefined index: href' in /var/www/test/sources/subs/Metadata.integrate.php:238
    Stack trace:
    #0 /var/www/test/sources/subs/Metadata.integrate.php(238): error_handler(integer, string, string, integer, array)
    #1 /var/www/test/sources/subs/Metadata.integrate.php(106): getPostSchema()
    #2 /var/www/test/sources/subs/Metadata.integrate.php(76): setContext()
    #3 /var/www/test/sources/Hooks.class.php(110): prepare_topic_metadata(integer)
    #4 /var/www/test/sources/Subs.php(1434): hook(string, array)
    #5 /var/www/test/sources/SiteDispatcher.class.php(366): call_integration_hook(string, array)
    #6 /var/www/test/index.php(136): dispatch()
    #7 /var/www/test/index.php(66): elk_main()
    #8 {main}
    thrown in /var/www/test/sources/subs/Metadata.integrate.php on line 238

I fixed it by doing this modification but something better maybe required?

Code: (from) [Select]
'url' => $this->data['member']['href']
Code: (to) [Select]
'url' => empty($this->data['member']['href']) ? null : $this->data['member']['href']
10
Feature Discussion / Re: How To Implement This My Chess Forum?
Last post by ahrasis -
Nice, I also play chess in my free time, but I am not sure whether I am into it for now, as it has been some times since I looked into ElkArte or its addons code, but may be in the future. May be somebody else might be interested to develop this addon.

Edited: Looking at its wiki, I noticed that there is a sample to be used together with SimpleMachine forum mod known as Custom BBCodes Manager Module.

https://sourceforge.net/p/pgn4web/wiki/User_Notes_simplemachines/

This the closest to ours if some one wishes to develop an addon for this in ElkArte.

Of course ElkArte addon for BBC is actually simpler and we have few addons like that already that can be used as samples.