Xenforo conversion thread

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
This is open to change once we have some fundamentals tackled!
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
Chrome

:mrgreen: :mrgreen: :mrgreen: tried with ES smilies

With chrome emojis, 😵‍💫 😵‍💫 👍🏾 works fine.

No big deal, just thought you'd like to know...
:mrgreen: :mrgreen: :mrgreen: :es: :mrgreen:

Hmm.. works for me in quotes and not.

The trick: you have to manually move the cursor in between the emojis and hit space, you can't click on them and expect the cursor to land in between.

Are you doing that or trying to use the mouse?
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
For some reason after July 9 I no longer get email notices for this thread, others seem to be working.

Yeah i know this is an ongoing problem and it's on the list of things to tackle!
 

amberwolf

Administrator
Staff member
Joined
Aug 17, 2009
Messages
39,110
Location
Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion
was anything fixed in any of hte notifications systems?

we've had a significant increase in posting the last several days, which is good, but it's a lot more than we've had in a while. it's been where i could easily read all new posts each day, and answer questins, etc., and have time to also check each new member for spammity stuff, b ut theres enough new posts and replies that i can't even keep up with that.
 

A-DamW

100 W
Joined
Dec 19, 2019
Messages
170
Location
Idaho county Idaho
Hey I noticed I can't set the text field for inserted links, the system automatically uses the the page title for whatever the link points to.
Screenshot:
screen_20230810.jpg
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
was anything fixed in any of hte notifications systems?

we've had a significant increase in posting the last several days, which is good, but it's a lot more than we've had in a while. it's been where i could easily read all new posts each day, and answer questins, etc., and have time to also check each new member for spammity stuff, b ut theres enough new posts and replies that i can't even keep up with that.

Do you mean the in-browser notifications or email notifications?
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
Hey I noticed I can't set the text field for inserted links, the system automatically uses the the page title for whatever the link points to.
Screenshot:
View attachment 337770

...yeah, i kind of don't like how the 'media embed' system just runs right over what you input..

On the to fix list
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
Just FYI for everyone.
We're taking a short break from working on the site for a bit because we're working on building an innovative debugging tool that will make Xenforo ( and other software ) loads easier to work on.

Here is a proof of concept output of the execution flow so far, from this tool we're building.

The top is code running our in-house PHP ultra high performance framework.
The bottom is what the PHP framework underlying Xenforo is doing while being asked to do roughly the same work.

The depth, which looks like mountains, represents how many function calls were chained together. The Xenforo framework can go down to 64 function calls deep, whereas we max out at 5 with our framework.

The reason i provide this visual is to show the degree of how much additional work is involved in debugging Xenforo which eats up our time and makes our lives hard.

Basically we are making some power tools for working on this system before we get much deeper into it so that we can counter the negative effects of working on this this very high complexity system.

We should be back in motion in a week or two with upgrades and fixes for Xenforo.

zerolith vs symfony.png
 

A-DamW

100 W
Joined
Dec 19, 2019
Messages
170
Location
Idaho county Idaho
Just FYI for everyone.
We're taking a short break from working on the site for a bit because we're working on building an innovative debugging tool that will make Xenforo ( and other software ) loads easier to work on.

Here is a proof of concept output of the execution flow so far, from this tool we're building.

The top is code running our in-house PHP ultra high performance framework.
The bottom is what the PHP framework underlying Xenforo is doing while being asked to do roughly the same work.

The depth, which looks like mountains, represents how many function calls were chained together. The Xenforo framework can go down to 64 function calls deep, whereas we max out at 5 with our framework.

The reason i provide this visual is to show the degree of how much additional work is involved in debugging Xenforo which eats up our time and makes our lives hard.

Basically we are making some power tools for working on this system before we get much deeper into it so that we can counter the negative effects of working on this this very high complexity system.

We should be back in motion in a week or two with upgrades and fixes for Xenforo.

View attachment 337771
So the horizontal color bar at the top is you execution time legend?
And the stalactite waterfall's color coding shows execution time for the chained function calls?

Nice work!
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
So the horizontal color bar at the top is you execution time legend?
And the stalactite waterfall's color coding shows execution time for the chained function calls?

Nice work!

Yes, it's called a 'flame chart'.
It's a variant of a 'flame graph', which is a killer profiling tool.

In this graph you can click on one of the boxes to see the function call details, and zoom/pan across the execution timeline.
I built it purposefully so you can assess program flow with the minimum amount of thinking/work on the programmer's part. Sort of like a daily driver version of existing hardcore debugging tools.

What we are doing is running xdebug, picking up what xdebug generated, transforming it, and spitting it out to screen in the debugger at the end of the script's execution.

The things PHP will allow you to get away with are amazing :bigthumb:
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
Howdy all.

Decided to tune search a bit better.
It's now some exponent faster.. and supposedly a bit better at matching ( you be the judge ).

One huge and important difference in the PHPBB search and the Xenforo search is that PHPBB searches by 'relevance', not the date of the post.

I think for our forum, 'order by date' as the default makes a lot of sense because more recent posts are always more useful ( very little of our content is 'timeless', most of our content is 'timely' )

Also.. 'relevancy' is rather poor and doesn't seem tunable. It's not based on anything close to the criteria google uses.
I honestly think that adding google search as a secondary option, as we had before, is a good way to go.

So, on the todo list:
1) Add google search ( no idea how, we'll find out )
2) Default the Xenforo search to 'by date'
3) Some other cosmetic changes that help make search results look better



