Create Custom Authority
Create Custom Authority
Hey there everyone!
From the title you can understand what I'm trying to do.
I want to create a custom authority for my servers so that I can use them to login. Something similar to:
/login VerTreX@<authority>
I'm a total noob when it comes to scripts and php and all that stuff (I don't even use php anymore so i forgot).
I would appreciate it if someone helps me through this.
Many thanks!
From the title you can understand what I'm trying to do.
I want to create a custom authority for my servers so that I can use them to login. Something similar to:
/login VerTreX@<authority>
I'm a total noob when it comes to scripts and php and all that stuff (I don't even use php anymore so i forgot).
I would appreciate it if someone helps me through this.
Many thanks!
Re: Create Custom Authority
Take the ]simple reference authentication script, plug in your password and username in the getPassword() function (remove 'test' and 'z-män', of course), store it at a simple URI (instructions are at the top of the file) and you're done. Make sure the raw script can't be read by anyone.
The question is, though, why would you even want to do such a thing just for yourself? Your authenticated name is just going to get longer.
The question is, though, why would you even want to do such a thing just for yourself? Your authenticated name is just going to get longer.
Re: Create Custom Authority
Yes I was reading through that script and wow that's a lot of coding (I code that much but only in Visual Basic).
So I remove 'test' and 'z-man' and what do i replace them with? My password?
Do I make a database in my website and what do i call it cause my web hosting service let's me name it vertrex_<name> and that's about it.
Thanks again!
So I remove 'test' and 'z-man' and what do i replace them with? My password?
In the above line, it says "$user" ... is that where my username goes and if so, where do i declare it?function getPassword( $user )
Do I make a database in my website and what do i call it cause my web hosting service let's me name it vertrex_<name> and that's about it.
Thanks again!
Re: Create Custom Authority
Actually, that's not much coding at all. It's mostly comments.VerTreX wrote:Yes I was reading through that script and wow that's a lot of coding (I code that much but only in Visual Basic).
Yep, like that:VerTreX wrote:So I remove 'test' and 'z-man' and what do i replace them with? My password?
Code: Select all
$passwords= array (
'VerTreX' => '123456'
);
Yeah, but don't change that. It's a variable that will be set to your username from the outside when the function is called.VerTreX wrote:In the above line, it says "$user" ... is that where my username goes and if so, where do i declare it?function getPassword( $user )
Nah, not for a single user authority. Plugging the data into the script directly works fine for that.VerTreX wrote:Do I make a database in my website
Re: Create Custom Authority
wow thanks Z-Man 
I just tested it out and it works!!!
Many thanks again!
Now im wondering ... how do i connect to my database?

I just tested it out and it works!!!

Many thanks again!
Now im wondering ... how do i connect to my database?
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
Re: Create Custom Authority
connecting to a database aka making it work with phpbb?
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
Re: Create Custom Authority
That's a little too complicated to explain, sorry, especially since I have little database experience myself. We do have a different reference script that has all sorts of flexible database integration built in, but you still need to understand your database first.
Re: Create Custom Authority
ah that's ok then.
Besides I think manually entering one's details is a sort of advantage
I also had another question ... My current domain is very long but I want to make it shorter like @forums and @ct. How do i make it shorter?
Like I want it to be like but idk how to do that
(I'm a noob as always when it comes to scripts).
Besides I think manually entering one's details is a sort of advantage

I also had another question ... My current domain is very long but I want to make it shorter like @forums and @ct. How do i make it shorter?
Like I want it to be like
Code: Select all
@as

Re: Create Custom Authority
You can't. Shortcuts are created by us, specifically Tank Program, and we have certain criteria an authority needs to meet. It needs to be open for everyone, needs to be relevant (have the potential for more than a handful members) and it can't be a cheap alias factory. It doesn't look like you will ever meet the first two. That's why I said right away your login name is just going to get longer.
Re: Create Custom Authority
Oh that's ok then.
Anyway thanks for everything Z-Man
Anyway thanks for everything Z-Man

Re: Create Custom Authority
Wow amazing!
I found this very useful. Thanks Z-Man and VerTreX for posting this out
Now ... I want to share my domain with everyone who want one. So I thought of making a webforum that people would fill out and then they will automatically be registered.
Is there a possible way to achieve that?
Many thanks in advance!
I found this very useful. Thanks Z-Man and VerTreX for posting this out

Now ... I want to share my domain with everyone who want one. So I thought of making a webforum that people would fill out and then they will automatically be registered.
Is there a possible way to achieve that?
Many thanks in advance!
Re: Create Custom Authority
Yes, but I'm afraid you're on your own there. Unless one of the people with an existing forum-tied authority wants to share their setup, that is.LOVER$BOY wrote:Is there a possible way to achieve that?
Re: Create Custom Authority
Ah ok.
Ah well...
Hey Z-Man, I've been searching around the wiki and found this: http://bazaar.launchpad.net/~armagetron ... :/webform/
Are the files in there the ones I need to build my webform so that I can share my logins with everyone out there who want one or for even clan purposes?
Many thanks again in advance!
Ah well...
Hey Z-Man, I've been searching around the wiki and found this: http://bazaar.launchpad.net/~armagetron ... :/webform/
Are the files in there the ones I need to build my webform so that I can share my logins with everyone out there who want one or for even clan purposes?
Many thanks again in advance!
Re: Create Custom Authority
No, that's something different IIRC: it's a web service component that lets you use other existing authorities to authenticate.
Re: Create Custom Authority
ok i made a login my @lifeclan.x10.bz works but i made second one its @tweb.x10.bz it doesent works there is an error Authentication URL tweb.x10.bz does not return a list of supported mettods got error code, 200, content "<!doctype html public"_//w3c//dtd html 4.01 transitional//en"
"http://www.w3.org/tr/html4/loose.dtd">".
"http://www.w3.org/tr/html4/loose.dtd">".