vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - YAFB - Yay! Another Facebook Bridge (https://vborg.vbsupport.ru/showthread.php?t=232457)

Nadeemjp 02-01-2010 09:28 AM

Quote:

Originally Posted by Zaiaku (Post 1971222)
What version of the mod are you using?
Can you verify in myphpadmin there's that column is in your db?

Zia bro I am using the latest version.
It was working fine with 3.8.4 and then i upgraded to 4.0.1 and after many failed attemptes i finally successfully upgraded.
I am afraid that during the process, I might have deleted some critical file that is causing this. or maybe i deleted most of my previously installed modifications. i have really no idea what is causing this.
the album can be created, it can be deleted. but the old albums are not showing pictures. only the broken links and when someone attempts to access thos pictures, upload new pictures, etc this error is generated.

i am not a technical person so really dont know how to figure it out. since the error showed FBB, so i thought maybe my pro friends can help me out:)

Nadeemjp 02-01-2010 09:49 AM

and no zai bro there is no table by the name of "a.fbbypass" in my database.
should i be looking somewhere else?

mobe00 02-01-2010 11:07 AM

1 Attachment(s)
Works perfect here. I changed the facebook icon to a smaller one and placed it beside the login button. looks great i think. and the mod works perfect :)

mobe00 02-01-2010 11:59 AM

1 Attachment(s)
To place the small facebook icon as i did beside the login button do this

In the header template search for :

<input type="submit" class="loginbutton" value="Login" tabindex="104" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" />


Righ after paste this code :

<vb:if condition="$show['guest']">
<a href="{vb:raw vboptions.bburl}/facebook.php{vb:raw session.sessionurl_q}" rel="nofollow">
<img src="{vb:raw vboptions.bburl}/fbb/fbconnect.gif" border="0"/>
</a>
</vb:if>


Download the fbconnect.gif icon that i attached here and upload it to your fbb folder in your root forum folder.

This will place the button to the right of the login button.

Zaiaku 02-01-2010 01:06 PM

Quote:

Originally Posted by Nadeemjp (Post 1972011)
and no zai bro there is no table by the name of "a.fbbypass" in my database.
should i be looking somewhere else?

Looks like you upgraded the mod before upgrading the forum from the errror and what you told you you did. Try re-importing the product and use overwrite. If that doesn't work or as an alternative you can try running the query

Code:

                                        ALTER TABLE `" . TABLE_PREFIX . "attachment`
                                                ADD COLUMN `fbbypass` int(11) DEFAULT 0
                                                ,ADD COLUMN `fbpid` varchar(255) DEFAULT '-1'


BBR-APBT 02-01-2010 04:14 PM

Quote:

Originally Posted by vexvegaz (Post 1971322)
quick question guys... in the forum manager option where "Page ID to publish feed when new thread posted", how do i set it up so it posts to a group page wall or application page wall instead of the owner wall?


tnks in advance

I just looked at this again and I tried to use the options that are there it does not work.
In the log it says it posted but it really never did. So when Mrpaint gets back around to look at this I will send him my logs in a PM so he can look at it. I think I know the problem but when it comes to the facebook side of things I am still learning the ins and outs.

dangerin 02-01-2010 05:19 PM

Good evening guys...
With the help of mobe00 that has installed this wonderful MOD on my site i see this errors code :

Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/*****/:/tmp:/usr/local/lib/php/) in [path]/includes/class_upload.php on line 275

Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_upload.php on line 281

what can be? I've reactivated all the products that i had deactivate for a correct installation of YAFB
Bye and thanks newly to mobe00

kall 02-01-2010 05:20 PM

Quote:

Originally Posted by BBR-APBT (Post 1972294)
I just looked at this again and I tried to use the options that are there it does not work.
In the log it says it posted but it really never did. So when Mrpaint gets back around to look at this I will send him my logs in a PM so he can look at it. I think I know the problem but when it comes to the facebook side of things I am still learning the ins and outs.

It does post it to the Page wall, but looks to be only posting it to the 'Just Fans' part.

ie: http://www.facebook.com/nzboards - click the Wall tab and then Just Fans, there's some of mine there.

*edit* <jedihandmovement> Pay no attention to the fact the links are not dynamic. </jedihandmovement>

Zaiaku 02-01-2010 05:29 PM

Quote:

