21
ullone
Re: Multi Server Installations. ...
  • 2004/5/5 18:29

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


I think that is very difficult to avoid different registrations with different and separated Server.
Now i search for "central database" in the site. ...



22
ullone
Multi Server Installations. ...
  • 2004/5/5 17:22

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


I need to use different installations of Xoops, each one using a different server. Each Installation of XOOPS stand on a different server . The server for the first installation is different than the others. Each XOOPS installation have a separate Server. My problem is to allow a UNIQUE User Sign Up for ALL My XOOPS Installations. I hate that every User Make a Sign Up separately to each Server. I prefer that the registration is Unique. I need to Save the User registration for ALL different Server. ONE and ONLY. When a Member Sign Up for an installation i would like that this registration is Saver forever for all my XOOPS portals. I see this : https://xoops.org/modules/news/article.php?storyid=1413 https://xoops.org/modules/newbb/viewto ... p?topic_id=19384&forum=27 But this module is only good if the server is the same. In my case i have different server for different installations. Is it possible to save the result of the register.php (the member sign up for a single XOOPS Installations) in ALL DataBases of the other installations of XOOPS ? Is it possible to Save Username and Password of the registration of the new User on the other XOOPS Installations ?



23
ullone
Re: ShortURLs hack
  • 2004/3/27 10:29

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


For the moment i not insert any short module for my future sites. I wait the future versions.

For the rest. ...
Please kenogui and reynaldo collaborate. ... ...

I can not help you because i'm a newbie (and i'm also a "stupid man". ...). ...

But. ...
The script of kenogui work very good (i use Invision Board module) but the script of reynaldo, that is more powerfull, in Root, give me many strange error in my site. ...
I think that if you collaborate for some modification the result will be a great mod_rewrite short url module for all. ...



24
ullone
Re: ShortURLs hack
  • 2004/3/27 10:18

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


