PDA

View Full Version : Miscellaneous Hacks - Invitation / Promotional code system


Vaupell
02-04-2009, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=238681)


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 : 94793

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.

Vaupell
02-05-2009, 10:07 AM
-- 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.

BlackJacket
02-05-2009, 10:08 AM
Thanks!! Checking it out now. :)

ragtek
02-05-2009, 11:12 AM
Del the header ;)
nobody needs to know your licence nr.

also change this_script because register is allready used

Vaupell
02-05-2009, 11:31 AM
Del the header ;)
nobody needs to know your licence nr.

also change this_script because register is allready used

header deleted. lol :p

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 (https://vborg.vbsupport.ru/showthread.php?t=117132&highlight=phrase+type)
just didnt work out for me. ...

.. yet anyway.. :D

ragtek
02-05-2009, 11:36 AM
No, i'm talking about
define('THIS_SCRIPT', 'register');



This part is for phrases: // 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!

Vaupell
02-06-2009, 08:14 AM
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.

relaxiha
02-10-2009, 10:16 PM
hello .
does is mandatory ?
for example : if i want disable this hack ..?

Vaupell
02-10-2009, 11:53 PM
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"

Lone Gunman
02-11-2009, 01:20 AM
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)

Vaupell
02-13-2009, 06:53 AM
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)

13 feb V1.3 rr1 : Removed dependencies
should be installa abled for all version now, just might not work.
but it wont say requires a specifik version anymore.

ti07shadow
06-02-2009, 05:46 PM
im going to tag this modification. I would like to use this some time. but wait for any known issues to be fixed :p

maidos
06-02-2009, 09:22 PM
about promotion im not sure where exactlyit includes
But if possiblecan youmake itpossible that if a user enter apromocode it will enable the user advancement to a new usergroup?

Deadsy
09-12-2009, 05:09 PM
Is it possible to invite a existing user to a new usergroup?

DeMiNe0
12-26-2009, 04:33 AM
Is it possible to invite a existing user to a new usergroup?

I would like to know this as well.

Vaupell
12-29-2009, 06:33 PM
Is it possible to invite a existing user to a new usergroup?

I would like to know this as well.

Nope its not,

If youre thinking sorta promotion feature,
it could be done with a mod in a similar fasion

Currently upgrading it to vb4, which means im dropping all vb3 projects
both my test server, live server and those few i admin on are now running
vb4 so i dont have the "ekstra" resources to support vb3. :(

prolax
03-12-2010, 06:15 AM
any news on update?

Vaupell
03-20-2010, 12:22 AM
any news on update?


yes... https://vborg.vbsupport.ru/showthread.php?t=238681

aleko
08-20-2010, 08:26 PM
thanks!!

Blueracer66
08-27-2012, 04:44 PM
Anyone know if this works in 3.8.7 LP3?