131
mrphilong
Re: Koivi - error

^bump....anyone?
www.UcChau.Net
www.XoopsViet.Org



132
mrphilong
Koivi - error
  • 2008/8/5 12:41

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Please help.....I am using Koivi as my editor, when right click on an inserted image I received the following error:

An error has occured in the script on this page

Line
5

Char
2

error
'debug_window.document' is null or not an object

code
0

http
://www.mysite.com/class/wysiwyg/dialogs.php?id=hometext&dialog=imageProps&url=/class/wysiwyg&skin=default


I am using:

XOOPS VersionXOOPS 2.0.18.2 RC 
PHP Version
5.2.5 
MySQL Version
4.0.27-max-log 
Server API Version
cgi-fcgi 
OS Version
Linux
www.UcChau.Net
www.XoopsViet.Org



133
mrphilong
Re: How to find what modules are usable with 2.3.0

I am using XOOPS 2.0.18.2 RC atm and planing to move to 2.3 once it is stable. It would be nice if people starting to list here module that works in 2.3
www.UcChau.Net
www.XoopsViet.Org



134
mrphilong
Re: Xcgal - Add Blog, HTML [IMG] links under displayed image
  • 2008/7/11 9:45

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I dont think you

<{$xoops_url}>/modules/xcgal/<{$picture_url}>


just

<{$picture_url}>


would be fine.

thanks for the hack.
www.UcChau.Net
www.XoopsViet.Org



135
mrphilong
Re: xcgal pagetitle hack ..improve the searchability of your site!
  • 2008/6/29 5:05

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


alt="<{$pic_title}> - <{$pic_caption}> - <{$album_name}>"


$album_name should be album_title
www.UcChau.Net
www.XoopsViet.Org



136
mrphilong
MyTab - feed plugin request.
  • 2008/6/22 23:53

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I wish to use MyTAB to get a feed from the News module;

- 3 latest article from each category.
- when reading a news article from category A, i am seeking to have MyTab display the latest 10 articles from category A.

thanks for reading...
www.UcChau.Net
www.XoopsViet.Org



137
mrphilong
Re: URL changer
  • 2008/6/10 13:48

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Still getting blank page, thanks for your help.
www.UcChau.Net
www.XoopsViet.Org



138
mrphilong
Re: URL changer
  • 2008/6/10 4:18

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


hey frank,

I am having blank pages with xoRewriteModule for the news module, whats your .htaccess looks like for news module?
www.UcChau.Net
www.XoopsViet.Org



139
mrphilong
Exchange Rate block for u

I hope someone would develope this further into a module, we really really need an Exchange Rate module. From research, I found to get an exchange rate feed from Google:

xrate.php code:

<?php
function exchangeRate$amount$currency$exchangeIn )
{
$googleQuery $amount ' ' $currency ' in ' $exchangeIn;
$googleQuery urlEncode$googleQuery );
$askGoogle file_get_contents'http://www.google.com/search?q=' $googleQuery );
$askGoogle strip_tags$askGoogle );
if (
preg_match("/Rates provided for information only - see disclaimer./i"$askGoogle)) {
$matches = array();
preg_match'/= (([0-9]|.|,| )*)/'$askGoogle$matches );
return 
$matches[1] ? $matches[1] : false;
}
else {
$status "google says no";
return 
$status;
}
}
?>



put the following code into your PHP block:

<?php
require( '/path.to/xrate.php' );
echo 
'1 AUD = '.round((str_replace ("","",(exchangeRate(1'aud''usd' )))),4).' USD';
echo 
'<br>';
echo 
'1 AUD = '.round((str_replace ("","",(exchangeRate(1'aud''vnd' )))),4).'000 VND';
echo 
'<br>';
echo 
'1 AUD = '.round((str_replace ("","",(exchangeRate(1'aud''cad' )))),4).' CAD';
echo 
'<br>';
echo 
'1 AUD = '.round((str_replace ("","",(exchangeRate(1'aud''jpy' )))),3).' YEN';
echo 
'<br>';
echo 
'1 AUD = '.round((str_replace ("","",(exchangeRate(1'aud''eur' )))),4).' EUR';
echo 
'<br>';
echo 
'1 AUD = '.round((str_replace ("","",(exchangeRate(1'aud''nzd' )))),4).' NZD';
?>


demo here on left block
www.UcChau.Net
www.XoopsViet.Org



140
mrphilong
Self reload

I am looking for a hack to make XOOPS reload whenever there is new content posted on the site.
www.UcChau.Net
www.XoopsViet.Org




TopTop
« 1 ... 11 12 13 (14) 15 16 17 ... 27 »



Login

Who's Online

146 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 146


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