Jump to content

alverman

Members
  • Content count

    241
  • Joined

  • Last visited

1 Follower

Profile Information

  1. alverman

    PDF in different language

    This might help: FPDF forum : Chinese support Ivan
  2. alverman

    PDF data-sheet

    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
  3. alverman

    PDF DATA SHEET

    I think you are using v.1 . Try the revised version : PDF data_sheet maker 1.2.2 Ivan
  4. alverman

    PDF data-sheet

    Read second page of this topic: http://forums.oscommerce.com/index.php?showtopic=36951&st=10 ivan
  5. alverman

    Event Calender

    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!
  6. alverman

    Event Calender

    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
  7. 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 ?
  8. alverman

    Event Calender

    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.
  9. alverman

    Content management system

    This is pretty good one:Information Pages Unlimited. HTH
  10. alverman

    Event Calender

    Replace line 365 as well (same code). Ivan
  11. alverman

    Event Calender

    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
  12. alverman

    Event Calender

    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
  13. alverman

    Event Calender

    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
  14. alverman

    Separate_Pricing_Per_Customer_v3.5

    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
  15. Yes you can, provided you do not cross posts. 8)
×