FaRe-Ed:
favorites.php must be included from homepage, there is a sample "home.php" how to include it, is work good in my site (home) as news

but if you want to make acceess directly from browser i can modify it for you.

Rod : if you have a problem confim me?

452

(40 replies, posted in PunBB 1.2 troubleshooting)

Ah, you mean, pepole who can made homepage by himself thay can made a "recent discussions", ok smile

453

(40 replies, posted in PunBB 1.2 troubleshooting)

Sorry tongue i am not good reader of english sentences,
i am talking about include php file in home page like

include('http://domian.com/forum/extern.php');

php will make another http connection and read it as browser then return included the results

include('/home/site/forum/include/internal.php');

use the same $db connection opened in home page when include and build a html table of recent file then showd in side of home page.

454

(40 replies, posted in PunBB 1.2 troubleshooting)

But if people have already made their own connection to the database, they probably know howto fetch a few topics from the database.

i am not understand?

455

(40 replies, posted in PunBB 1.2 troubleshooting)

extern,php is good from outside of site but internaly not good becuase every external include mean another connection to database, if i include "recent topic" and "last users" that mean 3 connection to db and 3 line in apache log file mean slowing the home page, we need "internal.php".

new release

http://www.parmaja.com/downloads/phpMultiSyn-1.0.2.zip

in 1.0.1
ADD : apache syntax

in 1.0.2
ADD : ini syntax
ADD : geshi integration


becuase i  am not trust my code and not support all languages yet, so i do it for who like geshi
open punbb_code_parser.php and add // to

//include('punbb_msh.php');

remove // from

include('punbb_geshi.php');

you can open punbb_geshi.php for mor confg Geshi

download Geshi from
http://optusnet.dl.sourceforge.net/sour … .1.tar.bz2

--------------------------
but i found that

this my page time execute on local computer CPU 350MH and 128MB RAM, i test it 3 time with Geshi and My Code phpMSH
Geshi
without line numbers
29.952
30.237
29.532

phpMSH
3.747
2.933
2.960

phpMSH is faster than Geshi 10 time  3/30, i hope my test is honest.

that "change your way", why not make it as MOD.

if you find a big rock in your road, you can break it to many pieces, or remove it to side of road or change your way, or return to your home,
choosing depends on the cost.

NO, that slowing post message if you have many users, and growing the database size.

460

(1 replies, posted in Programming)

function Foo:Boolean;
begin
  Result:=True;// or any code 
end;

if (not Start.Caption='On')  and (Foo) then
begin
end;

//for case insensitive
if SameText(not Start.Caption,'On')  and (Foo) then
begin
end;

461

(4 replies, posted in Programming)

Ops big_smile i forget about SpeedButton because i use my own components from 5 years, SpeedButton is also inherited from TButton but use Glyph not image list, it use themes of XP style and that good in delphi 7,
BTW, i am "at my word", so download a nwButtons Components that i use in my projects and install it you uour package

http://www.parmaja.com/code/nwButtons.pas

there is a DXButton search it in DelphiPages.com and torry.net

462

(40 replies, posted in PunBB 1.2 troubleshooting)

why not try active_topics.php in my first post, try it and modify as you need.
active_topics.php is extracted from extern.php

use it as

include('./forum/active_topics.php');

it's work good in my site

463

(4 replies, posted in Programming)

in Designing you cannot, but you can build a Component inherited from TButton and override some methods, if interested with Components i can post it here.

464

(5 replies, posted in Programming)

inner join filter both of two tables, intersect tables, if there is no info in table2 will skip the record in table1
left join filter the joined tables, get table1 and if there is info in table2 to thay get it or get null

465

(14 replies, posted in Programming)

i already install php5, i was recorded my steps

delete old "c:\php" if is exist
extract "php-5.0.0-Win32.zip" to "c:\php"
copy "php.ini-recommended" to "c:\windows\php.ini"
open "c:\windows\php.ini"

search for "extension_dir" you find

extension_dir = "./"

change it to

extension_dir = "./ext"

search for "php_mysql.dll"
you will find this lines

;extension=php_mysql.dll


remove the semicolon from the extension like that for mysql

extension=php_mysql.dll

open "Control Panel- System" go to "Advanced" and press button "Environments Variables"
in "System variables" edit "PATH" and add ";c:\php;c:\mysql\bin", OK and close

open "C:\Program Files\Apache Group\Apache2\conf\httpd.conf"

add

LoadModule php5_module C:/PHP/php5apache2.dll
AddType application/x-httpd-php .php .phtml

restart apache server

if you use php localy not for a public site
open php.ini in "c:\windows"
search for key and make it as

error_reporting  =  E_ALL
display_errors = On

add to extensions

extension=php_dbg.dll

add

[Debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.JIT_enabled=on
debugger.JIT_port =7869 
debugger.JIT_host =127 .0.0.1

download dbg-2.11.26-Win32.zip and extract it in c:\php\dbg

copy "c:\php\dbg\server\php_dbg.dll-5.0.0" to "c:\php\ext\php_dbg.dll"

restart apache

run "C:\php\dbg\client\install.bat" once
run "C:\php\dbg\client\DbgListener.exe" when you need to debug
you must have debug client like phpxedit i like it search it on internet

link

466

(40 replies, posted in PunBB 1.2 troubleshooting)

My be it is blocked to access ports with php code or any code. (i am not expert with servers sad ).

467

(40 replies, posted in PunBB 1.2 troubleshooting)

your hoster is disable allow_url_fopen in php.ini
allow_url_fopen = Off
so you cannot use extern.php in your site sad

>How to correct this problem?
modify or build another extern.php file to include it as normal file let us name it as internal.php
include('./forum/internal.php');

see
http://www.punres.org/viewtopic.php?id=89
there is a file active_topics.php i included in home.php to show the active topics in home page.

468

(13 replies, posted in General discussion)

The same ask from me
why in networksolution.net a domain cost more than 30$
and in registerfly.com (by example) cost less than 10$

469

(14 replies, posted in Programming)

make

C:\mysql\bin
C:\PHP

in a PATH environment

470

(3 replies, posted in PunBB 1.2 bug reports)

Why not use + for AND, / for OR for multi language forum?

http://punbb.org/forums/viewtopic.php?id=4348

472

(3 replies, posted in Programming)

Try to steal a code from other sites while surfing on internet, "view source" is the best button in a browser smile

473

(16 replies, posted in General discussion)

http://xmailserver.org/

free but not easy

474

(11 replies, posted in PunBB 1.2 show off)

With 1.2   Yes, it is like a beautiful girl has black hair as night sky without moon, has white skin as like pure milk, big blue eyes as like a sea, marble neck, small cherry mouth ... i hope my wife not see this post big_smile.

475

(7 replies, posted in Programming)

div is magical somthing happen to this world, it first time i have play with css as power as in punbb 1.2.
(bad english tongue )