JEvents 1.5 (No longer actively supported)

made preview text display & need help with custom transfer

JEvents 2.0 was launched over 2 years ago and the latest stable version is version 2.2 which will run on Joomla 1.5 and Joomla 2.5. JEvents 1.5 is therefore no longer actively supported - you should upgrade to JEvents 2.2+ as soon as possible.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.

First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.

We need the following at least:

* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version

Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.

Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.

Postby aschulz90 » Thu Jun 18, 2009 4:21 pm

Two things which I need to speak to a/the developer of this app about:
1.
We are trying to transfer items from an old database (about 14 tables with five fields: uploaded, date, location, description) into the jevents database. I've already written a script which grabs every item and will individually insert them into the jos_jevent_vevdetail and jos_jevent_vevent (sequential detail_id, ev_id, and evdet_id so they all match each entry). I cannot however figure out a way to generate the rawdata field and I don't know if creating that will actually successfully connect the two table rows. Any help with this would be appreciated. A script that would allow me to send variables with my own custom values would be great though.
2.
My boss and I made a mini script which will display the first complete sentences in the first 500 characters of each event description you can place this php code in the file modules/mod_jevents_latest/tmpl/default/latest.php at line 600
Code: Select all
                        $y= $dayEvent->content(); $x= min(strlen($y), 500); // Added by Adam and Luke to trim cotent return to 500 char or less
                        $opentag= 0; // for wacky <.> tags
                        while((($char_cmp = substr($y,($x-1),1)) != ".") && ($x > 1) || $opentag){
                        $x = $x - 1;
                        if ($char_cmp == ">"){
                        $opentag= 1;
                        }
                        if ($char_cmp == "<"){
                        $opentag= 0;
                        }
                        } // End While loop.
                        if ($x <=1){
                        $content .= $y;
                        }
                        else{
                        $content .= substr($y, 0, $x);
                        }

then comment out: $content .= $dayEvent->content();
aschulz90
 
Posts: 4
Joined: Thu Jun 04, 2009 3:44 pm

Postby Geraint » Thu Jun 18, 2009 6:53 pm

The rawdata field is not important - it is there so that if we discover a problem with the event repeat generation algorithm then we have all the raw data to be able to rerun the repetitions generation without having to re-enter the data.

In other words its is not used and will probably be dropped in the next major release.

You need to have an entry for the repetitions table too (and ideally the rrule table).

If your imported events are not repeating the best way to see the intereaction between the tables is to add one one event in the system via the browser and look at the relationship between all the new table entries.

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42850
Joined: Fri Feb 15, 2008 6:14 pm


Return to JEvents 1.5 (No longer actively supported)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: Bing [Bot]