Verified users

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

One more idea:
Switch suggestion group on/off via ACP to join suggested user into a group (a prefinal group e.g. without rights) and after verifiying into the final group (deleting from the first group).
Switching this off will join these users only into the final group after verifiying.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I try that but didn't work, I turned all of, only that users can suggest is on.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Sorry, missunderstanding:
I mean, if I'll rewrite the mod, I will add the function posted at least to enable two groups for suggestions and verifing or only one group for verified users.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

aha OK, that will be better.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Not here we go:
The new add-on as beta release. Try it out.

The add-on will now do following:
- Join suggested user into a named group
- Join verified user into a named group (can be different from group for suggestions)
- Delete user from group for suggestions on verifing
- Delete user from group for suggestions if an admin completely resets the verify status

To update, reinstall the add-on. Don't undo the changes on the database, just use the new update script and ignore displayed errors reflected on the datafield "join_group".

If this new add-on will work, I'll release the new Verify User Mod.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

tnx, that is now a perfect!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I tested this, but still, users which are only suggested get into a group even if I have this OFF
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Hm, try this:
Change each rows with

Code: Alles auswählen

	if ($verify_config['suggest_group'] != 0)
into

Code: Alles auswählen

	if (!$verify_config['suggest_group'])
Use the mod description to find each row and retry.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I get this after sugest a user.

Could not get group status for user

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 'AND group_id = 148' at line 3

SELECT user_id FROM phpbb_user_group WHERE user_id = AND group_id = 148

Line : 125
File : /var/www/html/forum/includes/usercp_viewprofile.php


I did test this again, and I notice, when I have setted a gorup for verified users, and suggest new user nothing hapends after I verify user, for NOT verified there vas not setted a group.

I change that and for a NOT Verified users was setted a group and when someone suggest a user it automaticaly is putted in a group. For verified user vas not setted a group.

So not verified users are put in group like they are verified.
and Verified users are not put in to a group-
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay. I'll test this new add-on on weekend to fix all bugs.

EDIT
The add-on is now tested and after fix a little bug the mod will work errorfree for me.
Best to do for you is to uninstall your add-on and reinstall the new one (after downloading the new release).
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I did uninstall a version before and install this new one, must I uninstall it again, and install this latest new one, ot I can yust repair the part where bug was?
And must I copy on forum all new files from this new version?
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

The best way here ist to uninstall the add-on completly and reinstall the new release.
This method avoids errors while updating.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

OK, I did now first download new version, copied all files into place and then uninstall all, and install it a new version, but I get the same error.
When I put in ACP a gorup for nonverified users I always get off, but when I put a group for a verified users, it put a user automatically to a group, before I verify him.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, this situation I'll check more intensive the next days.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

maybe is problem with my files, or some other mod?
i did turn off this function for now so it is not in hurry, I will also copied all on povej.com and there you can check if you like it.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

No problem at all. I'll check it out and post the result.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

maybe some other mod makes problem.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

No, the functions for verifing an user will completely work with own code.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

yes that I know, that works, but other part of code which pust verified user to a group, did you check that too?
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Not yet. The next days, latest on next weekend.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

ok NP, take your time :)
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

I've rewritten the add-on now. Download, reinstall it and retry.

I've tested at least without errors: User will be joined to suggesting and verifing usergroups even the suggest group is on. A user wasn't joined to suggest group, if this was disabled, but to the verify group with final verify status.
And you can't set in ACP a suggest group, if the verify group is disabled.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

It is the same.
I did uninstall the odl version, download new and have new installation of addon verify gorup.
And it is the same, when some user suggest another user, he is automatically in a group even if I have this disabled and only enabled a verified user group.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, at one point I think I must decide suggesting and verifing, too. This might be missing there.
I'll take a look the next days, for now I know what to do...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

OK, if I can help with something just ask, I will!
Antworten