1
panwac
Re: xForms 1.21 Beta ready for Testing
  • 2013/6/12 20:20

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


Quote:

Peekay wrote:
Hmm.. seems to be a problem with checkboxes?. I'm using 1.21 from Sourceforge. If you create 'Box1' and 'Box2' I get:

[ ] Box2
[ ] Box2

I am using Xoops 2.5.3. but I don't think this is a Xoops version issue, unless form elements are created outside the module and the core has changed. Can anyone confirm multiple checkboxes work properly with 2.5.5?

I loaded up the original Brandycoke Liaise 1.26 and that works fine.

I've got the same problem! In Liaise 1,27 this option works properly.

xforms 1,21
xoops 2.5.6 and 2.5.4



2
panwac
Re: Partial Basic Module Pack for XOOPS 2.5.5 (updated Final releases)
  • 2012/12/27 13:21

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


Sth is wrong in Transifex. Eg. a source (english lang) for WF-Links is quite different than english lang files in final version on svn.

In files I've got content for final version (everything, what is important + additional lines for ver. 1.09 + old codes, propably not used in 1.09). In Transifex I see a new definitions (in admin.php there are about 30 lines), and I can't find a part of code from english lang files, still being in use in 1.09.

Other thing: in this moment I can't translate a part of modules from Basic Module Pack (eg. xoopstube) - they are locked in Transifex.

OT. I sugest test and check APcal (to place it in Basic Pack). From one side, this is very good calendar based on old pical, with great features (googlemaps, possibility to create a list of guest on the event etc.), from the other side there are only two developers (AntiqueL and goffy), so module has a lot of bugs. It will be good to have such calendar in xoops library.



3
panwac
Re: Starting a Content/News Module Development Team
  • 2012/9/22 22:59

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


Quote:

playsome wrote:
Mamba has emailed me his version of article (phppp module) using 2.5 gui, I have still to test it, but in my oppinion basing any new news module on article can only be a positiive thing.
[...]
I think also that any work on this module should be clearly defined as a news or blog module and not a content module, when I think content, I think static content like creating pages that are not going to change very often, news or blog module should be seperate from a content module. A news module should solely be for articles, content module should be a seperate entiity dealing with more static pages.

Maybe yes, maybe not.

1. I agree, that for simple web sites this is the best way. Content module for creating a structure of static information or for almanach, news for dynamic content.
2. In large web pages with complicated structure I feel that a large content module with a possibility to use it both for static content and news would be better for me. Why?
a) because then I will have a possibility to define, which categories/topics are sorted like static content, and which are a news.
b) there will be a possibility to create a structure of main topics (eg. sport activities) with main info (definition, current national management of this discipline, info about registration etc.) and dynamic info (news)- in one place I have possibility to find anythig about eg. equestrian. Each of main topics and sub-topics could have an option to decide, what is it's status (news, content, single pages without of showing a topic in menu), any topic/category should have an option to show it in menu or not, what is a sort order ect.

That is becouse people (me to) have a different methods od finding an information. First group is checking only a news on main page (in FaceBook age it's very popular0, the second one is looking on the main page of web service and on the news from their best category (then they are trying to read all news from the category, but wants to have a possibility to find quickly related articles/pages in static content - eg. in local menu), the last group is trying to know sth. about a... sth being in web service, then they should have all content available in a 3 clicks.

I remember, in Mambo or Joomla (it was a time ago) I saw a content module with that options. On a main page of web site there was only an articles from news categories, in special blocks articles from any defined categories, and in any parts of web serwice other articles from different categories. For any category there was a possibility to define, it would be visible in some kind of menu or not.

Generally, it will be much more easier to organize a very complicated structure of content by the multidomain, but... strong content module is an option too.

Sorry for my bad english - I'm after 14 hours at work so I haven't a power to find any mistakes and bugs.



4
panwac
Re: Smarty Error!!!
  • 2012/8/31 18:37

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


Notepad++ or WPE (PHP WebPage Editor)



5
panwac
Re: SCEditor: potential replacement for DHTML?
  • 2012/8/20 11:48

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


Both of these editors looks fine.



6
panwac
Re: Translation Teams on Transifex
  • 2012/8/20 11:47

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


I think, I have to spend a few time with Transifex to learn this utill. in this moment I can't find a function to be reviewed and to ping the project leaders as Reviewed and Completed, but propabbly it's my mistake.

When a package of module's translations will be done and checked, I can send it by mail too - e.g to mamba.



7
panwac
Re: Translation Teams on Transifex
  • 2012/8/18 9:49

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


Quote:
Files on TX are for 1.68B1 and they're 4, newsletter.php is outdated file from the time of XOOPS 2.0


O.K. :)



8
panwac
Re: Translation Teams on Transifex
  • 2012/8/17 9:42

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


DCrussader,
Could you check news module lang files in TX? I translated 4 files, but in last distribution (1.67 Final) there were 5 files - I can't find source of newsletter.php

Thanks



9
panwac
Re: News 1.67 Final released for XOOPS 2.5.5
  • 2012/8/1 21:21

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


Mamba,
A file was checked. Conclusion: sth is wrong with func. xoops_utf8_encode(); XoopsLocal::convert_encoding() works fine.

