flagflag  

Some Hacks Make reusing Old wi-redux code a snap!

List posts in the topic

なし Some Hacks Make reusing Old wi-redux code a snap!

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 .2 .3 .4 .5 .6 .7 .8 .9 .10 | Posted on 2010/7/12 1:20
master  Just can't stay away   Posts: 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
Votes:193 Average:3.47

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

97 user(s) are online (4 user(s) are browsing Forum)

Members: 0
Guests: 97

more...

Access Counter

Today : 3030303030303030
Yesterday : 1529415294152941529415294
Total : 2339773023397730233977302339773023397730233977302339773023397730
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com