vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Request for Mod or hints on how I can create it. (https://vborg.vbsupport.ru/showthread.php?t=250763)

tommac3 09-18-2010 05:10 PM

Request for Mod or hints on how I can create it.
 
I would like to integrate:
http://www.dailymile.com/widgets

Into my forums.

They seem to have some widgets like:
Code:

<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 [dailymile]<their unique id>[/dailymile] and have it automatically converted anywhere bbcode is enabled.

tommac3 09-18-2010 09:57 PM

Quote:

Originally Posted by Carnage- (Post 2100120)
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 [dailymile]<their unique id>[/dailymile] 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 [DATE]1284857023[/DATE] at [TIME]1284857023[/TIME] ---------------

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

and it works perfectly!
http://www.atkinsdietbulletinboard.c...-wannabes.html


All times are GMT. The time now is 02:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01058 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete