Jump to content
MakeWebGames

SMF Registration Intergration!!!!!


Dayo

Recommended Posts

SMF Registration Intergration for Mccodes V2

NOTE:

  • ONLY USE IF YOU ARE INSTALLING ON NEW GAME AS IT DONT IMPORT EXISTING USERS
  • STAFF IN YOUR GAME DONT AUTOMATICLY GET PRIVS
  • TESTED WITH SMF 1.1.8
  • you need to download smf 1.1.8 from the smf website
  • if you delet your forum account it DONT delet your game account

 

This mod automaticly registers a user for the smf forum when they register for your game

You will need to

Upload smf 1.1.8

edit 2 php file

step 1

download smf and upload all files to your site

step 2

install smf (Table prefix needs to be forum_ !!!!!)

self explanatory

step 3

open register.php

find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

and add this after:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

step 4

open mainmenu.php find the link to the forum and replave the link with new link to your forum

step 5

go to your forum then admin --> Registration --> Settings --> then change 'Method of registration employed for new members' to registration disabled.

this disables users from registering on forum and not game (auto register still works when you register for ur mccodes game)

Enjoy :D

 

please note if you have any errors post here and ill try to fix it :-)

Link to comment
Share on other sites

  • 2 months later...
  • 5 months later...

Just a note:

SMF passwords are no longer encrypted using the method in the first post

sha1('{$_POST['password']}')

Rather, they are now encrypted like so:

sha1(strtolower($username).$_POST['password']);

Not sure about SMF 2.X, but for the most recent SMF 1.X release I know this to be true.

Link to comment
Share on other sites

  • 2 months later...

I wanna find one for PHP BB3 but that one is tricky i heard.

Is there a way to get this to work with an EXTERNAL site forums?

for example... both website are on same server.

Game.com is the one with the registration.

Forum.com (2nd site) is on another site on the same server

Is there a way to make it register to both even though the forums are on a different website name?>

Link to comment
Share on other sites

  • 3 months later...

SMF Forum And Game Connecting

i need to know if this will work as stated with a game script other than mccodes as it is....any comments on any other game script this works with....please post reply,or message me here....thanks....Snake

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...