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 04-26-2007 10:00 PM

Contact's Inviter MSN/Yahoo/Gmail & MORE
 
I just finished this for my website and had it tested, every thing seems working fine
except the basic design i made, hopefully someone would redesign it and submit it :)

What is this ?
Like major websites, they grew using Invite systems , and prompting their users to send invites to their own contact lists.
This is a vbulletin clone, made as much simply as possible, to do its job
I am not a designer, that will explain the simple tables and designs used.

REQUIREMENTS : PLEASE PAY ATTENTION
You need PHP COMPILED WITH CURL WITH SSL FOR THIS TO WORK and can open remote urls.
The script works fine on many major hosts and custom configurations but the requirements cannot be bypassed.

Demo can be "viewed" on http://www.tchatting.com/forum/inviter.php
However, you need to be registered to test it and will send invites to my own forum.

Features :
Group Permissions , you can specify permissions for every group to be allowed to send invites or not.

Imports contacts from hotmail, live, yahoo, mail, lycosmail , indiatimes, rediffmail and aol
I have tested those mail successfully ( thanks for those who provided their mails to test upon as i didnt have time to register on all these sites )

Installation :
Import 1 xml file
Upload the rest to corresponding folders
EDIT postage.php BEFORE uploading
You will need to modify
$subject = "you are invited to join us!";

$from = "NOTSPAM@YOURDOMAIN";
and optionally $message variable to suit your own liking

I will try to support this as much as i can, to better help you please confirm with your host if curl with ssl is compiled at your host before asking.
If your running on Major Host companies, mention their name perhaps other members could help too or i might know of.

Thats it for now ! Be Kind , Click INSTALL !
If you appreciate this kindly reserve the copyright text, or contact me about branding free options.

As its the first release of this addon, provide feedback to help improve this product.
I will try to support it as much as i can but be aware that occasionally these mail providers change their structure, so there is no guarantees on working time.


Here is a demo on my test board http://www.dotleb.org/upload/inviter.php
This demo will NOT SEND MAIL OUT ! , it will import you contacts but will not send even if you click send ! ( we dont want inviting to a test board do we ! )

April 29th : Updated the zip file, for missing line in myhotmail.php resulting in not showing the send button for old hotmail style inboxes.

April 30th : Luky added another redesigned template here

In progress : Check invites against database to avoid inviting current users by Zia's suggestion

May 3rd :
Two changes were made
a-) Moved all files with proper changes to folder /inviter/ in forum root ( this is due to the fact that even though most hosts do not require chmod but seems some are still having this problem, especially when writing yahoo temporary files, also this cleans up a little on your forum root .
b-) Added a check array on emails against db,
This will check emails that are being sent against your own database, thus if someone is inviting a person who already exist as a member, will not receive the invite email !
Technical details : The line
$comma_separated = implode(",", $my_array); // you can change the , to another separator if you want
You can also use the variable $comma_separated to print a warning in the invite_code2 template , for example
Code:

The following list of emails did not receive your invitation because they are already members <center> $comma_separated <center>
Also note, that I did choose not to add the emails being invited to database because that is more like stealing user's contact list emails!

UPGRADE INSTRUCTIONS
Delete all prior 11 php files on the forum root, and upload the new folder structure as
inviter.php and postage.php to forum root, and the folder as /inviter/

No other changes are necessary !
If you want to keep your folder structure and just obtain the DB Check feature, just replace the postage.php file !



Godaddy Hosting and Wild West resold hosting Note :
You will find pages loading and returning no result, that is because ythey use a curl proxy, for every file in the hack find
Code:

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
and replace with
Code:

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);       
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");

This will enable the hack to work on their hosting setup !

MAY 30TH :

First sorry for not supporting this as much as earlier i did but due to the busy incidents at lebanon and my actual job in a local newspaper department there was no time for personal hobbies .
This update, with a special Thanks to The Bish who volunteered his ftp access to fix the Yahoo import error .
The script itself had no problems, but due to different servers configurations the problems he faced could also be yours .
Download and update your script with May-30 Project zip file ONLY IF all other scripts are working EXCEPT myyahoo.php !
Extra NOTES to avoid myyahoo.php errors :
chmod folder inviter 777
chmod *.php files (inside the /invite/ folder ) 755 ( ie: myyahoo.php mygmail.php etc )
chmod *.txt files (inside the /invite/ folder ) 777

Another issue was noted when using VBSEO script is to EXCLUDE inviter.php & postage.php from vbseo config administration page ( you should know how to when using vbseo )

These steps has resolved the errors caused by yahoo importer when other importers worked but not yahoo !

zhabbo 04-27-2007 11:10 AM

Thanks installed
It all seems to be working fine currently

nexialys 04-27-2007 11:18 AM

no download hit and one install... strange...

some screenshot please... so we understand the goal !!

