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
I am interested in the spRecentPostsWidget
Avatar
Dosenben
Member
Free Members
sp_UserOfflineSmall Offline
May 24, 2012 - 8:44 am

Yeah, i guess i am - will have a look at it tomorrow; and get back to you with the results!

many thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 24, 2012 - 9:21 am

This ought to do it:

$midnight = date('Y-m-d', time()).' 00:00:00';
$where = SFPOSTS.".post_date >= '$midnight'", 'post_id DESC';
andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 25, 2012 - 8:39 am

I created a new template tag for this this morning so that will make an appearance with 5.1 due out next week. Note this is a template tag and optional shortcode. Not a widget.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 25, 2012 - 7:30 pm

is the template tags plugin update requiring 5.1?  If not, no reason we couldnt push the release out now if you are happy with it...  LOL, already have a lot of plugins to update when 5.1 releases so not adding more would be good! wink

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 26, 2012 - 2:37 am

yes - small change to the lost post class.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Christian Pagan
Florida
Member
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 10:27 am

I seem to be having an issue with the widget. Seems to be bigger than what I can fit on my side bar and is re-arranging my sidebar. I have been trying to change the width of the widget under the template tags folder sp-RecentPosts-widget.php but no success. Any ideas. http://www.tncnewscentral.com

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 11:01 am

rearranging sidebar?  what do you mean?  it looks like it fits just fine to me...

you might want to style it since we dont apply any styles since impossible to guess where and how it will be used... for example, I would style to put the text to the right of the avatar...  the options are almost endless with css...

Avatar
Christian Pagan
Florida
Member
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 11:08 am

If you look at my page I have this widget all the way at the bottom of the side. After the Widget there is supposed to be a Google Adsense widget but because the Forum widget is bigger than 300px it makes the adsense widget come out of its place and puts it somewhere in the footer. If I remove the Forum Widget it comes back up to where is supposed to be and all is normal on the sidebar.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 11:23 am

ah well of course, I dont see an adsense block in m browser... 😉  if I allow them, it still looks good...  I see some really wide gadget ad things in the footer... is that what you mean?

but its not bigger than 300px when I view it...  and the widget itself has no size/width...  it just uses the space allocated by widgets on your site...   the sp widget looks identical in size to all the other widgets...

now, most of your widgets appear in a theme specific div container:

<div id="text-32" class="widget widget_text">

but not the sp widget... have you specified for the forum widget to use the same theme specific container?  in the widget options the before/after stuff...

Avatar
Christian Pagan
Florida
Member
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 11:36 am

Yeah I am pretty lost here, 

but not the sp widget… have you specified for the forum widget to use the same theme specific container?  in the widget options the before/after stuff…

^ Not sure what you mean by that but I do not see and option for this in the widget options. Please point to where I have to go to get this right.

 

Thanks

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