Sponsored Content
The Lounge What is on Your Mind? New Member Profile Pages (Proposal) Post 303021108 by Neo on Saturday 4th of August 2018 10:26:19 AM
Old 08-04-2018
Yes, that's for the user who is logged in, which is very similar.

The user profile is different.

I'm made some basic progress already LOL... I think I can finish the basic functionality it in two days max (if I have time to do it).
New Member Profile Pages (Proposal)-screen-shot-2018-08-04-92452-pmpng
New Member Profile Pages (Proposal)-screen-shot-2018-08-04-92932-pmpng
New Member Profile Pages (Proposal)-screen-shot-2018-08-04-93143-pmpng
New Member Profile Pages (Proposal)-screen-shot-2018-08-04-93225-pmpng
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

research proposal for PG

hi friends i have just completed my graduation and applied for Post graduation i have to submit a research proposal of OS in the interview i m a beginner & only read galvin & silbershcatz book on operating systems can anyone help me in that ... thanks in advance (3 Replies)
Discussion started by: iet.manish
3 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Registration proposal

Hello. I've been reading the feed via twitter for a long time, but though i'm willing to help, i can't post and register (russia's banned). IP is dynamic, it's (<ip address>) for now. DevOps, RH, python and unix shell scripting. (5 Replies)
Discussion started by: spider_fingers
5 Replies

3. What is on Your Mind?

Quick Changes to Member Profile Page

Hey, There are still some "right margin" bugs in the CSS on the members profile page, but I did make some changes today: https://www.unix.com/members/1-albums215-picture900.png https://www.unix.com/members/1-albums215-picture901.png ... (0 Replies)
Discussion started by: Neo
0 Replies

4. What is on Your Mind?

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... (4 Replies)
Discussion started by: Neo
4 Replies
Devel::REPL::Profile(3pm)				User Contributed Perl Documentation				 Devel::REPL::Profile(3pm)

NAME
Devel::REPL::Profile - code to execute when re.pl starts SYNOPSIS
package Devel::REPL::Profile::MyProject; use Moose; use namespace::clean -except => [ 'meta' ]; with 'Devel::REPL::Profile'; sub apply_profile { my ($self, $repl) = @_; # do something here } 1; DESCRIPTION
For particular projects you might well end up running the same commands each time the REPL shell starts up - loading Perl modules, setting configuration, and so on. A mechanism called profiles exists to let you package and distribute these start-up scripts, as Perl modules. USAGE
Quite simply, follow the "SYNOPSIS" section above to create a boilerplate profile module. Within the "apply_profile" method, the $repl variable can be used to run any commands as the user would, within the context of their running "Devel::REPL" shell instance. For example, to load a module, you might have something like this: sub apply_profile { my ($self, $repl) = @_; $repl->eval('use Carp'); } As you can see, the "eval" method is used to run any code. The user won't see any output from that, and the code can "safely" die without destroying the REPL shell. The return value of "eval" will be the return value of the code you gave, or else if it died then a "Devel::REPL::Error" object is returned. If you want to load a "Devel::REPL" plugin, then use the following method: $repl->load_plugin('Timing'); The "load_plugin" and "eval" methods should cover most of what you would want to do before the user has access to the shell. Remember that plugin features are immediately available, so you can load for example the "LexEnv" plugin, and then declare "my" variables which the user will have access to. Selecting a Profile To run the shell with a particular profile, use the following command: system$ re.pl --profile MyProject Alternatively, you can set the environment variable "DEVEL_REPL_PROFILE" to MyProject. When the profile name is unqualified, as in the above example, the profile is assumed to be in the "Devel::REPL::Profile::" namespace. Otherwise if you pass something which contains the "::" character sequence, it will be loaded as-is. AUTHOR
Matt S Trout - mst (at) shadowcatsystems.co.uk (<http://www.shadowcatsystems.co.uk/>) LICENSE
This library is free software under the same terms as perl itself perl v5.14.2 2012-06-02 Devel::REPL::Profile(3pm)
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy