• Welcome to Simple Machines Community Forum. Please login or sign up.
December 09, 2021, 04:56:26 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Kako da dodam admina

Started by Slobodan Radosavljevic, September 05, 2009, 10:45:04 AM

Previous topic - Next topic

Slobodan Radosavljevic

Kako da dodam admina iz phpmyadmina?

▓▒RapidBelgrade▒▓

edituj ime koje hoces da bude admin i stavi mu ID GROUP 1



My working day begins with awakening drink coffee and then steal all day...

Slobodan Radosavljevic

znam za to ali sada nisam u toj mogucnosti jer radim nesto oko baze... pa ne znam kako ide ta komanda dzonny mi je pre rekao ali nisam mogao da zapamtim...

▓▒RapidBelgrade▒▓

nisam te bas razumeo... pitao si kako iz phpMyAdmina da dodas nekog u admin grupu...

znaci ides u tabelu smf_memebers i nadjes ime koje hoces i dalje kako sam ti napisao...





My working day begins with awakening drink coffee and then steal all day...

Slobodan Radosavljevic

Da izvinjavam se on mi je rekao kako da sa sql komandom dodam nekog usera da bude admin..  tnx probacu..

Slobodan Radosavljevic

ne ide nesto mogu samo da citam a kada hocu edit ili change u phpmyadminu kaze ovo:



1 If field type is "enum" or "set", please enter the values using this format: 'a','b','c'...
If you ever need to put a backslash ("\") or a single quote ("'") amongst those values, precede it with a backslash (for example '\\xyz' or 'a\'b').

2 For default values, please enter just a single value, without backslash escaping or quotes, using this format: a

Sada ako znas komandu da ubacim ime preko SQL Operationsa bilo bi lepo :)

Dzonny

UPDATE smf_members SET ID_GROUP = '1' WHERE memberName = 'username'

samo username promeni sa tačnim nadimkom.

Advertisement: