Referrals

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
Post Reply
User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Referrals

Post by dmzx »

Extension Name: Referrals
Author: dmzx

Special thanks to: martin

Extension Description:
Allows members to refer others.
As requested by an0ther23




- Code update for 3.3.x


Code update admin_controller.
Twig update.


Added controllers.
Code update.


Code update.
Fix double entry.


Code update


Code update

Screenshots:
Image

Image

Image

Image

Image

Image

Extension Download:
Download-link
Referral v1.0.6
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `referral`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `referral` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/referral/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Referrals` under the Disabled Extensions list, and click its `Enable` link.

User avatar

killfrenzy
Users
Users
Posts: 118
Joined: 06 Feb 2016, 19:22

Re: Referrals

Post by killfrenzy »

What do you mean allow members to refer others? Is that registration form has referral box?
Compilation of Android Roms, Recoverys, Apps, Games and Tricks
Visit my blog http://androidcribs.com
Androidcribs.com
Androidcribs
Image

User avatar

killfrenzy
Users
Users
Posts: 118
Joined: 06 Feb 2016, 19:22

Re: Referrals

Post by killfrenzy »

I got an error once in registration
General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 [1064]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
P
Compilation of Android Roms, Recoverys, Apps, Games and Tricks
Visit my blog http://androidcribs.com
Androidcribs.com
Androidcribs
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Re: Referrals

Post by dmzx »

First post updated

User avatar

killfrenzy
Users
Users
Posts: 118
Joined: 06 Feb 2016, 19:22

Re: Referrals

Post by killfrenzy »

Yes sir already fixed now. Thanks..btw can you explain how it works? Where can we put referral? I can't see in registration form. :D
Compilation of Android Roms, Recoverys, Apps, Games and Tricks
Visit my blog http://androidcribs.com
Androidcribs.com
Androidcribs
Image

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12

Re: Referrals

Post by martin »

:rolling:
lol.png
You do not have the required permissions to view the files attached to this post.
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Re: Referrals

Post by dmzx »

martin wrote: 14 Mar 2016, 10:37 :rolling:
lol.png
:rolling:

User avatar

chaterzhost
Users
Users
Posts: 9
Joined: 02 Feb 2016, 21:26

Re: Referrals

Post by chaterzhost »

so many thanks dear Dmzx
that what i'm looking for

really liked all you work Ultimate point , topic author .... now you add special and unique ref extension
no one update or create ref ext for phpbb 3.1 except you
now i should join to donator group :eusa_dance: :mml:
thanks again

regards!

User avatar

Solidjeuh
Donator
Donator
Posts: 348
Joined: 13 Dec 2014, 02:40

Re: Referrals

Post by Solidjeuh »

Maybe an option to add the contest on board3 portal? :eusa_dance:
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------

User avatar

chaterzhost
Users
Users
Posts: 9
Joined: 02 Feb 2016, 21:26

Re: Referrals

Post by chaterzhost »

just translate it to arabic :mml: there are a bug : if admin check yes from ACP for Display top 5 referrers on board index and Display referral contests on board index
and didnt create a contest will see an error like this
Image

to avoid this error and if you dont want to start a contest just set NO for :
-Display top 5 referrers on board index
and
-Display referral contests on board index

thanks again Dmzx

regards!

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12

Re: Referrals

Post by martin »

Contest works perfect on the index.

Can you upload your files here pls as i cant download from your site as i cant read a thing,
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Re: Referrals

Post by dmzx »

chaterzhost wrote: 16 Mar 2016, 03:38 to avoid this error and if you dont want to start a contest just set NO for :
-Display top 5 referrers on board index
and
-Display referral contests on board index
What is you default time setting?

User avatar

chaterzhost
Users
Users
Posts: 9
Joined: 02 Feb 2016, 21:26

Re: Referrals

Post by chaterzhost »

martin wrote: 16 Mar 2016, 10:11 Contest works perfect on the index.

Can you upload your files here pls as i cant download from your site as i cant read a thing,
hi
what i mean if admin didnt start a contest he should set NO for
Display top 5 referrers on board index and Display referral contests on board index drom ACP
i upload the file and add download bbcode [down load=pu rple]Download-link [/down load]to it but didnt work
it fix it buy the admin thanks
dmzx wrote: 16 Mar 2016, 10:28
chaterzhost wrote: 16 Mar 2016, 03:38 to avoid this error and if you dont want to start a contest just set NO for :
-Display top 5 referrers on board index
and
-Display referral contests on board index
What is you default time setting?
server time ! like this d M Y, H:i

however now i'm adding a banner section where admin can add banners and html code and bbcode like this one
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Re: Referrals

Post by dmzx »

The Display top 5 is overall top 5 for refferals and has nothing the do with the contest.

For the download link look in the correct topic, not this one and place there your question.

And the banner you can place in off topic.

We keep then the Topics clear and separate otherwise no one can find anything any more.

User avatar

killfrenzy
Users
Users
Posts: 118
Joined: 06 Feb 2016, 19:22

Re: Referrals

Post by killfrenzy »

After updating 1.0 to 1.01 I got this error in homepage.

Code: Select all

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character' in /home/frenzydgreat/public_html/phpbb/datetime.php:50 Stack trace: #0 /home/frenzydgreat/public_html/phpbb/datetime.php(50): DateTime->__construct('@', Object(DateTimeZone)) #1 /home/frenzydgreat/public_html/phpbb/user.php(728): phpbb\datetime->__construct(Object(phpbb\user), '@', Object(DateTimeZone)) #2 /home/frenzydgreat/public_html/ext/dmzx/referral/event/listener.php(200): phpbb\user->format_date(NULL) #3 [internal function]: dmzx\referral\event\listener->index_modify_page_title(Object(phpbb\event\data)) #4 /home/frenzydgreat/public_html/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(158): call_user_func(Array, Object(phpbb\event\data)) #5 /home/frenzydgreat/public_html/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Arr in /home/frenzydgreat/public_html/phpbb/datetime.php on line 50
Compilation of Android Roms, Recoverys, Apps, Games and Tricks
Visit my blog http://androidcribs.com
Androidcribs.com
Androidcribs
Image

Post Reply