Below you've got a code with signs, were is an old code (a red color). You will see, were an old code is enable or not and were a new part was deactivated by me. In this moment a file backendt.php with this code working fine in my website.

Quote:
<?php
// $Id: backendt.php 9767 2012-07-02 06:02:52Z beckmi $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System VVV //
// Copyright (c) 2000 XOOPS.org //
// <https://xoops.org/> //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
/**
* RSS per topics
*
* This script is used to generate RSS feeds for each topic.
* You can enable and disable this feature with the module's option named "Enable RSS feeds per topics ?"
* The script uses the permissions to know what to display.
*
* @package News
* @author Xoops Modules Dev Team
* @copyright (c) The Xoops Project - www.xoops.org
* @param type $nomvariable description
*/
//include_once 'header.php'; //panwac - code from an old file
include_once '../../mainfile.php';
include_once XOOPS_ROOT_PATH.'/class/template.php';
include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php';
include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newstopic.php';
include_once XOOPS_ROOT_PATH.'/modules/news/include/functions.php';

error_reporting(0);
$GLOBALS['xoopsLogger']->activated = false;

if(!news_getmoduleoption('topicsrss')) {
exit();
}

$topicid = isset($_GET['topicid']) ? intval($_GET['topicid']) : 0;
if($topicid == 0) {
exit();
}

if (function_exists('mb_http_output')) {
mb_http_output('pass');
}

$restricted = news_getmoduleoption('restrictindex');
$newsnumber = news_getmoduleoption('storyhome');

$charset = 'utf-8';

header ('Content-Type:text/xml; charset='.$charset);
$story = new NewsStory();
$tpl = new XoopsTpl();
//$tpl->xoops_setCaching(2); //panwac - code from an old file
$tpl->caching=2; //panwac - code from a new file
$tpl->xoops_setCacheTime(5); // Change this to the value you want
if (!$tpl->is_cached('db:news_rss.html', $topicid)) {
xoops_load('XoopsLocal'); //panwac - code from an old file
$xt = new NewsTopic($topicid);
$sarray = $story->getAllPublished($newsnumber, 0, $restricted, $topicid);
if (is_array($sarray) && count($sarray)>0) {
$sitename = htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES);
$slogan = htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES);
$tpl->assign('channel_title', XoopsLocal::convert_encoding($sitename)); //panwac - code from an old file
//$tpl->assign('channel_title', xoops_utf8_encode($sitename)); //panwac - code from a new file
$tpl->assign('channel_link', XOOPS_URL.'/');
$tpl->assign('channel_desc', XoopsLocal::convert_encoding($slogan)); //panwac - code from an old file
//$tpl->assign('channel_desc', xoops_utf8_encode($slogan)); //panwac - code from a new file
$tpl->assign('channel_lastbuild', formatTimestamp(time(), 'rss'));
$tpl->assign('channel_webmaster', checkEmail($xoopsConfig['adminmail'],true)); // Fed up with spam
$tpl->assign('channel_editor', checkEmail($xoopsConfig['adminmail'],true)); // Fed up with spam
$tpl->assign('channel_category', $xt->topic_title());
$tpl->assign('channel_generator', 'XOOPS');
$tpl->assign('channel_language', _LANGCODE);
$tpl->assign('image_url', XOOPS_URL.'/images/logo.gif');
$dimention = getimagesize(XOOPS_ROOT_PATH.'/images/logo.gif');
if (empty($dimention[0])) {
$width = 88;
} else {
$width = ($dimention[0] > 144) ? 144 : $dimention[0];
}
if (empty($dimention[1])) {
$height = 31;
} else {
$height = ($dimention[1] > 400) ? 400 : $dimention[1];
}
$tpl->assign('image_width', $width);
$tpl->assign('image_height', $height);
$count = $sarray;
foreach ($sarray as $story) {
$storytitle = $story->title();
//if we are allowing html, we need to use htmlspecialchars or any bug will break the output
//$description = htmlspecialchars($story->hometext(), ENT_QUOTES); //panwac - code from an old file
$description = htmlspecialchars($story->hometext()); //panwac - code from a new file
$tpl->append('items', array(
'title' => XoopsLocal::convert_encoding(htmlspecialchars($storytitle, ENT_QUOTES)) , //panwac - code from an old file
//'title' => xoops_utf8_encode($storytitle), //panwac - code from a new file
'link' => XOOPS_URL.'/modules/news/article.php?storyid='.$story->storyid(),
'guid' => XOOPS_URL.'/modules/news/article.php?storyid='.$story->storyid(),
'pubdate' => formatTimestamp($story->published(), 'rss'),
'description' => XoopsLocal::convert_encoding($description))); //panwac - code from an old file
//'description' => xoops_utf8_encode($description))); //panwac - code from a new file
}
}
}
$tpl->display('db:news_rss.html', $topicid);
?>



10
panwac
Re: News 1.67 Final released for XOOPS 2.5.5
  • 2012/8/1 11:00

  • panwac

  • Just popping in

  • Posts: 62

  • Since: 2005/11/12


I'm going to do it today (at work, in coffee time).




TopTop
(1) 2 3 4 »



Login

Who's Online

226 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 226


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