wordpress $ wp_query-> query_vars[ ‘page’ ] Query for retrieving URL data

I have 2 WordPress pages template pr1.php and pr2.php.

The pr1.php below has links that send data to the pr2.php

1. https://my_domain.com/pr2/683/
2. https://my_domain.com/pr2/683b/
3. https://my_domain.com/pr2/68c3-/

Basically, the pr2.php template retrieves the URL data with the wp query

$ wp_query-> query_vars[ 'page' ];

does it work to get the data from the 1st url but no output for the 2nd and 3rd?

pr2.php Page Template

query_vars[ ‘page’ ];

echo $ locationString;

?>

for the 1st url is the issue

683

but nothing if I click 2nd and 3rd url?

Please let me know, what's going on?

Many thanks

reactjs – Integrate web chat with React while retrieving 403 authorization errors

Hello Below is the code I have adapted from https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/03.a.host-with-react



  
    Web Chat: Integrate into React
    
    
    
    
    
    
    
    
  
  
    

Below is the mistake I get
Enter image description here

Authentication – Delay in retrieving user groups in the web application when using VPN

I ask this as a web developer, but I suspect that the problem has something to do with the network or domain configuration.

I am developing an ASP.NET MVC app that I will debug in IISExpress on my local machine. When I'm connected to my company's network, everything is fast. But when I'm home with the VPN, getting the user groups is extremely slow. Strangely, it always takes 30 or 50 seconds, never another time. Other data transmitted over the VPN is not subject to this delay. I encounter the delay with controllers with the [Authorize(Roles="...")] Attribute and when called UserPrincipal.Current.GetAuthorizationGroups (), It is finally returned with the right information, and I see no errors anywhere.

What could that cause?

Google Apps script – Problem with SUMIFS retrieving data from QUERY across multiple worksheets

I want to sum values ​​of a QUERY generated list in the sheet I / S / N / W on the sheet BUDGET to determine a value based on the date in BUDGET! B8, The function in BUDGET! B8 is = MONTH (TODAY ()),

There are four QUERY Functions in the sheet I / S / N / Wone of them is as follows:

= QUERY (TRANSACTIONS! $ I $ 9: $ N, "SELECT I, J, L, N, K, WO M =" Income "ORDER BY I DESC FORMAT I" YYYYMMDD & # 39; ", 0)

Everyone QUERY pulls data from the TRANSACTIONS Leaf and organize it by type (income, savings, needs, wishes).

The next step in the analysis process is the problem. I want to sum up the amount I / S / N / W based on two conditions: date and index. The date is formatted as YYYYMMDD The index refers to the type of value (work, grocery, etc.).

I have entered the following BUDGET! G5:

= SUM (& I / S / N / W! E4: E, # I / S / N / W! A4: A, "MONTH (I I / S / N / W? A4: A) = B8 ",? I / S / N / W ?! D4: D," Work "), The result of this cell is 0,

Do you have questions, comments or suggestions?

GUI design – retrieving information from a label when the user presses a key

In my application, I have the following scenario: When the user clicks an "info" button, the information is displayed in a caption (bottom right).
The problem is that I am forced to put this label a little way from the button, so I do not know if the user is aware that the information he wants to retrieve is in that label.
At the moment, I've decided to put a keyword "info" in the header of the label and create a tooltip that explains exactly what will happen when the user clicks the button.

Any advice for some UI / UX best practices in this case?
Many thanks

Enter image description here

SQL Server – Window function for retrieving record pairs and calculating the time difference

I am working with an event record as in the following example:

Event_Type Event_Timestamp Is_Active
A 01.10.2010 00:00:00 1
B 2010-10-01 00:00:01 1
A 2010-10-01 00:00:02 0
D 2010-10-01 00:00:03 1
B 2010-10-01 00:00:04 0
C 01.10.2010 00:00:05 1
A 2010-10-01 00:00:06 1
A 2010-10-01 00:00:07 1
A 2010-10-01 00:00:08 0

The record is ordered by the timestamp of events and the data becomes larger when events occur in real time. The record can contain additional event types at any time (not just A, B, C, D as in the example), and the same event type can be listed more than once in the table. The Boolean Is_Active field indicates whether the event is still active (1) or not (0).

In that sense, I've tried to transform that data using SQL windowing. I'm not necessarily limited to a specific product or technology. So you are welcome to specify how you would like to solve the problem below.

What I want to do is dynamically couple every event of the same type if they have opposite Is_Active values, and then determine how long that event has been active. In other words, for an event X, I would have to retrieve the Event_Timestamp if Is_Active had 1 for the first time (Begin_Timestamp), and then ignore the rest of the lines for this X event with Is_Active 1 until Is_Active 0 appears, so I get the Event_Timestamp can resume (End_Timestamp). Then I would continue to apply this logic if I find again an event X with 1 in the column Is_Active.

An example of the resulting table would be:

Event_Type Begin_Timestamp End_Timestamp Duration
A 2010-10-01 00:00:00 2010-10-01 00:00:02 2 seconds
B 2010-10-01 00:00:01 2010-10-01 00:00:04 3 seconds
D 2010-10-01 00:00:03 zero zero
C 2010-10-01 00:00:05 zero zero
A 2010-10-01 00:00:06 2010-10-01 00:00:08 2 seconds

Is there a window function that allows me to find these event pairs and calculate the duration of each event?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123
Proxy Sites Proxy Tunnels Proxy List Working Proxy Sites Hotproxysite Proxy Sites Proxy Sites Anonymous Proxy Anonymous Proxies Top-Proxies.co.uk http://www.proxysitesnow.com Proxy Servers Free Proxies Free Proxy List Proxy List Zoxy Proxy List PR liste all proxy sites More Proxies netgofree netgofree Hide-MyIp - The Best Proxy List American Proxy List www.proxylisty.com/proxylist Web Proxy Submit Proxies Updated Proxy List Updated Proxy List aproxy.org Bypass Proxy Sites Free Proxies List Evolving Critic Business Web Directory Free Proxy List iShortIt MyProxyList Online Proxies Go Proxies Need Proxies PrivateProxies Proxies4MySchool Proxies4Work Free Proxy List Free Proxy Sites ProxyInside Wiksa Proxy ProxyLister.org Free Proxy List ProxyNoid Proxy List Free Proxy List Proxy Sites Proxy TopList ProxyVille UK Proxy WebProxy List RatedProxy.com - Listing the best Web Proxies Free Proxy List SchoolProxiesList Stay Anonymous Proxy List The Power Of Ninja Proxy List UNubstruct Free proxy sites Free proxy sites