Simple Machines Community Forum

Simple Machines => News and Updates => Topic started by: Oldiesmann on June 05, 2007, 09:24:31 PM

Title: Function DB Improvements
Post by: Oldiesmann on June 05, 2007, 09:24:31 PM
Just a quick note to tell you about two improvements I've made to the function DB:

1. You can now view a list of all functions within a single file by clicking on the filename on the main page.
2. The filename is now displayed in the linktree when viewing a function. This also serves as a link to view all functions within that file.

Also, I will be implementing an option to hide the function names on the main page in the near future. This will be changeable via a setting on the main page, as well as through the theme settings section in your profile, so stay tuned for further changes ;)
Title: Re: Function DB Improvements
Post by: StormLrd on June 06, 2007, 07:00:50 AM
hmm, this sounds good bro, cant wait to see it in action.
Title: Re: Function DB Improvements
Post by: SleePy on June 06, 2007, 04:00:23 PM
It is looking better :)

Hopefully the new theme will be incorporated into it soon as well.
Though Oldiesmann, I just looked at it a couple seconds ago and it was missing the index.php :P but then it came back..
Title: Re: Function DB Improvements
Post by: StormLrd on June 06, 2007, 04:03:47 PM
LMAO dont pick on the man he's working on it lmao. And now i know how busy you been bro lmao, your in for a shock when you come back by the site lol.
Title: Re: Function DB Improvements
Post by: Harro on June 07, 2007, 08:16:05 AM
Looking very good!
However, there is a small glitch with Opera.
For example: when you are here: http://support.simplemachines.org/function_db/index.php?action=view_function;function=19
And you hover over that "void " it'll act a little weird.
Try it out.
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 07, 2007, 10:44:13 AM
I just integrated it with the new site theme last night :)

Still working on tweaking a few things, and am working on implementing the functionality to hide the function list on the main page, so hopefully that'll be working soon.

Harro - what happens in Opera? I don't have that browser.
Title: Re: Function DB Improvements
Post by: Harro on June 07, 2007, 10:46:15 AM
Here you go:
http://www.forumaffiliates.net/stuff/functiondb.JPG
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 07, 2007, 11:17:39 AM
Hmmm... That is weird. Not sure if I can do anything about it, but I'll look into it.

Still see a few other issues I need to fix as well.
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 07, 2007, 11:57:16 AM
You now have the ability to hide the functions on the main page of the function DB by default.

Profile -> Look and Layout -> Show only files in function db

Choose "Yes" to hide the functions. If you like seeing the functions, then you don't have to do anything as it defaults to "No".
Title: Re: Function DB Improvements
Post by: H on June 07, 2007, 12:02:31 PM
Thanks for the update OM :)
Title: Re: Function DB Improvements
Post by: Aaron on June 07, 2007, 12:50:22 PM
Thanks for the update, Oldiesmann! :) Might I suggest having some sort of collapse/expand all feature as well?
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 07, 2007, 04:55:35 PM
Just added a button to the main page that will hide or show the functions when you click it. Should work for guests now as well (currently it's being saved as a session variable, but I may change it to use cookies instead).

Quote from: Aäron on June 07, 2007, 12:50:22 PM
Thanks for the update, Oldiesmann! :) Might I suggest having some sort of collapse/expand all feature as well?

That's what the button/custom profile field does. It's easier to do it by refreshing the page than it is to use JavaScript (due to the number of items we'd have to show/hide).
Title: Re: Function DB Improvements
Post by: SleePy on June 07, 2007, 05:07:51 PM
Oldiesmann,

Using his example I found a problem in the link tree.
http://support.simplemachines.org/function_db/index.php?action=view_function;function=19

SMF Function List does not take you back to the function index but the current function you are on.
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 07, 2007, 05:44:26 PM
Quote from: SleePy on June 07, 2007, 05:07:51 PM
Oldiesmann,

Using his example I found a problem in the link tree.
http://support.simplemachines.org/function_db/index.php?action=view_function;function=19

SMF Function List does not take you back to the function index but the current function you are on.

Whoops! Thanks for pointing that out. I'll go fix it :)
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 07, 2007, 07:00:36 PM
Ok. That issue has been fixed.
Title: Re: Function DB Improvements
Post by: Aaron on June 08, 2007, 04:18:53 AM
Quote from: Oldiesmann on June 07, 2007, 04:55:35 PM
Quote from: AƤron on June 07, 2007, 12:50:22 PM
Thanks for the update, Oldiesmann! :) Might I suggest having some sort of collapse/expand all feature as well?

That's what the button/custom profile field does. It's easier to do it by refreshing the page than it is to use JavaScript (due to the number of items we'd have to show/hide).

I knew that, but I thought it'd be neat to toggle the option on-the-fly. :)
Title: Re: Function DB Improvements
Post by: Rudolf on June 08, 2007, 03:32:50 PM
For SMF 1.1 the Security.php page shows two functions that have been removed in 1.1: setBit() and getBit().
Title: Re: Function DB Improvements
Post by: SleePy on June 08, 2007, 05:08:34 PM
Quote from: Rudolf on June 08, 2007, 03:32:50 PM
For SMF 1.1 the Security.php page shows two functions that have been removed in 1.1: setBit() and getBit().

Well it wasn't in 1.1 RC3 but in RC2 it was. So It has been updated to only show it up to RC2..
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 13, 2007, 11:16:02 AM
Whoops. Thanks for noticing that :)
Title: Re: Function DB Improvements
Post by: Humbe on June 25, 2007, 01:17:22 PM
Well done,

Thanks a lot again!
Title: Re: Function DB Improvements
Post by: Oldiesmann on June 26, 2007, 03:22:19 PM
Another update...

The functionality to hide/show functions on the main page of the function DB is now working properly (it worked fine for guests, but not for members). In the end, the problem ended up mainly being due to a bug with the function to load custom profile fields (the "value" for the field was being set based on a variable that's only set if you're modifying your profile).
Title: Re: Function DB Improvements
Post by: CiHaD on July 17, 2007, 08:18:53 AM
thanks everything