lebanon 04-27-2007 11:23 AM

i forgot my demo is unaccessible, ill post the demo on another link

zhabbo 04-27-2007 11:30 AM

Ooops sorry, pressed it now

abramelin 04-27-2007 01:16 PM

how can i knof that if my dedicated server supports curl with ssl is compiled ? can i see these in phpinfo?

kartik786 04-27-2007 01:57 PM

does it work with vb 3.6.4 ?

lebanon 04-27-2007 02:03 PM

yes these are viewable , just scroll down to CURL section and see if it has SSL, such as OpenSSL

Kartik , yes it should work on all previous versions that support installer,

akulion 04-27-2007 02:11 PM

hi lebanon
i tried registering on ur forum to see the deom
but it seems somethings messed up on ur site
i havent gotten an email for confirmation yet
and furthermore the registration message looks like this on ur site...
PHP Code:

Thank you for registering$usernameAn email has been dispatched to $email with details on how to activate your accountClick here to return to where you were previously.

You will receive an email in your inboxYou MUST follow the link in that email before you can post on these forumsUntil you do thatyou will be told that you do not have permission to post.

Attention HOTMAILAOL YAHOO, or any other free service please check your junk folder for activation email Also to make sure you recieve future emails please click on NOT JUNK MAIL in your email message 

its not supposed to show $username and $email but it is on ur site

so i suspect the emails are not getting sent
can u check? my username there should be aku

abramelin 04-27-2007 02:11 PM

there is no curl section in my phpinfo but there is openssl so ?

akulion 04-27-2007 02:13 PM

abramelin its likely to work with CURL

the thing u should be worried about is when it uses fopen

akulion 04-27-2007 02:29 PM

everything seems to be working
but when i invite people i get this

PHP Code:

Unable to add cookiesheader already sent.
File: /home/.cash/akulion/path-to-peace.com/community/postage.php
Line


any ideas?

abramelin 04-27-2007 02:40 PM

Code:

Warning: fopen(/home/hebele/public_html/gmailcookie.txt) [function.fopen]: failed to open stream: Permission denied in /mygmail.php on line 26

Warning: fclose(): supplied argument is not a valid stream resource in /mygmail.php on line 27

Fatal error: Call to undefined function: curl_init() in /home/hebele/public_html/mygmail.php on line 43

any ideas?

lebanon 04-27-2007 02:44 PM

yes the uploaded postage had uncleaned code i updated the attachment
For you just open postage.php remove the first lines
<head> <meta http-equiv="Content-Language" content="en-us"> </head>
and save, that will fix the headers issue.
Sorry, i uploaded the first attachment first time !

lebanon 04-27-2007 02:48 PM

akulion ! yes this happened today, i was updating phrases and this happened, thank you for bringing this to my attention, ill get to fix it right away !

edit: fixed i accidentally duplicated my phrases with another, i reverted them and working fine now.

abramelin 04-27-2007 04:14 PM

Quote:

Originally Posted by abramelin (Post 1236455)
Code:

Warning: fopen(/home/hebele/public_html/gmailcookie.txt) [function.fopen]: failed to open stream: Permission denied in /mygmail.php on line 26

Warning: fclose(): supplied argument is not a valid stream resource in /mygmail.php on line 27

Fatal error: Call to undefined function: curl_init() in /home/hebele/public_html/mygmail.php on line 43

any ideas?

does this mean that i dont have curl and fopen?

kartik786 04-27-2007 04:56 PM

Does it support CRON ?

If someone adds hundreds and thousands of contacts and then sends invites.. my host will shut down the mail server.

akulion 04-27-2007 05:21 PM

Quote:

Originally Posted by kartik786 (Post 1236546)
Does it support CRON ?

If someone adds hundreds and thousands of contacts and then sends invites.. my host will shut down the mail server.

let me tell u a neat lil trick for this problem

I used to have it too - my host would give me a LOT of trouble when I would send a news letter to my 1500+ members

this is what I did...

Go to: https://domains.live.com

It will give u instructions on how to get your domain registered with hotmail.
Once you do that and change your custom MX settings to point to their servers...guess what?

You will be able to make and even give out (optional) email address like username@yourdomain.com

The good thing about this is..since your email is now powered by hotmail...so you dont get annoying restrictions with amount of emails u can send or other stuff
enjoy:)

GizmoPhreak 04-27-2007 06:44 PM

Im with dreamhost..will it work?

bazzup 04-27-2007 07:24 PM

probably being stupid here but once you import how do you send?

bazz

akulion 04-27-2007 07:38 PM

Quote:

Originally Posted by GizmoPhreak (Post 1236601)
Im with dreamhost..will it work?

im with DH too and its workin A-OK for me


@bazzup to send use this addy: http://yoursite.com/inviter.php

u will have to add the link manually to ur navbar ot menu or place a benner somewhere like I did..

