Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

Forcing registration through social network - discord

12 May 2020 Edited
#1
This issue is marked as solved
hello,

I am wondering how I can force people registering through discord. Right now, there is no option to register through discord. Also, if I enable force login/registration, there is an option to login but it doesn't work.

It gives the error, hat registration can only be done through social network but there is no option for it, is there something I have to add manually to my templates?

Best answer

Shade 12 May 2020
After a brief chat I realized @KingAlmond had the entire board closed to guests. To let Flyover bypass MyBB's internal checks he had to edit the core according to these instructions.

All replies

Shade 12 May 2020
#2
Yes, as per the docs, you need to add <flyover_login_box> to your templates, where you want the login links to appear.

More info can be found here: Flyover documentation.
KingAlmond 12 May 2020
#3
Right, and for forced registration it is the same thing?
Shade 12 May 2020
#4
Yes.
KingAlmond 12 May 2020 Edited
#5
I got the login working but was wondering if there is a way to force registration solely through a social network.

<flyover_login_box> would it be something like <flyover_register_box> ?
Shade 12 May 2020
#6
There is just one link, it works both for logging in and registrations. You can rephrase it by editing the language files (inc/languages/english/flyover.lang.php) to, for example, “Login/register with {1}”.

To force registrations, logins or both through a social network, set the Operational status setting accordingly.
KingAlmond 12 May 2020
#7
so for the settings for discord social network I have:

one-click registration set to no and operational status set to force registration and login.

I went to that file you referenced above and all the register fields have {1} like so: $l['flyover_register_title'] = "Register with {1}";

but still on the registration page there is no prompt to register through discord.
Shade 12 May 2020
#8
You will need to add <flyover_login_box> to member_register if you want to let the links show up there. If you disable registrations though you will not be able to access the normal registration page.
KingAlmond 12 May 2020
#9
Okay. I have done that and I still allow registrations; however, when I try to click "login with discord" while registering:


Syntax Roleplay
You are either not logged in or do not have permission to view this page. This could be because one of the following reasons:
You are not logged in or registered. Please use the form at the bottom of this page to login.
You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.
Your account may have been disabled by an administrator, or it may be awaiting account activation.
You have accessed this page directly rather than using appropriate forms or links.


it just displays that. How would I force the user to register through discord?
Shade 12 May 2020
#10
Mind chatting with me on Discord? Shade#7731.