341
alain01
Re: Module Standardization Team - looking for volunteers
  • 2013/1/11 11:36

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Humm,
just an idea : let me try to explain (hope it xould be clear)
The overloaded templates (in french = la surcharge des thèmes) is a very great functionnality.

Lot of webmaster hacks their XOOPS in order to get a web site like they want.
But i hate hack my site cause maintenance and support is difficult, update is more dangerous...

In the modules, there are a lot of functions but sometimes, i would add some variables, instance, class or another functions in the php files.
So i needed to hack the php files and i hate that...

Let me show you an example :
in order to make this blocks, i should modify the default comments block with hack on \modules\system\blocks\system_blocks.php (overload template cant display like that cause some functions and variables not available)
Resized Image
Now, the idea :

Is it posible to use the overloaded template with php ?
For exemple, overloaded the functions in the file :
/themes/my-theme/modules/system/functions/system_blocks.php or if not like that, with this idea !

Perhaps, there would be security trouble, running trouble, but, my dear developpers, could you just think about the idea.
So, then, no hack, "just using overloaded functions"







342
alain01
Re: Module Standardization Team - looking for volunteers
  • 2013/1/9 17:11

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Quote:

Mamba wrote:
I hope, in XOOPS 2.6.0 we'll be able to combine all the standard icon images as "sprites", which will make things even easier, and will provide a better performance.


You mean "sprites", like that : Resized Image

using CSS background-position property ?
Great !



343
alain01
Re: Module Standardization Team - looking for volunteers
  • 2013/1/9 16:52

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


1st, for modules :

- standard table name : see this post

- Images module :
-- all images will be on this directory : /modules/the-module/images
Why : for the 'template overloaded' (?) (template surcharge in french language)
much easier to customize template overloaded

- standard images name :
-- the search image name (for the module) is never with the same name (ex : search.png)
- standard button image : for homogene administration, it would be nice if the "Add new xxxx" "Add news categorie" etc were the same image in all modules?

May be a designer could work on making a lot of buttons and images, with free use, in order to have an homogene administration. When it would be ok, the module's developper should use by default this images for the administration managed.

Better : an xoops admin images 'library !!!
With this, modules could just used the images library (better for cache).

Sorry for my english.



344
alain01
2 modified blocks
  • 2013/1/8 9:46

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
last days, i modified 2 blocks :
- Block comments
- Block login
just see :

Block comments

Resized Image
andResized Image


Mouse hover icon's user : shows pseudo's name
Click on icon's user : go to the userinfo 's user

Mouse hover icon's module : shows long module's name
Click on icon's module : go to the module

Block login

Resized Image

with anonymous (solo) Visiteur Resized Image
, anonymous (multi) Visiteurs Resized Image
, Member Resized Image
and Members Resized Image



345
alain01
Re: extGallery 1.11 and Xoops 2.5.5
  • 2013/1/8 8:20

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


From Kavok (fr) :

With eXtGallery, 1.11 and Xoops 2.5.5, Multi-upload pictures batch display a "MD5 checksum" error


Solved:
File /modules/eXtGallery/class/photoHandler.php, line 547

function postPhotoTraitement($file$checkMd5 true)

Replace by
function postPhotoTraitement($file$checkMd5 false)


That's all !

Thanks to Kavok !



346
alain01
Re: Notebook : a great helpfull module for X2.6 by Kraven_30 (fr)
  • 2013/1/6 11:16

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Quote:

Mage wrote:
This module is very convenient. This is a very good module.


Sure i told it you !



347
alain01
Re: Notebook : a great helpfull module for X2.6 by Kraven_30 (fr)
  • 2013/1/5 19:54

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Haaaa Kraven,
j'espère que je ne t'ai pas froissé en proposant ton module ici, je n'avais plus de nouvelle de toi !

Heureux de te voir ici en tout cas ^^ !



348
alain01
Notebook : a great helpfull module for X2.6 by Kraven_30 (fr)
  • 2013/1/5 11:59

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
Since this summer, in the french support forum, i asked for a modifications managed module.

Kraven_30 started quickly this module for Xoops 2.6.
With multi feedbacks he gave us a great module.
I havent any news about him and dont know if the Xoops 2.6 developper team knows this module,
so i proposed here this module.
I think it's a great module or posssible could add it in plug in style, in Xoops 2.6.

What do this module ?

héhhé, you want to know, i know !!!
ok ok !
It's like a little notebook which help to save all modifications and action on the site.
I think it's great helpfull.

Try and i 'm sure you will love it !

Download here
-



349
alain01
Re: Bug : Grant access to Xoopstube
  • 2013/1/4 8:20

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Yet that :

For singlevideo.php, for "other videos from : X"
Replace
while ($arr $xoopsDB->fetchArray($result)) { 
    
$videouid['title']     = $xtubemyts->htmlSpecialCharsStrip($arr['title']); 
    
$videouid['lid']       = $arr['lid']; 
    
$videouid['cid']       = $arr['cid']; 
    
$videouid['published'] = xoopstube_time(formatTimestamp($arr['published'], $xoopsModuleConfig['dateformat']));
    
$xoopsTpl->append('video_uid'$videouid); 
}

by
while ($arr $xoopsDB->fetchArray($result)) { 
    if (
xtube_checkgroups($arr['cid']) == true) { 
    
$videouid['title']     = $xtubemyts->htmlSpecialCharsStrip($arr['title']); 
    
$videouid['lid']       = $arr['lid']; 
    
$videouid['cid']       = $arr['cid']; 
    
$videouid['published'] = xoopstube_time(formatTimestamp($arr['published'], $xoopsModuleConfig['dateformat']));
    
$xoopsTpl->append('video_uid'$videouid); 
    } 
}





350
alain01
Re: Bug : Grant access to Xoopstube
  • 2013/1/3 23:21

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


In the modules/xoopstube/viewcat.php file

Remplace
while ($video_arr $xoopsDB->fetchArray($result)) { 
        require 
XOOPS_ROOT_PATH '/modules/' $xoopsModule->getVar('dirname') . '/include/videoloadinfo.php'
        
$xoopsTpl->append('video'$video); 
    }

By
while ($video_arr $xoopsDB->fetchArray($result)) { 
    if (
xtube_checkgroups($video_arr['cid']) == true) { 
        require 
XOOPS_ROOT_PATH '/modules/' $xoopsModule->getVar('dirname') . '/include/videoloadinfo.php'
        
$xoopsTpl->append('video'$video); 
        } 
    }


It's ok with this code.
Nikita said that for multi page, there is a trouble, and that is complex to fix it...




TopTop
« 1 ... 32 33 34 (35) 36 37 38 »



Login

Who's Online

177 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 177


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