Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

November 27, 2022, 02:00:03 AM

Login with username, password and session length
Members
  • Total Members: 3853
  • Latest: tty456
Stats
  • Total Posts: 193612
  • Total Topics: 21103
  • Online today: 64
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 2
Guests: 60
Total: 62

Author Topic: [Discussion] Recent topics table with hover over previews.  (Read 87462 times)

0 Members and 1 Guest are viewing this topic.

Online lurkalot

  • Administrator
  • *
  • Posts: 7415
    • Camera Craniums
Re: [Discussion] Recent topics table with hover over previews.
« Reply #160 on: August 26, 2012, 10:28:29 AM »
A question for Freddy, or anyone else who can help me. ;)

I'm using this block at the bottom of both my sites, which works great for my main site and testsite when using the SMF default theme.

But if you use a dark theme, like the one on my new site,  http://guitaristguild.com  the titles above each column are the wrong colour and get lost in the background.  Any ideas how I can change these please?  Need them to be white.  See it at bottom of page. ;)

Offline Maxx1

  • Sr. Member
  • ****
  • Posts: 352
  • Learning To Fly
    • SMF Theme & Portal Testing
Re: [Discussion] Recent topics table with hover over previews.
« Reply #161 on: August 26, 2012, 12:36:25 PM »
OK bro in your index.css find this and change the color comment from #444444 to #FFFFFF:

Code: [Select]
.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td {
    background: url("../images/theme/main_block.png") no-repeat scroll -10px -200px transparent;
    color: #444444;   <!--- this color code to #FFF -->
    font-size: 1em;
    font-weight: normal;
}

looking good bro!

regards,
maxx
But Mama, That's Where all the fun is!

Online lurkalot

  • Administrator
  • *
  • Posts: 7415
    • Camera Craniums
Re: [Discussion] Recent topics table with hover over previews.
« Reply #162 on: August 26, 2012, 12:55:22 PM »
OK bro in your index.css find this and change the color comment from #444444 to #FFFFFF:

Code: [Select]
.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td {
    background: url("../images/theme/main_block.png") no-repeat scroll -10px -200px transparent;
    color: #444444;   <!--- this color code to #FFF -->
    font-size: 1em;
    font-weight: normal;
}

looking good bro!

regards,
maxx

Thanks Maxx, that fixed it.  O0  I looked at that code this morning in firebug, and even changed it on the fly to preview the changes, which did work.  Then I went to edit the actual css file and the code is different from what firebug shows.  That gave me a headache. lol..

This is my code

Code: [Select]
.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td

{

color: #FFF;

font-size: 1em;

font-weight: normal;

background: url(../images/theme/main_block.png) no-repeat -10px -200px;

}

Offline Maxx1

  • Sr. Member
  • ****
  • Posts: 352
  • Learning To Fly
    • SMF Theme & Portal Testing
Re: [Discussion] Recent topics table with hover over previews.
« Reply #163 on: August 26, 2012, 01:10:18 PM »
It happens Bro!

Glad you got it!

regards,
Maxx
But Mama, That's Where all the fun is!

Offline MrCare

  • Jr. Member
  • **
  • Posts: 62
Re: [Discussion] Recent topics table with hover over previews.
« Reply #164 on: November 07, 2013, 07:57:36 AM »
try to change
$num_recent = 8;

to

$num_recent = 100;

but its limit only to show 50

how to resolve this?

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: [Discussion] Recent topics table with hover over previews.
« Reply #165 on: November 07, 2013, 08:50:10 AM »
I can only assume you are using the code from the first post since you didn't provide any information for us to know. This code uses an SSI function which is built into SMF. If there is any limit being imposed on the results, you'll likely have to modify the SMF code in SSI.php.

Offline MrCare

  • Jr. Member
  • **
  • Posts: 62
Re: [Discussion] Recent topics table with hover over previews.
« Reply #166 on: February 03, 2014, 08:17:26 PM »
How to add in every subject link... facebook share icon?

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: [Discussion] Recent topics table with hover over previews.
« Reply #167 on: February 04, 2014, 11:55:21 AM »
How to add in every subject link... facebook share icon?

Huh?  MrCare, I have no idea what you are talking about.  As Ichbin said above ...

I can only assume you are using the code from the first post since you didn't provide any information for us to know.

MrCare, I don't mean to sound rude but you have been here long enough to know that none of the Team Members here are Clairvoyant or can read what is in the mind of members who ask us to help them do something.  It's not that we mind helping you because it's what we are here for, but it's difficult enough trying to do things to help people without having to decipher what they are asking for in the first place, especially since we are all volunteers here.  You can't possibly expect any of us to understand what "How to add in every subject link... facebook share icon?" means.  Let's start with this ...

Code: (#1--> Answer these Questions !!!) [Select]
[b]Link to my forum:[/b] http://www.yourdomain.com/forum/
[b]SMF version:[/b] SMF ver. here
[b]TP version:[/b] TP ver. here
[b]Default Forum Language:[/b] Your Default Forum Language here
[b]Theme name and version:[/b] Theme name here
[b]Browser Name and Version: [/b] Browser name/version here
[b]Mods installed:[/b] Mods listed here
[b]Related Error messages:[/b] Error message here

Code: (#2 --> Answer this Question !!!) [Select]
[b]What Code Are You Using?[/b]
Code: (#3 --> Do This!!!) [Select]
[b]Create a screenshot mockup of exactly what it is you are trying to accomplish.[/b]
Code: (#4 --> And, Finally, Answer this Question !!!) [Select]
[b]What exactly are you trying to accomplish, keeping in mind that "How to add in every subject link... facebook share icon?" tells us nothing?[/b]
Code: (#5 --> Here's your Bonus Homework !!!) [Select]
Read the entire website linked right below this code box and the topic linked below that.  There will be a Pop Quiz later, to see what you have learned !!!

Help us to help you, ALWAYS !!!

Offline MrCare

  • Jr. Member
  • **
  • Posts: 62
Re: [Discussion] Recent topics table with hover over previews.
« Reply #168 on: October 20, 2014, 11:37:08 PM »
At the top of code i add

/ So add the code if we are not in a board
// OR When viewing a topic the board is also set,
// so we need to add the javascript then too...
echo  '<div style="width: 100%; height: 356px; overflow: auto">'; 
if (!isset($_GET['board']) || isset($_GET['topic']))

i want to change scrollbar style to custom one.
its look like from http://baijs.nl/tinyscrollbar/ or http://manos.malihu.gr/repository/custom-scrollbar/demo/examples/scrollbar_themes_demo.html or etc... hope someone can help. tq

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: [Discussion] Recent topics table with hover over previews.
« Reply #169 on: October 22, 2014, 05:08:43 PM »
That website shows you how to implement the scrollbar.
http://manos.malihu.gr/jquery-custom-content-scroller/#get-started-section

Put the code that into your block code. Then put content as class of section that you want to have a custom scrollbar. Not sure how well it will work, since it asks you to put stuff in the header. Since you can't do that, just put those lines at the top of your block code and see if they work.