MyBB Community Forums

Full Version: ezRPG Integration??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
(2011-08-03, 03:15 PM)koz Wrote: [ -> ]I'm also willing to thrown in some money to have this rpg integrated into MyBB

Great, so now we are more MyBB Users which are willing to trown some money in.
hmm ...

so is it just myrpg or will a custom coded solution do
THIS MAKES NEW MEMBERS ON EZRPG

ok here it is register stuff on mybb

need to install it on same database as mybb can be in any folder and the
database prefix is mybb_

after installing add this to template

<html>
<head>
<title>EZRPG</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}

<form action="ezrpg.php" method="post" id="registration_form">
<input type="text" style="visibility: hidden;" value="" name="regcheck1" />
<input type="text" style="visibility: hidden;" value="true" name="regcheck2" />

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>Testing</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong></strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td colspan="2"><span class="smalltext"><label for="password">EZRPG Password</label></span></td>
</tr>
<tr>
<td colspan="2"><input type="text" class="textbox" name="password" id="password" style="width: 100%" maxlength="50" value="{$password}" /></td>
</tr>
</tr>
</table>
</td>
</tr>
</table>
<br />
<div align="center">

<input type="hidden" name="SECRET_KEY" value="|40wOj7WG!<7zn*0z<Suc&am" />

<input type="hidden" name="uid" value="{$mybb->user['uid']}" />
<input type="hidden" name="username" value="{$mybb->user['username']}" />
<input type="hidden" name="email" value="{$mybb->user['email']}" />
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="Register For RPG" />
</form>
<br />
{$footer}
</body>
</html>


need to change value of

<input type="hidden" name="SECRET_KEY" value="|40wOj7WG!<7zn*0z<Suc&am" />

in the template to your secret key is found in ezrpg files in config.php

then add this php file to mybb folder

[attachment=23666]

then go to ezrpg.php in firefox or ie

userid 1 will not work because you register that when you install ezrpg
Will this do so users can play EZRPG on the MyBB Board?
I was hoping this could be possible.

Willing to pay for this.
thanks massacre going to test this weekend
as far i saw this makes a dual registration right?

what about migrating already existing mybb users?

correct me if im wrong
this moves them over just passwords are not done same way so needs them to put one in all other data is taken from user info.
So username userid email are all same
After what I see there is a error while trying this.

Whenever I go to ezrpg.php is says this:
Quote:You do not have permission to access this page. This could be because of one of the following reasons:
Your account has either been suspended or you have been banned from accessing this resource.
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 still be awaiting activation or moderation. (Resend Activation Code)
You have accessed this page directly rather than using appropriate forms or link.

I have installed EzRPG on the same database with the table prefix called "mybb_".
I have uploaded the EzRPG script to MyBB-Root/ezrpg/.
I have uploaded the file called ezrpg.php to MyBB-Root/ezrpg.php
I got the SECRET_KEY into the template.
Made the template in Global Templates.

Any idea what is wrong?
This is a simple integration. I'm going to look for a coder to do a full integration into mybb for this.
(2011-08-06, 11:34 AM)koz Wrote: [ -> ]This is a simple integration. I'm going to look for a coder to do a full integration into mybb for this.

Let me know if you find one.
Willing to put some money into it.
if you want it fully means rewrite of alot of the code take time

and dark soul means already registed
Pages: 1 2 3 4 5 6 7