81
ewonline
Re: XOOPS for high traffic site?
  • 2007/2/18 2:30

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


I run a XOOPS site with 2M page views (6M+ hits), and about 70,000 Unique Visitors per month and I can tell you it used to be a huge problem. The fix, hack the XOOPS code like heck, which I've done. A lot of unused features in XOOPS I have removed. Also, install eAccelerator, that definitely helps a lot.

Installing eAccelerator will help a lot, but not get page gen times down to the 0.0x levels, just down to 0.x levels.

And I agree, its not entirely XOOPS' fault, its a CMS, its dynamic, so its that way by nature.
Resized Image



82
ewonline
Re: PHP as CGI binary - supported for XOOPS?
  • 2007/1/6 4:31

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Its slower than running php as an apache module, but should still work.
Resized Image



83
ewonline
Re: Sessions and Search Bot Improvement needed
  • 2006/12/28 0:27

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Quote:

wizanda wrote:
May be wrong in this, yet looks this way...in MySql Admin with all the changes and playing we have done lately, noticed this reoccurring IP address 66.249.65.199

Now on checking it, it says it is a Google bot, please tell me if that is correct as still checking....


Sure is Google bot
http://www.dnsstuff.com/tools/whois.ch?ip=66.249.65.199
Resized Image



84
ewonline
Re: Anti Flood Request
  • 2006/12/28 0:23

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


The only real solution for bots hitting your site constantly is mod_evasive. I have it installed on my server hosting my site and I can tell you it blocks at least 5 IPs a day.
Resized Image



85
ewonline
Re: was my apache server hosting xoops attacked ?
  • 2006/12/28 0:22

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Its unlikely your server has been hacked, though its possible it got "bot'ted"

Have you tried restarting the apache server?
Resized Image



86
ewonline
Re: YouTube isnt very good :-(
  • 2006/12/11 23:52

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Theres paid software out there that will get you a YouTube like site off the bat, everything pre-coded.
Resized Image



87
ewonline
Emma Watson Online (www.ewonline.net)
  • 2006/12/10 20:39

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Emma Watson Online is an Emma Watson fan site running on XOOPS with x-ipb module (we're upgrading to xipbplugin soon). If you watch the Harry Potter movies, you probably know Emma Watson as Hermione Granger.

Theres a lot of SEO and XOOPS core hacks used on the site. The theme used is Flower Red from Astonthemes.
Resized Image



88
ewonline
Re: SEO URLs for News Module
  • 2006/12/10 18:05

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


DO NOT USE THE CODE STRAIGHT OUT, YOU WILL BREAK YOUR NEWS MODULE!

My Hacked News Module is streamlined and features I don't use were removed, so it will NOT work for you.
But since you guys want some code to look at, here it is.


<?php
include '../../mainfile.php';
$xoopsOption['template_main'] = 'news_index.html';
include 
XOOPS_ROOT_PATH.'/header.php';
include_once 
XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php';
if (isset(
$_GET['storytopic'])) {
$xoopsOption['storytopic'] = intval($_GET['storytopic']);
} else {
$xoopsOption['storytopic'] = 0;
}
if (isset(
$_GET_['storynum']) ) {
$xoopsOption['storynum'] = intval($_GET['storynum']);
if (
$xoopsOption['storynum'] > 30) {
$xoopsOption['storynum'] = $xoopsModuleConfig['storyhome'];
}
} else {
$xoopsOption['storynum'] = $xoopsModuleConfig['storyhome'];

}
if ( isset(
$_GET['start']) ) {
$start intval($_GET['start']);
} else {
$start 0;
}
if ( 
$xoopsModuleConfig['displaynav'] == ) {
$xoopsTpl->assign('displaynav'true);
$xt = new XoopsTopic($xoopsDB->prefix('topics'));
ob_start();
$xt->makeTopicSelBox(1$xoopsOption['storytopic'], 'storytopic');
$topic_select ob_get_contents();
ob_end_clean();
$xoopsTpl->assign('topic_select'$topic_select);
$storynum_options '';
for ( 
$i 5$i <= 30$i $i ) {
$sel '';
if (
$i == $xoopsOption['storynum']) {
$sel ' selected="selected"';
}
$storynum_options .= '<option value="'.$i.'"'.$sel.'>'.$i.'</option>';
}
$xoopsTpl->assign('storynum_options'$storynum_options);
} else {
$xoopsTpl->assign('displaynav'false);
}
$sarray NewsStory::getAllPublished($xoopsOption['storynum'], $start$xoopsOption['storytopic']);
$scount count($sarray);
for ( 
$i 0$i $scount$i++ ) {
$story = array();
$story['id'] = $sarray[$i]->storyid();
$story['poster'] = $sarray[$i]->uname();
if ( 
$story['poster'] != false ) {
$story['poster'] = $story['poster'];
} else {
$story['poster'] = $xoopsConfig['anonymous'];
}
$story['posttime'] = date('m/d/Y',$sarray[$i]->published());
$story['text'] = $sarray[$i]->hometext();
$introcount strlen($story['text']);
$fullcount strlen($sarray[$i]->bodytext());
$totalcount $introcount $fullcount;
$morelink '';
$storytitle strtolower($sarray[$i]->title());
$replacethese = array('update: ','update 2: ','update 3: ','rumor: ',''');
$storytitle = html_entity_decode(str_replace($replacethese, "", $storytitle));
$storytitle = str_replace(" ", "-", $storytitle);
$storytitle = ereg_replace("[^[:alnum:]-]", "", $storytitle);
$storytitle = str_replace("--", "-", $storytitle);
if ( $fullcount > 1 ) {
$morelink .= '
<b><a href="'.XOOPS_URL.'/news/'.$sarray[$i]->storyid().'-'.$storytitle.'/';
$morelink .= '">'._NW_READMORE.'</a></b>';
}
$story['
morelink'] = $morelink;
$story['
adminlink'] = '';
$story['
mail_link'] = 'mailto:?subject='.sprintf(_NW_INTARTICLE,$xoopsConfig['sitename']).'&amp;body='.sprintf(_NW_INTARTFOUND, $xoopsConfig['sitename']).':  '.XOOPS_URL.'/news/'.$sarray[$i]->storyid().'-'.$storytitle.'/';
$story['
imglink'] = '';
$story['
align'] = '';
if ( $sarray[$i]->topicdisplay() ) {
$story['
imglink'] = $sarray[$i]->imglink();
$story['
align'] = $sarray[$i]->topicalign();
}
$story['
title'] = "<a href="".XOOPS_URL."/news/".$sarray[$i]->storyid()."-".$storytitle."/">".$sarray[$i]->title()."</a>";
$xoopsTpl->append('
stories', $story);
unset($story);
}
$totalcount = NewsStory::countPublishedByTopic($xoopsOption['
storytopic']);
if ( $totalcount > $scount ) {
include_once XOOPS_ROOT_PATH.'
/class/pagenav.php';
$pagenav = new XoopsPageNav($totalcount, $xoopsOption['
storynum'], $start, 'start');
$pagenav2 = $pagenav->renderNav();
$pagenav2 = str_replace("/modules/news/index.php?start=", "http://www.ewonline.net/news/", $pagenav2);
$pagenav2 = str_replace('">', '/"
>', $pagenav2);
$pagenav2 = str_replace('
http://www.ewonline.net/news/0/', 'http://www.ewonline.net/news.html', $pagenav2);
$xoopsTpl->assign('pagenav'$pagenav2);
} else {
$xoopsTpl->assign('pagenav''');
}
$xoopsTpl->assign('lang_go'_GO);
$xoopsTpl->assign('lang_on'_ON);
$xoopsTpl->assign('lang_printerpage'_NW_PRINTERFRIENDLY);
$xoopsTpl->assign('lang_sendstory'_NW_SENDSTORY);
include_once 
XOOPS_ROOT_PATH.'/footer.php';
?>
Resized Image



89
ewonline
Re: SEO URLs for News Module
  • 2006/12/10 18:05

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Double Post
Resized Image



90
ewonline
Re: SEO URLs for News Module
  • 2006/12/10 1:18

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


The code is all there, I use a very heavily hacked copy of the News module, so I can't post that News Module code here since it wouldn't work for anyone.

But look at the previous posts, its all there.
Resized Image




TopTop
« 1 ... 6 7 8 (9) 10 11 12 ... 16 »



Login

Who's Online

137 user(s) are online (65 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

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

Latest GitHub Commits