Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Contact's Inviter MSN/Yahoo/Gmail & MORE Details »»
Contact's Inviter MSN/Yahoo/Gmail & MORE
Version: 1.00, by lebanon lebanon is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.5 Rating:
Released: 04-26-2007 Last Update: 05-29-2007 Installs: 130
 
No support by the author.

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 !

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #212  
Old 06-13-2007, 03:47 AM
0tolerance 0tolerance is offline
 
Join Date: Jun 2007
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.
i know my current hosting meets the requirements for it..
but when i installed it and set it all up... after importing contacts from hotmal... it has them all up with the check box... but no send button appears to confirm the emails..

and when using Gmail i get an error... but not alot of people use gmail.
Reply With Quote
  #213  
Old 06-16-2007, 07:01 PM
CraiovaOnLine CraiovaOnLine is offline
 
Join Date: Feb 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oky instaled the thing...badabim badabam aint workin

keep gettin this
Parse error: syntax error, unexpected T_STRING in /home/evanzari/public_html/forum/postage.php on line 18

line 18: error_reporting(E_ALL & ~E_NOTICE);

imported the product
uploaded the files
modified the file... (i modified the file after uploadin it...but shouldn't be a problem...right?)
Reply With Quote
  #214  
Old 06-16-2007, 07:39 PM
CraiovaOnLine CraiovaOnLine is offline
 
Join Date: Feb 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvrmind
forgot a ;
Reply With Quote
  #215  
Old 06-17-2007, 04:22 PM
alessai alessai is offline
 
Join Date: Feb 2006
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

had some problems becuse i tried to send an email to an existing member<< !!stuiped

okey okey its amazing ? رهيب ؟ عجيب؟
i dunno how to say thanx its the best hack i tried.....

but i want to suggest somthing the sender mail... i prefer to be the member mail

i mean if i imported the list form sai1122@hotmail.com when he send the invites for his friends the sender be sai1122@hotmail.com
Reply With Quote
  #216  
Old 06-17-2007, 07:05 PM
lebmobile lebmobile is offline
 
Join Date: Mar 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please can someone give me the files edited???? I didnt know how to edit them

quickly plz
Reply With Quote
  #217  
Old 06-18-2007, 03:50 PM
LICryptkeeper LICryptkeeper is offline
 
Join Date: Jun 2003
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, just went through the thread, didnt see the answers I was looking for so I figured I'd post them before installing this hack (which I have been waiting for for over a year, thanks )

1) will the user be able to add custom text into the email body?
2) can we set it up so that it does not get sent from "myemail@mysite.com" but rathar the inviter's email?
3) will it have the refferal in the link to the forum? if te user clicks it in the email and gets sent to my site and registers, will the inviter be credited?
Reply With Quote
  #218  
Old 06-18-2007, 06:50 PM
abhimation's Avatar
abhimation abhimation is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesnt seem to be working with me. Says wrong username or password.

Is it that CURL thing is missing on my servers ? How do i check it ?

Or is it some other reason ?

Its a great MOD. Please help !
Reply With Quote
  #219  
Old 06-18-2007, 09:30 PM
alessai alessai is offline
 
Join Date: Feb 2006
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LICryptkeeper View Post
Hi, just went through the thread, didnt see the answers I was looking for so I figured I'd post them before installing this hack (which I have been waiting for for over a year, thanks )

1) will the user be able to add custom text into the email body?
2) can we set it up so that it does not get sent from "myemail@mysite.com" but rathar the inviter's email?
3) will it have the refferal in the link to the forum? if te user clicks it in the email and gets sent to my site and registers, will the inviter be credited?
3 : yes it does
2 : i didnt try to put the email member code as the mail sender
1: nope you cant hope next edition we can
Reply With Quote
  #220  
Old 06-19-2007, 03:28 AM
0tolerance 0tolerance is offline
 
Join Date: Jun 2007
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abhimation View Post
It doesnt seem to be working with me. Says wrong username or password.

Is it that CURL thing is missing on my servers ? How do i check it ?

Or is it some other reason ?

Its a great MOD. Please help !
upload this and save it as a .php file and run it, it will tell you if your hosting runs the requirements.

PHP Code:
<?php 

if(!function_exists('curl_init')) 

    exit(
'CURL Library is not installed.'); 


$agent "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)"
$ch curl_init(); 

curl_setopt($chCURLOPT_URL"https://www.paypal.com"); 
curl_setopt($chCURLOPT_USERAGENT$agent); 
curl_setopt($chCURLOPT_RETURNTRANSFER1); 
curl_setopt($chCURLOPT_FOLLOWLOCATION1); 
curl_setopt($chCURLOPT_SSL_VERIFYHOST0); 
curl_setopt($chCURLOPT_SSL_VERIFYPEERFALSE); 

$result curl_exec($ch); 

if(!
strlen($result)) 

    exit(
'CURL is installed, but not working correctly with SSL pages. Error Message: <strong>' curl_error($ch) . '</strong>'); 

else 

    echo (
'Congratulations! CURL w/ SSL seems to be working fine.'); 
    
curl_close($ch); 


?>
On another note, has does any one get the problem where they import the hotmail contacts and there is no send button to finalise the invitations?
i would mucho appreciate a PM with some help.
Reply With Quote
  #221  
Old 06-19-2007, 07:02 AM
abhimation's Avatar
abhimation abhimation is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnx Otolerence...
I got the following msg - Congratulations! CURL w/ SSL seems to be working fine.

Then whats the problem ? Why i am getting the message when i click "Import my Contacts" -

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

Help Please !
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04877 seconds
  • Memory Usage 2,334KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete