Runboard.com
Слава Україні!



🙂       Use the black navigation bar to log in or create your account.

Jump to Page:  1  2  3  4  5 

 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

Citizen

Registered: 03-2005
Province: Looking for my brain...
Posts: 592
Karma: 8 (+8/-0)
ReplyQuote
Re: Quick Login code



Lesigner Girl said:

Moose, why didn't you mention that I had forgotten to explain how I get the form to disappear when someone is logged in? emoticon




Maybe cause I forgot to read your whole code and nothing but the code
 emoticon

Oh, you have aposticon missing emoticon

---
~ Quickly, I must hurry, for there go my people and I am their leader ~
5/23/2006, 11:41 am Link to this post PM The Mooseman
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

Minerva
Head of Runboard staff

Registered: 11-2005
Posts: 9606
Karma: 132 (+147/-15)
ReplyQuote
Re: Quick Login code


A posticon was missing? Maybe that imageshack server was down. Or did you mean something else? emoticon

I guess I forgive you for not pointing out my boo boo. emoticon emoticon I just hope I didn't screw anyone up by forgetting it. emoticon

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
5/24/2006, 3:33 am Link to this post PM Lesigner Girl Read Blog
 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

Citizen

Registered: 03-2005
Province: Looking for my brain...
Posts: 592
Karma: 8 (+8/-0)
ReplyQuote
Re: Quick Login code


All good now......and I didnt even wake up at night emoticon

---
~ Quickly, I must hurry, for there go my people and I am their leader ~
5/24/2006, 11:39 am Link to this post PM The Mooseman
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

Minerva
Head of Runboard staff

Registered: 11-2005
Posts: 9606
Karma: 132 (+147/-15)
ReplyQuote
Re: Quick Login code


That's good to hear. emoticon

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
5/25/2006, 6:27 pm Link to this post PM Lesigner Girl Read Blog
 
MeRcChRiS Profile
Live feed
Blog
Friends
Miscellaneous info

Citizen

Registered: 05-2006
Posts: 1
Karma: 0 (+0/-0)
ReplyQuote
Re: Quick Login code


This is a pretty sweet code!

---

5/29/2006, 7:23 pm Link to this post PM MeRcChRiS AIM MSN Read Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

Minerva
Head of Runboard staff

Registered: 11-2005
Posts: 9606
Karma: 132 (+147/-15)
ReplyQuote
Re: Quick Login code


Thanks, MeRcChRiS! emoticon

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
5/30/2006, 12:33 am Link to this post PM Lesigner Girl Read Blog
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Citizen

Registered: 07-2005
Province: Texas
Posts: 619
Karma: 11 (+12/-1)
ReplyQuote
Re: FAQ: Login box and logout link, hidden when not needed



Lesigner Girl said:
For instance, if you have a one-row table with a link in each table cell, you'll want to add that class name to the <td> containing the logout link. Example:

<table><tr>
      <td>link</td>
      <td>link</td>
      <td class="logout"><a href="/logout">Logout</a></td>
      <td>link</td>
</tr></table>

That last example will make the cell containing the link disappear, including the link inside it.

If you have any trouble with this or have any questions, you can ask in a reply to this thread. emoticon

Edited to improve code



Hi Lesigner Girl,

I don't understand tables but the "one-row table" sounds like the answer James and I have been looking for with Near The Cross. Currently we only have a Google Search box and your Logout link centered above the message board area but it would be nice to have four cells(?) side by side so we could get a couple of other things in place... Since the board already has tables in it would this still be possible?


---

Advertise Boards On TRDConceptsDE
10/11/2006, 12:05 am Link to this post PM Pastor Rick Read Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

Minerva
Head of Runboard staff

Registered: 11-2005
Posts: 9606
Karma: 132 (+147/-15)
ReplyQuote
Re: FAQ: Login box and logout link, hidden when not needed


Yes, it's definitely possible. emoticon If you want the logout link to be in one of those four cells, leaving the table at 3 cells for people who are already logged out, change this:

<a class="logout" href="/logout">Logout</a>

To this:

<table><tr>
<td><a href="___">TEXT</a></td>
<td><a href="___">TEXT</a></td>
<td><a href="___">TEXT</a></td>
<td class="logout"><a href="/logout">Logout</a></td>
</tr></table>


I gave the "logout" class to the whole <td> which contains the logout link, so the whole table cell will disappear along with anything inside it (the logout link) when someone is not logged in.

Replace ___ with the appropriate urls, and TEXT with the appropriate link text.

If you don't want the logout link to be last, just rearrange the <td>...</td> lines.


For future reference, the basic table structure:

Every table starts with <table> and ends with </table>.

tr = table row. <tr> starts one row and </tr> ends it.
td = table data, aka table cell.

For a two-row table with 3 columns:
<table>
<tr><td>content</td><td>content</td><td>content</td></tr>
<tr><td>content</td><td>content</td><td>content</td></tr>
</table>

You can define stuff in the <table>, <tr>, and <td> tags themselves (just as I added a class to one of the <td>s above), but that is the basic structure of a table.&nbsp; I hope this helps! emoticon

Last revised by Lesigner Girl, 10/11/2006, 2:08 am


---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
10/11/2006, 2:02 am Link to this post PM Lesigner Girl Read Blog
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Citizen

Registered: 07-2005
Province: Texas
Posts: 619
Karma: 11 (+12/-1)
ReplyQuote
Re: FAQ: Login box and logout link, hidden when not needed


Hi,

I have noticed that when you are logged in and you post a new message the "log in" box shows up... anyway to fix it?

Just in case you need to see it the code is on James board Near The Cross


---

Advertise Boards On TRDConceptsDE
11/19/2006, 4:12 am Link to this post PM Pastor Rick Read Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

Minerva
Head of Runboard staff

Registered: 11-2005
Posts: 9606
Karma: 132 (+147/-15)
ReplyQuote
Re: FAQ: Login box and logout link, hidden when not needed


Hi Pastor Rick emoticon

I forgot all about that when I fixed it here at the Temple. Since there is no Control Panel link on the posting screen, the <body> doesn't take on the id of "logged_in". Therefore, <body id="logged_in"> has to be added into either the Posticon header or the Clickable Smileys header, which are two things that can only appear when someone is logged in.

So, in your CLS add <body id="logged_in"> to either
msgform_clickable_smilies ~or~ msgform_choose_a_posticon

I'll edit my initial post and add this instruction to it. Thanks for pointing it out. emoticon

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
11/19/2006, 2:29 pm Link to this post PM Lesigner Girl Read Blog
 


Add to this discussion

Jump to Page:  1  2  3  4  5 



You are not logged in (login)
Back To Top

This board's time is GMT.