vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW-TO vB4] Create a Widget using Plugins and Templates (https://vborg.vbsupport.ru/showthread.php?t=236245)

ahmedipa 04-29-2011 08:35 AM

nice one I will try to do it next time

TalkVirginia 04-30-2011 10:58 AM

I was able to get this to work on the CMS using the process_template_complete hook location.

TheMac 09-03-2011 09:01 AM

Hello! I want to show the content of a Widget only to guests, do you know how to it?
I have tried this also with the default info and nothing :(

Mythotical 09-23-2011 02:42 AM

Quote:

Originally Posted by TheMac (Post 2241468)
Hello! I want to show the content of a Widget only to guests, do you know how to it?
I have tried this also with the default info and nothing :(

That would require an if condition to show only to your guest usergroup.

djrockinsteve 11-20-2011 11:17 PM

Thank you very much for detailing the process. The vBulletin tutorial omits a few details probably due to software updates.

I had to select forum complete to not get html code across the top of the page or to change the appearance of the home page, but I cannot find it anywhere on the entire forum. Running latest version.

FYI it is a weather widget showing local weather.

Any thoughts or suggestions.

Thanks again

rbc1225 02-28-2012 02:01 AM

This article helped a great deal in some of the very basic controls of the template creation and such.

thanks

maryx 04-24-2012 05:22 PM

I already have the widget for most recent blogs.

Can someone help me create a widget that would pull the posts from one particular blog and put them on the Content page?

Thanks!

Badshah93 06-28-2012 12:36 PM

if someone wants to create Widget as per this article

Change the hook:
global_start to vbcms_process_widget_complete

and when you are creating new widget (Static Html)
do enter something in that box, else widget won't display.

BirdOPrey5 06-28-2012 05:37 PM

Big thanks Badshan93. I couldn't figure out why the template wasn't displaying.

Mythotical 07-14-2012 04:53 AM

I will be redoing this article as it seems things have changed.


All times are GMT. The time now is 07:27 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.01439 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete