Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
List View: Unread posts - force newline for spListLabel
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 17, 2012 - 4:42 pm

What can I say Andy other than as far as I'm aware there are none. I compared (by machine) the sp-list-view-functions.php files from my version and Build 7705, the only differences were references to truncate.

You know what I am trying to achieve, I apologise if I am using the incorrect terminology. I have read more about arrays and I know that there is nothing I can do there.

Can I get hold of your code with the spLeft commands in and see what happens? Where else could I have screwed with the CSS for this other than sp-list-view-functions.php?

Conrad

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 17, 2012 - 4:56 pm

Well I was actually meaning the theme CSS file itself.
But Firebug should tell you what is set.
If my attempt to register on your site the other night had been successful I could have taken a look but I can't open the popups as a visitor.[Update] Actually i CAN run a search as a visitor which also uses the list view template and that looks just fine....

andy-signature.png
YELLOW
SWORDFISH
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 17, 2012 - 5:59 pm

Hi Andy thanks for taking the time, it's appreciated. I have sent you a PM with a new password and given you admin status. I've never even tried the search feature, I never use it on my sites but of course I do use it here.

Conrad

Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 17, 2012 - 6:22 pm

Search results look exactly how I want them to. Except for a tiny amount of bleed from the spSearchSection into the main container. That was easily fixed by setting the spSearchSection width to 99.2%, if only the latest unread posts was that easy.

Conrad

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 18, 2012 - 10:56 am

Ha. Good try but I am being stupid.
As a new registrant I wont get any unread posts in the list anyway so still can't look at the popup list!
I have logged out. What you could do is go into the database, sfmembers table, find my row and change the last visit date to something earlier than today (and to a date where posts have been made since) to ensure when I log back in again it will recalc my unread postlist.
Is that possible?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 18, 2012 - 2:42 pm

Done.

As I like the search box so much perhaps I can use the formatting used to generate that for the unread posts? Would that be easy?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 18, 2012 - 3:57 pm

if I don't get to this tonight I will in the morning - that's a promise.
Theoretically - the CSS is the same for both already....

andy-signature.png
YELLOW
SWORDFISH
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 18, 2012 - 4:29 pm

But one seems to be a pop up that relies on some widget and the other appears to be in the main container (spSearchSection) or am I missing something?

I reiterate once again that the support on this site is nothing short of excellent.

Conrad

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 18, 2012 - 4:42 pm

Your Wp theme (wasteland) styles.css file on line 31 defined 'body' with a rule of text-align: center; and this is the problem.

Now we may need to address this in our own theme CSS for cases liek this but...

Find the style for  .spTopicListSection in your SP theme CSS and add a text-align: left; statement, That should do it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 18, 2012 - 6:30 pm

Indeed it does in fact this would also work for the default theme.

I put it here:

#spMainContainer .spRecentPostSection .spTopicListSection .spListLabel,
#spMainContainer .spRecentPostSection .spTopicListSection .spListPostLink,
#spMainContainer .spSearchSection .spTopicListSection .spListLabel,
#spMainContainer .spSearchSection .spTopicListSection .spListPostLink {
    font-size: <?php echo($spListPostLink_spListLabel); ?>;
    text-align: left;
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626