| Author |
Message |
jipjoe

Joined: Jan 07, 2008
Posts: 3
|
Posted:
Mon Jan 07, 2008 1:06 am |
|
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. |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Mon Jan 07, 2008 2:44 pm |
|
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. |
| |
|
|
 |
jipjoe

Joined: Jan 07, 2008
Posts: 3
|
Posted:
Mon Jan 07, 2008 7:40 pm |
|
Awesome! Donation sent. Works great. BTW- any way to change the color of the text.
thanks |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Mon Jan 07, 2008 10:02 pm |
|
Thank You for the donation!
What text are you trying to change the color on? |
| |
|
|
 |
jipjoe

Joined: Jan 07, 2008
Posts: 3
|
Posted:
Tue Jan 08, 2008 10:58 am |
|
Hi there
The text in the scroller box, all of it.
thanks |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Jan 08, 2008 3:45 pm |
|
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;"> |
|
| |
|
|
 |
|
|