kenogui . Pardon my language (i'm italian).
I have tested your hack in my site. It work good but it has a problem with WebLog module.
Archive of WebLog module 1.2 give me an error.
I'm a newbie (i do not understand nothing in php) but i have correct ("BAD, I'M NOT AN EXPERT") it with this system :


.HTACCESS file :


#weblog eulisse Aggiunto 22 marzo 2004
RewriteRule ^modules/weblog/archive-([0-9]+)-([0-9]+)-([0-9]+).html$ modules/weblog/archive.php?year=$1&month=$2&user_id=$3 [L]



-------------------


MODREGEXP.PHP file :



"'(?<!/\/)modules/news/archive.php\"'",
"'(?<!/\/)archive.php\?year=([0-9]*)&month=([0-9]*)&user_id=([0-9]*)'",
"'(?<!/\/)archive.php\?year=([0-9]*)&month=([0-9]*)'",
"'(?<!/\/)modules/wfsection/\"'",


.......
.......
.......
.......
.......


"modules/news/archive.html\"",
"archive-\\1-\\2-\\3.html",
"archive-\\1-\\2.html",
"dossiers.html\"",


-------------

I have insert "'(?<!/\/)archive.php\?year=([0-9]*)&month=([0-9]*)&user_id=([0-9]*)'", and
"archive-\\1-\\2-\\3.html", because otherwise the script redirect bad to the other script.



25
ullone
Re: ShortURLs hack
  • 2004/3/27 9:59

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


In fact i have test in root directory (not in subdirectory) in my test sites, using Invision Board module, and i have many strange errors.
Here :
http://www.eulisse.com/ and here :
http://www.edecameron.com/

---------

I have also a strange error. In many cases i have this page :

Impossibile visualizzare la pagina
La pagina cercata non è al momento disponibile. Nel sito Web si sono verificate delle difficoltà tecniche o è necessario modificare le impostazioni del browser.

--------------------------------------------------------------------------------

Provare a eseguire le operazioni seguenti:

Scegliere il pulsante Aggiorna o riprovare in un secondo momento.

Verificare che l'indirizzo immesso nella barra degli indirizzi sia stato digitato nel modo corretto.

Per controllare le impostazioni di connessione, dal menu Strumenti selezionare Opzioni Internet. Selezionare Impostazioni dalla scheda Connessioni. Le impostazioni devono corrispondere a quelle fornite dall'amministratore della rete locale (LAN) o dal provider di servizi Internet (ISP).
Se l'opzione corrispondente è stata attivata dall'amministratore della rete, in Microsoft Windows è possibile avviare l'analisi della rete e il rilevamento automatico delle impostazioni per la connessione.
Per ulteriori informazioni,
fare clic su Rileva impostazioni di rete
Per alcuni siti è richiesta la protezione della connessione a 128 bit. Scegliere Informazioni su Internet Explorer dal menu ? per informazioni sul tipo di protezione installato.
Se si sta tentando di connettersi a un sito protetto, assicurarsi che sia supportato dalle impostazioni di protezione. Scegliere Opzioni Internet dal menu Strumenti. Nella scheda Avanzate, passare alla sezione Protezione e verificare le impostazioni per SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
Per cercare un altro collegamento, fare clic sul pulsante Indietro.



Impossibile trovare il server o errore DNS
Internet Explorer



The page can not be displayed. Not possible to display the page.
If i click the link of the page error "Rileva impostazioni di rete " (java script:doNetDetect() ) that find automatically the configuration about internet all return to work O.K.. I have this error 1 time every 3/4 page opened. I do not understand. I try to disable openbasedir but the error continue.



26
ullone
Re: Not the profile but a blank page only with 2.0.6
  • 2004/3/26 22:42

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


This is not a blank page. The page exist and is visible but the profile is ghost. ...
However. It was an error in compatibility with the module Statistics. This module insert a tag "include" in header. If i cut this tag all is O.K.
In fact FriendFinder have too many bug. ...
http://www.eulisse.com/modules/friendfinder/view.php?id=1
Thank you very much to try to help me and pardon my terrible english. ...



27
ullone
FriendFinder is Not compatible with Statstics module !
  • 2004/3/26 14:47

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


Pardon my english.

FriendFinder 3.1 for XOOPS 2.0.6 (if you use it remember to change the name of the version in view.php) have many Bug such as Statistics 0.3 module. ...
The 2 modules are Not compatibles. If you insert the "include" tag of statistics in header.php FriendFinder do not show the profile of the member in the searching of a friend. ...
Or the problem is in association of other modules. ... I use also IPB. ... But the problem exist.
In fact i have installed many modules in my sites but when i delete the tag in "include" all is O.K. with FriendFinder. If i insert the tag FriendFinder do not show the profile. ...

Do not ask me "why ?". I'm a newbie. For me a monkey and a php code is the same but. ... the module, for me, are not compatibles. ...



28
ullone
Re: Not the profile but a blank page only with 2.0.6
  • 2004/3/24 12:15

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


File view.php

http://www.eulisse.com/modules/friendfinder/view.php?id=1
register global on
openbasedir disable
safemode off
php version : 4.2.2

<?php
#################################################################################
# Friend Finder for XOOPS 1.3.x and XOOPS 2.xx Version 3.1 beta #
# #
# Copyright 2003 by eagle81 #
# #
# Manuel Caballero friendfinder@dancepartner.net #
# Module Homepage: http://www.dancepartner.net #
# #
# Please report bugs and new feature request at modcentral.com friendfinder #
# forum or via mail frienfinder@dancepartner.net #
# #
# Copyright for this langfile #
# Lanuage: Language name #
# Name: your name and email #
# Homepage: your Homepage #
# #
# #
# Last modification: 2002-02-22 #
# #
# Initialy this script is based on phpMeet from #
# Jeremy Ross webmaster@phprank.com #
# Script design : PhpMeet Copyright 2002 - #
# Created 15/01/02 Last Modified 15/01/02 #
# Scripts Home http://www.jrscripts.com #
# #
# First XOOPS Versions from: #
# #
# Xoops-RC2 French Version : jokerman@free.fr #
# Web Home : http://www.webetfric.com #
# #
# Xoops-RC2 English Version : webmaster@modscentral.com #
# Web Home : http://www.modscentral.com #
#################################################################################
// ORIGINAL FILE INFO

include("../../mainfile.php");
include(
"../../header.php");
include(
"cache/config.php");
include(
"header.php");
include(
"age.php");
#include(XOOPS_ROOT_PATH."/include/xoopscodes.php");
include(XOOPS_ROOT_PATH."/include/version.php");
$myts =& MyTextSanitizer::getInstance();
$xoopsOption['show_rblock'] =1;

global 
$xoopsDB$xoopsTheme$xoopsConfig$xoopsModule;
global 
$dateformat$autoactive,$anonymusmail$imagesize$heightunit$weightunit;

//Function to see if directfriends is installed
//This function only works with xoops2
if(XOOPS_VERSION=="XOOPS 2.0.6"){
$module_handler =& xoops_gethandler('module');
if (
$module_handler->getCount(new Criteria('dirname''directfriends'))) {
$directfriends=1;
} else{
$directfriends=0;
}
}else{
if (
XoopsModule::moduleExists("directfriends")) {
$directfriends=1;
} else{
$directfriends=0;
}
}

//end of direct friends

OpenTable();
//************************************************************





if (isset($id) || $id != "")
{
// $statistic = $xoopsDB->query("SELECT id,statistic FROM xoops_friendfinder WHERE id = '$id'");
// while (list($id,$statistic) = $xoopsDB->fetchRow($statistic)){
// $newstatistic= $statistic + 1;
// }
/* $updatestatistic= $xoopsDB->query("UPDATE ".$xoopsDB->prefix($xoopsModule->dirname())." set statistic='$newstatistic WHERE id='$id'");
*/
$view $xoopsDB->query("SELECT uid,id,user,active,sex,category,name,email,city,state,country,hobby,partner,height,weight,birth,pic,Description,imgname,imgtime,date, topic,title FROM ".$xoopsDB->prefix($xoopsModule->dirname())."
inner join "
.$xoopsDB->prefix($xoopsModule->dirname()."_state")." on state = cid
inner join "
.$xoopsDB->prefix($xoopsModule->dirname()."_sex")." on sex = sid
inner join "
.$xoopsDB->prefix($xoopsModule->dirname()."_category")." on category = catid
WHERE id = '
$id'");
while (list(
$uid,$id,$user,$active,$sex,$category,$name,$email,$city,$state,$country,$hobby,$partner,$height,$weight,$birth,$pic,$Description,$imgname,$imgtime,$date,$topic,$title) = $xoopsDB->fetchRow($view)) {

// $newstatistic= $statistic + 1;
// $updatestatistic = $xoopsDB->query("UPDATE xoops_friendfinder set statistic='$newstatistic' WHERE id='$id'");


if ( $uid != ) {
$poster = new XoopsUser($uid);
if ( !
$poster->isActive() ) {
$poster 0;
}
} else {
$poster 0;
}
if (
$pic==""){
$picture="/blank.gif";
$imgname="/blank.gif";
$imgtime="";
$gimaxwight=1;

}else{
$picture=$pic;
$imgtime="/".$imgtime."";
}
#############Prepare Data to show################################
$Description $myts->makeTareaData4Show($Description,0,1,1);
$topic $myts->makeTboxData4Show($topic,0,1,1);
$hobby $myts->makeTboxData4Show($hobby,0,1,1);
$user $myts->makeTboxData4Show($user,0,1,1);
$id $myts->makeTboxData4Show($id,0,1,1);
$title $myts->makeTboxData4Show($title,0,1,1);
$weight $myts->makeTboxData4Show($weight,0,1,1);
$height $myts->makeTboxData4Show($height,0,1,1);
#################################################################

echo"
<center>
<img src=images/logo/"
.$logo." width=478 height=74><br>
<br>
</center>
<table align=center width=600 border=0 cellspacing=5><tr>
<tr>
<td width=600 height=19 colspan=2>
<p align=center>"
.$topic."</td>
<td width=200 height=51 rowspan=6> </td>
</tr>
<tr>
<td width=200 colspan=2 height=18> </td>
</tr>
<tr>
<td width=400 colspan=2 height=18>"
._DESCRIPTION."</td>
</tr>
<tr>
<td width=600 colspan=2 height=18>"
.$Description."</td>
</tr>
<tr>
<td width=200 height=3 colspan=2> </td>
</tr>
<tr>
<td width=400 colspan=2 height=18>"
._HOBBY."</td>
</tr>
<tr>
<td width=600 height=23 colspan=2>"
.$hobby."</td>
</tr>
<tr>
<td width=200 height=19 colspan=2> </td>
</tr>
<tr>
<td width150 height=19>"
._UNAME."</td>
<td width=200 height=19>"
.$user."</td>";
if(
$generateimage==1){
echo
"
<td width=200 height=243 rowspan=11><center><img src='generateimg.php?viewwidth="
.$gimaxwight."&pfad=members/uploads".$imgtime."/&bildname=".$imgname."' border=0></center></td>";
}else {
echo
"
<td width=200 height=243 rowspan=11><center><img src="
.$myts->makeTboxData4Show($picture)." border=0></center></td>";
}
echo
" </tr> ";
// <tr>
// <td width=200 height=1>"._TEXTVIEWREALNAME."</td>
// <td width=200 height=1>".$myts->makeTboxData4Show($name)."</td>
// </tr>
echo" <tr>
<td width=200 height=19>"
._TEXTVIEWEMAIL."</td> ";

if((
$anonymusemail==0) AND (!$xoopsUser)){
echo
"<td width=200 height=19>"._TEXTANONYMUSCANTMAIL."</td></tr>";
} else {
echo
"<td width=200 height=19><a href=email.php?id=".$id."> "._TEXTVIEWEMAILSEND." </td></tr>";
}

echo
"<tr>
<td width=200 height=19>State</td>
<td width=200 height=19>"
.$title."</td>
</tr>
<tr>
<td width=200 height=19>"
._TEXTVIEWCITY."</td>
<td width=200 height=19>"
.$myts->makeTboxData4Show($city)."</td>
</tr>
<tr>
<td width=200 height=19>"
._TEXTCATEGORY."</td> ";
$cat_res=$xoopsDB->query("select cattitle, catdescription From ".$xoopsDB->prefix($xoopsModule->dirname()."_category")." WHERE catid='$category'");
list(
$cattitle$catdescription) = $xoopsDB->fetchRow($cat_res);
echo 
"<td><img src=images/cat/".$catdescription." alt='".$cattitle."'></td>
</tr>
<tr>
<td width=200 height=19>"
._PARTNER."</td> ";
$pat_res=$xoopsDB->query("select sextitle, sexdescription From ".$xoopsDB->prefix($xoopsModule->dirname()."_sex")." WHERE sid='$partner'");
list(
$sextitle$sexdescription) = $xoopsDB->fetchRow($pat_res);
echo 
"<td width=200 height=19><img src=images/sex/".$sexdescription." alt='".$sextitle."'></td>
</tr>
<tr>
<td width=200 height=19>"
._TEXTWEIGHT."</td>
<td width=200 height=19>"
.$weight." ".$weightunit."</td>
</tr>
<tr>
<td width=200 height=19>"
._TEXTHEIGHT."</td>
<td width=200 height=19>"
.$height." ".$heightunit."</td>
</tr>
<tr>
<td width=200 height=19>"
._TEXTAGE."</td>
<td width=200 height=19>"
.getage($myts->makeTboxData4Show($birth))."</td>
</tr>
<tr>"
;
if ( 
$poster->isOnline() ) {
echo 
"<td width=200 height=19><img src=images/FF-On.gif width=71 height=18></td>";
} else {
echo 
"<td width=200 height=19><img src=images/FF-Off.gif width=71 height=18></td>";
}

if ( 
$xoopsUser ) {
echo 
"<td width=200 height=19><a href="java script:openWithSelfMain('".XOOPS_URL."/pmlite.php?send2=1&to_userid=".$poster->uid()."','pmlite',435,370);"><img src='".XOOPS_URL."/images/icons/pm.gif' alt='".sprintf(_SENDPMTO,$poster->uname())."' /></a></td></tr>";
echo 
"</tr><tr>";
if ( 
$xoopsUser && $directfriends==1) {
echo 
"<td width=200 height=19><a href=http://www.eulisse.com/modules/ipboard/index.php?s=3307bc67e80f6b704e9ad65d50933cc7&act=Msg&CODE=02&MID=$uid> Add to Rubrica </a></td>";

}
echo
"<td width=200 height=19> </td>
</tr>
</table>"
;
}
}
//$updatestatistic = $xoopsDB->query("UPDATE xoops_friendfinder set statistic='$newstatistic' WHERE id='$id'");
$xoopsDB->close();
} else {
echo 
"<font face=arial size=2>Unfortunatly no ID has been set so you cannot get a profile view!</font>";
}

//include "admin/foot.php";


//************************************************************
CloseTable();
include(
"../../footer.php");

?>



29
ullone
Not the profile but a blank page only with 2.0.6
  • 2004/3/24 12:15

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


I have downloaded a module ( friendfinder) here :
http://www.dancepartner.info/dp/modul ... de=flat&pid=78&forum=2#79

I' have tested in past this module with XOOPS 2.0.3 and it worked good.
I have submitted it in download section because it is intessant for me.

However.

I have installed FrindFinder in a test site that start in the second half (july/agost) of 2004 here :
http://www.eulisse.com/modules/friendfinder/
This site use XOOPS 2.0.6 .

No problem in installation. If i try to submit a profile no problem . All is good.

When i search the profile all is good and the prifile is found. All O.K.

But when i try to click the user profile that i have found i have Not the profile but a blank page. here :

http://www.eulisse.com/modules/friendfinder/view.php?id=1

I do not understand.
For me it is a development problem with XOOPS 2.0.6 .
Boh. ...



30
ullone
Re: friend finder ?
  • 2004/3/24 11:40

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


Quote:

Vict0r wrote:
yes, I found that but it's for e-xoops and I have xoops2.. so it wouldn't work..

so if anyone can help me fix the problem with friend finder I would really appreciate it.. or if you know a module that works in a similar way that might be helpful too..

thank you,

Victor


I have testd this module in my site with a test installation of XOOPS 2.0.3 and it works in local and in remote. ...
This is the file for XOOPS 2 :

http://www.dancepartner.info/dp/modul ... wnloads/viewcat.php?cid=1
You have to sign in to download it but i have an error in priles user in my test site with XOOPS 2.0.6 .

For me it is only a problem of XOOPS 2.0.6 .

Now i try to post the error in the forum of http://www.dancepartner.info/dp/modules/newbb/ .




TopTop
« 1 2 (3) 4 5 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

62 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 62


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