941
zyspec
Re: Adding Modules
  • 2006/3/30 4:18

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Obviously this greatly depends on your ISP link speed. For example the mylinks module (approx 220KB) would take 30-35 seconds over a 56Kb link but take 5-6 seconds over a 300Kb link (equiv. to many high speed links). Wf-downloads (a download module) is approx. 3X the size so you can multiply the above numbers by 3 for estimates.

This of course, as previously stated, assumes you have an efficient ftp program, there are minimal dropped packets/connections, etc...



942
zyspec
Re: Works
  • 2006/3/27 14:53

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You might try PM-ing gestroud - in the other thread says it's working in 2.2.3.



943
zyspec
Re: Dull site ?
  • 2006/3/24 19:00

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Sorry - I was just looking at the messages at the bottom of the page not that there are actually functional problems.

It appears as if your /modules/system/templates directory didn't get uploaded correctly or the rights aren't set correctly. Although it's hard to believe that you're getting the same problem after multiple downloads and installs....

Have you verified that all the templates are in the directory?

Are you installing this manually (copying all XOOPS files to your directory using ftp) or are you using an installer like Fantastico?



944
zyspec
Re: Cannot write to mainfile.php
  • 2006/3/24 18:45

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


We'll need a little more info about your configuration. Operating System, Apache or IIS (and version), PHP version, MySQL version, XOOPS version, etc.



945
zyspec
Re: Dull site ?
  • 2006/3/24 18:16

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


This is caused by the way the templates were created to include 'other' templates. These are just warnings (Notices) and will not interfere with your site operation.

Just go into the Admin panel, select System Preferences and turn off the Debug options (currently set to PHP Debug). The messages at the bottom of the page will be gone.



946
zyspec
Re: Liaise module with security code?
  • 2006/3/23 22:34

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I don't believe Liaise has been modified to include a security graphic yet - although I haven't personnally tried ver 1.5. I'd recommend you check with BrandyCoke directly.

The latest release of XoopsContact at IBDeeming has a security graphic, if you're interested you could check out their code to see how they did it and "hack" it into Liaise.



947
zyspec
Re: Redirection of a Xoops site?
  • 2006/3/23 10:25

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


The easiest way is to rename your XOOPS index.php file to something else (say xoops_index.php) and then just create a index.html page with the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<
html>
<
head>
<
title>Your Page Title</title>
<
meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
<
BODY>
Please wait while we redirect you to our other site.
</
BODY>
</
HTML>

Once you're ready to "restore" your XOOPS site then all you have to do is rename the xoops_index.php file back to index.php, delete index.html and you're "back" to where you started.

NOTE: Renaming the index.php file may not be necessary depending on the server settings as the server may execute .html files before .php but the above will work in either case.

Another way to accomplish this is to clone your default template set and make it active. Then edit the cloned system_siteclosed.html file by adding
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
just before the BODY tag.



948
zyspec
Re: xdonations ipn failure... a solution to my problem might help a lot of people
  • 2006/3/23 9:29

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


One other way to do this is by using stream_context_create along with a file open (fopen) but it requires that your host has allow_url_fopen set in php.ini - I suspect that your host disables this function too but you could check with them to see if that's true.



949
zyspec
Re: Move site from remote to local-blank page
  • 2006/3/20 21:37

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


EDITED:

As I recall when you move a site to a local host you have to remove the local host 127.0.0.1 from the banned IP list. You might try changing the value for 127.0.0.1 from the bad_ips variable in the xoops_config table using phpMyAdmin.

Change the value from:

a:1:{i:0;s:9:"127.0.0.1";}

to:

a:1:{i:0;s:0:"";}

Warning - copy down the value stored in the bad_ips variable before you start so you can easily "put it back" if something goes wrong.



950
zyspec
Re: Making xyp4All Searchable?
  • 2006/3/20 21:22

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Okay... I've had several people successfully "patch" the include/search.inc.php file in both version 1.57 and 1.58 RC so I'll post the changes I made to get the search to work as intended.

The first change makes the search return the title from the xyp_links table instead of the category title. The sql was inadvertently overwriting the title from the xyp_links table with the title from the xyp_cat table since they both have the same name.

Change line 35 FROM:
$sql = "SELECT l.lid,l.cid,l.title,l.submitter,l.date,c.title,t.description FROM ".$xoopsDB->prefix("xyp_links")." l LEFT JOIN ".$xoopsDB->prefix("xyp_cat")." c ON c.cid=l.cid LEFT JOIN ".$xoopsDB->prefix("xyp_text")." t ON t.lid=l.lid WHERE status>0";

TO:
$sql = "SELECT l.lid,l.cid,l.title,l.submitter,l.date,c.title AS cattitle,t.description FROM ".$xoopsDB->prefix("xyp_links")." l LEFT JOIN ".$xoopsDB->prefix("xyp_cat")." c ON c.cid=l.cid LEFT JOIN ".$xoopsDB->prefix("xyp_text")." t ON t.lid=l.lid WHERE status>0";

The second change updates the LIKE terms of the sql statement when the queryarray has more than 1 item. It looks like this was inadvertently left from a "cut and paste" operation.

Change line 45 FROM:
$sql .= "(l.title LIKE '%$queryarray[$i]%' OR c.title LIKE '%$queryarray[0]%' OR t.description LIKE '%$queryarray[$i]%')";

to:
$sql .= "(l.title LIKE '%$queryarray[$i]%' OR c.title LIKE '%$queryarray[$i]%' OR t.description LIKE '%$queryarray[$i]%')";




TopTop
« 1 ... 92 93 94 (95) 96 97 98 ... 100 »



Login

Who's Online

163 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits