1
Xtracted
Multiple xoops file structures using same database
  • 2010/5/25 20:09

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


So, I am building a special site (actually two or three or more) and I have more or less decided that I will use Xoops for the whole project but I would appreciate some input before getting started.

So, the site will have two or three or even more domains linked to it and I want to have different themes on each site but same user database, same modules and everything and I will control access to modules for different sites by using the group permissions in Xoops.

My thought is to put one dir on my webserver for each domain, point the domain to the approperiate dir, make a custom settings file for each site pointing to the same database.

Since the template in use is controlled by the database I will modify the files in the template folder for each site to give each site a unique appearance.

The only thing I need more is to have people registering from a certain domain added to a special group for that domain. I guess I can make a hack for the registration function to solve this, shouldnt be very advanced.

So, any input about this? Will it work? Have I missed something?



2
Xtracted
Re: xoopsuser hack, Extra Info (Bio)
  • 2006/11/13 13:54

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Sweet, there it was..


This works well so far, Ill just keep spamming the questions =)

How do I make it use another editor, koivi for example, since I noticed the regular editor to be a bit too limited?



3
Xtracted
Re: xoopsuser hack, Extra Info (Bio)
  • 2006/11/11 12:50

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Yes! There it was, totally missed that line somehow.. *blush*


Now I have a followup problem.. When I allow more content in the bio field, I also need to make the editor larger to make it easier to modify..

This is my code for the editor:

$bio_tray = new XoopsFormElementTray(_US_EXTRAINFO'<br />');
    include_once 
'include/xoopscodes.php';
    
$bio_tarea = new XoopsFormDhtmlTextArea(_US_EXTRAINFO'bio'$xoopsUser->getVar('bio''E'));
    
$bio_tray->addElement($bio_tarea);


Is it possible to change the size of just that editor somehow without changing all the editors in the entire page?



4
Xtracted
xoopsuser hack, Extra Info (Bio)
  • 2006/11/10 13:14

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I am hacking xoopsuser a bit to give the "extra info" field a bit more function. I have fixed so you use a editor instead of the regular textfield to edit it and I want to make it possible to insert pretty much information into it.

I tried to just change the database field for it but somewhere the input is capped at 255 characters.. If i input more it ends at 255 and three dots are added after the text...

I assume that somewhere there is a limitation to how much text you allowed to have in the extra info field. Can someone point me in the right direction?



5
Xtracted
Re: xlanguage language tag shown and not hidden problem
  • 2006/11/8 17:02

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I also have the exact same problem..



6
Xtracted
Re: CBB 3.07 and XOOPS 2.0.15 - cannot add new categories/forums
  • 2006/11/8 16:48

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I get the same problem and I have tried with several themes (including the ones that comes with xoops) and I still get pages that doesnt load properly. Any other suggestions how to fix this? I am working on a clean install and have tried all above mentioned fixes.. I use XOOPS 2.0.15..



7
Xtracted
Re: Block loading order
  • 2006/9/11 12:32

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


No bidders? Still no solution...



8
Xtracted
Re: Block loading order
  • 2006/9/8 8:35

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Yes, but I want the database queries executed in the block to be executed after the content in the rest of the page.. Setting that blocks weight to a higher number doesnt make a change in that.. And the right column in wich I have the block in question comes after the center column in the theme..



9
Xtracted
Block loading order
  • 2006/9/8 6:51

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Is there a way to change in what order blocks and other page content loads? I have a block that I want loaded after all other content has been loaded on the page.

There are database queries that change values in the database that the block displays. Now the block displays the values from before the queries have been executed since the block loads before the other content..



10
Xtracted
Re: Strange $xoopsDB->query problem
  • 2006/8/22 10:57

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Update, I have been able to create a error notification! yay!



UPDATE xoops_table SET bla='0' WHERE id=2
Error number: 0
Error message: Database update not allowed during processing of a GET request




TopTop
(1) 2 3 4 ... 14 »



Login

Who's Online

194 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 194


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits