Sponsored Content
The Lounge What is on Your Mind? Idea for New User Profile Pages Post 303027462 by Neo on Sunday 16th of December 2018 06:32:43 AM
Old 12-16-2018
Idea for New User Profile Pages

The legacy forum user pages are a mess.... the HTML and PHP is based on 10 year+ old code which was poorly written to support the nutty idea of "custom user CSS"... which maybe was a cute idea a decade ago but now it is just bad code.

So, my idea is to basically change the user profile page to Bootstrap modal which will popup over the same page when a user's name is clicked; and stop the default behavior of taking people to a new page (which looks bad anyway, so we are not losing much in the way of modern features, LOL).

This means I'll more-than-likely use Bootstrap to create anew modal with the same basic user information we have on those pages now, but it will be in a popup modal versus a new page.

Modal . Bootstrap

I don't think this will be that much of a headache to rewrite this and transform all the user profile pages to a modal. We will see....

Cheers.
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

User profile

Sorry to I am not familiar with script writing , attach is the /etc/profile in my system , we have limit each user can only have one login in the system . When the user login , if the system found the user have a dead process in the system , the system will confirm the user to kill the previous... (1 Reply)
Discussion started by: ust
1 Replies

2. Shell Programming and Scripting

Limitations of awk? Good idea? Bad idea?

Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts.. I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies

3. UNIX for Dummies Questions & Answers

User Profile

Hi Guys, Im really new with this stuff...could anybody help to guide me ...how do i change/edit user profiile ? (2 Replies)
Discussion started by: gagasan_makmur
2 Replies

4. UNIX for Dummies Questions & Answers

refresh user profile

Scenario: a non-root user is under primary group "devel" and I change their primary group to "nondevel"; I then want to be able to give the user a command which refreshes their user profile so that any new files created under their session are assigned to the new group. What is the command for... (1 Reply)
Discussion started by: dhinge
1 Replies

5. Infrastructure Monitoring

trap in etc/profile and user .profile

Hello I really wonder what's trap in etc/profile and in each user .profile. I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing. I want to know ... 1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies

6. Shell Programming and Scripting

User profile, environment

Hello , i am on sles 11, and i can't figure out how can i locate my profile file, the one that is use for setting the environment when i log in. oracle@r200:~> cd oracle@r200:~> pwd /opt/oracle oracle@r200:~> echo $SHELL /bin/bash oracle@r200:~> oracle@r200:~> cat .profile cat: .profile:... (4 Replies)
Discussion started by: tonijel
4 Replies

7. What is on Your Mind?

New Member Profile Pages (Proposal)

Hey, I am thinking to get rid of the old and clunky member profile pages and replace with a prototype from Brad at Traversy Media. Here is the prototype: Welcome To My Portfolio Basically, I will take the links in the user profile page and put them into the new format when I have time.... (3 Replies)
Discussion started by: Neo
3 Replies
XtAddGrab(3Xt)															    XtAddGrab(3Xt)

NAME
XtAddGrab, XtRemoveGrab - redirect user input to a modal widget SYNOPSIS
void XtAddGrab(w, exclusive, spring_loaded) Widget w; Boolean exclusive; Boolean spring_loaded; void XtRemoveGrab(w) Widget w; ARGUMENTS
Specifies whether user events should be dispatched exclusively to this widget or also to previous widgets in the cascade. Specifies whether this widget was popped up because the user pressed a pointer button. Specifies the widget to add to or remove from the modal cas- cade. DESCRIPTION
The XtAddGrab function appends the widget (and associated parameters) to the modal cascade and checks that exclusive is True if spring_loaded is True. If these are not True, XtAddGrab generates an error. The modal cascade is used by XtDispatchEvent when it tries to dispatch a user event. When at least one modal widget is in the widget cas- cade, XtDispatchEvent first determines if the event should be delivered. It starts at the most recent cascade entry and follows the cascade up to and including the most recent cascade entry added with the exclusive parameter True. This subset of the modal cascade along with all descendants of these widgets comprise the active subset. User events that occur outside the widgets in this subset are ignored or remapped. Modal menus with submenus generally add a submenu widget to the cascade with exclusive False. Modal dialog boxes that need to restrict user input to the most deeply nested dialog box add a subdialog widget to the cascade with exclusive True. User events that occur within the active subset are delivered to the appropriate widget, which is usually a child or fur- ther descendant of the modal widget. Regardless of where on the screen they occur, remap events are always delivered to the most recent widget in the active subset of the cas- cade that has spring_loaded True, if any such widget exists. The XtRemoveGrab function removes widgets from the modal cascade starting at the most recent widget up to and including the specified wid- get. It issues an error if the specified widget is not on the modal cascade. SEE ALSO
X Toolkit Intrinsics -- C Language Interface Xlib -- C Language X Interface XtAddGrab(3Xt)
All times are GMT -4. The time now is 04:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy