Advertisement:

Author Topic: Better Profile Menu (SMF 2.0.x Only)  (Read 37150 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #100 on: November 07, 2016, 08:42:14 AM »
Uploaded v2.2 - November 7th, 2016
o Fixed bug report that damaged proper user verification functionality.



@Kindred:  Thank you for removing the attachments from the post 3 posts ago!

@Everybody:  This update addresses the MAJOR security issue found and reported to me yesterday....

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,501
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #101 on: November 07, 2016, 09:46:35 AM »
I'm so confused. I'm still getting this:

I can't seem to get this to work. After installation, hovering over 'Profile' just gives me 'Summary', 'Account Settings' and 'Forum Profile'. :(
Online Manual

Please do not PM me for support.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #102 on: November 07, 2016, 01:58:58 PM »
Hmmm....  I'm getting the same thing on my website, but not on my localhost test forum....  For some reason, the cache isn't being read.  I've confirmed the existance of the cache file, but it won't read on my website....

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #103 on: November 08, 2016, 08:35:15 AM »
Uploaded v2.3 - November 8th, 2016
o Fixed SMF update bug that prevents unserializing strings longer than 4096 bytes.



@Everybody:  I figured out what is going on with the SMF cache in the upgrade from 2.0.11 to 2.0.12.  In Sources/Subs.php in the _safe_unserialize function, you should removing these lines out:
Code: [Select]
// Input exceeds 4096.
if(strlen($str) > 4096)
return false;
Version 2.3 makes this change automatically, so that the cache works again....

UPDATED:  This post has been rewritten to say "remove" instead of "remove or comment out", as the official SMF 2.0.12 download itself does not have those lines in the Sources/Subs.php file....
« Last Edit: November 08, 2016, 09:18:19 AM by dougiefresh »

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,400
  • Gender: Male
    • Kindred-999 on GitHub
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #104 on: November 08, 2016, 08:36:17 AM »
Ummmm... that is going to conflict with the official fix...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #105 on: November 08, 2016, 08:39:21 AM »
Ummmm... that is going to conflict with the official fix...
What would you suggest then?

EDIT:  That post has been rewritten to say "remove" instead of "remove or comment out", as the official SMF 2.0.12 download itself does not have those lines in the Sources/Subs.php file....
« Last Edit: November 08, 2016, 09:19:35 AM by dougiefresh »

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,501
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #106 on: November 08, 2016, 09:49:28 AM »
*sigh* I guess I'm just destined not to have this mod. I still have the same issue. :(
Online Manual

Please do not PM me for support.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,400
  • Gender: Male
    • Kindred-999 on GitHub
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #107 on: November 08, 2016, 12:39:41 PM »
yes...       that bug exists only in the PATCHED versions...   
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #108 on: November 08, 2016, 08:18:44 PM »
*sigh* I guess I'm just destined not to have this mod. I still have the same issue. :(
(Sigh....) Attach your Sources/Subs.php, please....

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,501
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #109 on: November 09, 2016, 09:19:00 AM »
Attached.
Online Manual

Please do not PM me for support.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #110 on: November 09, 2016, 09:29:21 AM »
Try it now with this file....

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,501
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #111 on: November 09, 2016, 02:08:36 PM »
No change Dougie. And I did clear browser cache.
Online Manual

Please do not PM me for support.

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,501
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #112 on: November 09, 2016, 03:34:03 PM »
Sorry for the double post.

I just reinstalled v1.9 and it works perfectly. Same with the Lazy Admin Menu mod. Installing v1.15 makes it work correctly for me.
Online Manual

Please do not PM me for support.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #113 on: November 12, 2016, 07:45:20 AM »
Uploaded v2.4 - November 12th, 2016
o Fixed issue where menu wasn't changed because no caching of menu could be done.
o Added code to stop bans from Forum Hard Hit mod while using this mod.



@Steve:  Under 2.0.12, the get cache function wasn't returning the results I had stuffed into the cache, and since the mod couldn't retrieve the cached menu, it didn't update the top menu.  This version fixes this issue by doing what the version 1.x did: trying to pull the cached version, and failing that, rebuilding the menu by calling the necessary functions, version 2.x-style.....

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,501
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #114 on: November 12, 2016, 08:59:33 AM »
Woot! Works a treat! Thanks dougie!

Now, if the Lazy Admin menu would work ... :P
Online Manual

Please do not PM me for support.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #115 on: December 17, 2016, 09:56:23 AM »
...it sounds like an easy mod to build, considering almost all the work has already been done within the profile source code.  All that would really be left for writing such a mod is the new template and a minor function addition....
Looking forward to that then
It's been approved and is available here.
Sorry about the delay in responding....  That mod overhauled for functionality, with Participation and User Created topics are now available in that mod.

Offline SMiFFER

  • Full Member
  • ***
  • Posts: 452
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #116 on: January 31, 2017, 07:52:43 AM »
Many thanks.
Greatly appreciated.

Will take a look right now.
At least this last step these last 7 steps (getting more again???) must be completed for SMF2.1 RC3.
And these 74 88 102 (getting more???) for SMF2.1 Final.
Last Full Version: 2.0 Final released more than 9 years ago on 20110604

QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #117 on: February 05, 2017, 09:57:08 AM »

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #118 on: February 17, 2018, 09:14:56 PM »
Uploaded v2.5 - February 17th, 2018
o Now uses safe_serialize/safe_unserialize functions when available.
o Added dropdown box in Profile => Look and Layout to control mod per user.



@Everybody:  This is a security update.  Version 2.4 shall remain available to download through the mod page until I get confirmation from one user that it works (or not) for him/her.

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,753
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Better Profile Menu (SMF 2.0.x Only)
« Reply #119 on: February 19, 2018, 10:10:17 PM »
I think I missed nothing but do not hesitate to talk to me O:)


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!