151
zyspec
Re: XoopsFormTime Class
  • 2016/5/19 13:47

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Another option, depending on your audience, is to use the new HTML5 input types. If you only need time you could use the "type=time". If you're looking for users to to enter a starting time/date and ending time/date then type="datetime-local" might be a good solution.



152
zyspec
Re: animal pedigree database, problems moving to new server
  • 2016/5/13 14:38

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Michael,

You can also look at the changes I made in my fork (from your GitHub repository). It's pretty extensive so you might have to merge them 'over time'. This change is already there but there's pretty significant changes elsewhere. I haven't had time to test most of it out yet so "caveat emptor"



153
zyspec
Re: animal pedigree database, problems moving to new server
  • 2016/5/12 14:45

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


No problem. Glad that "did the trick".



154
zyspec
Re: animal pedigree database, problems moving to new server
  • 2016/5/10 13:57

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Janice,

You should have replaced:
define("PEDIGREE_DIRNAME"$xoopsModule->dirname());


with:
define('PEDIGREE_DIRNAME'basename(dirname(__DIR__)));


So now if you just delete:
define("PEDIGREE_DIRNAME"$xoopsModule->dirname());


the error should go away.



155
zyspec
Re: animal pedigree database, problems moving to new server
  • 2016/5/8 14:53

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


supergran,

Replace this line in ./include/config.php:

define('PEDIGREE_DIRNAME'$GLOBALS['xoopsModule']->dirname());


with:

define('PEDIGREE_DIRNAME'basename(dirname(__DIR__)));


This should fix the error you're seeing.



156
zyspec
Re: xFAQ, SmartObject, SmartPartner available for testing (XOOPS 2.5.8, PHP 7)
  • 2016/4/1 15:42

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Yeah.. Not sure it's lack of interest as much as it is a lack of time. I have the same problem testing the modules I'm working on - even I don't have time to test them properly so I haven't released them yet...



157
zyspec
Re: ThemeChanger ver 2 with xoops 2.5.7.2
  • 2016/3/22 17:12

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


This module is very old and has not been updated in quite some time. It would need to be updated before it can be used in any "modern" installation.

I looked over the code and it took about 30 seconds for me to recognize that I would not recommend installing this on a production site (or even a test site connected to the internet). There are some security concerns that must be addressed before this module is used.

There is a XOOPS core system block which will allow users to select one of the available themes. Maybe this is sufficient for what you need?



158
zyspec
Re: Template of search.php ??
  • 2016/2/22 21:45

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You're not being stupid...

XOOPS search does not use templates. You will find most of the html generation (for the form) is created in ./include/searchform.php. There's very little styling done there since it uses XoopsForm - so to make changes to the CSS you'll either have to modify the searchform.php file directly or modify the theme or base (xoops.css) files to get what you want.

The html generated as the result of a search is primarily done through ./search.php directly. Again, styling is done "inline" with the code so you'll have to modify the php file.

I know this is one of the things that's been talked about "fixing" in the past but doubt any changes will be made to this code before XOOPS 2.6



159
zyspec
Re: Latest XOOPS Tag & Cumulus Tag Module ?
  • 2016/2/5 18:30

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


By the way - the version of XOOPS Tag module that Mamba posted above no longer requires the Cumulus module. This version of XOOPS Tag includes a cloud (cumulus) block.



160
zyspec
Re: Adding Search function to our Website
  • 2016/2/5 16:32

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


To find any errors that might lead us to the problem type a term in the search block and click the Search button. At the bottom of the page click on the "Error(s)" link and then let us know what is displayed. The output you showed us above is the SQL query that was made on your homepage instead of any error(s).

Since I can't remember if 2.0.16 administration panel displayed the system information the easiest way to find the PHP version is to do the following:
Create a file on your system with a text editor. You can call it anything but for simplicity just call it phpinfo.php with the following contents:

<?php phpinfo();


Upload this to the root folder (directory) on your web server using either an ftp client or your web server control panel (cpanel, etc). Go to your website and then type:

http://{YourWebsite}/phpinfo.php


A report of your PHP configuration will be displayed. The PHP version is displayed near the beginning. It might be useful for you to print this out in case you need it later.

Important: DELETE the phpinfo.php file from your webserver. This file can give a potential hacker useful information if you leave it for anyone to find.

You can find the version of the module (mastop-publish) by looking at the Admin panel > Module page. Please report the PHP and module versions back here so we can see if there's either a known problem or help you "dive in" to find the problem. I looked at the current version of mastop-publish and does support search.




TopTop
« 1 ... 13 14 15 (16) 17 18 19 ... 100 »



Login

Who's Online

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


Members: 0


Guests: 134


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