Widgets in Profile Editable by Members
Widgets in Profile by RTMdotORG Description: This adds a Widget in a table to your member profiles, using http://widgetbox.com. Your members will be able to add/edit their widget through the usercp. Search through Widgetbox for a widget you like then click "GET WIDGET" and look for a code that looks like this: d5283df5-c137-45a0-8474-632f88a9a4ce Then copy and paste into the profile field. This should work with 3.5-3.8. Installation Instructions: Code:
AdminCP>>>User Profile Fields>>>Add new user profile field Title: WidgetBox Widget Description: Add your own widget to your profile!<br /> Visit <a href="http://www.widgetbox.com">WidgetBox</a> to choose the one you would like.<br /> Then click "GET WIDGET" and copy the part of the link that looks like this: <br /><font color="red">d5283df5-c137-45a0-8474-632f88a9a4ce</font><br /> Then add to the space below. Then go to Edit Templates for whichever template you want this to show for. Memberinfo Templates>>>MEMBERINFO Find: Code:
<!-- / link bar --> Code:
<if condition="$userinfo[fieldX]"> <div id="" align="center" class="tborder content_block"> <div class="thead block_title"> <a href="#top" class="collapse_gadget" onclick="return toggle_collapse"><img id="" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a> <a name="albums"></a> <span class="block_name">$bbuserinfo[username]'s Widget</span> </div> <div class="block_content" id="" style=""> <div class="alt2" align="center"> <body><br /><script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('$userinfo[fieldX]');</script><br /></p></body></div></div></div></if> DEMO: http://ripthemic.org/forums/member.php?u=1 This will only work with WidgetBox. Download No files for download. |