1
reWARder
Re: ocaholic.ch/it/fr/co.uk/net with heavily modified xBootstrap Theme
  • 2015/3/4 13:34

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


@goffy
Thank you.
Also thanks for the hint. During one of the many migrations we did back in the days, some collations got f***** and I kind of struggle to find theses translation issues. In the language files it's correct but on the site it shows the html escape sequences. It's kind of weird.

@Mamba
We're going to finish all the things we still want to and have to do on the site. After that I'm considering sharing the theme and for that we would have to write a little documention. What's good is, that the code is rather well documented already. That is something which could make the documentation process easier.



2
reWARder
ocaholic.ch/it/fr/co.uk/net with heavily modified xBootstrap Theme
  • 2015/2/27 13:08

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Back in November 2014 I've started working with my coder from Italy on moving ocaholic to the xBootstrap theme. Meanwhile we've almost done everything we wanted to. There are some things in the forums we still want to change and there are also some minor changes to the way Publisher looks. Apart from that we want to change the news appear on the front page. But once all these things are done we're finally where we want to be.

Here we go with a link to the site: ocaholic

To give you a little overview which version of Xoops and the modules installed we're using, here a list:
Xoops: 2.5.7_RC2
Publisher: 1RC
Smartfaq: 1.08
Calendar: 2.21 Final
Multilingual Content Module: 2.17 Beta 1
extGallery: 1.11
News: 1.68 RC1
NewBB: 4.4 Alpha 1
WebLinks: 1.95
XoopsPoll: 1.33 Final
Private Messaging: 1.1 RC2
Smart Profile: 1.86 RC2
Xoops Tag: 2.31 Beta 2
xNewsletter: 1.2 Final
xLanguage: 3.05 Beta 1

Please let us know what you think. The theme is fully responsive also. If you have any suggestions we would be more than happy reading from you.



3
reWARder
Re: Headline News Publisher
  • 2014/10/3 9:10

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Ok ... I'm lost ...

I guess this I need to add to the header of my theme.thml file, correct?

theme.html Code :
<link href="<{xoImgUrl css/mansetx.css}>" type="text/css" rel="stylesheet" />  
<
script type="text/javascript" src="<{xoImgUrl js/mansetx.js}>"></script>
<
script type="text/javascript" src="<{xoImgUrl js/jquery-1.11.1.js}>"></script>




Does this also go into the header of the theme.html file?

theme.html add :

<{includeq file="$theme_name/slidetpublisher.html"}>




This file I can't find. Am I supposed to create a php file with this code inside? If so, where do I save it?

slidetpublisher.html code :

<{php}>
include_once 
XOOPS_ROOT_PATH '/modules/publisher/include/common.php';
$publisher =& PublisherPublisher::getInstance();
$myts =& MyTextSanitizer::getInstance();
$itemsObj $publisher->getHandler('item')->getItems($limit 6$start 0, array(_PUBLISHER_STATUS_PUBLISHED), -1$sort 'datesub'$order='DESC'''true$criteria nulltrue);
$totalItems count($itemsObj);

global 
$items;
$items = array();
if (
$itemsObj) {
        for ( 
$i 0$i $totalItems$i++ ) {

            
$newItems['itemid']       = $itemsObj[$i]->itemid();
            
$newItems['title']        = $itemsObj[$i]->title();
            
$newItems['body']         = $itemsObj[$i]->body();
            
$newItems['votes']        = $itemsObj[$i]->votes();
            
$newItems['image']        = XOOPS_URL '/uploads/blank.gif';
            
$images $itemsObj[$i]->getImages();
            if (
is_object($images['main'])) {
                
$newItems['image'] = XOOPS_URL '/uploads/' $images['main']->getVar('image_name');
            }
        
$items[] = $newItems;
    }
}
<{/
php}>
        <
