Daily Lucky Numbers:
2
21
22
26
29
35

Recent posts

#41
EhPortal Support / Re: Age and Last active missin...
Last post by Chen Zhen - December 08, 2023, 11:08:11 AM

I just attempted to duplicate your issue on a new SMF environment with nothing installed except EhPortal.
Enabling/disabling the SMF user setting to show online status doesn't result in any error.
The only thing EhPortal adds to the user profile is 2 options for its shoutbox but they're displayed in a different SMF template.

I suppose it's possible that a custom PHP block is causing the error.
Do you have any active custom blocks visible when on the user profile?
If you do.. temporarily disable them for a test.

Do you have any other mods installed that may alter user profiles?

 
 
#42
EhPortal Support / Re: Age and Last active missin...
Last post by Jailer - December 04, 2023, 01:20:47 PM
Made my test site available and had one of the other members log on and try viewing their own profile and it generates the same 4 errors in the log. So this seems to happen to all users when viewing their own profile but not when viewing others. Not sure what to do about it at this point.
#43
EhPortal Support / Re: Age and Last active missin...
Last post by Jailer - November 25, 2023, 02:06:01 PM
Default theme and I'm using v1.39.5. I'll try uploading a fresh set of files and see if that changes the behavior.

EDIT: Just uploaded a fresh set of file, re installed ehportal and I'm still getting the same behavior.
#44
EhPortal Support / Re: EhPortal and Theme by Webt...
Last post by Chen Zhen - November 25, 2023, 08:49:59 AM

I can see that via your website those 2 themes are having mobile/responsive display issues and will test out a fix shortly.
#45
EhPortal Support / Re: Age and Last active missin...
Last post by Chen Zhen - November 25, 2023, 08:47:48 AM

I deleted your (almost) duplicate post due to my anti-spam flagging them for some reason.



For the moment I'm not able to duplicate the errors you are reporting.
Both my own profile & other profiles that have their age entered or not are working fine when tested.
Does this issue occur on the default theme or only on a custom theme?
Are you using EhPortal v1.39.5 ?
#46
EhPortal Support / Age and Last active missing fr...
Last post by Jailer - November 20, 2023, 06:29:01 PM
Working the kinks out of my freshly upgraded SMF 2.1.4 forum. I upgraded from 2.0.19 and was using Simple Portal 2.3.7 previously. As stated this is a fresh upgrade with no mods other than EhPortal installed.

The problem I'm encountering is when I click on my profile and the Summary page is displayed the age is blank and it's missing the entire Last Active line. Also clicking on my profile generates 4 errors in the error log. Clicking on any other members profile displays the summary page correctly with all the information. If I un install EhPortal and then click on my profile all the missing information is displayed correctly and there are no errors. Any help you can offer would be great so I can get this forum up and live.

The errors are listed below.
Error
Type of error
Undefined_vars
Error message
2: Undefined array key "show_last_login"
File
/usr/local/www/nginx/Themes/default/Profile.template.php
Line
429
URL of page causing the error
http://192.168.0.5/index.php?action=profile;u=2
Backtrace information

    #0: smf_error_handler()
    Called from /usr/local/www/nginx/Themes/default/Profile.template.php on line 429
    #1: template_summary()
    Called from /usr/local/www/nginx/Sources/Load.php on line 2778
    #2: loadSubTemplate()
    Called from /usr/local/www/nginx/Sources/Subs.php on line 4214
    #3: obExit()
    Called from /usr/local/www/nginx/index.php on line 187


Error
Type of error
Undefined_vars
Error message
2: Undefined array key "today_is_birthday"
File
/usr/local/www/nginx/Themes/default/Profile.template.php
Line
323
URL of page causing the error
http://192.168.0.5/index.php?action=profile;u=2
Backtrace information

    #0: smf_error_handler()
    Called from /usr/local/www/nginx/Themes/default/Profile.template.php on line 323
    #1: template_summary()
    Called from /usr/local/www/nginx/Sources/Load.php on line 2778
    #2: loadSubTemplate()
    Called from /usr/local/www/nginx/Sources/Subs.php on line 4214
    #3: obExit()
    Called from /usr/local/www/nginx/index.php on line 187


Error
Type of error
Undefined_vars
Error message
2: Undefined array key "age"
File
/usr/local/www/nginx/Themes/default/Profile.template.php
Line
323
URL of page causing the error
http://192.168.0.5/index.php?action=profile;u=2
Backtrace information

    #0: smf_error_handler()
    Called from /usr/local/www/nginx/Themes/default/Profile.template.php on line 323
    #1: template_summary()
    Called from /usr/local/www/nginx/Sources/Load.php on line 2778
    #2: loadSubTemplate()
    Called from /usr/local/www/nginx/Sources/Subs.php on line 4214
    #3: obExit()
    Called from /usr/local/www/nginx/index.php on line 187


Error
Type of error
Undefined_vars
Error message
2: Undefined array key "posts_per_day"
File
/usr/local/www/nginx/Themes/default/Profile.template.php
Line
304
URL of page causing the error
http://192.168.0.5/index.php?action=profile;u=2
Backtrace information

    #0: smf_error_handler()
    Called from /usr/local/www/nginx/Themes/default/Profile.template.php on line 304
    #1: template_summary()
    Called from /usr/local/www/nginx/Sources/Load.php on line 2778
    #2: loadSubTemplate()
    Called from /usr/local/www/nginx/Sources/Subs.php on line 4214
    #3: obExit()
    Called from /usr/local/www/nginx/index.php on line 187

#47
EhPortal Support / EhPortal and Theme by Webtirya...
Last post by ontime - November 11, 2023, 03:45:44 PM
Hi I upgraded forums to SMF 2.1.4 and EhPortal 1.39.5, I am trying to run themes made by Webtiryaki which are, UIS Theme and the Peacock theme, they both work fine when viewed by computer, when you look at them with a android phone and Enable Responsive Display you can see they are not compatible, the theme for right now is the USI theme I would like to make that the default theme and let users select several themes as they wish,so if I could get someone to please take a look at this I will be thankfull, I will provide a link to the forums which is  FWE Clan Forums goto the site with a computer first to see what it looks like, then use your phone to see the difference  (Use Your Android Phone) you can go to the portal click on  select themes (upper left block) and select the USI theme the go back to the forums and you will see the color is white and you cannot get back to the portal because the menus are gone and the words run of the page. thank you very much ontime
#48
SMF Arcade Support + Plugins / Re: Categories
Last post by bolang - November 04, 2023, 07:50:08 AM
Thanks Chen for the tips, keep up your good work ;)
#49
SMF Arcade Support + Plugins / Re: Categories
Last post by achalesas - November 04, 2023, 03:04:43 AM
1.jpg

 It worked, thank you very much
#50
SMF Arcade Support + Plugins / Re: Categories
Last post by Chen Zhen - November 03, 2023, 06:01:18 PM

My apologies as I gave you an incomplete edit in error.

Download the attached file to replace the file I asked you to edit.
You can adjust this part of the code in the file to achieve your objective:

(approx. line# 1862)
list($catCellWidth, $catsPerLine) = array(
'20%',
5,
);

.. adjust the 2 numbers to your desired settings.


The next official release of the arcade will include admin settings for these.