vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Contact's Inviter MSN/Yahoo/Gmail & MORE (https://vborg.vbsupport.ru/showthread.php?t=145882)

lebanon 05-02-2007 01:52 PM

thbish, could u please check invitecode2 template was correctly inserted into your styles and templates ?
Could u also verify u made the correct edits into the postage file ( $from variable mostly ? )

The Bish 05-02-2007 01:53 PM

Quote:

Originally Posted by lebanon (Post 1239739)
thbish, could u please check invitecode2 template was correctly inserted into your styles and templates ?
Could u also verify u made the correct edits into the postage file ( $from variable mostly ? )


Will do it right now.

Thank you!

Aur-Phala.Com 05-02-2007 01:56 PM

Quote:

Originally Posted by lebanon (Post 1239737)
this can be changed from
Code:

type="checkbox" name="list[]"
this can be found at the end of the scripts included pages, then u can change checkbox to hidden, thus the forms will be echoed only in the html without posting the user's choice, but i advice against that.!

thank u for the reply
will keep this in mind if i decide in future :)

also wondering if you know how i cud make it so whe na user registers it redirects to invite page after they joined so they join and they are on invite page after they finish joining

The Bish 05-02-2007 02:08 PM

Quote:

Originally Posted by lebanon (Post 1239739)
thbish, could u please check invitecode2 template was correctly inserted into your styles and templates ?
Could u also verify u made the correct edits into the postage file ( $from variable mostly ? )

$from = "admin@verbaldouche.com";

and the 'invitecode2' template is there. Looks exactly like the one provided in the zip.

Mupetz 05-02-2007 04:48 PM

Quote:

Originally Posted by The Bish (Post 1239749)
$from = "admin@verbaldouche.com";

and the 'invitecode2' template is there. Looks exactly like the one provided in the zip.

Same here

lebanon 05-02-2007 04:58 PM

ok kindly do this ( for debugging purposes only )

find
Code:

foreach($_POST['list'] as $to) {



mail($to, $subject, $message, "From: $from");



}

replace with
Code:

foreach($_POST['list'] as $to) {



echo ("emailing $to");



}

this ofcourse will not send the mails but will print out its sending them ...
If it did print the emails as emailing , then the problem will be in mail() function as in ur host configuration (we'll get to that if thats the problem)

if that didnt print output, trying removing the whole three lines and replace with

echo "nothing";

The Bish 05-02-2007 05:13 PM

I found the problem....

Upload the postage.php file in BINARY mode.

I checked my file on the DB and it was a string... I uploaded in BINARY and it looks normal.

I went in a tested and everything worked perfectly!

Thanks for the help and sorry I did not try this sooner.

The Bish 05-02-2007 06:00 PM

I wuld like the file for Yahoo as well. I have messed with the file permissions for both myyahoo.php and yahoocookie.txt and cannot import. Throwing the following error...

Quote:

Warning: fopen(wrbishop@sbcglobal.net) [function.fopen]: failed to open stream: Permission denied in /myyahoo.php on line 223
can't open file
However, I will say this... I sent out to my Hotmail contacts and 3 have joined and posted already. So that is just about awesome!

MissKalunji 05-02-2007 06:07 PM

Quote:

Originally Posted by The Bish (Post 1239941)
I wuld like the file for Yahoo as well. I have messed with the file permissions for both myyahoo.php and yahoocookie.txt and cannot import. Throwing the following error...



However, I will say this... I sent out to my Hotmail contacts and 3 have joined and posted already. So that is just about awesome!

chmod the yahoocookie.txt 777

Endurer 05-02-2007 06:21 PM

Chmodding the yahoocookie.txt doesn't help either. I think the script is trying to create a temp cookie file but the directory permissions do not allow it. I cannot chmod the home directory to 777 because it might create security issues. I think Lebanon has an alternative file maybe for yahoo specifically that'll save cookies in a different folder with necessary permissions.

Lebanon can you please upload it for those of us having issues with yahoo inviter?

Thanks. :)

MissKalunji 05-02-2007 06:39 PM

Quote:

