Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
jipjoe




Joined: Jan 07, 2008
Posts: 3

PostPosted: Mon Jan 07, 2008 1:06 am
Reply with quote

Hello,
I have successfully installed Forum Scroller installed on my site however I would like it to scroll only posts from one Category from my forum instead of the entire forum.
Is there a way to do this?
thanks ahead of time, BTW nice site
I promise a donation if this can be solved.
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Mon Jan 07, 2008 2:44 pm
Reply with quote

Hi, the first thing you need to do is find the category id, which you can see in the url by hovering over a category. I'll use the category id of 2 for this example, which points to my pHp-Nuke category.

In forums scroller file, find:
Code:
AND t.forum_id=f.forum_id AND f.auth_view=0



And change it to(replace the 2 with your own cat_id)
Code:
AND t.forum_id=f.forum_id AND f.auth_view=0 AND f.cat_id='2'


Save, upload, and let me know the result.
 
View user's profile Send private message Visit poster's website
jipjoe




Joined: Jan 07, 2008
Posts: 3

PostPosted: Mon Jan 07, 2008 7:40 pm
Reply with quote

Awesome! Donation sent. Works great. BTW- any way to change the color of the text.
thanks
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Mon Jan 07, 2008 10:02 pm
Reply with quote

Thank You for the donation!
What text are you trying to change the color on?
 
View user's profile Send private message Visit poster's website
jipjoe




Joined: Jan 07, 2008
Posts: 3

PostPosted: Tue Jan 08, 2008 10:58 am
Reply with quote

Hi there
The text in the scroller box, all of it.
thanks
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Jan 08, 2008 3:45 pm
Reply with quote

Find this line:
Code:
<div id="vmarquee" style="position: absolute; width: 98%;">


and add your color to the style like this:
Code:
<div id="vmarquee" style="position: absolute; width: 98%; color: #FF0000;">
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©