xoops forums

Forum Index


Board index » All Posts (Xtracted)




Xtracted

Not too shy to talk
Posted on: 2010/5/25 20:09
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#1

Multiple xoops file structures using same database

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?


Xtracted

Not too shy to talk
Posted on: 2006/11/13 13:54
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#2

Re: xoopsuser hack, Extra Info (Bio)

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?


Xtracted

Not too shy to talk
Posted on: 2006/11/11 12:50
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#3

Re: xoopsuser hack, Extra Info (Bio)

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?


Xtracted

Not too shy to talk
Posted on: 2006/11/10 13:14
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#4

xoopsuser hack, Extra Info (Bio)

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?


Xtracted

Not too shy to talk
Posted on: 2006/11/8 17:02
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#5

Re: xlanguage language tag shown and not hidden problem

I also have the exact same problem..


Xtracted

Not too shy to talk
Posted on: 2006/11/8 16:48
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#6

Re: CBB 3.07 and XOOPS 2.0.15 - cannot add new categories/forums

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..


Xtracted

Not too shy to talk
Posted on: 2006/9/11 12:32
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#7

Re: Block loading order

No bidders? Still no solution...


Xtracted

Not too shy to talk
Posted on: 2006/9/8 8:35
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#8

Re: Block loading order

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..


Xtracted

Not too shy to talk
Posted on: 2006/9/8 6:51
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#9

Block loading order

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..


Xtracted

Not too shy to talk
Posted on: 2006/8/22 10:57
Xtracted
Xtracted (Show more)
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
#10

Re: Strange $xoopsDB->query problem

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 »