Originally Posted by Endurer (Post 1239955)
Chmodding the yahoocookie.txt doesn't help either. I think the script is trying to create a temp cookie file but the directory permissions do not allow it. I cannot chmod the home directory to 777 because it might create security issues. I think Lebanon has an alternative file maybe for yahoo specifically that'll save cookies in a different folder with necessary permissions.

Lebanon can you please upload it for those of us having issues with yahoo inviter?

Thanks. :)

mine is working fine and all i did was chmod the txt file...

shokmuzik.com 05-02-2007 09:39 PM

Great hack, her some more ideas for features ;)

-invitation mail as template instead of php
-add some features to the mail like for ex. on the facebox invitation mail screenshot see attachment
-custom mail, user may edit a part of the text/insert his own text
-user can add custom addresses to the imported contacts
-put all files in a 1 directory (for ex. /invite/)
-make it easy to add custom services for other countries

Mastar 05-03-2007 01:05 AM

Hotmail works fine but I tried yahoo and get this:


Code:

Warning: fopen(****@yahoo.com) [function.fopen]: failed to open stream: Permission denied in /myyahoo.php on line 223
can't open file


The Bish 05-03-2007 02:05 AM

Quote:

Originally Posted by Mastar (Post 1240247)
Hotmail works fine but I tried yahoo and get this:


Code:

Warning: fopen(****@yahoo.com) [function.fopen]: failed to open stream: Permission denied in /myyahoo.php on line 223
can't open file



That seems to be the issue at hand.

Luky 05-03-2007 04:02 AM

Quote:

Originally Posted by shokmuzik.com (Post 1240121)
Great hack, her some more ideas for features ;)

-invitation mail as template instead of php
-add some features to the mail like for ex. on the facebox invitation mail screenshot see attachment
-custom mail, user may edit a part of the text/insert his own text
-user can add custom addresses to the imported contacts
-put all files in a 1 directory (for ex. /invite/)
-make it easy to add custom services for other countries

Thats just stealing.

Mupetz 05-03-2007 07:25 AM

Quote:

Originally Posted by lebanon (Post 1239892)
ok kindly do this ( for debugging purposes only )

this ofcourse will not send the mails but will print out its sending them ...
If it did print the emails as emailing , then the problem will be in mail() function as in ur host configuration (we'll get to that if thats the problem)

if that didnt print output, trying removing the whole three lines and replace with

echo "nothing";

Quote:

echo ("emailing $to");
Yes, i get the email list above header and the confirmation where is supposed to be :)
Thank you so much for your support.
Waiting for the fix.

The Bish, uploading in binary mode didn't change anything for me, but thank you for sharing the information.

lebanon 05-03-2007 02:38 PM

weird, so its the mail() function, just a quick question
in your vb options, do u use smtp email option ?
If yes, we can port the sending to smtp, and if not, i can still port the posting to use vb own mail class... let me know ur setting , as this shouldnt have been a problem

lazydesis 05-03-2007 03:26 PM

except for gmail and hotmail, i am unable to get this to work on any other systems :(

its installed at http://lazydesis.com/fun/inviter.php

can you please check and let me know if i need to make some changes ?

does this happen to everyone or is it just me?

Mupetz 05-03-2007 03:48 PM

No, i do not use SMTP

lebanon 05-03-2007 04:53 PM

Mupetz, weird, but u can u send mails from vbulletin to your members right ?
The best i can do is make the postage use the mail class of vb itself , should that be a help in ur case :)

lazyindian , doesnt it at least throw an error ?

Mupetz 05-03-2007 06:15 PM

Yes i can send mails with vb.
But what mail() has to do with the confirmation page ?
The mails are sent , the only problem is the confirmation page.

lebanon 05-03-2007 06:35 PM

ur saying that the mails are being set out ? But the confirmation is what gives a blank ?!
However when you remove the foreach statement of mail() , the page displays ?
is this correct for your problem ?

Endurer 05-03-2007 06:57 PM

Lebanon is there a fix for this error:

Quote:

Warning: fopen(********@yahoo.com) [function.fopen]: failed to open stream: Permission denied in /myyahoo.php on line 223
can't open file
chmodding the cookie to 666 doesn't help either.

Mupetz 05-03-2007 06:58 PM

Yes sir ! :)

SaN-DeeP 05-04-2007 12:08 AM

