Post by toons on Apr 5, 2009 10:42:20 GMT -5
Ok guys, I was looking everywhere for a Alias working code for you guys and your multiply account. Guess what, I found it even though it is in testing. I heard that their are not no bugs revealed in the code yet.
Usage of Code:
This code is an alpha release, meaning by no means is it finished, or stable for use on a public forum. Although the code will work fine, there might be bugs in the code, or improvements to be made.
How to use the code:
Firstly, register multiple aliases, I registered the alias michael on my forum. That was used in conjunction with my main account admin.
When you have registered this account you will need to go to: *alias*.forumname.proboards.com and login with that alias name. Replace *alias* with the name of the alias.
When you are logging in, select 'Forever' in the drop down box.
Now return to your main forum page without the *alias* part, when posting you will notice a new box under the 'subject' field, this is where you should enter the name of the new alias you registered.
Hit post, and BANG, it's posted under the new name!
Improvements:
I know at the moment that it's not that amazing, I will be adding things to the code to make it easier for the user to use & to add new aliases to. Please feel free to post any & all suggestions, remember though, it's not finished yet!!
Usage of Code:
This code is an alpha release, meaning by no means is it finished, or stable for use on a public forum. Although the code will work fine, there might be bugs in the code, or improvements to be made.
How to use the code:
Firstly, register multiple aliases, I registered the alias michael on my forum. That was used in conjunction with my main account admin.
When you have registered this account you will need to go to: *alias*.forumname.proboards.com and login with that alias name. Replace *alias* with the name of the alias.
When you are logging in, select 'Forever' in the drop down box.
Now return to your main forum page without the *alias* part, when posting you will notice a new box under the 'subject' field, this is where you should enter the name of the new alias you registered.
Hit post, and BANG, it's posted under the new name!
Improvements:
I know at the moment that it's not that amazing, I will be adding things to the code to make it easier for the user to use & to add new aliases to. Please feel free to post any & all suggestions, remember though, it's not finished yet!!
<script type = 'text/javascript'>
/********************************
** Alpha Version of Alias Code
**
** Created By Wrighty
**
** Do Not: Rip, Repost, Claim or Edit
**
********************************/
if(document.postForm){
function post(){
if(document.getElementById('alias').value != ''){
document.postForm.action = 'http://' + document.getElementById('alias').value + '.' + location.host + '/index.cgi';
}
}
var row = document.getElementsByName('subject')[0].parentNode.parentNode;
var alias_row = row.cloneNode(true);
with(alias_row){
firstChild.firstChild.innerHTML = 'Enter Alias:';
lastChild.firstChild.id = 'alias';
lastChild.firstChild.removeAttribute('name');
lastChild.innerHTML += ' [<a href = "index.cgi?action=alias">Help</a>]';
}
row.parentNode.insertBefore(alias_row, row.nextSibling);
if(document.addEventListener){
document.postForm.addEventListener('submit', post, false);
}else{
document.postForm.attachEvent('onsubmit', post);
}
}
if(location.href.match(/action=alias/)){
document.title = document.title.replace(/An Error Has Occurred/, 'Alias Help');
for(d = document.getElementsByTagName('td'), a = 0; a < d.length; a++){
if(d[a].innerHTML.match(/An Error Has Occurred/) && d[a].className == 'titlebg'){
d[a].innerHTML = 'Alias Help';
d[a+1].innerHTML = 'Please see the <a href = "http://support.proboards.com/index.cgi?board=coderequests&action=display&thread=297447">thread</a> where you got this code from for support, this is currently an Alpha Version';
}
}
}
</script>