Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

[Solved] User Fields/Forum Ranks not showing in Admin Panel

Asked Modified Viewed 3,721 times
P
Patricia
P
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

I have no idea if I did something wrong or not, but the Links for User Fields and Forum Ranks are not showing up in my Admin Panel. I checked and the images for the links are uploaded but they aren't loading with the other User Admin Icons. Is there something I need to do to enable them? I managed to create 2 custom users fields and enabled them, though I'm not exactly sure how I did it.

Additionally, I've changed the settings under System Admin/Misc so that users are allowed to change their theme but the option isn't showing up in Edit Profile. Not sure if this has anything to do with my first issue or not :| Any help would be greatly appreciated.
Link to Site
Guest account access:
username: Guest
password: fusion
Edited by Patricia on 28-06-2008 14:14,
0 replies

6 posts

S
starefossen
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
answered
Senior Member

Here is what you need to do:

1. Go to admin panel

2. Go to custom pages

3. Copy and past this code:
<?php
$result = dbquery("INSERT INTO ".$db_prefix."admin (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('UF', 'user_fields.gif', '".$locale['118']."', 'user_fields.php', 2)");
$result = dbquery("INSERT INTO ".$db_prefix."admin (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('FR', 'forum_ranks.gif', '".$locale['119']."', 'forum_ranks.php', 2)");
?>


4. And they should appear :)
Edited by starefossen on 28-06-2008 13:14,
0 replies
P
Patricia
P
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Thank you starefossen :)
They're in the database and with the settings you specified except for the locales part. It gave me an error about them being undefined so I replaced the locale part with the actual text and they are in the database but still not showing up in the Admin Panel.
0 replies
S
starefossen
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
answered
Senior Member

Than you need to asign yourself the rights:

Copy, past and preview this in a custom page:
<?php
$new_rights = $userdata['user_rights'].".UF.FR";
$result = dbquery("UPDATE ".$db_prefix."users SET user_rights='$new_rights' WHERE user_id='".$userdata['user_id']."' LIMIT 1");
echo "Admnin righs chaged for ".$userdata['user_name'];
?>
Edited by starefossen on 28-06-2008 13:56,
0 replies
P
Patricia
P
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

All fixed. Thank you, again :)
0 replies
S
starefossen
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
answered
Senior Member

No problem, glad I could be at any help :) I really like your site, are you a graphic artist?
0 replies
P
Patricia
P
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

I'm more of a graphics manipulator. I can't draw images from scratch to save my life B)
0 replies

Category Forum

Installation Issues - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

S
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
P
P
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet