41
devilock76
Wierd problem on test site
  • 2006/11/20 4:21

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


OK I actually copied this install, it is not a fresh install. However I figured this area might yield the closest answer fora wise.

Ok well I copied my Live to Test (version 2.0.13). I did this to prepare to migrate up to 2.0.15 and to upgrade a few other modules.

Anyway copied the entire file structure.

Copied the database.

mainfile.php is edited properly

permissions are good

I THINK .htaccess is right on.

Anyway /Test is a subdirectory on my host under the live install.

I have the site locked for testing. After I logon I cannot go to the home page via the main menu. I have to type out the address with an index.php at the end. So basically:

WORKS www.raleighmusic.com/Test/index.php

BROKEN www.raleighmusic.com/Test

I have no clue why this is happening and the same behavior does not exist in live. Help please!!!

Ken



42
devilock76
Re: Xoops Custom Layout/Block/Page question
  • 2006/11/19 6:51

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


Sorry, bump.

I have downloaded WF-Channel and WF-Snippet, hoping to get those installed tomorrow to see if that gets me closer, any other suggestions?!?

Ken



43
devilock76
Xoops Custom Layout/Block/Page question
  • 2006/11/19 1:57

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


OK I am looking to do something a little unusual and do it all with XOOPS as opposed to using dual CMS systems to handle my needs. At present I have a 2 development projects I am going to have going live on my website. Project 1 is website baker and is here:

www.mack-z.com/dev/MZ

Project 2 is a a XOOPS portal which is installed right now but not themed or anything.

I have installed SmartSection and Multimenu. What I am looking to do is to setup my site so I have store front pages that closely resemble the website baker install as linked above and then when you go to the more portal areas for my client logons as well as some sections for personal/family pictures and things like that. Basicalyl it is like having 2 different sites in one. I can live with them being the same theme but obviously I need a set of about 4 or 5 custom HTML pages with only a top menu and one of them be the default start/home page and then when the user goes to the portal pages the system opens up. I would like to do this all with one install of XOOPS if possible. I was thinking maybe a double install of SmartSection might get me close. Any tips to how I can do this would be greatly appreciated. If I end up having to have the Website Baker layer remain my store front and have XOOPS stay in a /portal directory in the end I could live with that but for my own self practice I would like to try what I am proposing.

Side note I am not a total XOOPS newb however I am not the most php savy person but I am a programmer.

For another site I own/administer/ well I setup XOOPS and did all the work for it except some of the theme specific css you can see:

www.raleighmusic.com

Ken



44
devilock76
Re: CBB 3.05 problems
  • 2006/11/14 17:55

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


Sorry, XOOPS 2.0.13

I am thinking I need to go ahead and try for 3.07 while I am at it. I just need a good replication in the test environment for what I will need to do in live. Actually recopying test is on the todo list I think. I will check 3.07 at some point.

Any other thoughts?

Ken



45
devilock76
CBB 3.05 problems
  • 2006/11/14 14:46

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


Trying to upgrade from newBB2 to CBB 3.05

I get a blank page when I go to the forums. Turning on phpdebug yields this

Fatal error: Call to undefined function: newbb_getcookie() in /home/raleighm/public_html/Test/modules/newbb/include/vars.php on line 161

I checked the functions.php in the include area for this module and everything looks fine. Need some help, this is the test mirror of my production site that is failing right now.

Ken



46
devilock76
piCal hour 26???
  • 2006/2/10 21:10

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


For some reason our users (bands and musicians) some of their events when entered in piCal that go from 10PM-2AM the next day show as being from 10pm to 26:00. Now when we first went live I moved the day switch over to 2 am as for musicians that seemed to make more sense. It seems the 26:00 ones are ones that were entered before this switch. Ones I have corrected here and there don't do that but these when I correct they still show bad. Any idea what might be causing this and how I can prevent and fix it.

Ken

PS. Don't get me started on how many users in this first live week either entere no time so it is 9-5 event or it starts at 2AM and ends at 10pm because they don't seem to realize 2AM is still really the next day.



47
devilock76
Re: Word Censor Problem
  • 2006/2/10 15:56

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


Quote:

bb2120 wrote:
No, just none of the XOOPS.ORG resident techies have seen it yet...


Yeah, figured that, I am just a little weak on the PHP side. I am getting better. I used to be a pretty good C/C++ programmer so it is coming back!

Reminds me I found a bug in XOOPS 2.0.13 I need to post. This time I worked around it.

Ken



48
devilock76
Re: Word Censor Problem
  • 2006/2/6 16:30

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


Sorry to be redundant but...

BUMP Take 2.

Anyone, Bueller, is my question that boring?

Ken



49
devilock76
Re: Word Censor Problem
  • 2006/2/3 19:07

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


Bump, I am thinking the answer to my problem is to make the pattern simply the pattern string alone with no special before or after coditions?

Ken



50
devilock76
Word Censor Problem
  • 2006/2/2 19:48

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2


OK I am setting up the word censor and I noticed the following condition

If you have say the word badword to be replaced with !DOH!

OK so the following lines:

badword
badwordyomomma
yomommabadword

Become:
!DOH!
!DOH!yomomma
yomommabadword

The third instance the word filter does not pick up. It seems that XOOPS will only pick up the bad word if it is stand alone or the beginning of a new word. It will not pick it up if there is other text in front of it.

Why is this important to me/

Well our site we are fairly lenient about the words however we are trying to keep out F***, S***, and C***

Ok well that works fine but we want to make sure F*** derivatives are caught and the one that is not by this limitation is motherF***er.

i would like MotherF***er to become Mother!DOH!er. Call it my aesthetic opinion.

Ok well I looked at module.textsanitizer.php

and found this snippet:

/**
     * Replaces banned words in a string with their replacements
     *
     * @param   string $text
     * @return  string
     *
     * @deprecated
     **/
    
function &censorString(&$text)
    {
        if (!isset(
$this->censorConf)) {
            
$config_handler =& xoops_gethandler('config');
            
$this->censorConf =& $config_handler->getConfigsByCat(XOOPS_CONF_CENSOR);
        }
        if (
$this->censorConf['censor_enable'] == 1) {
            
$replacement $this->censorConf['censor_replace'];
            foreach (
$this->censorConf['censor_words'] as $bad) {
                if ( !empty(
$bad) ) {
                     
$bad quotemeta($bad);
                    
$patterns[] = "/(s)".$bad."/siU";
                    
$replacements[] = "\1".$replacement;
                    
$patterns[] = "/^".$bad."/siU";
                    
$replacements[] = $replacement;
                    
$patterns[] = "/(n)".$bad."/siU";
                    
$replacements[] = "\1".$replacement;
                    
$patterns[] = "/]".$bad."/siU";
                    
$replacements[] = "]".$replacement;
                    
$text preg_replace($patterns$replacements$text);
                }
               }
        }
           return 
$text;
    }


So I guess my base question is what $patterns[] entry do I need to make to get this to function the way I want?

On a side note if I get this fixed I am also looking for a way to make my private forums excluded from the word filter yet keep the filter on all other content including the public forums?

Ken




TopTop
« 1 2 3 4 (5) 6 »



Login

Who's Online

160 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 160


more...

Donat-O-Meter

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

Latest GitHub Commits