21
jagibu
Re: WF-Downloads 3.21 Beta 1 ready for testing on XOOPS 2.5.5
  • 2012/8/2 15:53

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


RSS not working:

Warning: sprintf() [function.sprintf]: Too few arguments in file /modules/wfdownloads/index.php line 152

in index.php
//    $rsslink=sprintf("<a href='%s' title='%s'><img src='%s' border=0 alt='%s' title='%s'></a>",WFDOWNLOADS_URL."rss.php", _MD_WFD_LEGENDTEXTRSS, XOOPS_URL."/".$xoopsModuleConfig['mainimagedir']."/icon/rss.gif",_MD_WFD_LEGENDTEXTRSS);    

$rsslink=sprintf("<a href='%s' title='%s'><img src='%s' border=0 alt='%s' title='%s'></a>",WFDOWNLOADS_URL."rss.php"_MD_WFD_LEGENDTEXTRSSXOOPS_URL."/".$xoopsModuleConfig['mainimagedir']."/icon/rss.gif",_MD_WFD_LEGENDTEXTRSS'''' );



in viewcat.php

$rsslink=sprintf("<a href='%s' title='%s'><img src='%s' border='0' alt='%s' title='%s'></a>"WFDOWNLOADS_URL."rss.php?cid=".intval($cid), _MD_WFD_LEGENDTEXTCATRSSXOOPS_URL."/".$xoopsModuleConfig['mainimagedir']."/icon/rss.gif"_MD_WFD_LEGENDTEXTCATRSS'''' );



22
jagibu
Re: Gallery, with user albums
  • 2012/6/12 9:43

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


I'm using xcGal with Xoops 2.5.5 - but without user album future on.
Have You any problem with this function ?
My patched version slowly goes to blue module.
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



23
jagibu
Re: xcgal_data cookie what does it do (trying to get eu cookie complient)
  • 2012/6/9 18:36

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


You can test this patched version of xcGal

xcGal 2.07 artCode RC

Removed
- cookies xcgal
- removed from template icon "send ecard" for anonymous user when have not right ( was java alert only )

Fixed
- rating pictures displayed for anonymous when this disabled in album

TODO
- thickbox not work in Opera 11.64 W7 64bit
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



24
jagibu
Re: xcgal_data cookie what does it do (trying to get eu cookie complient)
  • 2012/6/7 15:41

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


My first look on ...
cookie is used for picture rating :

// Add 1 to hit counter
if ($album != "topn" && $album != "lasthits" && !in_array($pid, $USER['liv']) && isset($_COOKIE[$xoopsModuleConfig['cookie_name'].'_data'])){


Data i n cookie:

"user profile" but xoops $USER vars like (encoded)

Array
(
[ID] => b23a2f5da7a2c5a3130bbe6151a110af
[am] => 1
[liv] => Array
(
[0] => 13
)

)

P.S if You want change rating function in xcgal or disable cookies give me info.

In changelog
v2.0.3
- Bug in picture rating when cookies are enabled
.. but working for me
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



25
jagibu
Re: UTF-8 signature adds unwanted characters in the beginning of the page
  • 2011/2/4 22:52

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


Search in publisher templates/ files for UTF with BOM or any sign on top, over header ( "white" too ).
You have :
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_BR" lang="pt_BR">

In html source I see on top sign like "-" and white line. ( for me BOM prints other sign ...)

Other modules source html look fine.



www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



26
jagibu
Re: xlanguage suddenly not working in xoops 2.5
  • 2011/1/14 22:15

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


Have You eregi errors in function xlanguage_lang_detect? Use preg_match in PHP 5.3 ;
You can look on code in my patched xlanguage version
Tested on localhost with PHP 5.3.4
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



27
jagibu
Re: Expaning CKeditor in 2.4.5
  • 2011/1/7 16:45

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


This not solution but other way - working for me CKeditor with filemanager in Xoops 2.5. This is original CKEditor 3.5 (revision 6260) without config changes + PGRfilemanager ( + little changes + xoops permissions for security ) and Manual integration CKeditor in Xoops module.
In action ..
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



28
jagibu
Re: Bugs in system_imagemanager.html and system_imagemanager2.html in 2.4.5
  • 2010/12/10 8:19

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


kris_fr
fixing my paste ( in tags quote ):
Quote:

<{php}> $language = $GLOBALS['xoopsConfig']['language']; if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){ echo "<link rel="stylesheet" type="text/css" media="all" href="language/$language/style.css" />"; } <{/php}>


BTW.. place this code in tags of source code (in tags code) and make Preview
.. have You ?:
<{php}>   $language $GLOBALS['xoopsConfig']['language'];  if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){   echo "<link rel="stylesheet" type="text/css" media="all" href="language/$language/style.css" />";  }  <{/php}>

this xoops DHTML form source code interpreter bug ... ?

kris_fr show me Your's public_html\themes\default\modules\system\system_imagemanager.html
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



29
jagibu
Re: Bugs in system_imagemanager.html and system_imagemanager2.html in 2.4.5
  • 2010/12/8 22:06

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


bug in action:
Parse errorsyntax errorunexpected T_STRINGexpecting ',' or ';' in /xoops_secure/artcode.eu/xoops_data/caches/smarty_compile/http%253A%252F%252Fartcode.eu%25%25system-zetagenesis-default^%%5D^5DD^5DDC7D64%%db%3Asystem_imagemanager.html.php on line 40
None All Errors 
(0Deprecated (0Queries (12Blocks (0Extra (2Timers(3)


from smarty_compile (PHP 5.2.14):
/* Smarty version 2.6.26, created on 2010-12-08 22:58:53
compiled from db:system_imagemanager.html */

if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){    echo "<link rel="stylesheet" type="text/css" media="all" href="language/$language/style.css" />";   }


Hardcoded on xoops.org or PHP/SMARTY version?
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl



30
jagibu
Re: Bugs in system_imagemanager.html and system_imagemanager2.html in 2.4.5
  • 2010/12/8 21:42

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


but on xoops.org works for me .. (!) tested DHTML Form with xCode + button Manager ..
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl




TopTop
« 1 2 (3) 4 5 6 »



Login

Who's Online

188 user(s) are online (132 user(s) are browsing Support Forums)


Members: 1


Guests: 187


spierrard,

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