Sponsored Content
Top Forums Web Development Vue.js UserCP Mockup Version 0.20 - Badge Notifications Post 303031184 by Neo on Friday 22nd of February 2019 11:06:15 PM
Old 02-23-2019
Vue.js UserCP Mockup Version 0.20 - Badge Notifications

Vue.js UserCP Mockup Version 0.20 - Badge Notifications


Code:
https://www.unix.com/cp/index.php#/dashboard

In 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 / restyle this notification dropdown menu when the mockup is mostly done. Perhaps increase the items in the list from six to ten....

Possible next tasks:
  • Build out the "Timeline" mockup, but needs to create a new 'timeline" DB table and write the PHP code to fill the table first.
  • Build the "search forums' modal in the top menu bar.
  • Duplicate main dashboard page and change "system stats" to a "user specific" stats and charts page with a table for recent member posts.
  • Work on service workers for notifications in top menu (not a high priority yet).



Image
These 2 Users Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. Web Development

MySQL Query to Build Mockup Vue.js UserCP Timeline Page

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

2. Web Development

New Discussion Timeline in Vue.js UserCP Mockup

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

3. Web Development

New Badge Timeline in Vue.js UserCP Mockup

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

4. What is on Your Mind?

My Charts in the Prototype Vue.js UserCP

Yea.... something I thought would take me an hour ended up taking most of the day. Well, it's not like those YT video tutorials where it take a week or more to make a video and the guys (gals) make it look so easy. But having said that, I'm happy to share with forum members the first "My... (6 Replies)
Discussion started by: Neo
6 Replies

5. What is on Your Mind?

Congrats to Nezabudka for her Formulator Badge (UserCP Prototype v0.40)

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?

UserCP Screeching Frog 0.7446 Using Vue.js

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

7. What is on Your Mind?

Video Overview of the Vue.js UserCP @UNIX.com

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

8. What is on Your Mind?

Disabling New Badge Notifications

Finally got around to this. Have added a UserCP option to disable "new badge" alerts in the user profile "options" area so anyone who finds the alerts annoying, feel free to disable them (since the are primary designed for new users): https://www.unix.com/members/1-albums215-picture1219.png ... (0 Replies)
Discussion started by: Neo
0 Replies
MENU_ITEM_CURRENT(3)					   BSD Library Functions Manual 				      MENU_ITEM_CURRENT(3)

NAME
current_item, item_index, set_current_item, set_top_row top_row -- get or set item pointers or top row LIBRARY
Curses Menu Library (libmenu, -lmenu) SYNOPSIS
#include <menu.h> ITEM * current_item(MENU *menu); int item_index(ITEM *item); int set_current_item(MENU *menu, ITEM *item); int set_top_row(MENU *menu, int row); int top_row(MENU *menu); DESCRIPTION
The current_item() returns a pointer to the current menu item. The set_current_item() can be used to set this to the item give. The item_index() function returns the index number in the array of items for the item pointed to by the item parameter. The set_top_row() func- tion sets the top row of the menu displayed to be the row given. The current item becomes the leftmost item of the top row. The top_row() call returns the row number that is currently at the top of the displayed menu. RETURN VALUES
current_item() returns NULL if no items are attached to the menu. E_OK The function was successful. E_BAD_ARGUMENT One or more of the arguments passed to the function was incorrect. E_BAD_STATE The function was called from within an initialization or termination routine. E_NOT_CONNECTED The item is not connected to a menu. SEE ALSO
curses(3), menus(3) NOTES
The header <menu.h> automatically includes both <curses.h> and <eti.h>. BSD
September 10, 1999 BSD
All times are GMT -4. The time now is 04:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy