primaverabss – When registering user forms in the extension menu, the forms are not displayed

I have an extension project (user forms) in C #.

When I try to register the forms in the local installation on my computer to later add the menus that call the same functions, I had no problem adding them.

However, when I install from a client with the same version on a test server, no forms are displayed.

Previously, a recompilation of the project was enough to resolve this issue. This does not work anymore.

Product version: 10,0007.1030
Platform release: 10,0007.1033
DBM version: 10,0007.1027
Version Conf. Base: 10,0007.1014

Architecture – Possible patterns for registering event listeners of game units in an event queue

I try to integrate the idea of ​​an event queue into a loop that creates entities and responds to inputs. Is it better to send entity response functions to the queue during input processing, or is there a way to generically send events such as sending text to the event queue? What would the entity structures of entity and event queue look like to support the latter?

In particular, I'm looking for an answer that contains code (any language) or pseudocode. Similar answers lack the specificity I need to make sense
How fields in the structures or classes allow the registration of listeners, the sending, and the handling of events.
pending functional array approach

Forwarding – How do I log in automatically after registering?

I create a user

    $ user_id = wp_create_user ($ username, $ password, $ email);

After creating the user, I want him to log in automatically, so I've added the following code to my functions.php, according to Ravi Patel.

Auto_login_new_user ($ user_id) function {
wp_set_current_user ($ user_id);
wp_set_auth_cookie ($ user_id);
$ user = get_user_by (& # 39; id & # 39 ;, $ user_id);
do_action (& # 39; wp_login & # 39 ;, $ user-> user_login); // `[Codex Ref.][1]
    wp_redirect (home_url ()); // You can change home_url () to the specific URL, e.g. "Wp_redirect (& # 39; http: //')";
add_action ('user_register', 'auto_login_new_user');

But as expected, the following warning came up.

Warning: header information can not be changed - headers already created by (output started at /opt/lampp/htdocs/vuewordpress/wp-includes/link-template.php:3840) in / opt / lampp / htdocs / vuewordpress / wp- includes / were sent to pluggable.php at line 928

How do I fix this and redirect the user to the same page he's trying to sign in from?

I understand one thing I need to execute the code before the header is written. Maybe I have to tie this action somehow in it, But I do not know how to do it.

Any help is very grateful !!

php – Error while registering data for Android and phpmyadmin

Cordial Saludo Compañeros de Stackoverflow. This will find an Android Studio program with a solution that contains information about an Android device and has encountered an error. Lo que tengo hasta ahora es lo siguiente:

package com.example.myapplication;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.util.Log;
android.view.View import;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.EditText;
import android.widget.TextView;
android.widget.Toast import;
import org.json.JSONObject;
import java.util.Calendar;
import java.util.Objects;

public class Main2Activity extends AppCompatActivity implements View.OnClickListener, Response.Listener, Response.ErrorListener {

private static final String TAG = "Main2Activity";
private EditText nd, date, dbruto, veintiuno, subt1, descuento5, subt2, descuento10, descuento15, subt3, descuento2, subt4, descuento1, tdescuento, dtotal;
private requestQueue rq;
private JsonRequest jrq;
private button rdiezmo;

private DatePickerDialog.OnDateSetListener nDateSetListener;

@SuppressLint ("SetTextI18n")
protected void onCreate (bundle savedInstanceState) {
super.onCreate (savedInstanceState);
setContentView (R.layout.activity_main2);

rq = Volley.newRequestQueue (this);
rdiezmo = findViewById (;
date = findViewById (;
date.setOnClickListener (new View.OnClickListener ()
public void onClick (view view) {
Calendar calendar = Calendar.getInstance ();
int year = calendar.get (Calendar.YEAR);
int month = calendar.get (Calendar.MONTH);
int day = calendar.get (Calendar.DAY_OF_MONTH);

DatePickerDialog dialog = new DatePickerDialog (Main2Activity.this,,
Year month day);
Objects.requireNonNull (dialog.getWindow ()). SetBackgroundDrawable (new ColorDrawable (Color.TRANSPARENT)); ();
nDateSetListener = new
DatePickerDialog.OnDateSetListener () {
public void onDateSet (DatePicker datePicker, int year, int month, int day) {
Month = month +1;
Log.d (TAG, "onDateSet: MM / DD / YYY:" + year + "-" + month + "-" + day);
String ndate = year + "-" + month + "-" + day;
date.setText (ndate);

TextView txtBienvenido = findViewById (;
txtBienvenido.setText ("¡Por favor! Ingrese los datos");
nd = findViewById (;
dbruto = findViewById (;
String dato = getIntent (). GetStringExtra ("dato");
dbruto.setText (dato);
veintiuno = findViewById (;
subt1 = findViewById (;
descuento5 = findViewById (;
subt2 = findViewById (;
descuento10 = findViewById (;
descuento15 = findViewById (;
subt3 = findViewById (;
descuento2 = findViewById (;
subt4 = findViewById (;
descuento1 = findViewById (;
tdescuento = findViewById (;
dtotal = findViewById (;
findViewById ( .setOnClickListener (this);
findViewById ( .setOnClickListener (this);
public void onClick (View v) {
switch (v.getId ()) {
// Calcula descuento 21%
float v21 = Float.parseFloat ((dbruto.getText (). toString ()));
float d21 = (v21 * 21) / 100;
String r1 = String.valueOf ((double) d21);
veintiuno.setText ((r1));

// calculate subtotal 1
float s1 = v21 - d21;
String r2 = String.valueOf ((double) s1);
subt1.setText ((r2));

// Calcula descuento 5%
float d5 = (s1 * 5) / 100;
String r3 = String.valueOf ((double) d5);
descuento5.setText ((r3));

// calculate subtotal 2
float s2 = s1-d5;
String r4 = String.valueOf ((double) s2);
subt2.setText ((r4));

// Como se está calculando el 5% este valor es 0
float d10 = 0;
String r5 = String.valueOf ((double) d10);
descuento10.setText ((r5));

// Como se está calculando el 5% este valor es 0
float d15 = 0;
String r6 = String.valueOf ((double) d15);
descuento15.setText ((r6));

// Como se está calculando el 5% este valor es 0
float s3 = 0;
String r7 = String.valueOf ((double) s3);
subt3.setText ((r7));

// Calcula descuento 2%
float d2 = (s2 × 2) / 100;
String r8 = String.valueOf ((double) d2);
descuento2.setText ((r8));

// calculate subtotal 4
float s4 = s2 - d2;
String r9 = String.valueOf ((double) s4);
subt4.setText ((r9));

// Calcula descuento 1%
float d1 = (s4 * 1) / 100;
String r10 = String.valueOf ((double) d1);
descuento1.setText ((r10));

// Calcula total descuento
float tdesc = d21 + d5 + d2 + d1;
String r11 = String.valueOf ((double) tdesc);
tdescuento.setText ((r11));

// Calcula daszmo neto
float dneto = s4 - d1;
String r12 = String.valueOf ((double) dneto);
dtotal.setText ((r12));



String url =
"" + nd.getText (). toString () + "& fd =" + date.getText (). toString () +
"& db =" + dbruto.getText (). toString () + "& sb1 =" + dbruto.getText (). toString () + "& d1 =" + veintiuno.getText (). toString () +
"& sb2 =" + subt1.getText (). toString () + "& d2 =" + descuento5.getText (). toString () + "& sb3 =" + subt2.getText (). toString () +
"& d3 =" + descuento10.getText (). toString () + "& d4 =" + descuento15.getText (). toString () + "& sb4 =" + subt3.getText (). toString () +
"& d5 =" + descuento2.getText (). toString () + "& sb5 =" + subt4.getText (). toString () + "& d6 =" + descuento1.getText (). toString () +
"& td =" + tdescuento.getText (). toString () + "& dn =" + dtotal.getText (). toString ();

jrq = new JsonObjectRequest (Request.Method.GET, url, null, this, this);
rq.add (jrq);
Log.i ("URL", "Url de petición" + url);
public void onErrorResponse (VolleyError error) {
Toast.makeText (this, "No se pudo registrar los datos" + error.toString (), Toast.LENGTH_LONG) .show ();
public void onResponse (JSONObject response) {
Toast.makeText (this is "Se ha registrado los datos correctamente", Toast.LENGTH_SHORT) .show ();
limpiar registros ();
private void limpiar registros () {
nd.setText ("");
date.setText ("");
dbruto.setText ("");
veintiuno.setText ("");
subt1.setText ("");
descuento5.setText ("");
subt2.setText ("");
descuento10.setText ("");
descuento15.setText ("");
descuento2.setText ("");
subt3.setText ("");
subt4.setText ("");
descuento1.setText ("");
tdescuento.setText ("");
dtotal.setText ("");

El archivo diezmo15.php it este:

The registration process was performed before the date the data was sent, and a local change was made, and no function or registry for the error was made: com. android.volley.parseerror: org.json.jsonexception: value [] org.json.JSONArray can not be converted to JSONObject
al pasar el código: Log.i ("URL", "Url de petición" + url); me envia este error
d / Volley: [142] BasicNetwork.logSlowRequests: HTTP response for request = <[ ]
y it the el logcat:
I / URL: Url de petición 0.0 & sb4 = 0.0 & d5 = 7505.0 & sb5 = 367745.0 & d6 = 3677.449951171875 & td = 135932.453125 & dn = 364067.5625

De antemano les agradezco cualquier información que me puedan ofrecer.
Este es información y apariencia para obtener datos

Registering the sidebar – The Save button does not work with the custom widget

I've created a custom widget according to the Widget API, and it seems to work until I make changes. The "Save" button is not triggered. This issue only affects this new widget.

Ps. The custom widget is also part of one dynamische_seitenleiste But every other widget works fine.

The button is activated but not triggered.

Save Button problem

arch linux – Logging in or registering Xmpp clients is very slow

I set up Ejabberd successfully, everything works as it should.
Only the login or registration takes a long time, sometimes over 20 seconds.
DNS entries match, config, even SSL certificate, required ports are open.

I do not know why it takes so long.
What could it be, if you need some logs, config or other things, please tell me.

php – How to create a new post when registering with the first and last name of the user as title

I have been working on this for some time and I can not understand that for my life. Here is my code now.

add_action (& # 39; user_register & # 39 ;, & # 39; create_new_user_profile & # 39 ;, 999);

Function create_new_user_profile ($ user_id) {
if (! $ user_id> 0)

$ user_info = get_user_meta ($ user_id);
$ profile_first_last = $ user_info-> firstname;

$ profile_post = array (
& # 39; # 39 & post_title; => $ profile_first_last,
& # 39; # 39 & POST_CONTENT; => & # 39; This is the profile post. & # 39 ;,
"post_status" => "Publish",
& # 39; # 39 & post_type; => & # 39; team & # 39 ;,
& # 39; # 39 & post_author; => $ user_id

$ profile = wp_insert_post ($ profile_post);


I've tried a few things and searched for some time, the current code is returned and an empty string, but other alternatives allowed me to post the username or user_id as a title, but I can not use the display_name or a combination of first and last name , what I need.

Emails for registering WordPress users blocked by SPAM filters !?

I have several WordPress websites. And a problem with one.

I just wanted to check if this is something common that happens to everyone or if I should insist that the problem be resolved. Here it is:

The setup includes two websites in two different languages, each with its own cPanel stand-alone WordPress installation, but set up in the same way (plugins, design, design, anything) except language. Say they are: ("Croatian" version) (obviously)

If a visitor wants to sign up ("subscribe") to my website, they will receive the following confirmation email (after entering their username and email):


To set your password, visit the following address:

And that works perfectly for the English website.
However, the Croatian website sends (practically) exactly the same message, only in "Croatian". So it goes like this:


Za postavljanje lozinke, a year ago with address:

The rest is the same (left), just with instead of

These messages are blocked by the hosting provider's SPAM filter (Only the Croatian, the English will be sent). I can ask Tech. Support to "release" them, but I would prefer not to have to do that.

Is that a normal thing?
The fact that confirmation emails are virtually all the same (only the username is different) and have no "unsubscribe link" is why they are often treated as spam?

To put it another way, is it reasonable for the hosting provider to fix this? And if that's not the case, it's reasonable to expect that these problems will not occur with most (reputable, high-quality) hosting providers, so I could try / expect a change of hosting provider to solve the problem ?

Technical Support suggested that I change the content of the confirmation email, add a "unsubscribe" link, and change the text.
That would require another WordPress plugin, or editing the sub-theme functions.php (I guess not sure how to do it exactly, it would have to figure it out).
Of course, if it is common to list these emails as SPAM, there is no other way. However, I have some doubts:
– In the last three years (2 different hosting providers) there were no problems with it.
If this is the case, most WordPress owners would deal with this issue and edit the email form, and I have never heard of it (could just be uninformed, so I ask here).

Thank you in advance for any help and information.

Hosting will check it, maybe solve it, we'll see. I just want to see if my "insistence" on it was reasonable (or rude?) And what options I have if it is not resolved.

Solve all credit card problems by registering with Myaccountaccess !! is an online portal that manages Visa, Mastercard and American Express credit cards as well as gift cards issued by Elan Financial Services. Elan Financial Services is a subsidiary of US Bancorp and one of the leading US card issuers.
The company serves more than 1,700 customers, has partnerships with 1,400 financial institutions, and offers a range of processing and payment services, as well as card issuing and prepaid card solutions. It also supports more than 43 million ATMs and credit cards and provides additional telecommunications services.