

alverman
Members-
Content count
241 -
Joined
-
Last visited
Everything posted by alverman
-
PDF data-sheet maker v.1.1 UPLOADED AS A NEW PACKAGE -> ERROR , Harald please move it to the correct location, thank you. * Fixed some bugs of v1.0 and added some fatures. * Images can have peculiar dimensions but proportions are maintained (settings in config file) * Use of alternate image (es.: product_bimage) is now possible (set DB field name in config) * Images other than .jpg .jpeg .png are replaced w/ "No Image" rectangle, but the rest of the document is rendered correctly. Printed data will show: * store name * products category (path) * products image (jpg or png shown only) * description * model * manufacturer * price (w/ - w/out tax) * special price and expiry date * options and options prices * date of availability * e-mail link * Store Name watermark Many thanks to David Rahrer for testing and corrections, and to Robert (Druide) for providing code improvement. NOTES: * tested on 2.2_MS1 Feb 21, 2003 , 2.2_CVS Jan 17, 2003. * live example at http://www.chilipepper.it/catalog/ * feedback appreciated. ivan
-
Just posted my contrib in Features section (PDF data_sheet maker v.1) http://www.oscommerce.com/community/contributions,923 It 's a basic version of a PDF data-sheet maker. It allows the costumer to print a pdf file of the single product from the products page. Printed data will include * products category (path) * products image (jpg or png only) * description * model * manufacturer * price / special price * options * date of availability. It's based on "Catalog products PDF reports V1.1 - 1.2" contributions by Gurvan Riou. The pdf file is printed "on the fly" directly to the browser (no pdf's on the server). ivan
-
I was just wondering why the pages split in the middle of a product table when ... here comes v1.1 to fix the bug :D . I think this is a great contribution, downlodable pdf documents give that professional touch .... I'm testing it locally and everything works fine, my only concern is that w/ some 200 products my catalog_4.pdf is more than 500 kb and including images, this is certainly normal. My questions are: can this create a sort of technical data sheet for the single product "on the fly" and how to give thickness 0 to the cell lines. thanx in advance ivan
-
This might help: FPDF forum : Chinese support Ivan
-
No support for .gif images only .jpg .jpeg .png, this depends on FPDF library which powers the pdf maker. Also HTML formatting like tables is not supported. If you happen to see the first page empty w/ no apparent reason and the content starts in the second page, most probably you have html formatting in the products description. Ivan
-
I think you are using v.1 . Try the revised version : PDF data_sheet maker 1.2.2 Ivan
-
Read second page of this topic: http://forums.oscommerce.com/index.php?showtopic=36951&st=10 ivan
-
Yes, you are right, it's in my last read-me, I do things and then I forget, I guess I'm getting too old for these things!
-
It's because the calendar is loaded inside the i-frame and therefore also the calendar page is added to "navigation history" (did not think about it before). Try this: in catalog/includes/application_top find: $navigation->add_current_page(); and change to : if (basename($PHP_SELF) != FILENAME_EVENTS_CALENDAR_CONTENT){ $navigation->add_current_page(); } by the way also "who's on line" in admin, is affected by the same problem so in catalog/includes/application_top find: // include the who's online functions require(DIR_WS_FUNCTIONS . 'whos_online.php'); tep_update_whos_online(); and do the same thing: // include the who's online functions if (basename($PHP_SELF) != FILENAME_EVENTS_CALENDAR_CONTENT){ require(DIR_WS_FUNCTIONS . 'whos_online.php'); tep_update_whos_online(); } HTH
-
User Tracking with Admin 1.31 Released
alverman replied to Druide's topic in General Add-Ons Support
I do not know in which log file you can see the info but this is the way I did, adding a db field to record the "referer_url" when the user enters the page (if there's a reason why it has not been done this way, please post). I'm using User Tracking with Admin 1.34 please BACKUP and: add a db field to user_tracking table : referer_url varchar(128) NOT NULL default '' in catalog/includes/functions/user_tracking.php after line 57 (before $current_time = time(); ) add $HTTP_SERVER_VARS =& $_SERVER; $wo_referer_url = ($HTTP_SERVER_VARS['HTTP_REFERER'] == '') ? $wo_last_page_url : $HTTP_SERVER_VARS['HTTP_REFERER']; at bottom page change the query to: tep_db_query("insert into " . TABLE_USER_TRACKING . " (customer_id, full_name, session_id, ip_address, time_entry, time_last_click, last_page_url, page_desc, referer_url) values ('" . $wo_customer_id . "', '" . $wo_full_name . "', '" . $wo_session_id . "', '" . $wo_ip_address . "', '" . $current_time . "', '" . $current_time . "', '" . $wo_last_page_url . "', '" . $page_desc . "', '" . $wo_referer_url . "')"); then in admin/user_tracking.php the "$whos_online_query" (around line 103) change to: tep_db_query("select customer_id, full_name, ip_address, time_entry, time_last_click, last_page_url, page_desc, referer_url," . line 113 below $user_tracking[$whos_online['session_id']]['customer_id']=$whos_online['customer_id']; add: $user_tracking[$whos_online['session_id']]['referer_url']=$whos_online['referer_url']; around line 250 replace <td class="dataTableContent" align="left" valign="top" colspan=3><?php echo '<a href="'.$referer_url.'" target="_new">'. $referer_url .'</a>'; ?> </td> with: <td class="dataTableContent" align="left" valign="top" colspan=3><?php echo '<a href="'. $ut['value']['referer_url'] .'" target="_new">'. $ut['value']['referer_url'] .'</a>'; ?> </td> I'm not aware of a different way, maybe the same infos can be retrieved more easily but it seems to work so ... ... did I tell you to BACKUP first ? -
Hi jasonaudio, did you add the db table ? DROP TABLE IF EXISTS events_calendar; CREATE TABLE events_calendar ( event_id int(3) NOT NULL auto_increment, language_id int(11) NOT NULL default '1', start_date date NOT NULL default '0000-00-00', end_date varchar(20) default NULL, title varchar(255) default NULL, event_image varchar(64) default NULL, link varchar(255) default NULL, OSC_link varchar(255) default NULL, description text, date_added datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (event_id,language_id) ) TYPE=MyISAM; you can use "phpMyAdmin" or something similar.
-
This is pretty good one:Information Pages Unlimited. HTH
-
Replace line 365 as well (same code). Ivan
-
Yep, sorry this a silly mistake and thanks for spotting it. replace line 291 with: '<td align="center" width="20" bgcolor="#F5F5F5" class="main" nowrap><b>'. $i .'</b></td><td width="100%" bgcolor="#D9DEE6" class="main" nowrap>'. TEXT_EVENT_DATE .' <a href="'. $cal->getDbLink($day, $month, $year) .'">'. $event_array['date'] .'</a></td>'; other users asked for the possibility to have an event spanning across several days, unfortunately this means altering the calendar class and to be honest I do not feel like doing it now, nor I'm sure I could make it, the calendar class is not mine, I've just modified it a little to use it in this mod : http://www.cascade.org.uk/software/php/calendar/ .Ivan
-
Hi Phil, you are right, I did not check it with events falling "today": line 80 and 254: ........". TABLE_EVENTS_CALENDAR ." where start_date >= '". date('Y-m-d H:i:s') ."' and ........... add the "=" after ">". as for the drop down it should show up, try adding more than 1 event HTH Ivan
-
Hi Rubygirl, sorry for not being of help, I check frequently the Contribs forum but last time I came here (yesterday), there was no post about the calendar. I meant to post the MS1 version also but due to the many late changes I just wanted to wait until MS2. Installing this version on MS1 the main problems are related to the split_page function. Please post your MS1 version, since many from the list will probably need it (why have something to object? Contributions are property of the Community not of the Contributors, am I wrong? :) ). Sice I'm here one thing: to display dates according to your @setlocale , in catalog/events_calendar.php replace all the instances of $date_start = date("F d, Y", mktime(0,0,0,$month,$day,$year)); with: $date_start = strftime("%d %B, %Y", mktime(0,0,0,$month,$day,$year)); and $date_end = date("F d, Y", mktime(0,0,0,$month_end,$day_end,$year_end)); with: $date_end = strftime("%d %B, %Y", mktime(0,0,0,$month_end,$day_end,$year_end)); a minor thing: in catalog/calendar_content.php, replace line 109 with if (($month != $this_month) || ($month_ != $this_month) || ($year_ != $this_year) || ($_year != $this_year)){ Have a nice Sunday Ivan
-
If you read it means that at least you haven't edited correctly the language file adding:define('ENTRY_CUSTOMERS_GROUP_NAME', 'Customer Group:'); then I would check admin/customers.php if, by any chance, you have missed some instructions. HTH
-
Yes you can, provided you do not cross posts. 8)
-
Warning: Cannot add header information
alverman replied to maggitronic's topic in General Add-Ons Support
Most likely you left spaces or empty lines before or after the php tags in catalog/includes/languages/english/create_account_process.php http://wiki.oscommerce.com/helpErrors HTH -
[Contribution] PDF data-sheet maker v.1.1
alverman replied to alverman's topic in General Add-Ons Support
Hi Lopo many thanx for your warning , but www.chilipepper.it/catalog is just a demo cart and I left the footer like that on purpose . As far as your question: you can certainly do it :wink: Ivan -
Cool, I'm glad it works and........ the solution was ? At least I know what to answer next time. :D Ivan
-
Not sure I remember correctly RubyGirl but: http://forums.oscommerce.com/viewtopic.php...6&highlight=pdf or http://forums.oscommerce.com/viewtopic.php...5&highlight=pdf or disable GZip Compression in Admin>Configuration>My Store. I cannot replicate the problem on my machine.
-
[Contribution] CC_CVV_start date plus credit card blacklist
alverman replied to a topic in General Add-Ons Support
I've just installed on MS2 (07-12-2003), tested the basics w/ VISA and AMEX (I do not own others, and those two fish in an empty pond). It works great! No changes at all, just followed the readme instructions. Thanks Barry for this Mod and I take the chance to thank the Dev Team for their hard and valuable work, said that, I just hope I'll be able to sign my first contract so that these words can turn into something a little more tangible. Ivan -
** PDF DATASHEET MAKER // CONFIGURATION PROBLEMS **
alverman replied to JazzMan_Jay's topic in General Add-Ons Support
You found it by yourself :) -
** PDF DATASHEET MAKER // CONFIGURATION PROBLEMS **
alverman replied to JazzMan_Jay's topic in General Add-Ons Support
The thing works just like that but .... what application are you using to edit the config file? Make sure when you save the modified file no empty lines/blank spaces are created before <?php and after ?> and some editors do that. WIKI 1st case.