The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Contact's Inviter MSN/Yahoo/Gmail & MORE Details »» | |||||||||||||||||||||||||
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> 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); 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"); 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
|
Comments |
#72
|
|||
|
|||
Just noticed I am getting this back on yahoo after submitting the login details:-
Warning: fopen(*****@yahoo.co.uk) [function.fopen]: failed to open stream: Permission denied in /myyahoo.php on line 223 can't open file The MSN one works fine Gmail gives this error:- Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /mygmail.php on line 31 Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /mygmail.php on line 57 Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /mygmail.php on line 31 Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /mygmail.php on line 31 Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /mygmail.php on line 31 No Details Found: Please make sure you have entered correct login details |
#73
|
|||
|
|||
trapstar , the argument supplied right after foreach is the mail() function.
You do have that allowed right ? I mean u can use mail directly from php or do u pass thru smtp proxy or relay ? do u know this information ? BBI-Ross , the file to be opened is myyahoo.php and its cookie, however if other files can open that means normally permissions on your webserver are correct , just a question, are u sure you uploaded all the text files ? take a look if you havent missed the yahoo txt when uploading. |
#74
|
|||
|
|||
hmm how do I know if it is allowed?
|
#75
|
|||
|
|||
Quote:
Thanks for your reply. I have just double checked and yes the file is there. Cheers, Ross |
#76
|
||||
|
||||
First of all alot thanks I,ll try it and tell you about it
|
#77
|
||||
|
||||
hahahahahaah
i am sure pisionic vision allready started crying...hahahahaahah this one is the work of the year I have some query & request..if u dont mind.. *This one is not using any data base? *If any e-mail id allready registerd by any user n some one tries to send invite again to the id? what will be result? *This inviter will send any invite reminder ? *After how many days invite will be expire? *Can u plese add invite template with the invite msg..html template like hi5/multiply or etc.. invite sender can choose he/she wants to send plain text invite or pre-defined template ? *Invite msg can contain auto grabed info of froum like : users/post/etc Pls see bellow i have post a screen shot of another invite system... can u pls add this system to the inviter.php page ?? becoz some may want to send invite some particular mail id which is out of all sort of IM. Kliks install. Thanx...looking for ur co-operation. |
#78
|
|||
|
|||
Zia, you braught up some good modification changes, i will await few more days and then i could release updated version with some of what you mentioned.
To answer one of you question which is the most important, if someone registered already will not be able to use the second invite, so the thing is there is two ways to modify this : 1: Store each sent invite to which email , so they dont recieve second invite BUT this has 2 disadvantages a- We are overriding users privacy and storing their emails in our database no ? b- what if the user didnt register first time, and did later accept the invite from another? 2- Same point can be resolved in another easier solution Add a check when emails are about to be sent out, if email array is in database, will not recieve another invite, but doesnt matter if someone else have sent him earlier or not This way , we are not storing any emails in database ( privacy compliant ) and we are comparing against our own database without further storage. I do know your point can be resolved with other listed resolutions but am not going to be attacked by all those who will rise to complain about script usage and privacy plus i personally will not use an invite system that will copy my contact list for many reasons. Would you? |
#79
|
|||
|
|||
BBI-ross, well it could be because the yahoo actually writes a second file on ur system, and that will require writing permission, however (normally) since you are able to write on an open file, you should have been able to write on non-existant file.
Ill try to send you a modified yahoo file, where it writes on a temporary folder then u chmod that folder to 777, lets see if that resolve it, for now dont try to chmod ur whole directory it will comprimise your security. As for gmail, the error is clear, your php.ini setting doesnt allow the function to work. |
#80
|
|||
|
|||
Quote:
Thanks thats excellent Yeah, the php safe mode is a pain |
#81
|
|||
|
|||
Well if it all works now, i will install and test. Thanks alot, keep us posted with the updates!
Screw pisionic vision, what about the poor people who paid for it?! Rofl at them |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|