Some Hacks Make reusing Old wi-redux code a snap!
master
投稿数: 138
We were running Wi-Redux but are now running this project but there were a few things that our users missed not having so i worked this out.
When a grid client connects there was a screen called Loginscreen.php. This let users pick a region to log into and showed assorted info. So to put this back i coped back the following files/folders from wi-redux to xoops root path.
in settings folder copy config.php and mysql.php to xoops settings folder (these were called by wi-redux modules).
Then copy the folder Loginscreen to xoops root path (this contains the images that were used)
Then copy the file loginscreen.php to the xoops root path.
In your opensim ini there is a line where you can tell the client when it connects to 8002 to load the loginscreen.
The user just updates grid info and it will update there client paths form what you set in the ini.
Other hooks are possable but this was an easy one.
(Remember we still have the same Wi-Redux database tables and are no longer used by this project but the data is still there).
I have tested this on both .69 and .7+ revs and had no problems. It will let users have away to pick what region to log into from this screen.
Hopefully some one more clever than me can can make this less of a hack and apply it properly.
to this project so that the old DB is not needed.
Anyway this was a quick and simple change.
Tnx
When a grid client connects there was a screen called Loginscreen.php. This let users pick a region to log into and showed assorted info. So to put this back i coped back the following files/folders from wi-redux to xoops root path.
in settings folder copy config.php and mysql.php to xoops settings folder (these were called by wi-redux modules).
Then copy the folder Loginscreen to xoops root path (this contains the images that were used)
Then copy the file loginscreen.php to the xoops root path.
In your opensim ini there is a line where you can tell the client when it connects to 8002 to load the loginscreen.
The user just updates grid info and it will update there client paths form what you set in the ini.
Other hooks are possable but this was an easy one.
(Remember we still have the same Wi-Redux database tables and are no longer used by this project but the data is still there).
I have tested this on both .69 and .7+ revs and had no problems. It will let users have away to pick what region to log into from this screen.
Hopefully some one more clever than me can can make this less of a hack and apply it properly.
to this project so that the old DB is not needed.
Anyway this was a quick and simple change.
Tnx
投票数:203
平均点:3.69
投稿ツリー
-
Some Hacks Make reusing Old wi-redux code a snap!
(master, 2010-7-12 1:20)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(master, 2010-7-12 1:36)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-7-13 14:31)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(iseki, 2010-7-15 2:56)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(iseki, 2010-7-15 3:04)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(master, 2010-7-20 8:24)
- Re: Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-7-20 8:40)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(master, 2010-7-20 8:24)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(iseki, 2010-7-15 3:04)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-7-13 13:41)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-7-13 13:43)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-7-13 14:03)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-7-13 14:17)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-8-16 4:49)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-8-16 4:51)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-8-16 5:00)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(master, 2010-9-26 17:11)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (iseki, 2010-9-27 9:17)
- Re: Some Hacks Make reusing Old wi-redux code a snap! (master, 2010-11-4 2:45)
-
Re: Some Hacks Make reusing Old wi-redux code a snap!
(master, 2010-7-12 1:36)