1
joat
Re: xoopspoll 1.2 (for xoops 2.3.x) with CBB 3.08
  • 2009/4/13 18:57

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


Quote:

JAVeseywrote:
Does this module work like xoopspoll does with CBB (or any other XOOPS forums modules?


Quote:

Catzwolf wrote:
Does anyone know what changes were made to make it comp with CBB?


The package that I uploaded contains directory named "_hack_newbb". It's a hack for cbb-v3.08.
I compared those files with original newbb-v3.08 and found that there were no serious changes there, just replacing path to module umfrage instead of xoopspoll. Only one place where I didn't have time to jump in a code is "include/functions.ini.php" where in the function "newbb_formatTimestamp"
one block is disabled
/*
    if(strtolower($format) == "reg" || strtolower($format) == "") {
        $format = "c";
    }
    if( (strtolower($format) == "custom" || strtolower($format) == "c") && !empty($GLOBALS["xoopsModuleConfig"]["formatTimestamp_custom"]) ) {
        $format = $GLOBALS["xoopsModuleConfig"]["formatTimestamp_custom"];
    }
    
    load_functions("locale");
    return XoopsLocal::formatTimestamp($time, $format, $timeoffset);
    
    if(class_exists("XoopsLocal") && is_callable(array("XoopsLocal", "formatTimestamp")) && defined("_TODAY")){
        return XoopsLocal::formatTimestamp($time, $format, $timeoffset);
    }
    
    */



2
joat
Re: xoopspoll 1.2 (for xoops 2.3.x) with CBB 3.08
  • 2009/4/13 16:51

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


Just want to let you know, I just update(small bugfix and add russian language) similar module "umfrage"(Author:LupusC) which derive from xoopspoll and have many improvements to compare with xoopspoll.

You can download it here:
http://sourceforge.net/tracker/?func=detail&aid=2759267&group_id=208418&atid=1005616

Best regards,

Alex



3
joat
Re: WF-Channel in xoops 2.3x
  • 2009/3/3 17:29

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


Quote:

JAVesey wrote:
Please could you let catzwolf_ know of your observation either by PM or email?


Done. PM sent.



4
joat
Re: url rewrite
  • 2009/3/3 17:11

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


Quote:
elsanto wrote:
At the end of the module will post with all the improvements as we have done with the module news seo EN ES FR 1.63


Nice job ! Tnx !
BTW, thanks to google again, I translate your file seo.rtf to english. If somebody interesting in that, here you go:

===========================================
Quote:

What is SEO for News?
=============================
See the following URL
http://www.esxoops.com/modules/news/article.php?storyid=803

And below after activating SEO friendly URLs
http://www.esxoops.com/noticias.item.803/entrevista-a-julionc.html

It is found that the latter is more desired by the search engines.
Can significantly increase the search engine traffic to your site.

How do I enable SEO for News?
======================================
Should be defined in <xoops_root>/mainfile.php : define('news_seo_enable', 'rewrite');
as the following example shows
--------------------------------------------------------------------
Define "XOOPS_GROUP_ADMIN"'1');
Define "XOOPS_GROUP_USERS"'2');
Define "XOOPS_GROUP_ANONYMOUS"'3');
   
// ----------------------------------
   // Allow SEO NEWS
   // Next string should be added only
   //
   
define('news_seo_enable''rewrite');
   
// ----------------------------------
  
if (! isset ($ xoopsOption 'nocommon']) & & XOOPS_ROOT_PATH! ='') (
Requieren XOOPS_ROOT_PATH ". / Include / common.php";
)
--------------------------------------------------------------------


To activate the url rewrites you should add to
<xoops_root>/.htaccess
the following two lines (uncomment(remove sign “#”) string beginning
with “RewriteRule….” that is appropriete for your default language)


RewriteEngine On
#
# Spanish
#
# RewriteRule ^noticias.([a-z]+).([0-9.]+)/  modules/news/seo.php?seoOp=$1&seoArg=$2

#
# English
#
RewriteRule ^news.([a-z]+).([0-9.]+)/  modules/news/seo.php?seoOp=$1&seoArg=$2

==========================================



5
joat
Re: url rewrite
  • 2009/3/3 16:52

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


Quote:
deka87 wrote:
I am not really good in Spanish, will you explain this in English?


You could usehttp://www.google.com/language_tools?hl=en
to translate almost any site in the world ;)



6
joat
Re: WF-Channel in xoops 2.3x
  • 2009/3/3 14:56

  • joat

  • Just popping in

  • Posts: 19

  • Since: 2009/3/3 0


XOOPS 2.3.2b, WF-Channel 2.03 and WF-Resource 1.04 seems work OK, but there I found some bug.
If you enter mixed content with different languages, then only English content would be visible, all other symbols would be replaced with "?"(question mark) in my case it was Russian characters.
To resolve this problem you should go to
modules/wfchannel/sql
and replace in the file "wfschannel.sql" strings, which contain "CHARSET=latin1" to current MySQL's default charset. In my case I replace that to "CHARSET=utf8" and now all mixed languages stored and display correctly.

IMHO it would be better to remove this parameter from "wfschannel.sql" completely, then default database's carset could be applied.

Best regards,

Alex




TopTop



Login

Who's Online

171 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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