I installed OnePress Social Blocker plugin to my Wordpress website.
I set up everything correctly according to documentation. When user likes Facebook page, content is shown. But right after I refresh my page content is blocked again and user must click on Unlike button and then click again on Like button to reveal content, which is not very user friendly.
The problem is simply, that plugin doesn't remember click on Like button. According to plugin documentation it should remember browser and PC, but it doesn't. Any advice to solve this ?
It seems that you use the version 3.0.0. Please update to the version 3.0.2.
Paul
Related
i am new to wordpress, now only i started learning wordpress, i developed one website in wordpress using a theme.
in my site i have read more button, now my client asking if some one press read more button it ask for login and after login only the rest of the contents visible to the users.
i dont know how to do it in wordpress.
is theire any plugins available for this or how to develop a code for this
please help me .
Thanks in Advance
Depends on what kind of login you would need. In the publish settings of a post or page (the box with the publish button in it), you can change the visibility to private, then choose a password one needs to enter to view the contents. All one needs to view the content is this single password, no need for a wordpress user.
Alternatively, if you require your visitors to have a wordpress user to be able to login and view the content, you could use this plugin: https://wordpress.org/plugins/pagerestrict/
I am working on an application which involves lot of ajax requests for updating the HTML content.I have a dashboard with a fix left menu or accordian panel which takes the event and based on the events I have to update the center portion of the page using ajax.
Issue: I am facing issue with the back button of the browser as I am not refreshing the page.I want that the user should be able to navigate back and forth through the ajax content,but as I don't change the URL it redirects the user to the previous page they came from and destroys all the information entered by the user in the fields.
While making a search I came through this website which is quite popular and manages a playlist on the left and a player at the bottom without refreshing the page,but the URL changes for different content the show.
I am not sure if there is any specific framework that can be used or it can be achieved via normal code.Any help in pointing me to the right links or suggestions over it would be helpful.
Thank you
What you seem to want is history.js. It uses the HTML5 history API to navigate (and you can fire events upon change), and it also supports older browsers by using hashbangs.
Essentially the browser will not load any new page, but you can still change the URL to reflect changes (and have the users bookmark pages etc.).
Take a look at their demos to see if it's what you're looking for.
I am working on drupal site & I want something like lightbox or colorbox which contains two buttons on it, first is "Enter Here" and another one is "Exit". And after user enters the site url, he will get this lightbox & all. And clicking on the first button user should go to the website & on clicking exit user should directed t google home page. And I am stuck on this. Please help me out...
Thanks in advance.
You need of this module . Below is the link
click here
So you need to install (v7) the colorbox module too to make it work . here is the link
Here are the steps
In order to work, disclaimer need client has JAVASCRIPT ENABLED and ACCEPT COOKIE.
NOTICE ON AGE VERIFICATION:
If you set age form option to your disclaimer, delete cookie and see the modal from
"admin/config/system/disclaimer", age verification will not work, because javascript is not
loaded on admin pages.
Requirements
This module require at least version 7.x of Drupal.
This module require colorbox module 7.x-2.0+
Installation
Copy the folder named 'disclaimer' and its contents to the modules directory
of your Drupal installation (for example 'sites/all/modules/').
Go to 'admin/build/modules' and enable disclaimer.
Go to 'admin/config/system/disclaimer' and edit option and content for the disclaimer
to your need.
Test
You can use firefox/firebug to see and delete cookie "disclaimerShow".
I'm trying to make a fanpage with the name and company of those who visit using PHP.
I managed to program it and add it to my page. But only appears if you have already added the the app before you visit.
I need to order installation of the app when the user enters the page.
how can i do this?
page http://www.facebook.com/pages/RMG-Direct/101016389955224?sk=app_246899652058808
This stumped me for a while too when the made some changes back in December I believe. One solution I found helped me was to make a link on the page which creates a popup that lets you add the tab to a page.
<a href="#" onclick=window.open("http://www.facebook.com/dialog/pagetab?app_id=YOUR APP ID HERE&next=YOUR APPS URL HERE","PageTab","width=800,height=500");>Add app to Your Page!</a>
and then refresh your browser & click it, and after you've added it to the page you can remove it again.
I tend to place a sign up form on facebook like on the website that is being developed for it. The site is developed by using php and Joomla. The fanpage is created using HTML and CSS. The site has a sign up area. I tend to put a similar (best if it is same) sign up area on facebook fanpage. Is there anyway that I can use the same data base to store both of them?
Thanks.
This is easily acheived using an iframe tab on your Facebook page, because it's inside the iframe the page you're referencing can refresh without refreshing the parent meaning you can post form data easily, remove to use target="_self" to make sure that this works as expected. Here is more information about it:
http://developers.facebook.com/blog/post/462/
Additionally due to width restrictions you may want to utilise ?tmpl=component on your Joomla website for ease.
Here are some loose instructions, I would give you a link to a podcast but Facebook application manager has just been completely overhauled so none of the tutorials I found are relevant, here goes:
1) Goto http://www.facebook.com/developers - It will ask for permissions press "accept"
2) then goto http://developers.facebook.com/apps
3) Click "create new app" in the top RH corner
4) Enter a name for your app in the popup, and agree to the terms (you may be asked to fill in a captcha afterwards).
5) Scroll to the bottom of the new page, and click on "Page tab"
6) Fill in the 4 fields, edit URL isn't necessary it can just point at your main url. https is a good to have as a lot of people use Facebook through https.
7) Press "save changes"
8) In the left hand column click on "view app profile page"
9) Then on the new page in the left hand column click on "add to my page"
10) Pick your page from the popup that appears.
11) goto your existing page, click on edit page and you will see the option to create a new tab using your iframe application.
Let me know if you need more details but these simple instructions should get you most of the way accompanied with the Facebook doc I posted above.