Author Topic: Version .25 - Info  (Read 638 times)

0 Members and 1 Guest are viewing this topic.

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Version .25 - Info
« on: December 01, 2009, 11:37:42 PM »
Version .25 - Info

Address Following:
• YouTube API Fix
• DailyMotion API Fix
• Google Video API Fix
• New Languages: German, Spanish, Czech, Polish, Russian, Italian, Dutch, Portuguese(On top of the English & French Lang's)
• XHTML Transitional Valid Code(Admin Panel not included)
(one the list is complete any more features to be added will have to be on 0.26)

Release Date:
12/1/2009

Download:
Full - http://phpdirector.co.uk/download/.25/PHPDirector-Version_.25-Full.zip
Min - http://phpdirector.co.uk/download/.25/PHPDirector-Version_.25-Min.zip


How to upgrade an Old Version of PHPDirector:
1) Download the "PHPDirector-Version_.25-Min.zip"
2) Open the upgrade.php file and fill in the top info:
Code: [Select]
$dbhost = 'localhost';
$dbuser = 'DATABASE USERNAME';
$dbpass = 'DATABASE PASSWORD';
$db = 'DATABASE NAME';
3) Then run the upgrade.php
« Last Edit: December 02, 2009, 02:26:41 AM by FireDart »

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Version .25 - Info
« Reply #1 on: December 02, 2009, 12:59:05 AM »
to fix the version info in the footer edit

Complete_install.php (located in install folder)

Replace the following line

Code: [Select]
VALUES ('$_POST[name]', '$_POST[news]', '$_POST[vids_per_page]', '0.2')");
with

Code: [Select]
VALUES ('$_POST[name]', '$_POST[news]', '$_POST[vids_per_page]', '0.25')");

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Version .25 - Info
« Reply #2 on: December 02, 2009, 01:03:32 AM »
Thanks,
For the min download how would I go about changing that?

Since it's only 3 folders and no install?
« Last Edit: December 02, 2009, 01:05:50 AM by FireDart »

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Version .25 - Info
« Reply #3 on: December 02, 2009, 01:59:54 AM »
create file named runme.php

contents
Code: [Select]
<?php
$dbhost 
'localhost';
$dbuser 'DATABASE USERNAME';
$dbpass 'DATABASE PASSWORD';
$db 'DATABASE NAME';
$conn mysql_connect($dbhost$dbuser$dbpass);
mysql_select_db($db);
if(! 
$conn )
{
  die(
'Could not connect: ' mysql_error());
}
$sql 'UPDATE pp_config
        SET version=".25"
        WHERE version=".2"'
;
$retval mysql_query$sql$conn );
if(! 
$retval )
{
  die(
'Could not create table: ' mysql_error());
}
mysql_close($conn);
?>



that should do it... just fill in the top of the script... run it after adding files... and BAM!!!! script up to date :)

anything else you need?
« Last Edit: December 02, 2009, 02:07:05 AM by Jeff »

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Version .25 - Info
« Reply #4 on: December 02, 2009, 02:14:44 AM »
Nope, sounds goods.

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Version .25 - Info
« Reply #5 on: December 02, 2009, 02:28:21 AM »
kk :)