The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Latest topics.

View previous topic View next topic Go down

Solved Latest topics.

Post by jo3ri132 on November 5th 2013, 4:36 pm

Hi all,

I was wondering if its possible to create a sliding sidebar like the latest topics for a selected forum only.

With sliding sidebar is mean this:


Than I would like to choose one of my forums and only let the topics from that slide.

Is this possible?

Thanks

jo3ri132
Forumember

Posts : 35
Reputation : 1
Language : Nederlands

Back to top Go down

Solved Re: Latest topics.

Post by Ange Tuteur on November 5th 2013, 6:16 pm

Hello jo3ri132,

I believe this will help you with creating a widget for only a sub forum: Last Topic of Sub Forum

For making the content slide..I believe this should work:
Code:
<marquee behavior="scroll" scrollamount="3" direction="up">Scroll Content</marquee>

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Latest topics.

Post by jo3ri132 on November 7th 2013, 1:30 pm

SethC1995 wrote:Hello jo3ri132,

I believe this will help you with creating a widget for only a sub forum: Last Topic of Sub Forum

For making the content slide..I believe this should work:
Code:
<marquee behavior="scroll" scrollamount="3" direction="up">Scroll Content</marquee>
Hi there,

Thanks alot for the help it worked though I would like some more things to it.

This is what it looks like now:


Now I would like to add 2 things to this:

When I put a higher number at the scroll amount it will fasten and when I put a lower amount it becomes slower.
I Really like it to go a little slower so I tried making it a number less than 4. But if I make the number less as 4 not all topics come anymore? any fix for this?

Also I would like to have the topics with a little empty space between cause now they are really close on to each other and its very hard to read.

I hope you understand,

Joeri

jo3ri132
Forumember

Posts : 35
Reputation : 1
Language : Nederlands

Back to top Go down

Solved Re: Latest topics.

Post by Ange Tuteur on November 7th 2013, 7:33 pm

Okay I've adjusted the marquee some, and also added the ID for the topics into it, so just overwrite the old widget if you wish.

Code:
<marquee id="newsareal1" scrolldelay="90" scrollamount="2" direction="up" onmouseover="this.stop();" onmouseout="this.start();"> </marquee>
On mouse over it should stop the topics, and on mouse it they'll scroll again. I also added scroll delay in(delay between scrolling).

First time I've used marquee and its driving me nuts. Sometimes all of the content scrolls correctly and then the next time it just snaps and cuts the rest of the content out. See if it works correct for you.

Anyway, I think your version is phpbb2? Try this to add spacing for the topics:
Administrations Panel > Display > Pictures and color > Colors > CSS stylesheet
Code:
#newsareal1 div.topictitle{
display:block;
padding-bottom:3px;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Latest topics.

Post by jo3ri132 on November 7th 2013, 9:42 pm

SethC1995 wrote:Hello jo3ri132,

I believe this will help you with creating a widget for only a sub forum: Last Topic of Sub Forum

For making the content slide..I believe this should work:
Code:
<marquee behavior="scroll" scrollamount="3" direction="up">Scroll Content</marquee>
Hi there,

I applied everything and mostly it works fine.

The only thing that doesnt work though is that if the topics hit the top they stop and reset the same list.

I would like to see that the topic dissapear at the top and after a while start to come from the bottom again. You have any idea how to do this?

jo3ri132
Forumember

Posts : 35
Reputation : 1
Language : Nederlands

Back to top Go down

Solved Re: Latest topics.

Post by Ange Tuteur on November 7th 2013, 10:23 pm

Hmm..unfortunately no, for some reason the marquee seems to be very unpredictable with this. Sometimes it recognizes the text as a giant block, and other times it doesn't and works correctly.

I went and designed a different display method I hope you'll find useful.

We'll need to get rid of marquee and just use this for the widget:
Code:
<div id="newsareal1"> </div>
Then add this CSS to your stylesheet:
Code:
#newsareal1 div.topictitle{
display:block;
padding-top:3px;
font-size:9px;
border-bottom:1px solid #fff;
}
#newsareal1{
height:180px;
width:170px;
overflow-y:auto;
}
#newsareal1 div.topictitle > h2 > a.topictitle{
font-weight:normal;
}
The result should be a scrollable topic box:


I'm kinda digging this one more than the one I have now

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Latest topics.

Post by jo3ri132 on November 8th 2013, 12:58 am

SethC1995 wrote:Hmm..unfortunately no, for some reason the marquee seems to be very unpredictable with this. Sometimes it recognizes the text as a giant block, and other times it doesn't and works correctly.

I went and designed a different display method I hope you'll find useful.

We'll need to get rid of marquee and just use this for the widget:
Code:
<div id="newsareal1"> </div>
Then add this CSS to your stylesheet:
Code:
#newsareal1 div.topictitle{
display:block;
padding-top:3px;
font-size:9px;
border-bottom:1px solid #fff;
}
#newsareal1{
height:180px;
width:170px;
overflow-y:auto;
}
#newsareal1 div.topictitle > h2 > a.topictitle{
font-weight:normal;
}
The result should be a scrollable topic box:


I'm kinda digging this one more than the one I have now
Thanks again,

The widget works fine now, but I go from the like homepage of my forum and go to a subforum the topics in it will dissapear. I would like to see the topics wherever I go is this possible?

jo3ri132
Forumember

Posts : 35
Reputation : 1
Language : Nederlands

Back to top Go down

Solved Re: Latest topics.

Post by Ange Tuteur on November 8th 2013, 1:04 am

Did you make sure to enable the script in all pages?


Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Latest topics.

Post by jo3ri132 on November 8th 2013, 6:18 pm

SethC1995 wrote:Did you make sure to enable the script in all pages?

Thanks a lot!

You trully made my forum a lot better than it was!

If I can ever be off your help please tell me !

jo3ri132
Forumember

Posts : 35
Reputation : 1
Language : Nederlands

Back to top Go down

Solved Re: Latest topics.

Post by SLGray on November 8th 2013, 7:37 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum