DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • July 20, 2018, 12:05:37 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2 3   Go Down
  Print  
Author Topic: Admin Functions from Bio  (Read 7777 times)
0 Members and 1 Guest are viewing this topic.
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« on: March 15, 2005, 06:15:36 PM »

Started off as a joke, but grew into something kinda useful.

Basically, what you got... is the "Grant Newday" and "Fix Broken Navs" in someone's bio. As well as an on/off for a "Kill Player" nav. Tongue

Now, here is the catch. People with Game Settings, can change it so that it is dictated from having SU_EDIT_USERS, a pref set, or both, to be able to see the navs. Just a little protection.

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=48

Weird filename. Tongue Have fun!

I know it would just be a couple more clicks to get to it in their account... but I am lazy. Tongue
« Last Edit: July 07, 2006, 02:24:54 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Freeze
Guest
« Reply #1 on: March 15, 2005, 07:03:55 PM »

Hey Sichae, i think there might be a problem with it. I tested out he powers by chaning settings and stuff, and evyerhting seemed to work fine, but when i got my SrAdmin to kill me, and now i'm in an infinate loop of bad navs. Even after clearing my allwed navs.
Logged
Freeze
Guest
« Reply #2 on: March 15, 2005, 07:04:13 PM »

oh, and plus i haven't seen the shades yet. lol.
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #3 on: March 15, 2005, 07:09:15 PM »

Version 0.11

Small bug fix.

Same Link.
« Last Edit: March 15, 2005, 07:12:21 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #4 on: March 15, 2005, 07:17:12 PM »

Version 0.12

Took out everyhit hook, and replaced with superuser,forest and village hooks.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Freeze
Guest
« Reply #5 on: March 15, 2005, 07:19:41 PM »

Ah, thank you. I've been running in circules trying to fix this Tongue. Thanks!

EDIT

Um, now do you know how i can leave the shades? i've cleard navs, had new days, can't leave shades.php
« Last Edit: March 15, 2005, 07:24:32 PM by Lord Xander » Logged
Dannic
Guest
« Reply #6 on: March 15, 2005, 07:35:20 PM »

You will have to disable the module and set your alive flag to alive to get out.  

That's what I had to do.
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #7 on: March 15, 2005, 07:37:12 PM »

Or, since I knew you have direct DB fondling, you could:
Code:
DELETE FROM modules WHERE modulename='adfuncbio'
Then, reinstall the mod when it be fixed, which it is.

The mod only checks if the pref is set, and when it is checking, and applying, it turns the pref off. So, it is only a onetime deal. Perhaps someone is messing with you. Tongue
« Last Edit: March 15, 2005, 07:39:47 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #8 on: March 15, 2005, 07:45:05 PM »

Version 0.13

Precautionary check installed.

Same Link, with updated file this time. Tongue
« Last Edit: March 15, 2005, 07:46:59 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Dannic
Guest
« Reply #9 on: March 15, 2005, 07:48:23 PM »

heh.. well I happened to click the kill player link when viewing my own bio.  took several pages before the darn thing actually sent me to the shades.

when I clicked on new day it granted a new day but sent me directly back to the shades.  Still dead.  Hopefully ya fixed it. Smiley  haven't checked the new one yet.
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #10 on: March 15, 2005, 07:49:31 PM »

hehe, I just hooked into newday, and now have that remove the pref, instead of trying to do it in one fell swoop. ^_^

Works perfectly now... although, "Kill Player" was not the main punch of this mod... thus the on/off. Tongue
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Dannic
Guest
« Reply #11 on: March 15, 2005, 08:15:08 PM »

Perhaps a default to off then would be better than a default to on.
Logged
Dannic
Guest
« Reply #12 on: March 15, 2005, 08:28:38 PM »

alright... it now sends me straight to the shades.  Newest version btw.
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #13 on: March 15, 2005, 08:36:26 PM »

If pref set, then redirect to shades. Upon newday, pref is taken off.

This is how it is meant to be, make sure that your pref is unset.
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Dannic
Guest
« Reply #14 on: March 15, 2005, 09:05:20 PM »

Alright... that's what it was.  I had to delete the module from the db to get out of it before.  Didn't realize that there were some other things that would keep sending me to the shades as long as they were set.

Whew....

Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
25 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search