631
svaha
Re: YaBB Module
  • 2003/11/16 9:12

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


I know that you have to be very carefull using 'modules' like this. This is because they can't be integrated in XOOPS fully, so it involves mostly some serious hacking.
When you have a problem regarding this Yabbs module, you can maybe better ask Tywick

Aloha



632
svaha
Re: Most viewed count ?
  • 2003/11/15 18:06

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Ok, that's fair enough,
Thnx Derya

Aloha



633
svaha
Most viewed count ?
  • 2003/11/15 11:56

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Hi,
I've the meta-album on my frontpage and 'hit' a picture of a dolphin several times the last days (so now I'm beginning to look more and more like a dolphin) but the most viewed count is still 3. It does not increment?

Aloha

--------
http://www.rainbowshaman.com

Oeps, this should have been a post in xcGallery, don't hit me



634
svaha
Re: YaBB Module
  • 2003/11/15 11:48

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Here you go m8
Tywick Development
Aloha



635
svaha
Re: New Hosting Provider Wanted
  • 2003/11/15 9:43

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Quote:
by CBlue on 2003/11/14 17:57:13

I recommendhttp://www.onsmart.net I have been using them for several months now. They are very quick to answer questions and help you.


Hi CBlue,
can you give us the name of your site, or sites hosted by onsmart, so I can test their speed and so on.

Aloha



636
svaha
Re: SOLVED - Making Xoops CONTENT Multilingual *Fixed Code Quote problem*
  • 2003/11/14 3:23

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Hi, I updated to Wellwines weblogger 1.30 and changed this :
Quote:
Weblog before 1.30
modules\weblog\blocks\weblog_recent.php
Line 133
$title = substr($myts->makeTboxData4Show($myrow['title']), 0, ($max_size -1))."...";

Changes to weblog 1.30
Modules/weblog/index.php
line 102

$myts =& MyTextSanitizer::getInstance();//HHTS

$category['cat_title'] = $myts->makeTboxData4Show($cat->getVar('cat_title','s'));//HHTS


line 115

$myts =& MyTextSanitizer::getInstance();//HHTS

$chtitle = $subarr[$i]->$myts->makeTboxData4Show(getVar('cat_title', 's'));//HHTS
$myts =& MyTextSanitizer::getInstance();//HHTS

$subcats .= sprintf(', <a href=\'%s/modules/%s/index.php?user_id=%d&cat_id=%d\'>%s</a>',
XOOPS_URL, $xoopsModule->dirname(), $user_id,
$subarr[$i]->$myts->makeTboxData4Show(getVar('cat_id'), $chtitle));//HHTS

}


line 181

$myts =& MyTextSanitizer::getInstance();//HHTS

$entry['title'] = $myts->makeTboxData4Show($entryObject->getVar('title'));


modules/weblog/details.php

line 96
$myts =& MyTextSanitizer::getInstance();//HHTS
$xoopsTpl->assign('title', $myts->makeTboxData4Show($entryObject->getVar('title')));//HHTS


Gotta be carefull with copying and pasting because sometimes a ' can get lost giving you a parse error.

Aloha



637
svaha
Re: PPnews for xoops 1.3.8
  • 2003/11/13 23:43

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Found this on :

http://nl.php.net/manual/en/ref.mysql.php

Quote:
soren at byu dot edu
14-Mar-2003 07:23
Let's say that you want to generate a MySQL password hash from a plain text password. Normally, you would just submit the MySQL query "SELECT PASSWORD('password')", but if for some reason you can't access to MySQL database directly, then you can use the following function (translated right out of the MySQL source code):

function mysql_password($passStr) {
$nr=0x50305735;
$nr2=0x12345671;
$add=7;
$charArr = preg_split("//", $passStr);

foreach ($charArr as $char) {
if (($char == '') || ($char == ' ') || ($char == '\t')) continue;
$charVal = ord($char);
$nr ^= ((($nr & 63) + $add) * $charVal) + ($nr << 8);
$nr2 += ($nr2 << 8) ^ $nr;
$add += $charVal;
}

return sprintf("%08x%08x", ($nr & 0x7fffffff), ($nr2 & 0x7fffffff));
}

example:

<? print mysql_password("hello"); ?>

outputs:

70de51425df9d787

Which is the same result you get if you do "SELECT PASSWORD('hello')" directly in MySQL. Hopefully you'll never be in a situation where you have to use this, but if you need it (like I did), it's here.


Aloha



638
svaha
Re: Please if possible
  • 2003/11/13 22:52

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


In this case you could look for something like this :

Quote:
<?php
/* Connecting, selecting database */
$link = mysql_connect("mysql_host", "mysql_user", "mysql_password")
or die("Could not connect : " . mysql_error());
print "Connected successfully";
mysql_select_db("my_database") or die("Could not select database");



And replace the existing text with a more user friendly text.

Aloha



639
svaha
Re: Is their any newsletter module in XOOPS ?
  • 2003/11/13 14:41

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Hi Marcan,
Two possible candidates are :
Ackbarr's Evennews
or PP-news.

I did not test this modules, so don't know exactly if it is what you are looking for.

Aloha



640
svaha
Re: footer
  • 2003/11/13 13:42

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Delete the files in the templates_c directory.(Xoops uses these files, so your own gif-file will not show up, if you delete them, XOOPS will make new ones)
Also after you have done this you probably must hit the refresh button of you browser.

Aloha





TopTop
« 1 ... 61 62 63 (64) 65 66 67 ... 70 »



Login

Who's Online

222 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 222


more...

Donat-O-Meter

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

Latest GitHub Commits