vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - OpenInviter Intergration (https://vborg.vbsupport.ru/showthread.php?t=211677)

ExplosiveGFX 09-27-2009 07:21 PM

in config.php I put "ini_set("display_errors", true);" and now instead of a whitepage I get this:

Warning: file_put_contents([path]/acp/../OpenInviter/config.php) [function.file-put-contents]: failed to open stream: Permission denied in [path]/acp/oi_settings.php on line 89

in the AdminCP, and when I go to my site, I get..

Parse error: syntax error, unexpected T_ECHO in /home/explosive/public_html/forum/OpenInviter/frontend.php on line 201

:/

Any help on what could cause that?

ExplosiveGFX 09-27-2009 08:51 PM

I got it working http://explosivegfx.com/forum/images...ew/thumbup.gif

Log on 09-28-2009 07:06 AM

very nice

WxP 10-02-2009 12:28 AM

where i`am trying to open page of inviter after click in my forum open in index.php and not page of inviter!

matthewhotdude 10-15-2009 10:58 PM

I get the following error if anyone can help?

Fatal error: Call to a member function shareads() on a non-object in /home/chattabo/public_html/includes/functions.php(5737) : eval()'d code on line 32

tyfoon 10-18-2009 04:38 PM

1 Attachment(s)
solution for the error without making changes to the vbulletin files

Brandon Sheley 10-18-2009 06:12 PM

nice mod, will check this out sometime

afgboy 10-25-2009 06:58 PM

hi, i installd openinviter and knwo when i want go in my emaladresse, there are a message that the scurity token are missing....
this ist my site www.diggahamburg.de

can someone help me?

accludetuner 11-02-2009 11:35 PM

Quote:

Originally Posted by accludetuner (Post 1827382)
I've been trying that myself without much luck. Here's what I have but it's not working.

in OpenInviter/config.php
PHP Code:

<?php
require_once('/path/to/my/forum/global.php');
$url "index.php?referrerid=" $vbulletin->userinfo['userid'];
    
$openinviter_settings=array(
        
"username"=>"blah",
        
"private_key"=>"11111111111111111111111111111111",
        
"cookie_path"=>'/mycookiepath',
        
"message_body"=>"You are invited to blah.com!  Please use the following link to visit the site: $url"// www.blah.com is the website on your account. If wrong, please update your account at OpenInviter.com
        
"message_subject"=>" is inviting you to www.blah.com"// www.blah.com is the website on your account. If wrong, please update your account at OpenInviter.com
        
"transport"=>"curl"//Replace "curl" with "wget" if you would like to use wget instead
        
"local_debug"=>"on_error"//Available options: on_error => log only requests containing errors; always => log all requests; false => don`t log anything
        
"remote_debug"=>FALSE //When set to TRUE OpenInviter sends debug information to our servers. Set it to FALSE to disable this feature
    
);
    
?>

In the invite email it will show:


but 'userid' is not getting passed :(

Awesome mod BTW, even with the openinvitaion quarks and issues. ;)




I forgot all about this thread! I ment to update it a while ago. Checked and it appears that no one has posted the solution to including the referral ID in the URL so here's how I got them to work.

Almost the same as above but a little subtle change.

In OpenInviter/config.php
PHP Code:

<?php
require_once('/home/dir/to/my/site/forum/global.php');
$ref_id $vbulletin->userinfo[userid];
$ref_url "http://www.mysitename.com/index.php?referrerid=" $ref_id;
     
$openinviter_settings=array(
          
'username'=>'myusername'
          
'private_key'=>'1111111111111111111111111111111111'
          
'filter_emails'=>''
          
'transport'=>'curl'
          
'local_debug'=>'on_error'
          
'remote_debug'=>''
          
'message_subject'=>' is inviting you to www.mysite.com'
          
"message_body"=>"You are invited to MySiteName!  Please use the following link to visit the site:

          
$ref_url"
          
'cookie_path'=>'/mytempdir'
     
);

The only real change is that I had to pass userinfo[userid] to $ref_id and then insert $ref_id as the id to be used in the URL. It didn't like being inserted straight into the URL. ALso, note the message_body and text are in double quotes ". It did not work with single quotes there. Other than that, change all the appropriate info to your site and it should work just fine.

Hint: if you change the config.php file and upload to your site, then go into the OpenInviter settings in adminCP (or refresh the page), it should show the proper URL with YOUR userid. That's how you know it works ;)

accludetuner 11-02-2009 11:39 PM

Quote:

Originally Posted by matthewhotdude (Post 1900601)
I get the following error if anyone can help?

Fatal error: Call to a member function shareads() on a non-object in /home/chattabo/public_html/includes/functions.php(5737) : eval()'d code on line 32

doesn't sound related to this mod at all. Sounds more like it would be related to some sort of advertising mod perhaps???

Quote:

Originally Posted by afgboy (Post 1906063)
hi, i installd openinviter and knwo when i want go in my emaladresse, there are a message that the scurity token are missing....
this ist my site www.schuelerhh.de

can someone help me?

the solution is in this thread if you search


All times are GMT. The time now is 02:54 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.01263 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_php_printable
  • (3)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
  • (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