Webmastersite.net

Search    Register    Log In   

Details

Twitter Feeds in Profiles
By
Mar 01, 2019 pm31 5:48 PM

Not too long ago, I added a twitter field for members to specify their twitter account. Given that WSN has had the facility to display twitter feeds for a long time (scripts.webmastersite.net/...tes/twitter-feeds-634.html) I decided today to make use of it by putting a twitter feed onto the view profile page.

Surprisingly, using the dynamic {MEMBERTWITTER} in the feed construct opener worked fine. I did discover that feeds were always displaying 5 items regardless of how many were requested, fixed that. Because people might enter their twitter handle as "wsnphp" or "@wsnphp" I also made {MEMBERTWITTER} normalize it to display without the @, which is what the feed needs.

The other, unrelated feature addition today is an option to include hidden items in bulk edit categories/listings in the admin panel. I also added number per page options to the filter area there. Theoretically I could also include the sort options with the filter but not sure if anybody needs that.

Finally, I removed the outer box from the view profile template. I did this because whenever there's a default box inside of a primary box in bootstrap it seems to cause the header text on the inner box to be white on white. And nested boxes don't look very good anyway.




Views 145 views. Averaging 145 views per day.
Similar Listings
Mobile, meetup, twitter

Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Please login or register.