vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Show Facebook page - Inline Pop up (https://vborg.vbsupport.ru/showthread.php?t=288213)

sivaganeshk 09-22-2012 10:00 PM

Show Facebook page - Inline Pop up
 
1 Attachment(s)
Shows Facebook LIKE social plugin to visitors inside forum area(without any new popup window) after specific time. You can control the timing by changing delay value.

Screenshot :

Live demo : http://collegers.net/forum.php

Check the README file in the attachment to implement it.

Disclaimer :
  • Imported the plugin from Wordpress plugin.
  • This Mod uses codes/files from fancybox.net and "fancybox for wordpress" plugin. It was built using the jQuery library.

Edit/Update : If you want the LIKE pop up to appear on every page load , change show_once every x days to 0

Code:

"show_once":"0"

(edited on 17 Oct )
P.P.S : Support me to buy a new Macbook Pro. Please donate if this Mod helped you.
Wishlist : http://www.amazon.com/gp/wishlist/35WEWZGXOJSQC/

xixxon 09-24-2012 03:25 PM

I love it. Thank you very much !

ahobilam 09-24-2012 04:25 PM

Installed
Modified everything as described in the readme file
but not showing anything.
https://vborg.vbsupport.ru/external/2012/09/14.png
I tested like this.
The image found in the correct path.
But nothing found in the forum home.
Please help.

sivaganeshk 09-24-2012 04:47 PM

Forum URL ?
Edit:
I got ur URL . Please add the code from README file to header template.

Edit 2 : working on his site ! :)

paulket 09-25-2012 05:44 PM

Installed and working perfectly on vB 4.2

qwer81 09-25-2012 10:22 PM

Thank you! popup appears only once? Can i make it appear several times a day?

Budabing 09-26-2012 05:30 AM

Does it stop appearing (and doesn't return) once the user has liked your facebook page?

sivaganeshk 09-27-2012 09:33 AM

Quote:

Originally Posted by qwer81 (Post 2368543)
Thank you! popup appears only once? Can i make it appear several times a day?

If you want the light box to appear on every time the page is loaded for a current user, then use the following settings.

"show_once":"0"


Quote:

{"fb_id":"132900090131973","display_on_post":"1"," show_once":"0","delay":"15000","display_on_page":" ","fancybox":"","display_on_homepage":"","facebook header":"","gaevent":"","eam":"","display_on_archi ve":"","hideonlike":""};

sivaganeshk 09-27-2012 09:35 AM

Quote:

Originally Posted by Budabing (Post 2368603)
Does it stop appearing (and doesn't return) once the user has liked your facebook page?

This feature is not available. Sorry

Budabing 09-28-2012 06:04 AM

Quote:

Originally Posted by sivaganeshk (Post 2368946)
This feature is not available. Sorry

So what youre saying is that even after somebody has liked your facebook page by clicking like, it will continue to return? I would find that very annoying myself. Great idea for a mod, but I dont wanna annoy my users with pop ups from facebook every time they log on. :(


All times are GMT. The time now is 09:56 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.01198 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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