Boxer
Regular poster
Registered: 08-2003
Location: The Jersey Dog Pound
Posts: 174
Karma: 6 (+8/-2)
|
Reply | Quote
|
|
adding a Login that's hidden
I want to add a login that after you login it is gone off your board. I seen someone have this but cant find it no more
---
"SPEND IT" @ The Dog Pound
|
4/10/2004, 1:03 am
|
Link to post
Email Boxer
PM Boxer
AIM
|
spouzic
A Posting Machine
Runboard user emeritus
Registered: 04-2003
Location: Hell
Posts: 2803
Karma: 1 (+104/-103)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
Asking a question twice doesnt get it answered faster. The code is on the tips & tricks board. That board was made for discussion of these advanced options.
|
4/10/2004, 4:40 am
|
Link to post
Email spouzic
PM spouzic
AIM
MSN
Yahoo
Blog
|
Boxer
Regular poster
Registered: 08-2003
Location: The Jersey Dog Pound
Posts: 174
Karma: 6 (+8/-2)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
thanx for the wiseass coment I asked on both threads because this is for Premium members and the other is for everyone. I went to tips and tricks and that does not work as you can see on my forum. I am logged in and you still can see the login?
---
"SPEND IT" @ The Dog Pound
|
4/10/2004, 5:14 am
|
Link to post
Email Boxer
PM Boxer
AIM
|
spouzic
A Posting Machine
Runboard user emeritus
Registered: 04-2003
Location: Hell
Posts: 2803
Karma: 1 (+104/-103)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
Actually, I cant see anything because you havent supplied a link to your forum, which im not going to search for. I believe smackdown wrote the code and it works on his forum. http://com1.runboard.com/bakheva.fmainchat.t345
And it doesnt matter that this is premium and that is for everyone, pick one forum, post a question once.
Last edited by spouzic, 4/10/2004, 7:44 am
|
4/10/2004, 7:40 am
|
Link to post
Email spouzic
PM spouzic
AIM
MSN
Yahoo
Blog
|
Thor
Head Administrator
Runboard developer
Registered: 01-2003
Location: RB machine room
Posts: 4995
Karma: 232 (+275/-43)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
I suppose you'd have to do it through JS... I can't think of another way. (If I correctly understand what you want to do).
|
4/10/2004, 10:19 am
|
Link to post
Email Thor
PM Thor
ICQ
Yahoo
Blog
|
Smackdown5
Mr RunSearch
Runboard user emeritus
Registered: 07-2003
Location: UK
Posts: 8201
Karma: 259 (+412/-153)
|
Reply | Quote
|
|
Smack's Here With The Answer
The only way I have found to do it is via the custom language set.
The only downside is that it can not be used for private boards as the custom board language set strings used do not appear for private boards, although I believe with modification it may be possible to do it with some strings which do appear for private boards.
This is the string for the link to register a Runboard account and it appears at the top of the page when a user is not logged in. The default is 'Register for a free %1 account (%3) | Log in: %4 (%5), %6 (%7)'.
%1 = This is replaced by the string from Text ID 'misc_regacc_global'
%3 = This is replaced by the string from Text ID 'misc_regacc_learn'
%4 = This is replaced by the string from Text ID 'misc_regacc_locally'
%5 = This is replaced by the string from Text ID 'misc_regacc_lostpassword' with the link for local users wanting to recover lost passwords.
%6 = This is replaced by the string from Text ID 'misc_regacc_globally'
%7 = This is replaced by the string from Text ID 'misc_regacc_lostpassword' with the link for global users wanting to recover lost passwords.
Months ago I discovered the ability to put Runboard login boxes from the homepage in the board header. However the main problem was that after you logged in the boxes were still there. I have now devised a way to put the login boxes using custom language set in a way which they will disappear when the user is logged in. Due to the 200 character limit I have had to spread the code over several text IDs and have not been able to include the Text Id 'misc_regacc_lostpassword' in either example.
Example 1
This is the example for boards which dont have any local users. (Boards created since Thor disabled their creation)
Enter for the string 'misc_regacc'
%1 %3 <b>Login: </b><input type=text name=login value="" size="10">
<input type=password name=password value="" size="10"><input type="submit" value="Go">
Enter for the string 'misc_regacc_global'
<b>Signup</b></td></a><form method="post" action="http://com3.runboard.com/login"><td align="right"><span class="miscoptbar" >
NOTE: Remember to change the com3 to whatever server is used in your board url.
Enter for the string 'misc_regacc_learn'
<input type="hidden" name="submit" value="yes"><input type="hidden" name="warpmebackto" value="bkarlstestboard">
NOTE replace bkarlstestboard with your the board name in the boards url (dont forget the b part) This will ensure after login the user is directed back to your forum and not Runboard.com or their control panel.
Example 2
This is the example for boards which have local users aswell as global users.
Enter for the string 'misc_regacc'
%1 %3 <b>Login: </b><input type=text name=login value="" size="10">
<input type=password name=password value="" size="10">%4
<input type="submit" value="Go">
Enter for the string 'misc_regacc_global'
<b>Signup</b></td></a><form method="post" action="http://com3.runboard.com/login"><td align="right"><span class="miscoptbar" >
NOTE: Remember to change the com3 to whatever server is used in your board url.
Enter for the string 'misc_regacc_learn'
<input type="hidden" name="submit" value="yes"><input type="hidden" name="warpmebackto" value="bkarlstestboard">
NOTE replace bkarlstestboard with your the board name in the boards url (dont forget the b part) This will ensure after login the user is directed back to your forum and not Runboard.com or their control panel.
Enter for the string 'misc_regacc_locally'
<i>Locally? </i><input type="checkbox" name="board" value="karlstestboard">
NOTE replace karlstestboard with your the board name in the boards url (without the B)
Last edited by Smackdown5, 6/30/2004, 7:33 pm
|
4/10/2004, 9:18 pm
|
Link to post
PM Smackdown5
Blog
|
Alpha Centauri
Runboard user emeritus
Registered: 02-2004
Location: Athens, Hellas
Posts: 3895
Karma: 429 (+484/-55)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
Atta boy smack! Thanx pal...
|
4/10/2004, 9:48 pm
|
Link to post
PM Alpha Centauri
|
Boxer
Regular poster
Registered: 08-2003
Location: The Jersey Dog Pound
Posts: 174
Karma: 6 (+8/-2)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
thanx a bunch bro exactly what I was looking for
---
"SPEND IT" @ The Dog Pound
|
4/10/2004, 10:08 pm
|
Link to post
Email Boxer
PM Boxer
AIM
|
Rimmer
Registered: 04-2003
Location: Straylia
Posts: 9750
Karma: 471 (+519/-48)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
You've answered it pretty much exactly as I would have, smack.
Except my first sentence would have read "The only way I have found to do it is by asking smackdown5 what to do ..."
|
4/10/2004, 11:21 pm
|
Link to post
Blog
|
Lord seeker
Regular poster
Registered: 01-2004
Location: The Original
Posts: 50
Karma: -2 (+0/-2)
|
Reply | Quote
|
|
Re: adding a Login that's hidden
I would just like to add although perhaps it is not my place to do so...is that it is not nice to insult the ladies...
|
4/11/2004, 8:18 am
|
Link to post
Email Lord seeker
PM Lord seeker
|