|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
Joined: Apr 2002
Posts: 474 |
How do I implement a sidebar like on this forum?
|
|
|
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
Up at the top of the screen, in our Database menu, go to Tutorials > Design Tutorials, and there is (or should be) a tutorial about it.
---Jamin
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
|
Joined: Dec 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 7 |
affraid it isnt... i'd like one as well if someone can point me in the right direction
|
|
|
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
In the Header field of your Style templates, insert: quote:
In the Footer field: quote:
|
|
And of course replace BORDERCOLOR, TITLEBGCOLOR and MAINBGCOLOR with their appropriate values, and CONTENT with your actual content.
---Jamin
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
|
Joined: Jul 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 6 |
We formatted as you said Jamin, there's only one problem. When visitors create threads with over 50 pages of replies (you can see some threads here at ubbdev do the same), the whole page is pushed over making everything extremely wide.
I guess what I'm asking is, why don't the page numbers go underneath each other when the line gets too long? Is there any ways to get around that?
Thanks.
Mirko
|
|
|
|
Joined: Jul 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 6 |
Just wondering if anyone was interested in helping out with this?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
There's a nobr for that line.. you might either wanna edit that out or install the pagination modification like we have here.
|
|
|
|
Joined: Jul 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 6 |
quote: Originally posted by AllenAyres: There's a nobr for that line.. you might either wanna edit that out or install the pagination modification like we have here.
Rock on Allen, that pagination mod is sweet!
|
|
|
|
Joined: Jun 2002
Posts: 5
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 5 |
Yes, all turned out to be much simply. But I am very interested, as I can use SSI in sidebar? Or may be, there is other way to force to work other CGI-scripts? p.s Sorry for my english, i am russian 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
welcome You can use javascript to include text, javascript, etc in a sidebar 
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Is it possible to use shockwave elements in the header and footer?
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
And, how is it different if I want the sidebar on the left instead of the right?
|
|
|
|
Joined: Jun 2002
Posts: 5
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 5 |
2 AllenAyres Thank's, I shall try.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I've been looking for some code for a sidebar. I will try out later. 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
quote: Originally posted by Junethesis: And, how is it different if I want the sidebar on the left instead of the right?
All the code goes into the header field.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Thanks. I tried that and was getting strange results, but I abandoned the idea because my left bar required ASP coding. I don't think it's possible without frames if ASP is involved.
|
|
|
|
Joined: Jul 2002
Posts: 49
Member
|
Member
Joined: Jul 2002
Posts: 49 |
mine works like a charm thanks jamin.... mines on the right and it didnt need any asp at all
|
|
|
|
Joined: Aug 2002
Posts: 19
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 19 |
It'd be all good if someone could tell me how to join the header to the sidebar. Like, so it has a bar going from the top left to the bottom right, around the actual UBB, like yuou often see on sites.
- [JoKer]
|
|
|
|
Joined: Aug 2002
Posts: 19
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 19 |
It'd also be good if you could tell me how to join it at the bottom as well.
- [JoKer]
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Check the design tutorial as mentioned in the second post in this thread 
|
|
|
|
Joined: Aug 2002
Posts: 19
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 19 |
That, er, hasn't helped a great deal. I know how to do top, bottom, left and right bars, but how would I go about joining the right bar to the top and bottom ones?
- [JoKer]
|
|
|
|
Joined: Sep 2002
Posts: 26
Junior Member
|
Junior Member
Joined: Sep 2002
Posts: 26 |
Hey All,
Also looking to integrate a sidebar on my board but I don't quite understand the instructions by Jamin. Sorry for the ignorance but cannot find "Style templates" to insert the code above.
Can someone be more specific as to the location of the file to add this code.
Thank you so much!
|
|
|
|
Joined: Sep 2002
Posts: 26
Junior Member
|
Junior Member
Joined: Sep 2002
Posts: 26 |
figured it out...
Thx anyway.
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
Ok Im going Nuts here...... I did the right hand side menubar and everything was perfect. But of course , the feel of having a right side menu is awkward. So I followed the intructions from jas to pull all the codes in the header for a left side menubar. The menubar comesup perfect, its the messageboard that is messed up. It shows up on the bottom of the menubar, leaving a big blank space to the right of the menu. I spent some time moving things around and never seem to get it right. What did i do wrong? Maybe someone can post the right sided codes so i dont assume i did it right... www.nakkc.org/ultimatebb.cgi
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
You can fix most all html bugs here: http://validator.w3.org/ It sounds like you are either closing the right column too many times or you forgot to re-open the td for your forum it's : left column | forum | (greatly simplified) 
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
OMG Tons of stuff to fix, time to read up on what half these errors mean lol!
ARGH! I give up on this....
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
post a link and I'll assist you in getting it straight.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
arghhh... I see what you mean Do me a huge favor and take your header and footer, paste it into a text file with the header up top and post a link to it here... this is something fixable 
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
there is 2 set in there, top one is the current one running, and the one on bottom is the left side menu that never worked right.... My Header and Footer Thanks again for your time...
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
which one do you want to use? I can do either 
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
If you can get it working, i want a LEFT menubar
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
you file is corrupted, all I get is gibberish, like it's in binary and not ascii. Can you try once more, this time with just the header/footer you want done?
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
ok file updated and forced an ascii upload.... My header and footer
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
not sure what's happening, but this is what I am seeing when opening the file: ‹‹ bah, it won't even paste in here ok, set one forum at your site with this header and footer and I'll do a view source on it and copy it myself 
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
let me see if i can paste it here...
[edit]Removed to keep this page looking nice....
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
that should help me how did you want your layout? left column | forum ?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
couple things jump out immediately.
Your style stuff at the top should go into your headerinsert.
It looks like you switched your header and footer code - moving one to the other.
You open tables in the header and close them in the footer, you have it backwards here. You start your header with a | and end it with several
You open your footer with a when you should be closing the td from the header.
In other words, you moved your column from the right to the left just by switching your header and footer code, It doesn't quite work that way You've got to open the overall table in the header still and close it in the footer.
Check out this for some background:
https://ubbdev.com/db/ultimatebb.php?ubb=get_topic;f=15;t=000001
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
Thanks for link, used the source from the left side menu, and then i cheated and threw it into dreamweaver to hash it all out. Its all working now... Just need to fix all the remaining bugs that was found with that verifier you have me addicted to.... only like 98235623 more errors to try to figure out .... thanks again Allen
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
do you have it up? I can look at it as well
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
My site is at www.nakkc.org/cgi-bin/ultimatebb.cgi Now to tackle all them errors listed at http://validator.w3.org Im gonna cry... Hopefully fixing all this will cure my topic page problem with that big purple box, that gets bigger as the thread gets larger.. PS: Allen, Dont u ever SLEEP??? 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|