vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Change member's usergroup after admin votes (https://vborg.vbsupport.ru/showthread.php?t=50872)

grog6 03-26-2003 10:00 PM

Change member's usergroup after admin votes
 
With this hack you will be able, if you are more than 1 admin (or supermoderator) to establish a vote system where you can will choose to change a member's usergroup.

You have in the change_sergroup.php a variable wich define how many positive votes are required to change a member's usergroup. If enough valid votes are recorded, the member will automatically change of usergroup.

This hack is a vote system in your admin CP ... Once you've voted for a member, you can't vote for the same again and have to wait others admins (or supermodo) votes.

Files to modify : 2
Query ro run : 1
Files to upload : 1

Installation time : 5 min


Avec ce hack vous allez pouvoir si vous etes plusieurs administrateurs (ou supermoderateurs) sur votre forum a etablir un systeme de vote ou vous choisissez le nombre de votes positifs minimum necessaires pour que le membre choisi puisse changer de groupe, et ainsi chaque admin peut valider ou non ce choix ...

Ce hack est en fait un systeme de vote via votre admin CP pour changer un membre de usergroup ... Une fois que vous avez vote, vous ne pouvez plus le faire pour le meme membre et devez attendre que les autres utilisateurs ayant axx au CP ai fait leur choix


Fichiers a modifier : 2
Requete a executer : 1
Fichier a uploader : 1

Temps d'installation : 5 min



HERE IS THE FRENCH VERSION
Voici la version francaise

grog6 03-27-2003 02:12 PM

HERE IS THE ENGLISH VERSION
Voici la version anglaise

grog6 03-27-2003 02:17 PM

ALL FRENCH Screenshots are in the archive
Tous les SC sont dans le zip


1st SC, in the admin CP if you have users awaiting usergroup's validation
SC1 si des membres sont en attente de changement de usergroup sur l'accueil du CP admin

grog6 03-27-2003 02:19 PM

1st page of the hack
page d'accueil du hack

grog6 03-27-2003 02:22 PM

Vote for a user's awaiting usergroup's modification
Voter pr un member en attente de changement de usergroup

grog6 03-27-2003 02:24 PM

Show all validated users
Affichage de tous les memres deja valides

grog6 03-27-2003 02:27 PM

Here are options of a user you have already voted for
Affichage des options d'un membre pour lequel vous avez deja vot?

Dean C 03-27-2003 03:16 PM

Wow keep these hacks coming fast and furiously buddy - this is awesome !

- miSt

iggy123 03-28-2003 05:38 AM

Cool hack - is there anyway of adding this to the moderators group, we have only got 2 admins but we have 5 moderators.
I help run a gaming clan and this would be cool for voting people in to the clan - the main thing is I have only allowed 2 people access to the admin cp all the other "gaming admins" have access to the moderator panel

I also recieved this error message as well

Code:

Invalid SQL: SELECT * FROM change_usergroup WHERE (username='[TxM]BuLL'sEye' AND valide=1)
mysql error: You have an error in your SQL syntax near 'sEye' AND valide=1)' at line 1

mysql error number: 1064

Date: Friday 28th of March 2003 04:02:13 AM
Script: http://XXXX/forums/forums/admin/change_usergroup.php
Referer: http://XXXX/forums/admin/change_usergroup.php?

Is it something to do with his username? if so how can i stop people registering with invalid characters
----------
Update -- removed the ' from his username and tried again, didn't get the error message. Is this a "Feature" of the hack or can it be fixed? :confused:

Limitter 05-14-2003 01:27 PM

Nice Hack

can i modify the Time Limit for Poll ???


All times are GMT. The time now is 04:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01609 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete