Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

Re: [Mccodes][V2] SMF Registration Intergration!!!!!

well here is a more basic one over time i will be improving it till it id fully intergratable untill then feel free to charge what you like

  • 2 months later...
Posted

Re: [Mccodes][V2] SMF Registration Intergration!!!!!

when people register for your game it will automaticly register them for ur SMF forum

Posted

Re: [Mccodes][V2] SMF Registration Intergration!!!!!

i did have that working some where ive got to look throgh my HDs for it

Posted

Re: [Mccodes][V2] SMF Registration Intergration!!!!!

 

Will It Work With ???

Forum version: SMF 2.0 RC1

Doubtful, SMF 2 uses a different database structure.

I'm sure you could easily make one though that works.

Posted

Re: [Mccodes][V2] SMF Registration Intergration!!!!!

yea just look thro the SMF register for the query they use and then edit it (just press ctrl + f and search INSERT

  • 5 months later...
Posted

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.

  • 2 months later...
Posted

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?>

Posted

Really? That's news to me (Then again I'm still learning to setup serverside stuff like that. Thanks though I will give it a try when i find a system for PHP BB3 (That's my forums)

  • 3 months later...
Posted

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

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...