div id="mansetx">
            <{
php}>
        foreach ( 
$GLOBALS['items'] as $myrow )
        {
        
$GLOBALS['xoopsTpl']->assign('itemid'$myrow['itemid']);
        
$GLOBALS['xoopsTpl']->assign('title'$myrow['title']);
        
$GLOBALS['xoopsTpl']->assign('body'$myrow['body']);
        
$GLOBALS['xoopsTpl']->assign('votes'$myrow['votes']);
        
$GLOBALS['xoopsTpl']->assign('image'$myrow['image']);
<{/
php}>
        <
div id="mansetx-img">
            <
a href="<{$xoops_url}>/modules/publisher/item.php?itemid=<{$itemid}>"><img width="720" height="315" src="<{$image}>"></a>
        </
div>
         <{
php}>
        }
<{/
php}> 
        <
div id="mansetx-selector">
            <
ul>
            </
ul>
        </
div>
</
div>




Thanks for your help!



4
reWARder
Re: slider via publisher module
  • 2014/10/2 16:11

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Tomorrow I'll have a look if I can get it working the way you mentioned :) Thanks for the reply heyula!



5
reWARder
Re: slider via publisher module
  • 2014/9/26 10:21

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Quote:

Mamba wrote:
You can also try the Slideshow module and use it in a block that would show only when using Publisher.

And maybe somebody can add the Slider to the Slideshow.


I just tried this and I noticed, that the slideshow blocks are not working with the Publisher module. The only module the slidewhow blocks are working with in my case is APCal. And it only works as an acutal slideshow if I set the following option to yes: Use module style, if it set to no you must add all styles and java in your theme : Yes



6
reWARder
RSS in different languages
  • 2013/11/6 7:32

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


I have another question related multilinguality.

I would like to provide my readers with different language versions of the RSS feed you get through acessing backend.php.

Can anyone help me implementing multilinguality into Xoops's RSS feed?



7
reWARder
Re: Login issue
  • 2013/11/5 14:13

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Turns out this was a caching issue. Deactivated module caches and now it's working the way it should.



8
reWARder
Login issue
  • 2013/11/5 13:37

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


I'm experiencing a new issue. After logging in and then loading the front-page I see the following picture. Additionally it doesn't matter which users logs in and loads the front-page, they all see the same thing like on the picture.

Anybody any idea where to search?

Resized Image



9
reWARder
Re: [Request ] Module for Banners management
  • 2013/11/2 7:31

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


@Biomech
Personally I find setting up an campaing in OpenX fairly simple.

1. Create an advertiser
2. Create a Campaign under this advertiser
3. Add banner to advertiser

4. Setup a website
5. Create zones
6. Hit "Linked Zones" in banner right next to the zone you created
7. Choose the banners you want to link to that zone

If you really struggle to get your banners setup, there are some good manuals out there. The first time I was working with OpenX I was following a manual that comes with OpenX itself.


@tatane
I tried RW banner back in the days. It was decent, but imo it's not the case the it's usable if you really make money with advertisements. One thing the is crucial with an ad system is that it makes generating reports piece of cake, since companies that advertise on your website, want to know how the banners, for which they paid a lot of money, perform. Doing reports with RW Banner is really hard.

@Mamba
To get some inspiration for the new banner management module in Xoops 2.6.0 just install OpenX somewhere an check out what it can do. If this could be ported to Xoops, then for example I would use it.



10
reWARder
Re: xLanguage auto language detection
  • 2013/11/2 7:21

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Quote:

Mamba wrote:
This might be interesting, but also could become a complex issue if the user in Germany wants to read your Website in French.

Right now he can select the French language. If it is being done automatically, then there would be a need to overwrite the auto-assignment of the language, which could be complex....

Maybe somebody will come up with a good idea for it...


Personally I think it would need two things to make 99% of my visitors happy:

1. When a user first visits the site the language is going to be set according to his browser language. These language settings are going to be saved locally on his computer with a cookie.

2. If the users changes the language himself, then the language setting in the cookie changes. The cookie then issues a command to xLanguage to change the language.


Wouldn't this be a feasable approach?




TopTop
(1) 2 3 4 ... 10 »



Login

Who's Online

248 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 248


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