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





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

 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

 

Head of Runboard staff

Registered: 11-2005
Posts: 1895
Karma: 83 (+86/-3)
Jump-to-page box


With the following code, you can put in a box where people can type in a number and go to that page, and it will work for the topic list and the post list. emoticon


Layout/colors > Customize CSS:

#jumpto { margin: 5px 0 0 auto; width: 150px; height: 18px; display: block; border: 0; background: none; }

This CSS will put the styling in place, so the iframes will look good when you put them in.


Important: If you have a premium board, you should look at this part of your board's miscellaneous settings before you go any further.

quote:

How many topics to display per page (premium boards only).
Min: 1, max: 50, 0 = default (20)

How many posts to display per page (premium boards only).
Min: 1, max: 30, 0 = default (10)



Take note of how many topics and posts you display per page, because these numbers are very important to make sure this script will take people to the right page.

Free boards will have 20 topics and 10 posts per page.

Premium boards will have 20 topics and 10 posts if you have '0' in both of those fields. If you have any other numbers in those fields, you'll need to use those numbers instead of the big, red, underlined, bolded numbers in the HTML I'll be posting below.


Custom Language Set

There are 3 RSS fields in your Custom Language Set: 1 for the board, one for forums, and one for topics. We'll be using two of those fields: The one for forums and the one for topics.



topic_list_rss

<a href="%1">RSS</a><br />
<iframe id='jumpto' src='//rb.lesigns.com/jumpto.php?link=%1&num=20&font=000000' allowtransparency='true' frameborder='0'></iframe>


post_list_rss

<a href="%1">RSS</a><br />
<iframe id='jumpto' src='//rb.lesigns.com/jumpto.php?link=%1&num=10&font=000000' allowtransparency='true' frameborder='0'></iframe>

Remember: It's very important that you correctly specify how many topics and posts your board displays per page, otherwise the jump-to box won't take people where they want to go.

In case you already have an image in that box and can't fit all of this new code in, allowtransparency='true' and frameborder='0' are optional, although it might not look as good in older versions of Internet Explorer if you leave them out.

One last bit of styling: If you want the text to be black, you can actually leave out the &font=000000. Otherwise, you can change this to whatever color text you want. If that part of your board has a dark background, you'll definitely want to change this to a light-colored text so it will show up.

Last edited by Lesigner Girl, 5/22/2017, 9:16 pm


---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
4/25/2012, 12:46 am Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

 

Head of Runboard staff

Registered: 11-2005
Posts: 1895
Karma: 83 (+86/-3)
Re: Jump-to-page box


Jump-to box in member list

Same as the other two jump-to boxes, but this one shows at the bottom of your member list and uses a different file.

Thanks to Susa for coming up with this idea.

Note: You should probably try this on a test board before putting it on your real board.

If you want to add a jumpto box to the member list, go to your custom language set and find:

memberlist_link_back_to_board

Before everything that is in there, add this:

<iframe frameborder='0' id='jumpto' src='//rb.lesigns.com/jump.php?id=boardid'></iframe>

Change boardid to the ID of your board, without the 'b'. For example, this board would be runboardextra.

You might need to remove a couple of <br />s to make this fit in your custom language set, which will remove some of the space above your 'Back to board' link. If you want to add some of this space back in, you can push it back down via CSS.

If you already have the other two jumpto boxes, this one should already be styled. Otherwise, add the CSS as explained in the post above this one.

Last edited by Lesigner Girl, 5/22/2017, 9:17 pm


---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
1/31/2013, 5:36 am Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 


You are not logged in (login)