Originally Posted by dangerin (Post 1972345)
Good evening guys...
With the help of mobe00 that has installed this wonderful MOD on my site i see this errors code :

Warning: tempnam() [function.tempnam]: restriction in effect. File() is not within the allowed path(s): (/home/*****/:/tmp:/usr/local/lib/php/) in [path]/includes/class_upload.php on line 275

Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_upload.php on line 281

what can be? I've reactivated all the products that i had deactivate for a correct installation of YAFB
Bye and thanks newly to mobe00

open_basedir this is host problem not a mod problem. Not sure if there's a work around for this or now. I got his error without this mod when trying to uupload profile pics fro URL instead of from computer.

Its possible that you have open_basedir restrictions on your server. To get uploads to work you need to create a 'tmp' subdirectory under your main directory and chmod it to 777. Then in the Admin CP set "Upload In Safe Mode?" to 'Yes' and point the "Safe Mode Temp Directory" to that directory. Or disable open_basedir.

dangerin 02-01-2010 05:38 PM

Mmmhh,
Firstly really thanks for answer but it's really difficult to understand for me that you said.
In effect i see that the post on facebook has not the avatar that firstly there was.
Is possible that you are able to explain how if you spoke with a little baby for what i must d to solve this error?
i've inderstood to create a tmp directory in public_html ( is my main directory ) but after i do not now where is the safe mode that you have indicated.
Thanks for all

BBR-APBT 02-01-2010 06:21 PM

Quote:

Originally Posted by kall (Post 1972346)
It does post it to the Page wall, but looks to be only posting it to the 'Just Fans' part.

ie: http://www.facebook.com/nzboards - click the Wall tab and then Just Fans, there's some of mine there.

*edit* <jedihandmovement> Pay no attention to the fact the links are not dynamic. </jedihandmovement>

Good Eye.

kall 02-01-2010 06:29 PM

Yeah.. cos it might be a bit annoying to have all the random stuff coming up on the actual Page's wall.

If it could be conditioned to only specific Userid or Usergroupids, that might be feasible.

(The non-dynamic linkage is my current side project to integrate this with vBSEO ;) )

vexvegaz 02-01-2010 06:41 PM

kall would u mind sharing how you got it to post in the application wall?

BBR-APBT 02-01-2010 06:46 PM

Quote:

Originally Posted by vexvegaz (Post 1972408)
kall would u mind sharing how you got it to post in the application wall?

It is in the forum manager edit a forum and it is all the way at the bottom.

Zaiaku 02-01-2010 06:51 PM

Quote:

Originally Posted by dangerin (Post 1972355)
Mmmhh,
Firstly really thanks for answer but it's really difficult to understand for me that you said.
In effect i see that the post on facebook has not the avatar that firstly there was.
Is possible that you are able to explain how if you spoke with a little baby for what i must d to solve this error?
i've inderstood to create a tmp directory in public_html ( is my main directory ) but after i do not now where is the safe mode that you have indicated.
Thanks for all

Actually the TMP dir should be the main directory not in the public_html atleast for me on my server it was. Safe mode uploading is in your AdminCP -> Server Settings and Optimization Options -> Safe Mode Upload Enabled

dangerin 02-01-2010 06:56 PM

My hero Mobe00 has saved me an other time and now it's all OK.
Thanks to all for indications and especially to mobe.
Good evening to all

vexvegaz 02-01-2010 07:36 PM

Quote:

Originally Posted by BBR-APBT (Post 1972420)
It is in the forum manager edit a forum and it is all the way at the bottom.

tried it again and still posting in my personal profile page instead of my application page

BBR-APBT 02-01-2010 07:57 PM

Quote:

Originally Posted by vexvegaz (Post 1972453)
tried it again and still posting in my personal profile page instead of my application page

Did you follow the instructions to the left of the box where you fill out your account information for each forum?

There is a link you have to click to get it to work.

Ricsca 02-01-2010 11:03 PM

At the end of the recording I get this error:

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /***/forums/fbb/runbox_hook_register_addmember_complete.php on line 5

Whay?

vexvegaz 02-01-2010 11:10 PM

Quote:

Originally Posted by BBR-APBT (Post 1972471)
Did you follow the instructions to the left of the box where you fill out your account information for each forum?

There is a link you have to click to get it to work.

i dont know how to say this, but wow was i stuck on stupid for a while.

