PDA

View Full Version : Request for Mod or hints on how I can create it.


tommac3
09-18-2010, 05:10 PM
I would like to integrate:
http://www.dailymile.com/widgets

Into my forums.

They seem to have some widgets like:
<script src="http://www.dailymile.com/people/AtkinsDiet/training/widget.js" type="text/javascript"></script><noscript><a href="http://www.dailymile.com/people/AtkinsDiet" title="Running Training Log"><img alt="Running Training Log" src="http://www.dailymile.com/images/badges/dailymile_badge_180x60_orange.gif" style="border: 0;" /></a></noscript>

I would like to have that so users can link in their daily mile widget into either their signature OR their profile.

I think all that it would take is to add that widget code and create a variable that is an option in their profile.

If they set that option then the widget would be included in their profile.

Carnage
09-18-2010, 05:17 PM
Wants me to login; so I can't check exactly but my advice would be to just figure out what the dynamic part is (somewhere there will be a userid variable of some form to identify the user who's data to return) and have it as a custom bbcode. Then someone can post <their unique id> and have it automatically converted anywhere bbcode is enabled.

tommac3
09-18-2010, 09:57 PM
Wants me to login; so I can't check exactly but my advice would be to just figure out what the dynamic part is (somewhere there will be a userid variable of some form to identify the user who's data to return) and have it as a custom bbcode. Then someone can post <their unique id> and have it automatically converted anywhere bbcode is enabled.

That is exactly what I want to do .... how can I do that ?

The dynamic part is simple. I already have that.

--------------- Added 1284857023 at 1284857023 ---------------

I got this running!!!! Thanks for all of your help.
I used created a bb code : DailyMile

and it works perfectly!
http://www.atkinsdietbulletinboard.com/forums/main-atkins-diet-forum/92139-any-joggers-wannabes.html