vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to embed mibbit? (https://vborg.vbsupport.ru/showthread.php?t=320580)

pulptoon 10-21-2015 05:32 PM

How to embed mibbit?
 
Hi,

I signed up for mibbit t put their chat on my site. The sent me an iframe code but where in the admin panel do I embed this? Thanks!

MarkFL 10-21-2015 05:39 PM

It depends on where you wish for the chat to show up. You could have it show up in a variety of places such as on all pages below the navbar or above the footer, on your home page above or below the forum listing, or even on its own static page (in which case you would create an external script).

If you can tell us where you wish for the chat to be displayed, we can likely tell you how to put it there. :D

pulptoon 10-21-2015 06:21 PM

thanks!

Just in the footer..I think I found it but now I'm having other troubles with this mibbit thing..arg.

MarkFL 10-21-2015 06:27 PM

Are you having problems with the way it displays, for example the dimensions (width/height)?

pulptoon 10-21-2015 10:19 PM

no, the problem is that it seems to show up even when logged out of the site which I do not want..

I think there is a specific way to do this. the help guy said i may need a vb plugin..all very confusing to a noob like me. thanks so much for your help

--------------- Added [DATE]1445473221[/DATE] at [TIME]1445473221[/TIME] ---------------

he had told me to get a plugin from here https://vborg.vbsupport.ru/search.php?searchid=22950974

not sure which one though

maybe this? https://vborg.vbsupport.ru/showthrea...ghlight=mibbit

MarkFL 10-22-2015 12:07 AM

If you want it to only show up for registered users, then try wrapping the HTML you added to the template in the following vb conditional:

HTML Code:

<vb:if condition="$show['member']">
        put mibbit code here
</vb:if>


pulptoon 10-22-2015 02:18 AM

OMG that worked! Wow..here
I was for the last two hours trying to install IRC products that wouldn't work...

and it was this simple. Thanks so much!!


All times are GMT. The time now is 07:19 AM.

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.01021 seconds
  • Memory Usage 1,721KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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