so ive been knockin myself up trying to get this to post int he app or group page and for a while to no avail. then ur post made me redo everything n re-re-re-read everything again.
low n behold i was putting the wrong input this whole time.

i was using "http://www.facebook.com/pages/mypagename/mypageid". the right way off cource, was to put in just the page ID without the long url . :o

anyways..i put in the page ID and it works , so to try and push it even further i got the page ID of the group wall and put that in. and now all post are being posted in the group page like i wanted it to int he first place.

thank again BBR for making me rethink/redo the whole process.

BBR-APBT 02-01-2010 11:16 PM

Quote:

Originally Posted by Ricsca (Post 1972639)
At the end of the recording I get this error:

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /***/forums/fbb/runbox_hook_register_addmember_complete.php on line 5

Whay?

Because I re-activated the runbox plugin by mistake, I have removed it now.


P.S. My live site is not for you to run test of this modification. I was wondering where this account came from.
That is so not cool man.

kall 02-02-2010 12:54 AM

Quote:

Originally Posted by BBR-APBT (Post 1972649)
Because I re-activated the runbox plugin by mistake, I have removed it now.


P.S. My live site is not for you to run test of this modification. I was wondering where this account came from.
That is so not cool man.

Ahh. Me too.

Nadeemjp 02-02-2010 08:17 AM

Quote:

Originally Posted by Zaiaku (Post 1972157)
Looks like you upgraded the mod before upgrading the forum from the errror and what you told you you did. Try re-importing the product and use overwrite. If that doesn't work or as an alternative you can try running the query

Code:

                                        ALTER TABLE `" . TABLE_PREFIX . "attachment`
                                                ADD COLUMN `fbbypass` int(11) DEFAULT 0
                                                ,ADD COLUMN `fbpid` varchar(255) DEFAULT '-1'


no brother i imported the product after the updrage.

i did a re-import and the error still exists in the following form:

Quote:

Database error in vBulletin 4.0.1:

Invalid SQL:
UPDATE attachment SET
fbbypass = 1,
contentid = 171,
posthash = '',
caption = 'Papa &amp; Safa'
WHERE attachmentid = 492;

MySQL Error : Unknown column 'fbbypass' in 'field list'
Error Number : 1054
Request Date : Tuesday, February 2nd 2010 @ 04:11:28 AM
Error Date : Tuesday, February 2nd 2010 @ 04:11:28 AM
Script : http://www.familybunker.com/forums/a...es&albumid=171
Referrer : http://www.familybunker.com/forums/m...bums-test.html
IP Address : xxxxxx
Username : Momin
Classname : vB_Database_MySQLi
MySQL Version : 5.1.30
Any ideas? cause vb team says it is because of the mod so they cant help me:(

Wordplay 02-02-2010 09:06 AM

i saw your youtube videos, great mod!

one question though, is it possible to show it on someone's wall when somebody posts a new thread on a forum? that would be amazing!

BBR-APBT 02-02-2010 09:21 AM

Quote:

Originally Posted by Nadeemjp (Post 1972864)
no brother i imported the product after the updrage.

i did a re-import and the error still exists in the following form:

Any ideas? cause vb team says it is because of the mod so they cant help me:(

Did you try to run the SQL query as you were instructed?
Code:

ALTER TABLE `" . TABLE_PREFIX . "attachment`
        ADD COLUMN `fbbypass` int(11) DEFAULT 0,
        ADD COLUMN `fbpid` varchar(255) DEFAULT '-1'

You would run this from your adminCP -> Maintenance -> Execute SQL Query
http://www.yoursite.com/path/to/admi....php?do=modify


Quote:

Originally Posted by Wordplay (Post 1972893)
i saw your youtube videos, great mod!

one question though, is it possible to show it on someone's wall when somebody posts a new thread on a forum? that would be amazing!

Yes it has this option if you turn it on.

coler 02-02-2010 02:26 PM

Hello there,

after a new user has registered the following error occurs on:

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /home/admin/public_html/forum/fbb/runbox_hook_register_addmember_complete.php on line 5

Where's the problem?

Thanks
coler

thunderclap82 02-02-2010 02:36 PM

Is there a way to share CMS Articles with Facebook? It appears you can only share forum posts at this time. It would be great if there was a way to do this with Articles too.

BBR-APBT 02-02-2010 02:58 PM

Quote:

Originally Posted by coler (Post 1973086)
Hello there,

after a new user has registered the following error occurs on:

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /home/admin/public_html/forum/fbb/runbox_hook_register_addmember_complete.php on line 5

Where's the problem?

Thanks
coler

This answer was posted several times in the thread. I do not know why it is so hard for people to read.

Go to your plugins manager.
Look for the plugin with the word runbox in the name. Either 1) Disable the plugin or B) delete the plugin. Do that only for this plugin not the whole product.

