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. :(

denman75 09-28-2012 07:14 AM

Quote:

Originally Posted by Budabing (Post 2369162)
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. :(

This

legiondadon 09-28-2012 12:54 PM

didnt work for me after i put it in the header...nothing happened

Budabing 09-30-2012 12:24 AM

Quote:

Originally Posted by denman75 (Post 2369166)
This

This ?

sivaganeshk 09-30-2012 05:11 AM

Quote:

Originally Posted by Budabing (Post 2369162)
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. :(

Although you can change "show the fb box in x number of days" to 20 or 30 days.

"show_once":"30"

keyla31 10-03-2012 08:09 PM

working perfect in 4.2 and i love it

abdobasha2004 10-04-2012 10:12 PM

very nice, but is this ok with facebook and adsense?

sivaganeshk 10-15-2012 08:37 AM

Quote:

Originally Posted by abdobasha2004 (Post 2370823)
very nice, but is this ok with facebook and adsense?

Yup. Thousands of highly ranked Wordpress blog use a plugin (similar to this) without any problem.

qwer81 10-18-2012 09:41 PM

Hi,

If i want to make it appear 2 times a day for each user, how should I set up "show once"?

Thanks!

Naijasite 11-04-2012 12:11 PM

error Could not retrieve the specified page. Please verify correct href was passed in.

sivaganeshk 11-04-2012 12:21 PM

Quote:

Originally Posted by Naijafinder (Post 2378289)
error Could not retrieve the specified page. Please verify correct href was passed in.

Forum URL

Edit: FYI, it works only with Facebook Fan Page and not Facebook Profile.

Naijasite 11-09-2012 10:27 PM

i use facebook fan page still not working on 4.2

Naijasite 03-02-2013 12:00 AM

working perfect in 4.2

kartheekb 04-17-2013 10:11 AM

dint worked???

any thing to check?

walas87 04-26-2013 03:23 PM

My fb ID does not work. Do you Know why?

xmemx 05-17-2013 12:29 PM

This is what i am looking for. if login with facebook is included how nice would it be.. Thanks

GiaNNi 07-16-2013 08:25 AM

Thanks, very helpful to accelerate socialmedia objetives :)

alvin_mx 08-24-2013 08:53 AM

Grat mod!

Thanks installed in 4.2

hterrag 12-07-2013 03:42 AM

how to make it so if a user click like it won't show up for them anymore?

keyness 05-19-2014 09:06 AM

It's impossible, but you can show it to only guests by wrapping header code with these:

Code:

<vb:if condition="$show['guest']">

HEADER CODE HERE


Code:

</vb:if>
It's a nice mod. I'll donate for your mac when my paypal is available :P

DreadsUK 05-19-2014 09:18 AM

Great idea but as budabing says

Quote:

Originally Posted by Budabing (Post 2369162)
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. :(

if i was on a website and kept getting this pop up, i would ruin my user experience.

Maybe look into fixing this issue otherwise i think this mod will dye out pretty quick. As i say, awesome idea tho and with this addition fix, something that would be a permanent feature i most sites ;)

Big love
Elijah

badawidollah 07-20-2014 03:58 AM

thanks.. how to make "like" to "follow" button

Marv 07-21-2014 04:43 PM

This tiny mod is ruining my day yesterday and is about to do it again today. Awwww :D

I?d set it up using the fb-ID of my fan-page. even when it?s been written here, it?s designed to work only with fb-groups. Worked pretty good at first for 2 or 3 times and brought immediatly ~50 new likers. But since then the pop-up is empty each time. Regardless which browser, IP or machine, logged in to facebook or not.

Anyone an idea?

tbworld 07-21-2014 06:24 PM

I have not looked into this modification to see what it is doing, but you might be running into the following problem if the application is not properly caching it's contents. Many developer are unaware that this is a change in the FaceBook API.

https://developers.facebook.com/docs...-rate-limiting

Marv 07-21-2014 06:58 PM

Ummh...most likely. That?s bad news. Thx, for pointing me to this one.

Now, I?m wondering how the big game-kind sites utilize this. Never experienced a blank facebook pop-up on their sites. So I guess there must be some code out there, which works them around that ugly problem.

Okay, folks. I guess someone is already having a knowing grin in his face.
C?mon, who ever you are and where you might be. Don?t be a dirtbag and spit it out, almighty ;)

Marv 07-22-2014 02:49 PM

To whom it may concern:

After giving facebook the chance to lift the api-siteban tbworld mentioned yesterday and we´d obviously won, today we did another attempt. This time we have packed the code into a vb:if statement and restricted the audience to only members.

Until now, it works. But we guess, as soon as the members are coming from work and the traffic pitch goes up, we´ll be caught in the facebook-throttle again.

But an imprtant sidenote: it seems, that this plugin needs a logged-in facebook status - else it won´t show anything and will come up with a blank layer. That will divert more users as it will attract, depending on your visitors. Mine are grown ones >30yrs and significnatly older. A lot of them don´t use facebook or at least they aren´t logged in all the time.

If this is true, than we would need a rework of this mod, checking the logged in status in facebook, that avoids te blank layer to come up, if no facebook-login=true is detected.

Guess that´s the only way this mod could avoid becoming a negative sidenote of your sites. You know how quick users are to jump a trolling train :/

temyes 12-29-2014 04:03 PM

I installed it on vbulletin 4.2 but It dosnt work.

naveeid 04-24-2015 07:16 AM

just installed in 4.2.2
its great
thanks siva

mykkal 05-08-2015 04:58 AM

Does this work in 4.2.3 with php 5.5?

mykkal 05-08-2015 05:04 AM

Hi Siva, I have three questions...

1. Can this be places into a product.xml file so it can be added as a plugin?
2. How can we get this to work on the mobile style as well?
3. Does this remember that a person has liked the forum? If so for how long? 30 days, etc?
4. How do I make the domain urls relative so that this can be viewed in https (secure) form as well? Don't want unsecure warnings...
Code:

<link rel='stylesheet' href='http://DOMAIN.COM/fancybox/scs.css' type='text/css' media='all' />
<script type='text/javascript' src='http://DOMAIN.COM/fancybox/jquery.js'></script>
<script type='text/javascript' src='http://DOMAIN.COM/fancybox/scs.js'></script>
<script type='text/javascript' src='http://DOMAIN.COM/fancybox/launch.js'></script>

Hope I didn't ask too many questions. thanks a bunch.

naveeid 05-23-2015 03:26 AM

but there is a problem with this mod , the users traps in this mod and in the end closes the website , it reduces website earnings.


All times are GMT. The time now is 04:47 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.01325 seconds
  • Memory Usage 1,818KB
  • 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
  • (4)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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