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
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 1:25 pm

argh...  looks like the shortcode attribute is missing from the list...

unless all Hell breaks loose today, we will be releasing SP 5.1 tomorrow... with it an update to the template tags plugin... It wil have this fix in it...

If you dont want to wait until tomorrow, you can get the actual code change here and make it yourself...

sorry for the trouble...  the shortcodes are new and not many folks have put them through the ringer yet...

Avatar
Christian Pagan
Florida
Member
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 1:37 pm

I have gone ahead and added this if statement to the sp-RecentPosts-tag.php and still the avatars are not changing??

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 1:48 pm

well, that was dumb... forgot you dont use camel case in shortcodes... so it would be:

    if (isset($atts['avatarsize']))     $args['avatarSize']     = $atts['avatarsize'];

Avatar
Christian Pagan
Florida
Member
Free Members
sp_UserOfflineSmall Offline
May 30, 2012 - 1:54 pm

Great this worked although I do not see how this was different.

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

as I said - camel case... look closely at the first and third names...  avatarsize vs avatarSize..

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