02-27-2019
How about by swapping menu items in "User CP".
For example raise upper
"User CP Prototype" (it becomes convenient and popular. Honestly, I saw same only in the admin panels)
and lower down
"Edit Your Details", "Edit Options"
Or move some items from "User CP" to "User CP Prototype"?
Or plan to completely replace "User CP" with "User CP Prototype"?
Last edited by nezabudka; 02-27-2019 at 02:34 AM..
This User Gave Thanks to nezabudka For This Post:
10 More Discussions You Might Find Interesting
1. Web Development
Vue.js UserCP Mockup Version 0.20 - Badge Notifications
https://www.unix.com/cp/index.php#/dashboardIn this mockup release:
Badge Notifications are working with live data: Upper Right (see image)
Added Axios to Vue and changed large table updates to axios (ajax)
Note: Will reformat... (2 Replies)
Discussion started by: Neo
2 Replies
2. Web Development
Here is the query (and some sample results) I plan to use to build a new timeline page in the mockup vue.js usercp I am working on.
When the postid is the same as lastpostid, this means the timeline entry will be - "{{Member}} Started Discussion {{Thread Title}} at {{date and time}}" and when... (4 Replies)
Discussion started by: Neo
4 Replies
3. Web Development
Well, thanks to the amazing power of Vue.js, we now have a new timeline in version 0.23 of the UserCP Mockup:
Wow! I'm really impressed with Vue.js.
https://www.unix.com/cp/index.php#/pages/timeline
In this version:
Created database, and PHP model for the remote AJAX (Axios) call to... (1 Reply)
Discussion started by: Neo
1 Replies
4. Web Development
Continuing to think Vue.js is AWESOME, we now have a new badges timeline in version 0.26 of the UserCP Mockup:
https://www.unix.com/cp/index.php#/pages/badges
Changes:
Added Mockup from Badges timeline.
Changed notifications (upper right) to use v-for: bindings.
Fixes minor vue routing... (0 Replies)
Discussion started by: Neo
0 Replies
5. What is on Your Mind?
Please join me in thanking one of our most active new members, nezabudka, who suggested that we start using the new usercp prototype and change the menu items around, effectively "promoting" the new prototype CP.
At first, I did not understand her suggestion, but after 'coming down" from days of... (1 Reply)
Discussion started by: Neo
1 Replies
6. What is on Your Mind?
FYI.
In version 0.53 of the new UserCP I am working on, the top navbar search works; but I'm still displaying the results in the main forums. I in the future, I may being to change this to display the results in the new UserCP.
https://www.unix.com/members/1-albums225-picture1118.png (2 Replies)
Discussion started by: Neo
2 Replies
7. Web Development
Vue Router has some quirks and on of the quirks is that it is not reliable when adding external links using the vue-router library.
After struggling with many solutions, I have found that creating a simple Vue.js component like this one seems to work the best (so far):
Component Example: ... (0 Replies)
Discussion started by: Neo
0 Replies
8. What is on Your Mind?
Regarding the latest version of the UserCP prototype (version 0.63) I have made a lot of major changes, including
Added a "Posts Timeline" table for the recent posts, complimenting the non-table version earlier, which has been moved off the main menu (link at the bottom of the table).
Added a... (4 Replies)
Discussion started by: Neo
4 Replies
9. What is on Your Mind?
Here is a status update on the new forum usercp.
The current version of the new UserCP is Screeching Frog v0.7446.
Most users will need to clear the files from your browser cache, quit and restart your browser to see the new version (check bottom of the page for version). Safari seems to... (9 Replies)
Discussion started by: Neo
9 Replies
10. What is on Your Mind?
Here is my second live video screencast (in my life, using Camtasia) with voice for the new usercp:
Overview of the Vue.js UserCP @UNIX.com
Shout outs to Don Cragun, Corona688, Rudi, Wolf, Made in Germany, stomp, Ravinder, Creative Tim, PubNub and others in the video. Thanks.
If you are... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT CENTOS
vmod_std
VMOD_STD(3) VMOD_STD(3)
NAME
vmod_std - Varnish Standard Module
SYNOPSIS
import std
DESCRIPTION
The Varnish standard module contains useful, generic function that don't quite fit in the VCL core, but are still considered very useful to
a broad audience.
FUNCTIONS
toupper
Prototype
toupper(STRING S)
Return value
String
Description
Converts the STRING S to upper case.
Example
set beresp.http.x-scream = std.toupper("yes!");
tolower
Prototype
tolower(STRING S)
Return value
String
Description
Converts the STRING to lower case.
Example
set beresp.http.x-nice = std.tolower("VerY");
set_up_tos
Prototype
set_ip_tos(INT I)
Return value
Void
Description
Sets the Type-of-Service flag for the current session. Please note that the TOS flag is not removed by the end of the request so
probably want to set it on every request should you utilize it.
Example
if (req.url ~ ^/slow/) {
std.set_up_tos(0x0);
}
random
Prototype
random(REAL a, REAL b)
Return value
Real
Description
Returns a random REAL number between a and b.
Example
set beresp.http.x-random-number = std.random(1, 100);
log
Prototype
log(STRING string)
Return value
Void
Description
Logs string to the shared memory log.
Example
std.log("Something fishy is going on with the vhost " + req.host);
syslog
Prototype
syslog(INT priority, STRING string)
Return value
Void
Description
Logs string to syslog marked with priority.
Example
std.syslog( LOG_USER|LOG_ALERT, "There is serious troble");
fileread
Prototype
fileread(STRING filename)
Return value
String
Description
Reads a file and returns a string with the content. Please note that it is not recommended to send variables to this function the
caching in the function doesn't take this into account. Also, files are not re-read.
Example
set beresp.http.x-served-by = std.fileread("/etc/hostname");
duration
Prototype
duration(STRING s, DURATION fallback)
Return value
Duration
Description
Converts the string s to seconds. s can be quantified with the usual s (seconds), m (minutes), h (hours), d (days) and w (weeks)
units. If it fails to parse the string fallback will be used
Example
set beresp.ttl = std.duration("1w", 3600);
integer
Prototype
integer(STRING s, INT fallback)
Return value
Int
Description
Converts the string s to an integer. If it fails to parse the string fallback will be used
Example
if (std.integer(beresp.http.x-foo, 0) > 5) { }
collect
Prototype
collect(HEADER header)
Return value
Void
Description
Collapses the header, joining the headers into one.
Example
std.collect(req.http.cookie); This will collapse several Cookie: headers into one, long cookie header.
SEE ALSO
o vcl(7)
o varnishd(1)
HISTORY
The Varnish standard module was released along with Varnish Cache 3.0. This manual page was written by Per Buer with help from Martin Blix
Grydeland.
COPYRIGHT
This document is licensed under the same licence as Varnish itself. See LICENCE for details.
o Copyright (c) 2011 Varnish Software
AUTHOR
Per Buer
1.0 2011-05-19 VMOD_STD(3)