If u want a banner u can use this one, just use a graphic editing software to edit the page name..

https://vborg.vbsupport.ru/external/2007/04/1.png

bashy 04-27-2007 07:40 PM

It will not fetch my contacts...
I have added the correct details and it says

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

Any ideas please, yes the details are 100% correct

COBRAws 04-27-2007 09:09 PM

whats the difference with http://www.visionscripts.com/?page=p...&vsproductid=3 ?

bollie 04-28-2007 05:36 AM

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

login are correct

Hornstar 04-28-2007 05:53 AM

Hey nice work, i recently paid for the invision scripts version, but this one is looking impressive already.

bazzup 04-28-2007 06:28 AM

Quote:

Originally Posted by akulion (Post 1236625)
im with DH too and its workin A-OK for me


@bazzup to send use this addy: http://yoursite.com/inviter.php

u will have to add the link manually to ur navbar ot menu or place a benner somewhere like I did..

If u want a banner u can use this one, just use a graphic editing software to edit the page name..

https://vborg.vbsupport.ru/external/2007/04/1.png


cheers give it a go later

kartik786 04-28-2007 07:14 AM

Quote:

No Details Found: Please make sure you have entered correct login details and try again.
Same error here for yahoo and gmail.

It did fetch the email list from hotmail but when I clicked the send mail, i could only see a blank page.

rclark666 04-28-2007 09:59 AM

It imports my contacts but i can't see a send button anywhere. Is there a reason for this?

bazzup 04-28-2007 10:04 AM

Quote:

Originally Posted by rclark666 (Post 1236937)
It imports my contacts but i can't see a send button anywhere. Is there a reason for this?

thats what i got i got a link on my navbar but no send button??

rclark666 04-28-2007 10:18 AM

Thanks Baz nice to know im not being stupid for a change...

Whats the code to send the emails and i can add it in?

lebanon 04-28-2007 01:59 PM

for all those installs who are having "no details found" but are certain that details are correct and curl is installed
is due to a simple reason, i said CURL +SSL not just curl , so curl alone is not a guarantee you can open SSL pages with curl, you need curl with SSL , most hosts who install curl allow it with OpenSSL which makes the script work.
As to the differences between this and invision one, i havent seen it but i took a look at its description, obviously he added more controls on the groups and has a nice option to not allow duplicates invites to same email (which could be in both 2 users contact lists )
I have not added such checks so far, further more this script is free and does not promise the updates or support he promises, so the rest is up to the user to choose
as for requirements, both scripts will require the same, no work around this one.

rclark666 04-28-2007 02:31 PM

How do i get the send button to appear tho mate?

bashy 04-28-2007 02:45 PM

Hi

I have openssl, thats what the info says anyway

curl

CURL support enabled CURL Information libcurl/7.16.1 OpenSSL/0.9.7m zlib/1.2.2

lebanon 04-28-2007 02:50 PM

rclark the send button will appear once your contacts are imported.
Bashy , yes but in the curl section does it show ssl too ? 99.9 of hosts have ssl or curl, whats needed is ssl with curl exactly
lets say godaddy hosting for example says , but yet the script WONT work this way
CURL support enabled
CURL Information libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.2.3
because they also have a proxy to be used with curl and requires a modification to be applied on all importer scripts.
Do check this info first, then again ask your host ... the script does not heavily modify vbulletin nor its code, its truely based on your host rather than its vb integration was more easier than the code itself.
regards

bashy 04-28-2007 03:02 PM

So libcurl/7.16.1 OpenSSL/0.9.7m zlib/1.2.2 on mine will not work is this correct?
I have to get my host (managed dedicated server) to compile ssl with curl is this correct and the correct term to say to them?

lebanon 04-28-2007 03:16 PM

bashy , yes , if its cpanel for example it will be very easy from apache update with proper checkboxes ( no need for command line knowledge ) if its using shell i can also guide you on the proper command to install it.,

bazzup 04-28-2007 03:30 PM

send button dont show up i have imported my contacts ok

lebanon 04-28-2007 03:55 PM

bazzap is this happening on all imports ? or on a specific aol for example ? have u tried another import ? just to insure if i missed one of the imports buttons or its a general error on ur forum ?

bashy 04-28-2007 05:56 PM

I have DirectAdmin

Is it simple to do with SSH or should i just get my host to sort it?

Quote:

Originally Posted by lebanon (Post 1237099)
bashy , yes , if its cpanel for example it will be very easy from apache update with proper checkboxes ( no need for command line knowledge ) if its using shell i can also guide you on the proper command to install it.,


kushal 04-28-2007 08:04 PM

Good script and very easy to operate. The default is selected with all email ID's of contact, and 'select/un-select all' should be added so that selectively we can send the email.


All times are GMT. The time now is 06:24 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.01609 seconds
  • Memory Usage 1,848KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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