inherit
191814
0
Mar 16, 2014 14:50:31 GMT -8
Incompetent Egoist
Check out All Damned today!
309
March 2013
timeruinsalpha
|
Post by Incompetent Egoist on Jun 4, 2013 12:50:43 GMT -8
I was wondering if there is a possible way to make an ONLY image board. Where there is no description or anything. No last posted, new topic, or any of the information like that. I want the code be on specific boards, not all. My website is v4.5 so if there is a code, please tell me. I will also need to know how to get the width of the boards also to make the image fit. I haven't found a way to find the forum's width, nonetheless get the width of the boards. If you understand me please help me out on this.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jun 4, 2013 18:07:26 GMT -8
This might take moving some boards but the easiest way is to create a new category (will be your fake board), give it a title between bold tags. Example of (fake board) category name: [b]Category Title Here[/b] Then you need to make a real board, copy the link to the board and then hide the board. And then you'll need this code.... interoceandesigns.com/index.cgi?board=proboardcodedatabase&action=display&thread=343...to add the link to the real hidden board plus the image. So if you look at the code above you'll see a section you need to edit. Your edit would look like this: ["Category Title Here","<a href='http://yourboardlink.proboards.com'><img src='http://i41.yourimagelink.jpg'></a>"], The reason for the bold tags around your category name is because SubDevo's code looks for bolded titles. Oh also, when you add your board link and image link make sure you use single quotes and not double quotes or the code won't work.
|
|
inherit
191814
0
Mar 16, 2014 14:50:31 GMT -8
Incompetent Egoist
Check out All Damned today!
309
March 2013
timeruinsalpha
|
Post by Incompetent Egoist on Jun 5, 2013 11:28:28 GMT -8
Will this code do this? -> That is where I want the image to be. Instead of the one below it. Is that what I will get?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jun 5, 2013 17:58:39 GMT -8
Well, just to make sure I remembered the best way to do this, I set it up on a test site: putteraroundix.proboards.com/index.cgiBut IE is giving me difficulties, of course. I'm probably tired and not thinking so I'll come back to it. I did remember I need to make those images backgrounds and also you don't need the bold ubbc tags around the category name. Maybe it is the boards you need to do that to. Anyway, If you are willing to try it I'll explain how to do it. You are welcome to view my source if you are impatient. (I know when I want to figure something out, I don't want to wait). Got to go offline for a while.
|
|
inherit
191814
0
Mar 16, 2014 14:50:31 GMT -8
Incompetent Egoist
Check out All Damned today!
309
March 2013
timeruinsalpha
|
Post by Incompetent Egoist on Jun 5, 2013 20:27:07 GMT -8
Urmurgurd, thank you so much!
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jun 5, 2013 23:32:31 GMT -8
I figured out IE. I was just having a stupid moment. lol Now I hope this works for you as I don't know how many other codes you might have that would mess this up but it won't hurt to try. Just test one to start with to make sure all is o.k.
Now to do that, it is a bit different than what I said before. You still need Subdevo's code. In order to make those look nice we need to remove the margin and padding in all categories and then you'll need to do some simple css to put back the padding in the categories with just text.
So in your Global header add this:
<style> .catbg {margin:0px; padding:0px; } </style>
Now above SubDevo's code you'll need to start with this css and then add more css for each category as needed:
<style> .myC1{background-image:url('http://i41.tinypic.com/64mesp.jpg'); background-repeat: no-repeat; width:100%; height: 200px;margin:0px; } .myC2{background-image:url('http://i41.tinypic.com/64mesp.jpg'); background-repeat: no-repeat; width:100%; height: 200px;margin:0px; } .other_cats{ padding: 4px 4px 4px 6px; } </style>
In Subdevo's code it should look like this: (I have three categories named: Second, Third, Second Category)
["Second","<a href='http://linktohiddenboard.com'><div class='myC1'></div></a>"], ["Third","<a href='http://linktohiddenboard.com'><div class='myC2'></div></a>"], ["Second Category","<div class='other_cats'></div>"]
Now for each category you want a different image in, (if you do) you'll need to add new CSS with a new class title. Notice my classes are .myC1 and .myC2 so the next one could be .myC3.
Then you'll need to add those to Sub's code. For all the categories that will have just text you'll need to add those in to the code as well but you can just use the same div in blue.
Hopefully, I didn't confuse you too much.
|
|
inherit
191814
0
Mar 16, 2014 14:50:31 GMT -8
Incompetent Egoist
Check out All Damned today!
309
March 2013
timeruinsalpha
|
Post by Incompetent Egoist on Jun 6, 2013 10:58:03 GMT -8
I put the code in, this is what I have. ->
<style> .myC1{background-image:url('http://i41.tinypic.com/64mesp.jpg'); background-repeat: no-repeat; width:100%; height: 200px;margin:0px; } .myC2{background-image:url('http://i41.tinypic.com/64mesp.jpg'); background-repeat: no-repeat; width:100%; height: 200px;margin:0px; } .other_cats{ padding: 4px 4px 4px 6px; } </style>
<style> .catbg {margin:0px; padding:0px; } ["Second","<a href='http://linktohiddenboard.com'><div class='myC1'></div></a>"], ["Third","<a href='http://linktohiddenboard.com'><div class='myC2'></div></a>"], ["Second Category","<div class='other_cats'></div>"] </style>
Is this right?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jun 6, 2013 13:02:08 GMT -8
No, that second part is not css. In SubDevo's code you'll see this part (blue) that you need to edit: (Read the instructions that comes with the code)
var n=[ ["Topics","Threads"], ["Posts","Posts"] ];
So this line... ["Topics","Threads"],
becomes this.... ["Second","<a href='http://linktohiddenboard.com'><div class='myC1'></div></a>"],
This goes in your global header but you can add it to existing css you might have there: <style> .catbg {margin:0px; padding:0px; } </style>
|
|
inherit
191814
0
Mar 16, 2014 14:50:31 GMT -8
Incompetent Egoist
Check out All Damned today!
309
March 2013
timeruinsalpha
|
Post by Incompetent Egoist on Jun 6, 2013 13:59:03 GMT -8
I don't have that in the code though. I'm sorry if I'm being difficult, just not getting your drift. ~sigh~
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jun 6, 2013 17:33:35 GMT -8
It's o.k. In my first post to you I gave you a link to the code you'll need. That code has that part in it.
|
|