Until we improve search further, if you hit search, then 'advanced search', then 'order by date', you should be able to find old stuff a lot easier.. :)

1692038422555.png
 

amberwolf

Administrator
Staff member
Joined
Aug 17, 2009
Messages
39,110
Location
Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion
So, the elasticsearch isn't correctly doing searches. For instance, if I look up
UPS
and check the "search titles only" it will come up with totally irrelevant stuff (as well as relevant), regardless of sort option.
Results pasted below; it doesn't even show anything with UPS at all until the sixth result. So...not working on this type of search. Haven't gone thru for other terms yet. Doesn't matter if you capitalize it or not.

Search results for query: UPS



  1. [IMG alt="TyJedi"]https://endless-sphere.com/sphere/data/avatars/s/38/38285.jpg?1676495344[/IMG]

    Speed sensor not picking up magnet


    Hey guys! I have an original stokemonkey set-up on my Xtracycle conversion since early 2014. I bought it used from a forum member named pdf. It has worked fine for years, in fact the original LifeP04 battery still has about 80% capacity. Problem know is all of a sudden, my speed sensor does not...




  2. [IMG alt="User0873"]https://secure.gravatar.com/avatar/c2128fca18f4660dfe95b9ae13f4f5bd?s=48[/IMG]

    LCD 866 Not booting up


    Everything works until today. Today I turn on the screen and it just turns off after a few seconds. Not a single button works. I can't change anything. I can't turn it on with an additional setting. No error code. It just turns on and turns itself off after a few seconds. The battery is fully...





  • Motor stop working after warm up


    I have strange issue in my small EV vehicle for child (my project) , after few minutes drive motors reach temperature around 57 degrees Celcius motors and stop working or change directions or other strange behavior appear. These are BLDC motors with Hall sensors and optical encoder. Motors...







  • Need Advice Upgrading Stand-up EScooter


    I want to upgrade to a stronger motor. I'm currently at 48v/13ah single hub. I am assuming 60v/3000w would give me more torque? I'm more interested in torque than top-end. I've found plug-n-play components off AliExpress/Ebay/Amazon, but I'm not sure about the quality...






  • How to get Li ion batteries to work in (SLA) UPS


    Repurposing APC SmartUPS (SUA1000, SMC1000 etc) for home appliance backups (fridge, mom's oxygen machine etc). Hi all, My apology, I know this is not directly related to endless, but I couldn't find another place with as much educated and helpful and kind members. I (re-)searched this subject...







  • Rear Brakes Locked Up Or Motor?


    Hello, I'm new here. This is a copy and pasted post I put on a different forum that seems like it doesn't much activity on it. I'm not very bright when it comes to mechanical issues so, I'm probably overlooking the obvious? That being, the motor sized up, not my brakes? But, I'm not really...










  • Battery with 3 pin discharge - how to wire up for 2 pin?


    Hi I have a triangle battery from EM3EV purchased many years ago which has 3 pin discharge wires: Neg(black), Pos(red) and white(?) which connected to the controller and then from the controller are 3 phase wires to a geared hub motor. I've replaced the whole kit with a BBS02 but given the...








  • Heads up (warning) and q. About selflearning wire


    Hi. I would like to leave a note on a potential dangerous situation with trottle cables. The trottle ground become broke and the non precense of ground results that the controller send the 5v direct to signal and the controller think you hit max trottle and send full avalible power to motor, so...








  1. Need help hooking up constant speed/ cruz


    I'm trying to add cruz or constant speed to my bike but the controler has one wire and the cruz switch on the bike is a momentary switch that has two wires. I'm thinking one of the wires from the switch has to go to the wire on the controler and the other wire from the cruz switch must go to 5v...







 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
You're great at breaking things, AW! (y)
That one setting - 'word stemming' was causing 'ups' to also search for 'up'..
..apparently it is not very smart and yep, that setting's got to go.

Give it another go?
 

E-HP

1 GW
Joined
Nov 1, 2018
Messages
5,880
Location
USA
You're great at breaking things, AW! (y)
That one setting - 'word stemming' was causing 'ups' to also search for 'up'..
..apparently it is not very smart and yep, that setting's got to go.

Give it another go?
I noticed that using quotes vs no quotes provide slightly different results, although not necessarily with the same logic as I would have expected. I can't tell if it's grabbing the exact term or providing results where the term is also part of a word or phrase. I was expecting the former.
 

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
16,845
Location
Utah, USA
That's no surprise, it's not as smart as google. Probably gets confused.

So anyway we are about to come back from a bit of a break in 1-2 weeks.

On the agenda for when we are back:
[ ] Finish a feature that will make sub-forums sortable, maybe also searcheable like reddit ( very cool )
[ ] Fix the image processor and get it running on a per-minute basis for maximum bandwidth reduction
[ ] Review and test the old content fix ( broken youtube links, broken text links because of a difference in phpbb/xenforo behavior, etc )
[ ] Preview our proposed knowledgebase system + an alternative of using the forum format and ask the forum's feedback
[ ] Admit defeat with the Xenforo search system and add google search as an option
[ ] Adjust Xenforo search to order results by time like phpbb instead of the current random looking 'relevancy'

..i'm thinking that by the end of the year we should have these big ticket items all situated and can proceed to tackle lesser nags + improve the moderation system here.... it will be a great feeling to have the new software finally dialed in!
 
Top