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

Reply
 
Thread Tools
lebanon's contact inviter, redesigned! Details »»
lebanon's contact inviter, redesigned!
Version: 2.00, by Luky Luky is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.5 Rating:
Released: 04-29-2007 Last Update: Never Installs: 28
Template Edits
 
No support by the author.

Find the template: invitecode and replace with the code at the bottom of this post!

Demo provided at Demo (Needs an account) Or you can checkout the screenie attached!

Needs this mod: Contact Invited by Lebanon!

If you want updates, mark installed.. if not, your choice

v2.00 Completly redone, looks nothing like the original, instead it looks like it is a block in your forum! Some HTML fixed to remove some errors, see screen shot for preview of how.. "sexy" it is
v1.00 Original release

HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - Inviting!</title>
$headinclude


<script type='text/javascript'>

function emailCheck (emailStr) {
var emailPat=/^(.+)@(.+)$/
var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]"
var validChars="\[^\\s" + specialChars + "\]"
var quotedUser="(\"[^\"]*\")"
var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/
var atom=validChars + '+'
var word="(" + atom + "|" + quotedUser + ")"
var userPat=new RegExp("^" + word + "(\\." + word + ")*$")
var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$")
var matchArray=emailStr.match(emailPat)
if (matchArray==null) {
    alert("Email address seems incorrect - Please type a valid email address")
    return false
}
var user=matchArray[1]
var domain=matchArray[2]

if (user.match(userPat)==null) {
    alert("The username doesn't seem to be valid.")
    return false
}

var IPArray=domain.match(ipDomainPat)
if (IPArray!=null) {
      for (var i=1;i<=4;i++) {
        if (IPArray[i]>255) {
            alert("Destination IP address is invalid!")
        return false
        }
    }
    return true
}

var domainArray=domain.match(domainPat)
if (domainArray==null) {
    alert("The domain name doesn't seem to be valid.")
    return false
}


var atomPat=new RegExp(atom,"g")
var domArr=domain.match(atomPat)
var len=domArr.length
if (domArr[domArr.length-1].length<2 || 
    domArr[domArr.length-1].length>3) {
   alert("The address must end in a three-letter domain, or two letter country.")
   return false
}

if (len<2) {
   var errStr="This address is missing a hostname!"
   alert(errStr)
   return false
}

return true;
document.emailform.reset();

}
</script>
</head>
<body>
$header
$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr><td class="tcat" width="100%"><span class="normal">Welcome $bbuserinfo[username]</span></td></tr>
    <tr align="center"><td class="thead">Your Permanent Affiliate Link is: <a href="$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></td> </tr>
        <tr><td align="center" class="alt1"><font size="2">
            <a href="inviter.php?domain=myhotmail">
MSN</a> | 
            <a href="inviter.php?domain=myhotmail">
Hotmail</a> | 
            <a href="inviter.php?domain=myaol">
AOL</a> | 
            <a href="inviter.php?domain=mygmail">
GMail</a> | 
            <a href="inviter.php?domain=myindiatimes">
Indiatimes</a> | 
            <a href="inviter.php?domain=mylycos">
Lycos</a> | 
            <a href="inviter.php?domain=mymail">
E@mail.com</a> | 
            <a href="inviter.php?domain=myrediffmail">
Myrediffmail</a> | 
            <a href="inviter.php?domain=myyahoo">Yahoo!</a>
            &nbsp;</font></td></tr></table>
<table><tr>
            <td height="59" bgcolor="#FFFFFF">
                <tr><td class="alt1" align="left"><form name="emailform" action="inviter.php?domain=$get"  method=post onSubmit="return emailCheck(this.username.value);"> <input type=hidden name=domain value=$get></td><tr />
            </td>
            </td></table> 
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center" style="border-bottom-width:0px"><tr align="center"><td class="thead">Login!</td></tr>
            <tr><td class=alt2 height="59"><center><IMG src="images/tinviter/$img"></center></td></tr>
        <tr><td class="alt1" align="left">Username<br /><input type="text" name="username" size="34" value="EMail"><br />
Password<br /><input type="password" name="password" size="34" value="Password"><br /><br /><center><input type="submit" value="Import My Contacts!"></form></center></td><tr />
        </table>

$invitecode
<div align="center">
    <table border="0" width="100%" id="table1">
        <tr>
            <td>
            <p align="center"><font size="1"><a href="http://www.tchatting.com/forum">TChatting</a> & <a href="http://www.alchemist-team.net/">Alchemist-Team</a></font></p></td>
        </tr>
    </table>
</div>
$footer

</body>
</html>
Don't PM or EMail for help, post it in the thread!

Show Your Support

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

Comments
  #12  
Old 05-01-2007, 05:04 AM
The Bish's Avatar
The Bish The Bish is offline
 
Join Date: Aug 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this...
Reply With Quote
  #13  
Old 05-01-2007, 06:43 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Bish View Post
Thanks for this...
Mark as installed or you wont know when it is updated!!

Does anyone have any requests other then some new images?
Reply With Quote
  #14  
Old 05-02-2007, 10:40 AM
abramelin abramelin is offline
 
Join Date: Mar 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please post an image from the first page of inviter.php
Reply With Quote
  #15  
Old 05-02-2007, 10:42 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abramelin View Post
please post an image from the first page of inviter.php
I already did, its in screenshots (Attached)
Reply With Quote
  #16  
Old 05-02-2007, 07:35 PM
69lakalle's Avatar
69lakalle 69lakalle is offline
 
Join Date: Apr 2007
Location: Fort Lauderdale
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do y really have to install this ?
Quote:
Needs this mod: Contact Invited by Lebanon!
Reply With Quote
  #17  
Old 05-03-2007, 03:59 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 69lakalle View Post
do y really have to install this ?

Yes, this is simply a redesign of that mod.
Reply With Quote
  #18  
Old 05-05-2007, 05:59 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey
where is select/unselect all button?
we have to manually select email addresses of our contacts to invite..
if like that then no one will use this refferal feature if they have even more then 150 contacts..
plz help me for select all button
Reply With Quote
  #19  
Old 05-06-2007, 04:19 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did not edit that page yet so if you dont see a select all button you should ask Lebanon for help on that one
Reply With Quote
  #20  
Old 06-06-2007, 03:26 PM
thenewuser thenewuser is offline
 
Join Date: Mar 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good job!

looks MUCH better!
Reply With Quote
  #21  
Old 06-06-2007, 05:34 PM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why thank you! I stoped working on this by the way, it seems his inviter is buggy like all hell so i dont use it anymore :P
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 06:04 PM.


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.05007 seconds
  • Memory Usage 2,324KB
  • 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
  • (1)bbcode_html
  • (4)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
  • (2)pagenav_pagelink
  • (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