Re: EternalGaming and Xaraya
[email protected] (Mike Bowers)
| Newsgroups | gmane.comp.cms.xaraya.curiosa |
|---|---|
| Organization | not organized |
| Message-ID | <[email protected]> |
The user db share is working jsut fine as i can see it. Sharing between http://www.eternalgaming.com and http://xaraya.planetmodz.com Mike Bowers wrote: > I'm the technical man and PHP coder over at EG. Thanks for the help, i'll > try these out and tell you how it goes. We would like to share all user > data (not just login and pw), but for now login and pw will be enough. > I'll let you know how it goes. If you figure any ideas out feel free to > email me directly at [email protected] > mikespub wrote: > > In article <bc1aqr$7vu$1-111RdWWlOxkOkXtL6OYfHgC/[email protected]>, [email protected] > (Robert Town Jr.) wrote: > > >Hi there Fellow Xaraya Users, how are you? > > > > > >My sire Eternal Gaming (http://www.eternalgaming.com) is using Xaraya, we > > >have been trying for the last 6 months to make our own Content Managment > > >System, but that takes alot of time, as you all well know, Well we found > > >Xaraya, > > > > > >We thank god we did, but there are some things I was wondering. > > > > > >1. We have a complex Cats system running as you can see. > > > > > >We need to be able to view all artical types with one cat tree.. as it is > > >I don't think we can, is there a way we can do this? > > > > > Navigation by category is not really perfect yet, but you can certainly do > > it without needed a sub-category for each publication type, I'd say... :) > > For instance, if you go to SimCity4, you'll get all articles (of all types) > > by default now. What you could do -if I understand what you're trying > > to do here- is start category navigation via the "Game" publication type. > > For each game category, you'd have 1 Game article with a summary > > that describes the game etc., so when people navigate through the > > "Game" publication type and the Games categories, they'll end up > > here : http://www.eternalgaming.com/index. > > php?module=articles&func=view&catid=106&itemtype=8 > > (enable short urls, and it'll look nicer, like /index.php/game/c106) > > Now that page would provide the starting place for other publication types > > (News, FAQs, Reviews, ...) about that game. How you can do that is > > by adapting the user-view.xd template (or creating a specific > > user-view-game.xd template) to show the links to those other > > publication types. > > [enable "Show links to publication types" in Articles - Modify Config - Game > > and you'll see what I mean] > > Either you move down the <xar:template file="publinks" type="module" /> > > tag below the categories navigation tag and you adapt the > includes/publinks.xd > > template to show the other publication types for this category, or you > > get rid of that publinks template altogether, and you add your own links > > there. > > Now customize your main menu to provide the right starting points > > and e.g. add a categories/navigation block if you want, and I think > > you'll be much closer to what you had in mind. Well, that's just a rough > > idea on how I would organise things, anyway :-) > > >2. We have about 10 sites, and we want them all to share a user DB and > > >nothing else, is there a way to do this? > > > > > [untested, so I might have missed some necessary change here] > > If all you want is for them to have the same user/pass on all sites, you > > can change the modules/roles/xartables.php file and includes/xarUser.php > > so that the roles table uses the same prefix everywhere. > > If you want people to stay logged in when they move from site to site > > (assuming they're all in the same domain), you'll need to share the > > session_info table in the same way by adapting includes/xarSession.php. > > You'll also need to change the session.cookie_path and session.cookie_domain > > depending on how your sites are set up. > > If you want to share the user details (beyond the basic login info) as > > well, that might be a bit trickier at the moment, since you probably don't > > want to share the whole dynamic_data table. I'll need to think about this > > one for when we tackle multi-sites for real :-) > > [/untested, so I might have missed some necessary change here] > > >I want to thank the Dev team for all there hard work, this is already the > > >best CMS out there and its in beta still. > > > > > >Thank you > > >Robert Town Jr. > > Cheers, > > Mike.