Has anyone got this up and running fine ?
What are the requirements before it would run fine apart from Curl Library.

Thanks for nice work.

topten 05-04-2007 01:06 AM

Quote:

Originally Posted by SaN-DeeP (Post 1240971)
Has anyone got this up and running fine ?
What are the requirements before it would run fine apart from Curl Library.

Thanks for nice work.

nope - doesn't work on 3.6.5

shokmuzik.com 05-04-2007 03:23 AM

You can test it here, user: test, password: test.

lebanon 05-04-2007 08:07 AM

topten its working fine for almost all people however the requirements are strict
Curl compiled WITH SSL support and fopen_url on !

For yahoo error, install the latest version and thus the folder inviter can be chmodded as you please.

The Bish 05-04-2007 11:47 AM

Quote:

Originally Posted by lebanon (Post 1241169)
topten its working fine for almost all people however the requirements are strict
Curl compiled WITH SSL support and fopen_url on !

For yahoo error, install the latest version and thus the folder inviter can be chmodded as you please.

Thank you Lebanon for your efforts. I will try the new updated version now.

Mastar 05-04-2007 12:49 PM

the old one worked better but stil got the yahoo error

lazydesis 05-04-2007 01:21 PM

i have updated as u said..deleted the old files and uploaded the new files and then chmodded inviter directory to 777 and all the files inside it (even the myyahoo.php) along with all cookie.txt files to 666

Still i get this error

PHP Code:

Warningfopen(xxx@yahoo.com) [function.fopen]: failed to open streamPermission denied in /inviter/myyahoo.php on line 223
can
't open file 

any ideas :( and yeah by the way great mod :) if it works ..this will be nominated as hack of month for sure :D cuz lot of people have been waiting for something like this

Endurer 05-04-2007 02:59 PM

Upgraded & chmodded but the yahoo inviter doesn't still work and throws that same error. Could this be due to apache file ownership issue?

Mupetz 05-04-2007 06:04 PM

Quote:

Originally Posted by lebanon (Post 1240766)
ur saying that the mails are being set out ? But the confirmation is what gives a blank ?!
However when you remove the foreach statement of mail() , the page displays ?
is this correct for your problem ?

Yes sir, that's correct.
What can i do ?

vip-q.com 05-05-2007 05:18 PM

How to send the message by html

open postage.php
1-find ( in line 459 )
PHP Code:

"From: $from

Replace it with
PHP Code:

$headers 

2- find ( in line 379 )
PHP Code:

$siteurl "$siteurl1/register.php?referrerid=$myuserid"

add after
PHP Code:

$headers .= "From: $from"
$headers .= "Content-Type: text/html; charset=iso-8859-1\n"

that all :)
thanks :)

vitrag24 05-05-2007 06:06 PM

working for gmail..not for yahoo...

and where is select all/unselect all button?
without that mod is nothing in use..

shokmuzik.com 05-05-2007 09:16 PM

I gad an issue with the latest version: when usergroup not allowed to use inviter, they can use it and import but not send. Is this a bug or a feature? if it's a feature it will only confuse people.

vitrag24 05-06-2007 08:39 AM

hey
where is select/unselect all button?
we have to manually select email addresses of our contacts to invite..
if like that theno one will use this refferal feature if they have even more then 150 contacts..
plz help me for select all button

and it isnt working for yahoo..working for gmail...and not checked for hotmail..

stonner 05-06-2007 01:14 PM

This Hack doesnt work with my host (dynamic-net.ch). I would think of changing my host to another one.

Which cheap host with the requirements can you recommend?

thank you!

BiZiMDiYaR 05-06-2007 04:09 PM

Hi,

No Details Found: Please make sure you have entered correct login details and try again.

I am getting this, but know 100% fur sure that the login is correct... does this work ??

The Bish 05-08-2007 01:43 AM

Quote:

Originally Posted by BiZiMDiYaR (Post 1242526)
Hi,

No Details Found: Please make sure you have entered correct login details and try again.

I am getting this, but know 100% fur sure that the login is correct... does this work ??

I initially had this problem and CHMODing the cook.txt files fixed the issue.


All times are GMT. The time now is 12:39 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.01842 seconds
  • Memory Usage 1,843KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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