chrometweaks.org

How do I put a pre-made template on my iPage site?

Click Here To View All Answers...


Got a question... How do I put a pre-made template on my iPage site? Looking forward for any answer or 2. Another question I got... Hello,.

I'm trying to run a ticketmaster.com like site..

How easy/hard would it be to modify osCommerce to do this?.

Should I try to modify osCommerce or start from scratch?.

One other quick question: can I put size and color info for clothing in osCommerce?.

Your help is greatly appreciated...

Comments (88)

That's a good question. I'm not sure what is the answer. I'll do some research in Google and get back to you if I discover an useful answer. You should email the people at iPage as they probably can answer it..

Comment #1

Selling general admission / non-reserved seating tickets wouldn't be difficult - they are just regular products... but if you want to get into assigned seating you'll have a fair bit of work to do...

Comment #2

Thanks for the replies.

Good to know item options are supported..

For now my tickets are for general admission..

So I will start with osCommerce and see what happens..

Thanks..

Comment #3

Any luck????? Need some guidance..

I found some code to do something close to what I want:.

Basically I wan to make the ticket downloadable as a picture (jpeg)..

| Event Name: [Product_ID] |.

| |.

| |.

| [Date] Ticket No.: [Order ID] |.

How would I make a *.php file actually open instead of download?.

I want, for example, ticket.php to be a download.

Ticket.php code.

<?php.

$mytext = "Ticket Image";.

Function text2image($mytext,$imwidth,$imheight) {.

If (!empty($mytext)) {.

If (empty($imwidth)) $imwidth=500;.

If (empty($imheight)) $imheight=400;.

Header("Content-type: image/Jpeg");.

$im = @ImageCreate ($imwidth=500, $imheight) or die ("Cannot Initialize new GD image stream");.

$background_color = ImageColorAllocate ($im, 255, 255, 255);.

$text_color = ImageColorAllocate ($im, 0, 0, 0);.

$mytext = stripslashes($mytext);.

$mytext = ereg_replace("\r\n","\n",$mytext);.

$count=5;.

$returns = explode("\n", $mytext);.

While(list($k, $mytext) = each($returns)) {.

$count = $count;.

$insert_text = substr($mytext, 0);.

Ltrim($insert_text);.

ImageString ($im, 2, 5,$count, $insert_text, $text_color);.

Imagerectangle ($im, 2, 2, $imwidth-2, $imheight-2, $text_color);.

$count=$count+13;.

}.

ImageJpeg($im);.

ImageDestroy;.

}.

}.

Text2image($mytext,$imwidth,$imheight);.

?>.

And make download.php have and "if order is ticket".

Change this code somehow to open the php file as jpeg with dynamic content.

Header("Content-Type: Application/octet-stream");.

Header("Content-disposition: attachment; filename="$downloads['orders_products_filename']);.

I think ALOT of people would be interested.

This post has been edited by.

Dlo001.

: 08 January 2004, 19:42..

Comment #4

I've already done this with a live site..

Check out.

Www.circusthrills.com.

Tickets are general admision (the e-mailed receipt serves as the ticket) and oscommerce works great for it!..

Reserved seating could be done fairly easily for a single venue but becomes EXTREMELY difficult for multiple venues with different seating arrangements..

This post has been edited by.

Illtakecash.

: 09 January 2004, 18:33..

Comment #5

Your iPage website looks very cool.

I'd be off ot the Circus if I was nearby.

So how are e-Tickets done then is there a downloadable module?.

I searched for tickets on the contributions section and only got stuff on support tickets.

This post has been edited by.

DeeInLondon.

: 18 April 2004, 04:12..

Comment #6

I can show you how to open the "ticket" in a new window from the download module. it was not very hard at all to do...

Comment #7

Thanks for the kind words, DeeInLondon :).

Actually, it was mainly a modification of the language files to make this possible..

Simple set the item weight to '0' to eliminate the shipping options..

The order number serves as the ticket confirmation # and the customer picks up physical tickets at a 'will call' window before the show. the person there simply checks their name off a list generated from the DB in a Crystal report...

Comment #8

Hello,.

I'm trying to run a ticketmaster.com like site..

How easy/hard would it be to modify osCommerce to do this?.

Should I try to modify osCommerce or start from scratch?.

One other quick question: can I put size and color info for clothing in osCommerce?.

Your help is greatly appreciated...

Comment #9

Size and colour for clothing is no problem. You can have both options working together. the only problem is lack of stock control on product options. Zonetown has been working to address this one. See:.

Http://forums.oscommerce.com/viewtopic.php...1484&highlight;=..

Comment #10


This question was taken from a support group/message board and re-posted here so others can learn from it.