Back to vBulletin 3.8 Template Modifications

Widgets in Profile Editable by Members
Mod Version: 1.00, by RTMdotORG

vB Version: 3.8.x Rating: (2 votes - 4.00 average) Installs: 9
Released: 06 Sep 2009 Last Update: Never Downloads: 2
Not Supported Template Edits Translations  

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.
You may edit the rest to your likings.

Then go to Edit Templates for whichever template you want this to show for.
Memberinfo Templates>>>MEMBERINFO
Find:
Code:
<!-- / link bar -->
Add Directly Below:
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>
Dont forget to change the Profile Field number to the one you created.

DEMO: http://ripthemic.org/forums/member.php?u=1

This will only work with WidgetBox.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024