News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Better Profile Menu (SMF 2.0.x Only)

Started by dougiefresh, July 30, 2014, 12:00:51 PM

Previous topic - Next topic

dougiefresh

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....

Steve

I'm so confused. I'm still getting this:

Quote from: Steve on November 05, 2016, 07:23:49 PM
I can't seem to get this to work. After installation, hovering over 'Profile' just gives me 'Summary', 'Account Settings' and 'Forum Profile'. :(
DO NOT pm me for support!

dougiefresh

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....

dougiefresh

#103
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:

// 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....

Kindred

Ummmm... that is going to conflict with the official fix...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

dougiefresh

#105
Quote from: Kindred on November 08, 2016, 08:36:17 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....

Steve

*sigh* I guess I'm just destined not to have this mod. I still have the same issue. :(
DO NOT pm me for support!

Kindred

yes...       that bug exists only in the PATCHED versions...   
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

dougiefresh

Quote from: Steve 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. :(
(Sigh....) Attach your Sources/Subs.php, please....

Steve

DO NOT pm me for support!

dougiefresh


Steve

No change Dougie. And I did clear browser cache.
DO NOT pm me for support!

Steve

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.
DO NOT pm me for support!

dougiefresh

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.....

Steve

Woot! Works a treat! Thanks dougie!

Now, if the Lazy Admin menu would work ... :P
DO NOT pm me for support!

dougiefresh

Quote from: dougiefresh on October 28, 2016, 07:29:13 PM
Quote from: SMiFFER on October 24, 2016, 12:13:07 PM
Quote from: dougiefresh on October 19, 2016, 08:22:31 PM
...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.

SMiFFER

Many thanks.
Greatly appreciated.

Will take a look right now.
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!


dougiefresh

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.

-Rock Lee-

I think I missed nothing but do not hesitate to talk to me O:)


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

Advertisement: