1
damon
php variables in tinyd
  • 2005/7/1 20:25

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


I have a php script that works great outside of xoops. It takes a user id in as a url variable (i.e.http://site.com/test.php?picID=100) and has a where clause in the select statement (where p.n_pic_id = '$picID') of the script.

However, inside a tinyd module in xoops, I just get the associated text without any data. An example of url ishttp://site.com/modules/tinyd5/index.php?id=2&picID=100. If I remove the where clause, I get the data for the first record, so the database connectivity is ok.

I have another php page with no variable that works good, so I am not worried about any settings within tinyd.

Am I passing the variable incorrectly or is it not capable of handling them?

thanks,
damon



2
damon
Re: Theme for wedding
  • 2004/9/4 14:21

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


Ages later, I am getting around to logging back in and checking messages. My apologies for the delayed response.

I used tiny content for the Our Wedding! section. I did the html pages under by hand and uploaded them. Since then, TinyContent-Duplicatable has come out and I used that for some items you can't see unless logged in. I would highly recommend using this module.

I used Agenda-X for the minical function. Played around with the actual calendar pages, but didn't care for the interface and output that much. I should probably disable the view one of these days

Nagra was used for the guestbook. I had a few issues with this as I couldn't figure out how to change the 'bad' english concerning the number of messages. There was some feedback that people had trouble posting. I wasn't able to duplicate the problem and they eventually posted.

I will hopefully be posting some wedding and honeymoon (Reykjavik, London, Prague) soon. Not sure yet if I will use a XOOPS module (having some path troubles) or may do slideshows using dhtml scripting in tinycontent-dup pages.

The contact us is from the XOOPS base install. If you have any questions, fill that in and I will respond much quicker.



3
damon
Re: Theme for wedding
  • 2004/3/29 21:55

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


In the end, I decided to go with springtime . It's colorful enough and not as feminine as I would expect any wedding theme to turn out :)

You can take a look at DamonAndAllison.com.

damon



4
damon
Re: images won't disply with tinycontent 1.5
  • 2004/2/7 19:29

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


Thanks, that did it. Any thoughts of adding the capability of relative paths?

damon



5
damon
images won't disply with tinycontent 1.5
  • 2004/2/7 18:10

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


I installed tinycontent 1.5 today and it works great except that images don't show up (and I can't upload files, but I ftp them). In addition to making content dir 777, made images dir 777.

There was a reference on chapi's site to tc 1.3 not supporting subfolders. I haven't found any info on this for 1.5, so I tested by modifying the html file to have the images in the same dir with the same result.

Any ideas?

Thanks, damon



6
damon
Re: Config Check
  • 2004/1/29 13:09

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


Any thought on why I still can't upload pictures with the interface?

damon



7
damon
Theme for wedding
  • 2004/1/22 23:57

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


I am looking for a theme that would be suitable for a wedding website. My wife to be is on me a bit about it so I don't have time to learn how to design themes. Does anyone have any suggestions?

thanks,
damon



8
damon
Re: Batch
  • 2004/1/22 15:53

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


I was using /var/www/html/... rahter than /home/virtual/site12/fst/var/www/html/tmp.

Works ok now.

Any thoughts of changing code to allow the filename to be added to the path so that individual images already on server can be added, with their own title and description? This would be easier than uploading a bunch and then going back and editing each one. I haven't spent a ton of time looking at the functionality, so it may be there already, in another place.

thanks,
damon



9
damon
Re: GD2 & Config Check
  • 2004/1/22 15:47

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


Force GD2 already set to No.

----------
As reqested, I sent "Config Check" Here is " - Check Configs&Environments"

myAlbum-P checker
Environment Check
PHP directive 'safe_mode' (both ok): off
PHP directive 'file_uploads' (need on): on
PHP directive 'register_globals' (both ok): on
PHP directive 'upload_max_filesize': 2048M byte
PHP directive 'post_max_size': 64M byte
PHP directive 'open_basedir': /tmp/:/usr/share/pear/:/home/virtual/site12/fst/:/home/virtual/damonkimble.com/:/home/virtual/admin12/
PHP directive 'upload_tmp_dir': ok
Table Check
Photos table: xoops_myalbum_photos ok
Number of Photos: 0

Descriptions table: xoops_myalbum_text ok
Number of Descriptions: 0

Categories table: xoops_myalbum_cat ok
Number of Categories: 1

Votedata table: xoops_myalbum_votedata ok
Number of Votedata: 0

Comments table: xoops_xoopscomments ok
Number of Comments: 0

Config Check
Pipe for images: GD
Check 'GD2' work correctly under your GD bundled with PHP
If the page linked from here don't display correctly, you should give up working your GD as truecolor mode.

Directory for Photos: /home/virtual/site12/fst/var/www/html/uploads/myphotos ok

Photos & Thumbs Link Check
Now, checking .ok






10
damon
Config Check
  • 2004/1/21 15:40

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


Config Check
Pipe for images: GD
Check 'GD2' work correctly under your GD bundled with PHP
If the page linked from here don't display correctly, you should give up working your GD as truecolor mode.

Directory for Photos: /home/virtual/site12/fst/var/www/html/uploads/myphotos ok


When I click on 'GD2':

Warning: imagecreatetruecolor(): requires GD 2.0 or later in /home/virtual/site12/fst/var/www/html/modules/myalbum/admin/checkgd2.php on line 10

I haven't a clue what that means!


I tried batch register as well. I believe I ran into a path recognition issue. I will test again and post results a little later today.

thanks,
damon





TopTop
(1) 2 »



Login

Who's Online

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


Members: 0


Guests: 193


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