Runboard.com
You're welcome.
Runboard Extra Chat Room Support Search Facebook

Runboard.com       Sign up learn about it | Sign in lost password?

Page:  1  2  3  4 

 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

 

Head of Runboard staff

Registered: 11-2005
Posts: 1895
Karma: 83 (+86/-3)
Reply Quote
Re: Adding Content to the Access Denied Pages


Happy New Year, Drizzt. emoticon

In this CSS Rick posted:

quote:

.application {display: block; width:50%; margin: 1% auto; padding:3px; border: 3px double; border-color: #ddd #bbb #bbb #ddd; background: #f9f9f9; text-decoration:none; color:#000;}



The part I made big is where you would change the color of the font. He used a 3-digit hex code here, but you can use 6 digits. For red, you could use something like #f00 or #c00.

To change the size of the font, you can add font-size: 14px; or whatever size you want to make it.

If you'd like, you can also add font-weight: bold;

If you want to change the background color, change it where you currently see background: #f9f9f9; in Rick's CSS. #ffc would give you a pale yellow.

Whatever you add, just be sure to put it before the }.

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
1/1/2010, 6:22 pm Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
Frilly Profile
Live feed
Blog
Friends
Miscellaneous info

 


Registered: 02-2009
Location: Eastern Victoria (Australia)
Posts: 3
Karma: 0 (+0/-0)
Reply Quote
Re: Adding Content to the Access Denied Pages


Can you make this that the closed forums can each have different wording.

We have some closed forum that require different levels of posting in order to gain access to those area's

---

3/8/2010, 2:50 am Link to post Email Frilly   PM Frilly Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

 

Head of Runboard staff

Registered: 11-2005
Posts: 1895
Karma: 83 (+86/-3)
Reply Quote
Re: Adding Content to the Access Denied Pages


You can have a different application message in each restricted forum, but only if you use an entirely different method that uses nothing but CSS and images.

Every "No access" page (and only that page) has this HTML in it:

<p id="access_denied_go_back_to_board">
<a href="/byourboardid">Go back to the forum list</a>
</p>

You can use this id to display a background image, as well as the forum-specific id to display it in one specific forum.

First, you make your image that has the text of your message on it.

To get the ID of a particular forum, get it from the forum's address. The address to the "New" forum at this board is http://www.runboard.com/brunboardextra.f11. The id for this forum, then, is ak_forum_11, which is targeted with #ak_forum_11 in the CSS.

Following that, we add the ID that surrounds the "Go back to the forum list" link, which is access_denied_go_back_to_board. Since this is also an ID, we use #access_denied_go_back_to_board to target it in the CSS.

#ak_forum_11 #access_denied_go_back_to_board { }

The above says, "In ak_forum_11, find the access_denied_go_back_to_board id, and do anything that is defined between { and }."

Now, to add those definitions. Let's say the image with your message is 300px wide by 200px tall. We need to accommodate this background image by making the invisible box around it at least that big.

#ak_forum_11 #access_denied_go_back_to_board {
   width: 300px; height: 200px;
}


You'll also need to add the background image itself:

#ak_forum_11 #access_denied_go_back_to_board {
   width: 300px; height: 200px;
   background: url(URL_TO_IMAGE) center no-repeat;
}


By default, the link will appear at the top of that element, which contains the background image. If you wish, you can make the box taller than the image and position the background at the bottom of that box so the link isn't in front of it:

#ak_forum_11 #access_denied_go_back_to_board {
   width: 300px; height: 230px;
   background: url(URL_TO_IMAGE) center bottom no-repeat;
}


...or you can absolutely position that link so it's at the bottom of the image, and put the image at the top of the box instead. If you'd like to know how to do that, just let me know. emoticon

Last edited by Lesigner Girl, 3/8/2010, 4:54 pm


---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
3/8/2010, 4:50 pm Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
Frilly Profile
Live feed
Blog
Friends
Miscellaneous info

 


Registered: 02-2009
Location: Eastern Victoria (Australia)
Posts: 3
Karma: 0 (+0/-0)
Reply Quote
Re: Adding Content to the Access Denied Pages


Oh I think I may need more than one cup of coffee and 10 mins for that one.


Thanks LG I will be back.......

to read again and again and again and when I think I understand it I will read it again and then see what I can do.

 emoticon emoticon emoticon

---

3/9/2010, 1:51 am Link to post Email Frilly   PM Frilly Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

 

Head of Runboard staff

Registered: 11-2005
Posts: 1895
Karma: 83 (+86/-3)
Reply Quote
Re: Adding Content to the Access Denied Pages


No worries, Frilly. emoticon If you give me a link to an image and tell me which forum you want it in, I can give you the exact CSS for it. emoticon

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
3/9/2010, 8:31 am Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
Frilly Profile
Live feed
Blog
Friends
Miscellaneous info

 


Registered: 02-2009
Location: Eastern Victoria (Australia)
Posts: 3
Karma: 0 (+0/-0)
Reply Quote
Re: Adding Content to the Access Denied Pages


 emoticon

Thanks LG..............
watch this space
I will get back to you
 emoticon

---

3/11/2010, 11:30 am Link to post Email Frilly   PM Frilly Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

 

Head of Runboard staff

Registered: 11-2005
Posts: 1895
Karma: 83 (+86/-3)
Reply Quote
Re: Adding Content to the Access Denied Pages


You're welcome, Frilly. emoticon

I'll keep an eye out. emoticon

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
3/11/2010, 11:31 pm Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

 


Registered: 07-2005
Location: Texas
Posts: 395
Karma: 51 (+55/-4)
Reply Quote
Re: Adding Content to the Access Denied Pages


quote:

Pastor Rick wrote:

Yes, I had 5 pages going when I posted that.

Problems discovered with no current fix:
1. Subscribe to...
2. Karma... (both Applaud and Smite)

In all three of those cases the message is part of the main Runboard program (generated message) with no way to target them that I can think of.



Just thought... the board owner can turn off the karma game so that just leaves the "subscribe to" page... yup, I really still work on this as time allows...

Last edited by Pastor Rick, 7/28/2011, 8:34 pm


---

Advertise Boards On TRDConceptsDE
7/28/2011, 8:34 pm Link to post Email Pastor Rick   PM Pastor Rick Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

 

Head of Runboard staff

Registered: 11-2005
Posts: 1895
Karma: 83 (+86/-3)
Reply Quote
Re: Adding Content to the Access Denied Pages


I hope we can offer a real solution for this eventually, rather than having to hack what we have.

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
7/28/2011, 8:40 pm Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

 


Registered: 07-2005
Location: Texas
Posts: 395
Karma: 51 (+55/-4)
Reply Quote
Re: Adding Content to the Access Denied Pages


I agree that would be better... In the short-term though, now that we have RSS if the "subscribe to" and "karma game" are turned off this gives us a transparent work-a-round...

My thought there is to edit the miscoptbar and CLS to remove the "subscribe to" link and replace it with the "RSS link." If I just had a 25 hour day I could post that solution ideas codes now... *sigh*

Last edited by Pastor Rick, 7/29/2011, 3:00 pm


---

Advertise Boards On TRDConceptsDE
7/29/2011, 2:55 pm Link to post Email Pastor Rick   PM Pastor Rick Blog
 


Reply

Page:  1  2  3  4 





You are not logged in (login)