Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Editing "recent forum posts" widget
Avatar
some_guy
Guest
Guests
Feb 23, 2012 - 5:06 am

Hi Mr. Papa,

 

Yes, but coding in the widget has changed and resulted in different text.

Before 5.0, the title in the recent forum post widget showed as black, while the details (posted in/ by) were grey. After downloading 5.0, the TFAUD titles show as grey, while their details display as black. I'd like the details to be grey again so they don't scream so loud.

 

Hope this makes sense,

 

John

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 23, 2012 - 5:24 am

The widget/tag code does not, and never has, specifed any colours whatsoever. This is inherited from your WP theme. if you want to change these then you will need to add the CSS required to your Wp theme.
If you look in the template tags SP pluign folder /library/sp-RecentPosts-tag.php file - which is what displays the results - you will see the classes listed at the top of the function. These are the classes that will need to have your own specific styling added.

andy-signature.png
YELLOW
SWORDFISH
Avatar
some_guy
Guest
Guests
Feb 23, 2012 - 6:35 am

I see the problem,

 

The forum and the topic are both links, hence they are displaying the same. Can we remove the forum link while keeping the topic link like in previous versions? It seems that's the only combination missing (separate links to topic and forum "forum", all link to the topic "all", and no links "   " are all there).

 

I don't think I can code these separately in my css.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 23, 2012 - 7:16 am

You have the option in the display order to show what you like.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 7:20 am

you want the forum link and the topic link to be different colors? odd, but doable...

in the widget options, there is a before forum text and before topic text...  add in some sort of span with a class you can style... ie

<span class='spForumLink'> or <span class='spTopicLink'>

and then close it in the after forum and after topic text...

</span>

then style the .spForumLink and .spTopicLink how you want...  untested but should work...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625