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

Reply
 
Thread Tools
Invitation / Promotional code system Details »»
Invitation / Promotional code system
Version: 1.3, by Vaupell Vaupell is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 02-04-2009 Last Update: 02-12-2009 Installs: 40
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

Invitation / Promotional code system 1.3
First non-beta 6 feb.

UPDATE 20-march-2010 :
Mod upgraded to a working vb4, and can be found here - vb4 modifications


FIRST OFF :
This mod is made by a person with 0 php knowlegde and experience, which nodoubt will result
in many fixes. But it was also done due to the DIY* attitude aroundhere so i guess if i want
something i gotta DIM*, which i did, wasent intended for shareing but it was requested so here it is.

DIY* = Do it yourself
DIM* = Do it myself





Special Thanks goes to :
  • TedS for starting me off, and positive motivation
  • bananalive for ansvering support Q's in this forum
  • Lynne for fast response and help with installation
  • Dismounted for information and knowlegde support
  • Marco van Herwaarden - Ewen though he can be a pain
    does great support and suggestions.
--------------------------------------

About :
Evisystems invitation system enables invitation and promotional codes that you define.
You can add your invitation codes from the admin panel under the tab named invitation codes.
And also included the ID of the usergroup where the user should be placed into if using that specifik code.
Currently no limits to ammount of codes, also possible for dublicates.
Testes and working on a 3.8.0, 3.8.1 board.

Short about :
Drops user in specifik usergroup depending on invitation code.






Installation :
  • 2 Files upload.
  • 1 Product file import.
  • 2 Template edits in 1 template.
Instructions added in .zip


Download :

v1.3 rr1 full : EviVBinvitation13.zip

Versions:

V1.3 rr1 : Removed dependencies
cant garanti it will work with older version, but it wont brake it.
V1.3 : Out of beta stage, full release.
Minor ajustments, phrase optimized for translation, type added
V1.2 : File changes
Now uses original register, plugin added, admincp updated
V1.1r1 : AdminCP edit panel
Edit panel working and enabled.
V1.1 : Release on vbulletin.org
Phrase fixes, link to global fix, php fix,
edit menu disabled, add menu phrases added.
v1.0 : Release on localsite
various bugs reported on first test,
verification issues, fixed.


Known Issues :



Screenshots :

Attached below.

Screenshots

File Type: jpg screen1full.JPG (72.1 KB, 0 views)
File Type: jpg screen2full.JPG (64.9 KB, 0 views)
File Type: jpg screen3full.JPG (33.2 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-05-2009, 10:07 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-- Reserved for future use --

Please report bugs, when you find them.
and also check "known bugs" in the installation instructions
and new ideas + possible solutions is appriciated.

Invitationcode.php file is from 1.2 excluded and not needed anymore.
Reply With Quote
  #3  
Old 02-05-2009, 10:08 AM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!! Checking it out now.
Reply With Quote
  #4  
Old 02-05-2009, 11:12 AM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Del the header
nobody needs to know your licence nr.

also change this_script because register is allready used
Reply With Quote
  #5  
Old 02-05-2009, 11:31 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ragtek View Post
Del the header
nobody needs to know your licence nr.

also change this_script because register is allready used
header deleted. lol

anyway the "register" is storeing the phrases, was trying to create a new phrase type / category.

but the instructions for that failed/ didnt work. so could not create a new phrase type
thats why im using the register, seemed the only sencible place since working with regitstrations.

was going through this phrase type article
just didnt work out for me. ...

.. yet anyway..
Reply With Quote
  #6  
Old 02-05-2009, 11:36 AM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, i'm talking about
PHP Code:
define('THIS_SCRIPT''register'); 


This part is for phrases:
PHP Code:
// get special phrase groups
$phrasegroups = array('timezone''user''register''cprofilefield'); 


Also i'm not sure, if your allowed to release a original vB file with some fileedits!
Reply With Quote
  #7  
Old 02-06-2009, 08:14 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=ragtek;1735069]No, i'm talking about
define('THIS_SCRIPT', 'register');
[quote]

Fixed.

Quote:
Also i'm not sure, if your allowed to release a original vB file with some fileedits!
hmm.. come to think of it, i think your right.
.. Fixed, changed to plugins.
Reply With Quote
  #8  
Old 02-10-2009, 10:16 PM
relaxiha relaxiha is offline
 
Join Date: Jan 2009
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello .
does is mandatory ?
for example : if i want disable this hack ..?
Reply With Quote
  #9  
Old 02-10-2009, 11:53 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by relaxiha View Post
hello .
does is mandatory ?
for example : if i want disable this hack ..?
To disabled without uninstall goto

AdminCP > Plugins and Products > Manage Products >

And select "disabled in the dropdown window"
Reply With Quote
  #10  
Old 02-11-2009, 01:20 AM
Lone Gunman Lone Gunman is offline
 
Join Date: Nov 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great idea! keep up the good work. i might not need this yet, but ill download it for later.
thanks.

edit: need mysql 5 or later for this (i just got 4.1)
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 02:17 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.06333 seconds
  • Memory Usage 2,331KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete