11
smart2
Re: Shopping Carts - Latest XOOPS consensus
  • 2007/11/12 17:21

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Quote:
Ohh cool, I must of missed that one, when was it announce?

Maybe not yet, I called instant zero directly, I think its a new module.

Quote:
Is OsCommerce not available on Xoops?https://xoops.org/modules/news/article.php?storyid=3933

Is Zen Cart also not available on Xoops?


Yes integrations exist, but those are not module made from scratch for xoops.
If oscommerce is updated for security issues, you will have to wait the module to be updated.
os commerce or zen cart are not coded to be XOOPS modules, these are only integrations.

The ones I've tested were quite buggy and wouldn't be a good choice to sell something, although, I didn't test le lastest releases.



12
smart2
Re: Shopping Carts - Latest XOOPS consensus
  • 2007/11/12 15:55

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Really depends on what your website is going to sell and if you wish to have other funtionnalies thant pure ecomerce (forum, articles, news, calendar, polls,...)

If you wish a pure ecommerce solution, then XOOPS is probably not the good choice for you, try something like zen cart, oscommerce,... as these are made for that purpose.

If you want other features than just ecommerce then, XOOPS can be a good choice.

I would advice you to contact instant zero to test their myshop module which is now able to sell everything, not just books.

I've tested it and choosed it for one of my client (will sell wine) because it suits perfectly its needs.

Hope this helps.



13
smart2
Ajax autocompletion feeded with isearch module
  • 2007/11/6 1:48

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


I've made a hack to isearch module by instant zero.
I've added a class and a block.
This hack requires prototype and scriptaculous.
The block ajax search will show a search form with autocompletion feeded with most searched words in populatiry order.

The hack working can be viewed here:
http://www.s-martinez.com

I've implemented it also to the xoops-theme-web-2-0 at
http://xoops-theme.s-martinez.com
But with this theme it's buggy. I'll try to find where's the problem.

Thanks to instant-zero for this pretty useful module (I couldn't register at xoops.instant-zero.com -> blank page so I post here).

Hack can be downloaded here:
http://www.s-martinez.com/uploads/isearch.zip

Add these lines to your css file:

div.autocomplete {
      
position:absolute;
      
width:250px;
      
background-color:white;
      
border:1px solid #888;
      
margin:0px;
      
padding:0px;
      
z-index:1000;
    }
    
div.autocomplete ul {
      list-
style-type:none;
      
margin:0px;
      
padding:0px;
    }
    
div.autocomplete ul li.selected background-color#ffb;}
    
div.autocomplete ul li {
      list-
style-type:none;
      
display:block;
      
margin:0;
      
padding:1px;
      
height:15px;
      
cursor:pointer;
    }


Enjoy :)



14
smart2
Re: [Reporting Progress] - XoopsCore/branches/tasks/2.0.something
  • 2007/10/28 18:39

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Giba great XOOPS has you.
Keep up the excellent work.



15
smart2
Re: smartsection - reduce size intro and body text area ?
  • 2007/10/21 9:43

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Edit /modules/smartsection/include/functions.php

Line 293 you can modify the height and width used according to your editor.



16
smart2
Re: [design] The design framework
  • 2007/10/19 16:55

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


A more enhanced model, not fully made.
Your comments and suggestions are welcome.
Resized Image



17
smart2
Re: [design] The design framework
  • 2007/10/15 18:36

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


My 2 cents, a quick model made last night.

Resized Image

Big on here:

BIG ONE



18
smart2
Re: XOOPS path check:
  • 2007/10/8 17:48

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


There is probably a symlink always pointing to the good path.
You should ask it to your hosting provider.



19
smart2
Re: xlanguage url based language detection
  • 2007/10/8 10:39

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


It works fine thanks to Phppp and Dugris for help

This is a rapid hack to make your multinlingual website serve language base on the url asked by the user (with xlanguage).

In this example, if the user is browsing www.example.fr, the site will be showing in french and if he's browsing www.example.com the site will be showing in english.
This is much better if you care about search engine indexing.
Note that both wwww.example.com and www.example.fr should be pointing to the same directory.

I will try to make those changes part of the xlanguage module and submit it to phppp as soon as I find the time.

Modify mainfile.php:

Line 40:
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://www.example.com');
$http_host getenv("HTTP_HOST");
define('XOOPS_URL''http://'.$http_host);


Modify /modules/xlanguage/inclule/functions.php:

Line 109:
function xlanguage_detectLang()
{
    global 
$available_languages,$_SERVER;

    
// if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
        // $HTTP_ACCEPT_LANGUAGE = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
    // }

    // if (!empty($_SERVER['HTTP_USER_AGENT'])) {
        // $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
    // }

    
$lang '';
    
$xoops_lang ='';
    
// 1. try to findout user's language by checking its HTTP_ACCEPT_LANGUAGE
    // variable
    // if (empty($lang) && !empty($HTTP_ACCEPT_LANGUAGE)) {
        // $accepted = explode(',', $HTTP_ACCEPT_LANGUAGE);
        // $acceptedCnt = count($accepted);
        // reset($accepted);
        // for ($i = 0; $i < $acceptedCnt; $i++) {
            // $lang = xlanguage_lang_detect($accepted[$i], 1);
            // if(strncasecmp($lang,'en',2)){
                // break;
            // }
        // }
    // }
    // 2. try to findout user's language by checking its HTTP_USER_AGENT variable
    // if (empty($lang) && !empty($HTTP_USER_AGENT)) {
        // $lang = xlanguage_lang_detect($HTTP_USER_AGENT, 2);
    // }
    // 3. If we catch a valid language, configure it
    // if (!empty($lang)) {
        // $xoops_lang = $available_languages[$lang][1];
    // }

    //Hack by smart
    
$http_host getenv("HTTP_HOST");
    if (
$http_host=='www.example.com'){ //your english url
    
$xoops_lang 'english';
    }
    elseif (
$http_host=='www.example.fr'){  //your french url
    
$xoops_lang 'french';
    }
    else {
    
$xoops_lang 'english';
    }


    return 
$xoops_lang;
}


Hope this helps



20
smart2
Re: xlanguage url based language detection
  • 2007/10/8 2:06

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


First part can be made like this:

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://www.example.com');
$user_headers apache_request_headers();
define('XOOPS_URL''http://'.$user_headers[Host]);


Needs PHP installed as apache module.
Tested and works fine

Need some help to modify xlanguage to detect language with XOOPS_URL now instead of how it's working right now.




TopTop
« 1 (2) 3 4 5 ... 7 »



Login

Who's Online

125 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 125


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