31
irmtfan
Re: Bug XoopsFAQ
  • 2013/7/31 2:10

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


You dont need to argue aboat xoopsfaq.
It is a dead module.
Smartfaq has a built-in import script for xoopsfaq and wf-faq.
Just install it and go to smartfaq/admin/import.php
Side note: as i always said we dont have enough resources (developers, time) to update all modules so we have to select best one in each category.
As for faq we can update/debug/develope smartfaq and leave others.



32
irmtfan
Re: Problem with newbb 2 4.03
  • 2013/7/26 4:51

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Hi Marcelo:
1- I strongly suggest you to use "templates_fulldiv_opacity" because it used more modern template solutions.

2- I think your main issue comes from this part in the css in your theme:

in
www.guiadocftv.com.br/themes/gcftv-n/style.css

.left {
    
top0;
    
left0;
    
width130px !important;
    
height220px;
}
.
right {
    
right0;
    
bottom0;
    
width90px !important;
    
height220px;
}


As you can see you set a fixed height at 220
you have to remove or change this hard-code fixed height.

You can find the css file for newbb template in
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/newbb/branches/irmtfan/newbb/templates/css/language/english/style.css




33
irmtfan
Re: help with newbb : can't view topics after moving to test server
  • 2013/7/2 23:13

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:

topics , can't be displayed


You should be more specific.
turn php debug on and write down all errors, warnings, mysql queries, ...

After moving to another server, usually you need to clear caches and update module.



34
irmtfan
Re: How to write an standard module for xoops (div table, pagination , sort, order)
  • 2013/6/24 5:40

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


good suggestions Mamba.
Im totally agree with using this:
$modversion['icons16']        = '../../Frameworks/moduleclasses/icons/16';
$modversion['icons32']        = '../../Frameworks/moduleclasses/icons/32';


About hard-coded uploads folder in modules:
IMO when xoops core using a hard-coded uploads folder you should not expect module developer to not use a hard-coded folder
IMO a professional content (news, gallery, download, ...) module should use an optional upload folder but a simple module can follow core ways


About forms:
IMO it is just a coding style. somebody may prefer to have all functions in the class (here: PublisherFile) while others may prefer to move some other functions (here: forms) to another file (here: PublisherFileForm).
there are other forms like block forms that a module developer may prefer to move to another file.

IMO adding one or two more function to a class is not important regarding loading performance (Im against Skalpa LOOL) because in most times we use a few functions from a class after loading all functions



35
irmtfan
Re: please don't use inline styles or class even/odd and things in your modultemplates
  • 2013/6/24 5:26

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


IMO a module developer duty is separating module templates from module codes.
In other words, In a well-written module everybody could change the look in MODULE/templates OR in themes/THEME/MODULE

Therefor i suggested months ago to move all css/js/images to templates folder as you can see in my version of newbb:

http://svn.code.sf.net/p/xoops/svn/XoopsModules/newbb/branches/irmtfan/newbb/templates_fulldiv_opacity/

So for example if i was not aware of this new thing:
Quote:

using :nth-child(even) in css is only one little "new" thing you should use.

or better this:
http://css-tricks.com/examples/nth-child-tester/
Sorry it is hard for me to understand.
you as a designer can add it yourself and provide a better template for me as a module developer.

As a module developer I just look at xoops.css for available css (include css3) codes and if i dont find a code to solve my issue i search in the net. So it is the duty of core team to enhance css and js.

But anyway im totally agree to remove all hard-coded css like inline css coding. (css in html files)



36
irmtfan
Re: Converting Modules between XOOPS 2.5 to 2.6
  • 2013/6/20 2:54

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


while xoops 2.6 is a big step forward, developers can write/modify 2.5.X modules with the most compatibility with it.

Just follow the "How to write standard module for xoops" tutorial:https://xoops.org/modules/newbb/viewtopic.php?topic_id=76036



37
irmtfan
Re: new install errors
  • 2013/6/20 2:49

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:

did that, and it didn't help the problem

If you created the folder correctly with the right permission you should not have any error message in userlog admin home page.
Anyway userlog will not work on php 5.2



38
irmtfan
Re: Cannot post to forums
  • 2013/6/20 2:43

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


sorry I did not back to you for one week.

to access a topic in newbb just this link with post_id is enough:
https://xoops.org/modules/newbb/viewtopic.php?post_id=354122

But as i said before 500 errors are usually coming from bad php configurations so a full php info will show us many things.

Now i see you solved your issue so maybe you had some corrupted files as you mentioned.



39
irmtfan
Re: Planing to start coding my first module, where to start?
  • 2013/6/20 2:39

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I wrote that tutorial with the aim to set some standards for html/css/smarty/php/mysql coding in general and xoops module coding in specific.

I think following that tutorial will guide everybody in the right direction and more importantly save the precious time to write new modules (and also modify old ones) effectively with the most compatibility with the newer xoops versions and the best solutions from other codes/CMS/xoopscore/modules for obstacles.

I like to see your participation to enhance the tutorial.



40
irmtfan
Re: i was just buying cigarettes, did i miss something?
  • 2013/6/14 2:43

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Yes i remember you well.
you were very active in forums
welcome back.




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



Login

Who's Online

137 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 137


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