The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Dynamic Widgets
We all know that widgets are pretty slick and can jazz up our portal pages with some rich content. However, I'm looking for something that's a little more dynamic for my users.
Has anyone found or developed a widget that allows a user to input information (such as a zip code) and then the widget is customized for just that user? The more I think about it, the more I wonder if it's even possible to do. Obviously, it would most likely be cookie based where the widget pulls the information from the cookie to display properly. Specifically, I'm looking for a weather widget that allows a user to enter their zip code, and then displays the information on the portal page in the box assigned for that widget. Not sure it can even be done, but I think it would be a slick idea and great for my users. |
#2
|
|||
|
|||
OK. I've been playing with this a bit, and I'm trying to parse the zip code from a field in UserCP to the code on the portal page. Unfortunately, it isn't working. This is what I have:
Code:
<if condition="$bbuserinfo[field13]"> <script type="text/javascript" language="javascript1.2" src="http://weatherreports.com/jscript.html?width=300&height=250&theme=brand&location=$bbuserinfo[field13]&units=LOCAL"> </script> </if> --------------- Added [DATE]1243789225[/DATE] at [TIME]1243789225[/TIME] --------------- Anyone? Would really like to get this working for my users. |
#3
|
|||
|
|||
I hate auto merge. Anyone care to take a peek at this and see where I went wrong? Danke!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|