294071
volker
Re: PostgreSQL support? Why not ADODB?
  • 2002/2/27 15:22

  • volker

  • Just popping in

  • Posts: 1

  • Since: 2002/2/27


Hello,

one more supported database is fine, but why not use the ADODB-lib. So we could have a lot of supported databases. It is also Open-Source and under the GNU/BSD licence.[quote]


<small>[ Edited by volker on 2002/2/27 15:22:32 ]</small>



294072
Anonymous
Re: Hacked the REF Hack :o)
  • 2002/2/27 15:05

  • Anonymous

  • Posts: 0

  • Since:


Tnx all

BUT...Just hacked it up even more and exported all the settings to a config file: much easier to customize. hehe

See: here

If ya wanna fix it up, i'd do it from the version in the above link..much cleaner


---------
Line breaks aint a bug, since keywords shouldnt have any, but your right about the language characters: wasnt thinking about non english sites when i changed it

<small>[ Edited by Half-Dead on 2002/2/27 16:25:28 ]</small>



294073
ZPC
Re: Hacked the REF Hack :o)
  • 2002/2/27 13:53

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


I found some bugs, like deleting line breaks, deleting country specific characters etc.

I will try to create some addition soon.



294074
linamix
Re: Hacked the REF Hack :o)
  • 2002/2/27 13:48

  • linamix

  • Just popping in

  • Posts: 6

  • Since: 2002/1/8 8


Merci Half-Dead... Bien joué !

Vive XOOPS !!!



294075
A-dog
Re: Hacked the REF Hack :o)
  • 2002/2/27 11:20

  • A-dog

  • Just popping in

  • Posts: 19

  • Since: 2002/1/25


really sweet. man thats nice. Just installed it. Thanks for the cleanup.
I really enjoyed playing with this one.. headers look great..the SE's will really do their jobs with these keywords...



294076
Anonymous
Hacked the REF Hack :o)
  • 2002/2/27 10:17

  • Anonymous

  • Posts: 0

  • Since:


Liked the idea of the ref hack to make the article into keywords for the meta tags, but hated the way it actually made the keywords... so i hacked it at my turn

No more words with more than 3chars, no more html entities in the keywords, and most importantly: no keyword doubles... and all keywords are made uppercase 1st letter

/* article page output */
global $bodytext;
$htmlless strip_tags($metatitle.",".$bodytext);
$search = array(
        
"/&amp;gt;/i",
        
"/&amp;lt;/i",
        
"/&amp;amp;/i",
        
"/&amp;quot;/i",
        
"/&amp;#039;/i",
        
"/[^-w']/i",
        
"/s+/",
        
"/ (.{1,3}),/i",
        
"/(, )$/"
        
);
$replace = array(
        
">",
        
"<",
        
"&",
        
""",
        "'",
        " ",
        ", ",
        "",
        ""
        );
$metatags = preg_replace($search, $replace, $htmlless);
$metatags = explode(", ",$metatags);
$metatags = array_unique($metatags);
$metatags = implode(", ",$metatags);
echo "<meta http-equiv="keywords" content="".ucwords($metatags).""></meta>n";
}
else
{
echo "<meta name="keywords" content="".$meta.""></meta>n";
}
echo "<meta name="description" content="".$xoopsConfig['
slogan'].""></meta>n";
echo "<meta name="generator" content="".$xoopsConfig['
version'].""></meta>nnn";
echo "<meta http-equiv="Content-Type" content="text/html; charset="._CHARSET."" />n";
// Fin - Hack référencement


Feel free to integrate it into the actual ref hack

<small>[ Edited by Half-Dead on 2002/2/27 11:26:00 ]</small>



294077
ZPC
Re: This page loaded in x seconds
  • 2002/2/20 19:01

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


yes..it's not about the transfer of the page from the server to your browser, it's the time that took the server to parse all the php and sql command and print-out the output...

the time depends on things like server hardware (CPU, memory), operating system, apache+php+sql setup etc...



294078
nocjock
Re: This page loaded in x seconds
  • 2002/2/20 18:49

  • nocjock

  • Just popping in

  • Posts: 19

  • Since: 2002/1/3 1


What kind of times are you all coming up with? Mine are always less than 1 second. This must be an internal server calculation, not necessarily time for actual page display, which is misleading to someone looking for response times to display, unless you work in the marketing department.



294079
AndyC
Re: This page loaded in x seconds
  • 2002/2/20 17:59

  • AndyC

  • Just popping in

  • Posts: 16

  • Since: 2002/1/10


My Bad...

It works now. Thanks.



294080
ZPC
Re: This page loaded in x seconds
  • 2002/2/20 17:47

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


are you sure, that you uncommented the line in header.php ??? it's the first line of the real code (below the standard file header)...







Login

Who's Online

139 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 139


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits