Author Topic: Need help ( how to add more levels ) ?  (Read 19701 times)

0 Members and 1 Guest are viewing this topic.

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: Need help ( how to add more levels ) ?
« Reply #15 on: August 29, 2007, 11:19:03 PM »
mmm i didnt install it. but it is in phpmyadmin for change the level to an user.
did you try to change a level from a member to VIP in user modify in ACP???
if you cant do it, you will need modify in phpmyadmin.
something like:
Code: [Select]
UPDATE 4images_users SET user_level=3 WHERE user_id=<id from the user that you want VIP levelr>;
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: Need help ( how to add more levels ) ?
« Reply #16 on: August 30, 2007, 09:31:41 AM »
i tried

so i have a user test

he is a member

so i went to my ACP and search for test user and then click to see what levels i have

  ((( i found VIP ( its same Spamking ) is not in the dropdown list  ))) the mean VIP is not on the list

wht i find is:  awating - member  - moderator - admin

VIP is missing and i think the dropdown list in ACP is reading from user_level in users table so that why i think it must add level 3 in database
English Please :@

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: Need help ( how to add more levels ) ?
« Reply #17 on: August 30, 2007, 11:51:42 AM »
i think that the mod that i said you it isnt finished. you can put VIP level to an user only in phpmyadmin.
i will see the modifications from moderator mod and i will say you what you need to do for you will can change the level in ACP

for the moment if you want that test have VIP level, go to phpmyadmin, select the db and click in sql. Paste the next:
Code: [Select]
UPDATE 4images_users SET user_level=3 WHERE user_name=test;
but it would be better:
Code: [Select]
UPDATE 4images_users SET user_level=3 WHERE user_id=<id from test>;
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: Need help ( how to add more levels ) ?
« Reply #18 on: August 30, 2007, 12:25:20 PM »
Maybe i forgot something... try the next:

search in lang/english/admin.php

Code: [Select]
$lang['userlevel_admin'] = "Admin";
add afer:
Code: [Select]
$lang['userlevel_spamking'] = "Spamking";or maybe ¿?:
Code: [Select]
$lang['userlevel_vip'] = "VIP";

search in admin/admin_functions.php:
Code: [Select]
  echo ">".$lang['userlevel_admin']."</option>\n";add after
Code: [Select]
echo "<option value=\"".SPAMKING."\"";
  if ($userlevel == SPAMKING && $userlevel != "") {
    echo " selected=\"selected\"";
  }
  echo ">".$lang['userlevel_spamking']."</option>\n";
 
in your case VIP and userlevel_vip, isnt it?

i think it is all. please try it, and say me if it works. If not works i will try it in my gallery
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: Need help ( how to add more levels ) ?
« Reply #19 on: August 30, 2007, 04:54:48 PM »
its work and perfect


yes i was looking for admin_functions :)

and u did it for me

thanks its work without adding any field in the database :)

now i can give this user title to who deserved :)

thanks again :)

Awesome help

hope someone can create a mod with these 2 functions:

1- the usertitle changed depends on the number of comments
2- the usertitle changed depends on the number of uploading pix

one of them will be great :)

hope can find it one day here
English Please :@

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: Need help ( how to add more levels ) ?
« Reply #20 on: August 30, 2007, 09:19:03 PM »
great! ^^

it is a good idea, i would like it too.. but i dont have enough time.. the tuesday i will have exams...  :(
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: Need help ( how to add more levels ) ?
« Reply #21 on: August 30, 2007, 11:59:40 PM »
oOh

good luck with ur exams

Stop accessing the internet and try to focus with ur study :)

better to know that u did well in exam rather than u did a new MOD :)

English Please :@

manurom

  • Guest
Re: Need help ( how to add more levels ) ?
« Reply #22 on: August 31, 2007, 12:04:15 AM »
@ ccsauweb;
¡mucha suerte cón tus ejámenes!
Saludos.

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: Need help ( how to add more levels ) ?
« Reply #23 on: August 31, 2007, 02:55:10 PM »
Thanks!!! Gracias ^^
if i pass the exams, we will say: cheers! hehe
Si apruebo tenemos que brindar ;)  (que buen ingles tengo xDDD)
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

manurom

  • Guest
Re: Need help ( how to add more levels ) ?
« Reply #24 on: August 31, 2007, 03:21:07 PM »
¡Tu inglés es buenisimo!
¡Que te vaya bién todo, y que tengas que brindar un máximo!

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: Need help ( how to add more levels ) ?
« Reply #25 on: August 31, 2007, 06:45:01 PM »
lOol  !

well, waiting for good news from you

( English plz lol )

as hoping all good for u ! ( so cheers ) ^_*
English Please :@

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: Need help ( how to add more levels ) ?
« Reply #26 on: September 11, 2007, 08:04:53 PM »
as i get help for my REQUEST here

so i will complete my question about the levels here :P

okay ,, i need to delete the validation for the moderator

so he/she can post comment without using the security image like admin :P

also in the uploading and send postcard !!

i will try to read the doc to find it by myself ! whenever i solve it i will say here !

otherwise ! need for ur help :)

greats

LovaLove
English Please :@