How to set forum to the default main page in vbulletin 5.2.0 - vbulletin

I am using vbulletin version 5.2.0, i need to set forum.php to the default main page.
I saw the How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? ,but i did not find the solution ,i think this post is for only version 4.

You have to login in admincp and then goto site builder then open a default page ,click on save option first you have to save this url to another url after that open url which you want to default and save as home url

Related

OLD Page name exists in URL : Adobe CQ5

I am using CQ5 for one of my projects. I recently had an interesting problem. We had following page in our siteadmin -
MY-PORTAL-NAME/en/example.html
The the corrosponding URL was
MY-PORTAL-NAME/en/example.html
In my siteadmin I changed the name of page example to mydata and following URL is working fine
MY-PORTAL-NAME/en/mydata.html
But the problem is the old URL MY-PORTAL-NAME/en/example.html still exists. How can we solve this ?
The page was moved only in the author instance . The page is intact in publish instance , usually when you move an activated page the application prompts for moving the page in publish too. To fix this you can log into publish and delete the page or move the page back to old URL , deactivate it and then move it back to the new URL.

TinyMCE Links incorrect on save

I have a Plone 4.3.3 site. My logged in URL is different than the non-logged in URL. For example, the anonymous URL would be http://mysite.somewhere.com. When logged in, the URL is https://loggedin.mysite.somewhere.com.
When I create a link on a page and click save, if I view the page anonymously, the link is incorrect, displaying as the https version. However, if I go back and just open the page and click save, the link will be fixed and when view anonymously, it is fine.
These are internal links within the site and the site is not set to use UID's.
Any thoughts?
there is a bug report for this issue and it should have been fixed recently according to the comments there
https://dev.plone.org/ticket/13721
afaics 1.3.7 already contains this changes, so try to pin that version in your buildout
https://github.com/plone/Products.TinyMCE/commits/1.3.x

How to add facebook-ios-sdk in app for login and fetch user data

I want to integrate the facebook login dialog in my app. For that i have checked the facebook developer page to integrate it.
1 - Downloaded facebook sdk package and installed it
2 - added facebook.framework and FBUserSettingsViewResources.bundle in my app
3 - and use its SessionLoginSample
Its running and user can do login using facebook but its open in safary instead of that i want to open it in dialog box.
Answer in here says that do change in facebook.m file but my project does not have it. for that i have downloaded facebook-ios-sdk project from the GITHub and in that project from src folder i have copied all file in my project. Its non arc so added flag fno-objc-arc.
But facebook.m file does not contain that code which answer suggested to change. And also i have implemented graph GraphApiSample but it display error in FBLoginView.
So plz help on this topic any code or tutorial will be highly appreciable.
If you want to open the login page within your app you have to use the FBGraphAPI .
If you want to force the web dialog, you need to specify the login behavior.
If you look in FBSession, there are many methods to open a Session, many of which will take an FBSessionLoginBehavior parameter. If you pass in FBSessionLoginBehaviorForcingWebView for the login behavior, it will force the web view dialog.

Add application to page: not visible

I just added 3 applications to my page using:
https://www.facebook.com/dialog/pagetab?app_id=[appid]&next=[siteurl]
That all works fine, it redirects me to the [siteurl].
However, the apps don't show up on the page. In "Edit Page" -> "Apps" the apps also aren't visible.
Any idea what causes this?
Thanks!
It could be that the app is in sandbox mode and the account you're checking the "edit page -> apps" section does not have a role within your app, so they can't see it.
The dialog could also be failing. It's fairly recent and I've spotted bugs with it already. Try using http://www.facebook.com/add.php?api_key=APP_ID&pages=1, replacing APP_ID with your app's ID, to see if that's working.
Fixed it!
The problem was that I defined the secure page url, but not the non-secure page url (while we don't use the non-secure page url anymore?)...

Facebook SDK install APP with install confirmation

I am looking for help to validate when a Facebook APP has been installed. I am currently using PHP SDK to have the clients sign in and in the same manor I would like for them to return to the site once the APP is completed and installed correctly.
Is there a method to use this link and have it return with the client id?
https://www.facebook.com/add.php?api_key=XXX
You should not use https://www.facebook.com/add.php?api_key=XXX for any cases other addition of application to page as a tab (and even this is undocumented).
If you're using PHP-SDK you should use Facebook::getLoginUrl to log user in, which support redirect_uri parameter so you can add client id as argument to this URL
Update:.
As it turns question is about adding application tab to page you should be using Add Page Tab Dialog to provide user with a way of "installing" application to page without leaving your app.
You can refer to answers on How to add tab application to a page with the "new auth dialog" for more info.
Update 2:
How to reach applications running as Page Tab described in "Integration with Facebook APIs" section of Page Tab Tutorial:
your application will also receive a string parameter called app_data as part of signed_request if an app_data parameter was set in the original query string in the URL your tab is loaded on. For the Shop Now link above, that could look like this: http://www.facebook.com/YourPage?v=app_1234567890&app_data=any_string_here. You can use that to customize the content you render if you control the generation of the link.
You not required to add app_data, just use v=app_APPID to link to your page tabs (Facebook itself using sk instead of v, both works).