PhpDig.net

Go Back   PhpDig.net > General Forums > Feedback & News

Reply
 
Thread Tools
Old 07-14-2004, 08:29 PM   #1
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
PhpDig Version 1.8.3 Released

Hi. PhpDig version 1.8.3 has been released as a 'minor' release. The changes can be found in the Changelog file. No database tables, or changes thereto, were made. To upgrade, copy over the old files with the new files and reconfigure the new connect.php and config.php files.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 07-15-2004, 11:03 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Two small tweaks for those who downloaded PhpDig 1.8.3 before the date of this post:

In robot_functions.php find:
PHP Code:
//extracts title
if ( eregi("<title *>([^<>]*)</title *>",$text,$regs) ) {
    
$title $regs[1];
}
else {
    
$title "";

and replace with:
PHP Code:
//extracts title
if ( eregi("<title *>([^<>]*)</title *>",$text,$regs) ) {
    
$title trim($regs[1]);
}
else {
    
$title "";

In config.php find:
PHP Code:
// turn off magic_quotes_runtime for escaping purposes
@ini_set("magic_quotes_runtime","0");
// turn off magic_quotes_sybase for escaping purposes
@ini_set("magic_quotes_sybase","0"); 
and replace with:
PHP Code:
// turn off magic_quotes_runtime for escaping purposes
@ini_set("magic_quotes_runtime",false);
// turn off magic_quotes_sybase for escaping purposes
@ini_set("magic_quotes_sybase",false); 
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 07-16-2004, 04:31 AM   #3
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
I believe your first replacement code should be this:
PHP Code:
//extracts title 
if ( eregi("<title *>([^<>]*)</title *>",$text,$regs) ) { 
    
$title trim($regs[1]); 

else { 
    
$title "Untitled"

if (!(
$title)) { $title "Untitled"; } // account for regex match 
vinyl-junkie is offline   Reply With Quote
Old 07-16-2004, 06:48 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Actually...
PHP Code:
//extracts title 
if ( eregi("<title *>([^<>]*)</title *>",$text,$regs) ) { 
    
$title trim($regs[1]); 

else { 
    
$title ""

The one you posted is meant to never display the filename as the title in search results, a tiny change for another member who wanted "Untitled" instead of the filename for non-titled pages.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 07-16-2004, 11:30 AM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The attached ZIP file is for those who downloaded PhpDig 1.8.3 before the date of this post.

The ZIP contains the following changes for version 1.8.3:
  • includes/config.php (changes previously posted in this thread)
  • admin/cleanup_dashes.php (changes not previously posted)
  • admin/robot_functions.php (changes previously posted in this thread and changes not previously posted)
If you downloaded PhpDig 1.8.3 after the date of this post, then you do not need the attached file.
Attached Files
File Type: zip files.zip (22.7 KB, 41 views)
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 07-22-2004, 12:14 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The two tweaks below are not included in PhpDig version 1.8.3 as of the date of this post.
  • In search_function.php find:
    PHP Code:
    $leven_final .= $leven_keyword[$leven_count-1] . " "
    and replace with:
    PHP Code:
    if ($leven_count 0) {
        
    $leven_final .= $leven_keyword[$leven_count-1] . " ";

  • In search_function.php find:
    PHP Code:
    $leven_query trim($leven_final); 
    and right afterwards add:
    PHP Code:
    if (!isset($_GET['template_demo'])) { $_GET['template_demo'] = ""; } 
Also check this out (it is a separate work and will not be free).
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 08-01-2004, 02:04 PM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi, just an update to what tweaks are now included in PhpDig 1.8.3 as of the date of this post:
  • everything in the thread you are currently reading has been included, except the ads program
  • the correction for cookies listed in this thread has also been included
  • the language packs now include certain text as discussed in this thread
If you downloaded PhpDig version 1.8.3 after the date of this post, then the changes have already been made.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PhpDig Version 1.8.5 Released Charter Feedback & News 4 12-15-2004 10:18 PM
PhpDig Version 1.8.4 Released Charter Feedback & News 4 12-12-2004 02:43 AM
PhpDig Version 1.8.2 Released Charter Feedback & News 0 07-12-2004 05:41 PM
PhpDig Version 1.8.1 Released Charter Feedback & News 6 07-08-2004 07:17 PM
PhpDig Version 1.6.3 Released Charter Feedback & News 0 11-10-2003 05:00 PM


All times are GMT -8. The time now is 02:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.