290131
ackbarr
Re: BLOCKS.. need help

What version of php are you running? According to the php documentation:
Quote:
On Windows versions prior to PHP 4.3.0, the following functions do not support remote file accesing: include(), include_once(), require(), require_once() and the imagecreatefromXXX functions in the Reference XL, Image functions extension.


If you are running a version greater than 4.3.0 check the value of the "allow_url_fopen" setting in your php.ini

Also, the error message doesn't make this clear, but if the included page is on the local machine, try giving the local path to the file. Instead of this:
include(XOOPS_URL.'/modules/mytrades/go.php');

try this:
include(XOOPS_ROOT_PATH.'/modules/mytrades/go.php');



290132
ackbarr
Re: Modify themes

if you are modifying these themes for personal use, feel free to hack away. If you plan on releasing these themes to the public, the respectful thing to do is ask the original author for permission.

A theme is comprised of several files working together and when modifying one you will probably work with these files

theme.html - the base theme file, utilizes all other listed files
theme_blockcenter_c.html - defines how center-aligned center blocks appear
theme_blockcenter_l.html - defines how center-aligned left blocks appear
theme_blockcenter_r.html - defines how center-aligned right blocks appear
theme_blockleft.html - defines how blocks in the left sidebar appear
theme_blockright.html - defines how blocks in the right sidebar appear
style.css - css stylesheet used in most browsers including IE and Opera
styleNN.css (optional) - css stylesheet used in gecko (Netscape) based browsers
styleMAC.css (optional) - css stylesheet used for the Mac platform

If you are not familiar with CSS, I would highly recommend checking outhttp://www.w3schools.com/css/ which will explain the basics. Also there is a commented stylesheet for the default theme what each style rule controls:

http://wiki.xoops.org/wakka.php?wakka=DefaultThemeCSS



290133
Derya
Re: Custom block for Coppermine Gallery
  • 2003/10/17 11:30

  • Derya

  • Module Developer

  • Posts: 40

  • Since: 2003/5/12


Hi Guyz,

Predator told me that you're waiting desirously for the first release of my xcGallery

Now, I want to give you a little overview of my project.
xcGallery is a Gallery module for XOOPS 2.0.x based on Coppermine 1.1.0. I don't want to make only a port, I want integrate it complete into XOOPS and the further development will be independently of coppermine, so it takes a little time to finish it. Since Wednesday, coppermine 1.2.0 RC2 is released, but it's changes won't be in my module...maybe I integrate some of them later.

I don't want to tell you what it can and what not, because it's too much
I have promised Predator to give him a dev version for installing a demo on monday, so you can see it during the upcoming week.

greetz
derya



290134
LethZoid
Search
  • 2003/10/17 10:45

  • LethZoid

  • Just popping in

  • Posts: 9

  • Since: 2003/7/8 1


How can I change the Search Stuff? I wanna make it so Search (text) is centered on the front page, instead of align=left :\



290135
maddoxx
Blank page after upload & invalid lid
  • 2003/10/17 10:34

  • maddoxx

  • Just popping in

  • Posts: 1

  • Since: 2003/7/17


Hi everbody,

I'm using XOOPS 2.0.0.4 and have tried to work with myalbum in all versions ( 1.1.3 and earlier, even myalbum-p 2.0 )

Installing is no problem, but after uploading photos I get a blank page. there is no cofirmation that upload is correct finished. In the folder photo i can see that this photo has been uploaded ( 1.jpg ). I'm able to do thumbs and can view the photo as a thumb in the random photo block.
But when i try to view the "real" photo by doing a doubleclick onto it a blank screen appears with the message:

"invalid lid"

Could you help ???

after php debug i get this :

Notice [PHP]: Constant _albm_next already defined in file modules/myalbum/language/english/main.php line 147
Warning [PHP]: open_basedir restriction in effect. File is in wrong directory in file modules/myalbum/class/upload.class.php line 395
Warning [PHP]: getimagesize: Unable to open '/tmp/phpwPhAco' for reading. in file modules/myalbum/class/upload.class.php line 395
Notice [PHP]: Use of undefined constant move_uploaded_file - assumed 'move_uploaded_file' in file modules/myalbum/class/upload.class.php line 452
Notice [PHP]: Use of undefined constant move_uploaded_file - assumed 'move_uploaded_file' in file modules/myalbum/class/upload.class.php line 452
Notice [PHP]: Undefined variable: url in file modules/myalbum/submit.php line 85
Notice [PHP]: Undefined index: email in file modules/myalbum/submit.php line 87<br



290136
audia4
error at the bottom of every page..
  • 2003/10/17 10:12

  • audia4

  • Just popping in

  • Posts: 6

  • Since: 2003/8/4 9


hi, i have this error showing at the bottom of every page of the website..

**

Notice: Use of undefined constant config_value - assumed 'config_value' in d:\home\sharetrader\kernel\session.php on line 126

**

It only shows when i have php debug on of course, so it doesnt show when i have debug off, but i would still like to fix this. WHat could be causing it?



290137
jesperw
Modify themes
  • 2003/10/17 10:11

  • jesperw

  • Just popping in

  • Posts: 5

  • Since: 2003/10/6


Hi again.
A newbie question again!
I am trying different themes for my personal site, for private use. www.jesperwinblad.net.
Can i change the themes or should i ask the author?
And if i can change the theme how do i change the info that is specific for the author, for exampel in the flower theme it says at the top OCEAN-NET Official Homepage ?ˆ.
and i try to change that in the theme.html file for that theme, i'll do that with just in notepad, i download to my server (remote server) but still it says OCEAN-NET Official Homepage ?ˆ. do i have to change any other file?

/Jesper



290138
stratoz4
BLOCKS.. need help
  • 2003/10/17 10:09

  • stratoz4

  • Just popping in

  • Posts: 53

  • Since: 2003/7/10


hi..

when i try to include a file using PHP in a block i get this error message.

--------------------------
Warning: Failed opening 'http://www.sharetrader.com.au/modules/mytrades/go.php' for inclusion (include_path='.;c:\php4\pear') in d:\home\sharetrader\class\xoopsblock.php(146) : eval()'d code on line 1
--------------------------

if i load the file i am trying to include on its own it works fine, but when i try to include in a block error happens..

i havent changed anything.. so i dont know why this is happening?

any help apreciated.



290139
lykoszine
Re: Module Categorization
  • 2003/10/17 8:50

  • lykoszine

  • Module Developer

  • Posts: 244

  • Since: 2002/1/2 2


I reckon you need to add a block category (as the only way to deliver blocks is in a module)

Also an email category (for both mailing lists and pop3 plugins...




290140
Herko
Re: IE 6 changes for embeded content
  • 2003/10/17 8:37

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Perhaps we should add an object handler for this that can be used for all the relevant embedded files to the core. That would make it easier for module developers to add embedded content to their modules.

Herko







Login

Who's Online

148 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 148


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