Youdate - premium status buttons - default search
Budget: $30 – $250 USD
Assigned to @dmytrozatsepin2
1. Need an extra sub menu on Connections. If you click on your own profile icon in the top menu after logged in, then a "popup sub menu" appears with menu options like Setttings, News and so on. Need this type of popup frame also to appear when clicking on Connections, but (of course) with the sub menu options that you find there already, such as "Guests", "People you like" and so on. Check out screenshot connections-submenu.png. (Ignore the blue font color on the Encounters). Make sure to test it's responsiveness on small screens (or when the browser with is narrow).
2. The Balance button in the top bar (with the money icon in it) disappears when browsing on mobile phones as part of the responsiveness when the browser width is narrow. I hope you can make it visible there at all time without damaging the responsiveness.
3. If the user has bought enough credits to activate a premium account, the Balance button in the top bar (mentioned above) can be replaced by the Activate button found on /balance/services. As far as I can see, there is only one premium duration (30 days) in the admin panel so it is only possible to set a price of this premium period So it should be enough in the code to add an "if condition" that shows the Activate button (instead of the Balance button) if the current amount of credits is larger than the current credit cost of 30 days premium. BUT if one click on the Activate button under /balance/services, the button must change to "Activated" as it does in /balance/services. So we need this same behaviour on the copied button in the top bar of course.
So we have 3 buttons. They should at least have the same height. But I will change the layout on the 3 buttons later so it is ok if they just remain different css classes that I can edit later. Check the buttons out in topbar-button-premium-upgrade.png, topbar-button-premium-activate.png and topbar-button-premium-activated.png.
4. Upon signup a user already has to provide basic details such as name, birthday and gender. And after signup a user can already choose to ignore or to add several more profile details such as "Interested in" and age range. But can you add a small code that automatically sets the "Looking for" to the opposite gender as ones own provided gender? So if he provides that he is a "Man" during signup process, then he will automatically be defined as "Looking for" "Women" (I know there are exceptions, but I just have to make it simple now). This code should be placed somewhere during the signup process so it is already there before he decides to visit his profile settings. (Of course he should be able to change his preferences later as normal. The reason I add this is to give a better default search result before users change their profiles). See screenshot settings-profile-lookingfor.png.
5. This last task might seem a little bit redundant to you because it isn't really a problem in this default script installation. But due to some changes in another "branch" of this script users have to click on the big blue Search button to get any users listed at all because the list is empty by default. Not that it matters, but I think this happens because "Near me" option is removed there so there is no checkbox to choose Country/City and therefore no users are listed by default on the search page. Could you give me a code snippet that kind of automatically and hidden loads a search (as if I clicked the search button) as soon as I enter the search page? I guess it almost already exists "under the Search button" so I just need to know what and where to place it. It should only load once tho so it doesn't double load the page each time a user searches. I guess what I am asking is the code to do an automatic hidden search upon load of the /browse page.
Maybe you know a better way of solving this last part of this project (number 5). If so, just tell me before you begin.
1. Need an extra sub menu on Connections. If you click on your own profile icon in the top menu after logged in, then a "popup sub menu" appears with menu options like Setttings, News and so on. Need this type of popup frame also to appear when clicking on Connections, but (of course) with the sub menu options that you find there already, such as "Guests", "People you like" and so on. Check out screenshot connections-submenu.png. (Ignore the blue font color on the Encounters). Make sure to test it's responsiveness on small screens (or when the browser with is narrow).
2. The Balance button in the top bar (with the money icon in it) disappears when browsing on mobile phones as part of the responsiveness when the browser width is narrow. I hope you can make it visible there at all time without damaging the responsiveness.
3. If the user has bought enough credits to activate a premium account, the Balance button in the top bar (mentioned above) can be replaced by the Activate button found on /balance/services. As far as I can see, there is only one premium duration (30 days) in the admin panel so it is only possible to set a price of this premium period So it should be enough in the code to add an "if condition" that shows the Activate button (instead of the Balance button) if the current amount of credits is larger than the current credit cost of 30 days premium. BUT if one click on the Activate button under /balance/services, the button must change to "Activated" as it does in /balance/services. So we need this same behaviour on the copied button in the top bar of course.
So we have 3 buttons. They should at least have the same height. But I will change the layout on the 3 buttons later so it is ok if they just remain different css classes that I can edit later. Check the buttons out in topbar-button-premium-upgrade.png, topbar-button-premium-activate.png and topbar-button-premium-activated.png.
4. Upon signup a user already has to provide basic details such as name, birthday and gender. And after signup a user can already choose to ignore or to add several more profile details such as "Interested in" and age range. But can you add a small code that automatically sets the "Looking for" to the opposite gender as ones own provided gender? So if he provides that he is a "Man" during signup process, then he will automatically be defined as "Looking for" "Women" (I know there are exceptions, but I just have to make it simple now). This code should be placed somewhere during the signup process so it is already there before he decides to visit his profile settings. (Of course he should be able to change his preferences later as normal. The reason I add this is to give a better default search result before users change their profiles). See screenshot settings-profile-lookingfor.png.
5. This last task might seem a little bit redundant to you because it isn't really a problem in this default script installation. But due to some changes in another "branch" of this script users have to click on the big blue Search button to get any users listed at all because the list is empty by default. Not that it matters, but I think this happens because "Near me" option is removed there so there is no checkbox to choose Country/City and therefore no users are listed by default on the search page. Could you give me a code snippet that kind of automatically and hidden loads a search (as if I clicked the search button) as soon as I enter the search page? I guess it almost already exists "under the Search button" so I just need to know what and where to place it. It should only load once tho so it doesn't double load the page each time a user searches. I guess what I am asking is the code to do an automatic hidden search upon load of the /browse page.
Maybe you know a better way of solving this last part of this project (number 5). If so, just tell me before you begin.