[not directed at any one,]
I will no longer answer repeat questions. If you are to lazy to read this thread for the answer I am to lazy to type the answer over and over.
[/not directed at any one]

BBR-APBT 02-02-2010 02:59 PM

Quote:

Originally Posted by thunderclap82 (Post 1973093)
Is there a way to share CMS Articles with Facebook? It appears you can only share forum posts at this time. It would be great if there was a way to do this with Articles too.

That is not a option at this time. How ever I will take a look at Mrpaint's blog add on to share blogs and see if I can make it work with articles.

hassshasss 02-03-2010 06:59 AM

Code:

Warning: html_entity_decode() [function.html-entity-decode]: charset `ISO-8859-9' not supported, assuming iso-8859-1 in [path]/fbb/functions.php on line 823
Turkish language on our website have this problem what can we do?

Nadeemjp 02-03-2010 09:05 AM

Quote:

Originally Posted by BBR-APBT (Post 1972899)
Did you try to run the SQL query as you were instructed?
Code:

ALTER TABLE `" . TABLE_PREFIX . "attachment`
        ADD COLUMN `fbbypass` int(11) DEFAULT 0,
        ADD COLUMN `fbpid` varchar(255) DEFAULT '-1'

You would run this from your adminCP -> Maintenance -> Execute SQL Query
http://www.yoursite.com/path/to/admi....php?do=modify




Yes it has this option if you turn it on.

I tried executing the sql query and it says i am not authorized to run queries:(
i am the owner, did i mes up something that is why i dont have this permission?:(

vexvegaz 02-03-2010 11:07 AM

Quote:

Originally Posted by Nadeemjp (Post 1973781)
I tried executing the sql query and it says i am not authorized to run queries:(
i am the owner, did i mes up something that is why i dont have this permission?:(

open up config.php and theres settings in there to add user ID's allowed to run queries.

Verionia 02-03-2010 01:25 PM

Is this working now? Seems to me that there are still bugs... :/

Gnoll 02-03-2010 01:46 PM

Code:

Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/****/:/tmp:/usr/local/lib/php/) in [path]/includes/class_upload.php on line 275

Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_upload.php on line 281

any solution ?

also , some dificulties with this mod

Zaiaku 02-03-2010 03:29 PM

Quote:

Originally Posted by Verionia (Post 1973941)
Is this working now? Seems to me that there are still bugs... :/

I personally have this running on HEAVILY 4 sites right. No bug or errors from the mod what so error.

Rob F 02-03-2010 11:35 PM

I've not installed this on a live site yet, but from playing with it on our test site the only issues I've come across have all been Firefox related (ff & facebook really don't seem to like working together).

zhenyu86 02-03-2010 11:46 PM

error during normal registration after pressing submit

BBR-APBT 02-04-2010 12:37 AM

Quote:

Originally Posted by Rob F (Post 1974279)
I've not installed this on a live site yet, but from playing with it on our test site the only issues I've come across have all been Firefox related (ff & facebook really don't seem to like working together).

Sure it does thats all I use is firefox.

BBR-APBT 02-04-2010 12:38 AM

Quote:

Originally Posted by zhenyu86 (Post 1974288)
error during normal registration after pressing submit

Please read the thread or just search all post by me you will find the answer regarding turning off a specific plugin.

bunkin 02-04-2010 04:50 AM

hi, i have followed the avatar fix and fixed the blank page issue.

However, when i select the button to sync avatar from fb, it shows a message "Upload failed due to failure writing temporary file". Am i suppose to input the url? or did i forget to set permission somewhere. any advice is appreciated. thanks

side note: yes i have enabled synchronize avatar under option tab.


All times are GMT. The time now is 02:34 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.02459 seconds
  • Memory Usage 1,861KB
  • 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
  • (6)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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