| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
(#3)
|
| Senior Member Posts: 5,753 Join Date: Jun 2005 Location: Cumbria, UK |
25-03-2006, 10:48 AM
It would be easy. Just dublicate modernbill.login.php inside includes/LoginShare/ and call the new one modernbill2.login.php. Upload that to the server. Then, open loginshare.config.php inside the same folder. Look for :- Code: define("LOGINAPI_CLIENTEXEC", 113);
Code: define("LOGINAPI_MODERNBILL2", 114);
Code: $_LOGINAPI[LOGINAPI_CLIENTEXEC] = array("title" => $_SWIFT["language"]["loginapi_clientexec"], "include" => "clientexec.login.php");
Code: $_LOGINAPI[LOGINAPI_MODERNBILL2] = array("title" => $_SWIFT["language"]["loginapi_modernbill"], "include" => "modernbill2.login.php");
After that you should see 2 loginshares inside the admin area. The one with the DB details is the first one and the one without is the new one. Should just be a case then of assigning loginshares to templates. This assumes you are using the latest stable (.32). If this doesn't work, please let me know and I will try and set it up in my test enviroment. Best Regards, Craig Brass Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#4)
|
(#5)
|
| Senior Member Posts: 5,753 Join Date: Jun 2005 Location: Cumbria, UK |
25-03-2006, 01:36 PM
Ok, open modernbill2.login.php and find :- Code: $dbLoginShare = new dbCore($_loginshare["mbhostname"], $_loginshare["mbdbuser"], $_loginshare["mbdbpass"], $_loginshare["mbdbname"], "mysql", false); Code: $dbLoginShare = new dbCore($_loginshare["mb2hostname"], $_loginshare["mb2dbuser"], $_loginshare["mb2dbpass"], $_loginshare["mb2dbname"], "mysql", false); Code: $forms[0]["title"] = $_SWIFT["language"]["hostname"]; $forms[0]["name"] = "mbhostname"; $forms[1]["title"] = $_SWIFT["language"]["dbname"]; $forms[1]["name"] = "mbdbname"; $forms[2]["title"] = $_SWIFT["language"]["dbuser"]; $forms[2]["name"] = "mbdbuser"; $forms[3]["title"] = $_SWIFT["language"]["dbpass"]; $forms[3]["name"] = "mbdbpass"; Code: $forms[0]["title"] = $_SWIFT["language"]["hostname"]; $forms[0]["name"] = "mb2hostname"; $forms[1]["title"] = $_SWIFT["language"]["dbname"]; $forms[1]["name"] = "mb2dbname"; $forms[2]["title"] = $_SWIFT["language"]["dbuser"]; $forms[2]["name"] = "mb2dbuser"; $forms[3]["title"] = $_SWIFT["language"]["dbpass"]; $forms[3]["name"] = "mb2dbpass"; Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#6)
|
(#7)
|
| Community Moderator Posts: 887 Join Date: May 2005 Location: Henderson, Nevada |
25-03-2006, 06:02 PM
nevermind I got it sorta fixed craigbrass had me put Code: $_LOGINAPI[LOGINAPI_MODERNBIL2L] Invalid Username or Password Anyone have any ideas? |
| | |
(#8)
|
| Senior Member Posts: 5,753 Join Date: Jun 2005 Location: Cumbria, UK |
26-03-2006, 09:19 AM
Ooops, I have updated that in my main post thus not to confuse anybody else. Are you SURE you have the correct "ModernBill" inside the template group as both loginshares will say the same name for them? Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#9)
|
(#10)
|
(#11)
|
(#12)
|
(#13)
|
(#14)
|
| Senior Member Posts: 5,753 Join Date: Jun 2005 Location: Cumbria, UK |
01-04-2006, 04:05 PM
It would prolly be better if you selected the loginshare for the template group from the drop down menu in the template group settings and then the configure options popped out below. That way you could have multiple loginshares with ease. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#15)
|
![]() |
| Tags |
| duplicate, loginshares, modernbill |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ModernBill Integration Beta | Jamie Edwards | News and Announcements | 0 | 13-11-2006 12:00 PM |
| Modernbill integration | demon | SupportSuite, eSupport and LiveResponse | 0 | 06-04-2006 03:16 PM |
| Tutorial: ModernBill Integration on Seperate Servers | Nick | Developers & Code | 11 | 06-03-2006 10:58 PM |