This forum is archived. Posts are preserved for historical reference. For current help, join us on Discord.

Status Update 028 - Progress

In UserSpice 4.3 and Below · Started by mudmin on 2017-09-24 7:55 pm · 160240 views · 70 replies

Will take a look when I get home and I will push your changes to a Git branch for @mudmin :)
Alright!

I made a few changes.

I included the setting to toggle navigation and changed the files around to match this.

With this: I noticed on the old style, we screwed up the styling, so I made the CSS inline only if using the db-driven nav.

BUILD NOTES STATUS 28

UPDATES
users
helpers
class.treeManager.php - corrected Line 80 per Karsen
us_helpers.php - corrected checkMenu class per Karsen
language.php - added language keys from Nav that were removed

css
sb-admin.css - Karsens corrections - added to this

includes
navigation.php - reversed to default, added an if for the nav type
database-navigation.php - added two classes, navbar-noborder and re-added navbar-inverse

profile.php - Fixed page per Karsen
admin.php - Updated to remove PHP for css_sample - per Karsen, added PHP for new setting
_admin_site_settings.php - Added HTML for new setting
admin_menu.php - There was a double call for die() on securePage, removed

SQL
ALTER TABLE
groups_menus
CHANGE
id
id
INT(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE
settings
ADD
navigation_type
INT(1) NOT NULL DEFAULT '1' AFTER
page_default_private
;
OH....

Why don't we have a redirect on maintenance.php in case offline = 0?!?!?!?!

I can just imagine someone has that ONE user that keeps refreshing that page and they ain't gettin nowhere!!!! (is it just me giggling because I know the type of people I work with?!?!?! lol)

if($settings->site_offline==0) Redirect::to('index.php');
Oops. Yeah. We need that.
Viewing either admin_menu.php or admin_menu_item.php without a GET variable will display all kinds of errors. Instead we should either display a message with a link to admin_menus.php or simply redirect them there.
Yep. Totally agreed. We just need to redirect to admin_menus
Do either of you guys @Brandin or @Karsen have updates?
Unfortunately my internet suddenly went down and can't be fixed until Monday so no I do not. Thanks for checking.
Not right now. I think I'll have a little free time in the next couple days, so if you update to 029 I'll grab it and test our changes, plus see what might need some polish. I also want to add in page descriptions for each page that will display in the html
title
tag, instead of the simple and generic
UserSpice
. It was a user request from a few weeks back that I forgot about until this weekend.
Agreed - internet is back up now and I have free time this week so I'd like to get testing and think of some polishing touches
I have a pretty crazy stretch going at work so I'll do some updates after you guys push your code. Thanks for all you're doing.
No worries, I just wanted to work on the latest code we had ready but I don't think anything I'll add is related to anything you guys added recently.
My code was all pushed to a branch.
I saw that, I'm currently trying to teach myself how to pull it from GitHub. Progress!
Check out my branch and tell me I did it right! If I didn't, I'll try again after crying myself to sleep tonight.
Looks good to me!
@mudmin

I merged both branches in but didn't delete them just in case I didn't do it right!

Let me know if we need to rollback.
Ok. Sounds great! Thanks gentlemen. My week has kind of blown up, so I appreciate this a ton.
@Karsen

What did you do to the SQL file?

It's forked when doing the group_menus SQL you added, but I can't tell why...
How do we feel on the security of the Vericode system? I think it needs to be a bit more secure tbh...I don't know how you all want to go about it, but a 6 digit code that is generated seems to not be secure enough for me.
‹ Prev1234Next ›