Recent posts

#71
EhPortal Support / Re: Portal not reverting back ...
Last post by deansmar - April 06, 2026, 01:11:25 PM
Hi Chen Zhen, thanks for the Updated version of the portal..  1.40.3

this works as expected.. thumbs up..

when loging in through the Javascript login window..  the portal is shwon..


the untimate menu mod;  i am having problems..

would you like a seperate thread for this problem..?
PHP 8.3.0 is a must..
icons not uploading..
can not create a normal "child of" menu..
#72
EhPortal Support / Re: Portal not reverting back ...
Last post by Chen Zhen - April 05, 2026, 04:26:43 PM
I've tested adding navigation links and don't see any issues with it.
There is a an older modification that I updated and can provide to facilitate adding navigation buttons/links and icons.
The license for that mod allows me to provide it here for you.

The login/logout issue you reported is indeed a bug and I am also providing an update in the download section.
My fix for that report differs from anything you posted here in this thread.
If possible, I'm asking that you revert your changes, try the update and report back whether it appears to function properly.

Download -> Ultimate Menu v2.0.3

Download -> EhPortal v1.40.3
#73
EhPortal Support / Re: Portal not reverting back ...
Last post by deansmar - April 02, 2026, 08:56:06 AM
just to report back, and the work arround that i have implemented..

i have removed the Javascript call for the login window of the theme that i am using..

index.template around line 280 you will find;

<a href="', $scripturl, '?action=login" class="', $context['current_action'] == 'login' ? 'active' : 'open','" onclick="return reqOverlayDiv(this.href, ' . JavaScriptEscape($txt['login']) . ', \'login\');">

after the removal of the javascript;

<a href="', $scripturl, '?action=login" class="', $context['current_action'] == 'login' ? 'active' : 'open','">
now the login opens in the center of the portal..  the normal ?action=login..

just incase anyone else is looking for a work arround
#74
EhPortal Support / Re: Portal not reverting back ...
Last post by deansmar - March 31, 2026, 08:35:11 AM
I have been doing a little more testing.. debugging..

When the login button at the top of the default theme is used to login (java script) window opens for the login..
This version of login returns a blank portal..

If the normal login is used..  index.php?action=login  .. no javascript window
Then the login works as it should do showing the portal..

If the 'user info' block in the portal is active and used for the login..
Then the login works as it should do showing the portal..

Hope this helps to narrow the problem down..
#75
EhPortal Support / Re: Portal not reverting back ...
Last post by deansmar - March 30, 2026, 05:29:16 AM
the log in Problem still remains..

after login, the index remains blank, it does not show the Portal or the forum

as if the "action" on index or home do not get applyed..

for example as if the set location does not get called

   $setLocation = 'index.php?action=forum';
#76
EhPortal Support / Re: Portal not reverting back ...
Last post by deansmar - March 29, 2026, 05:27:29 PM
i have found the code.. in the PortalHooks.php that controls the Home and Forum Buttons
on line 1910 - 1946  comented these lines out..

and my inseted buttons in home and forum works as per Subs.php
#77
EhPortal Support / Re: Portal not reverting back ...
Last post by deansmar - March 29, 2026, 04:57:21 PM
i have been doing some more testing...
the menu bottons that are mainly involved are the "Home" and "Forum" buttons..

the Home button; sub buttons don't appear when edited in the Sub.php
the Forum button; manual edit, to place the button 4th from left

after the 1.40.2 install the forum button appears 2nd from left..

all other manual edited (or insterted) buttons in subs.php after the home and forum buttons, work as expeted
#78
Site Discussion / Re: Site's slow to connect
Last post by Dave - March 29, 2026, 03:50:37 AM
Quote from: Chen Zhen on March 28, 2026, 07:29:25 PMDon't forget that it's just the condition that is applied because the socket path will be different.

I don't understand any of it Chen it's way above my comprehension, all I was doing was trying to see if the link you posted was what I found   :D
#79
Site Discussion / Re: Site's slow to connect
Last post by Chen Zhen - March 28, 2026, 07:29:25 PM
That's the second example in what I posted.
I used the ProxyErrorOverride option but might change it to what you just posted. Don't forget that it's just the condition that is applied because the socket path will be different.
One just needs to surround the SetHandler path with the condition.
#80
Site Discussion / Re: Site's slow to connect
Last post by Dave - March 28, 2026, 03:48:37 AM
I've set my VPN to Canada and clicked on your link but it ends up with the same result as my previous post.

However I think it might be to do with the fact that your link is Google based. So what I did was copy the text of the link and then pasted that into my browser address bar and the result was as per the attached.

I'm not sure if that's the response you expected from your original link or not