php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#95470 - 05/17/01 06:59 PM Whøs Ønline
Helldancer Offline
Junior Member

Registered: 05/17/01
Posts: 3
Loc: *****
Ich suche den Whøs Ønline~Hack für UBB 6.04c German...wer kann mir helfen?
_________________________
Greet´z frøm Cyberia~Hacker

Top
#95471 - 05/18/01 05:54 AM Re: Whøs Ønline
Fersy Offline
Member

Registered: 05/16/01
Posts: 41
gibt es eigentlich schon eine deutsche "who is online" version ???

<FONT COLOR="#000000" SIZE="1">[ May 18, 2001 05:54 AM: Message edited by: Fersy ]</font>
_________________________
.. :: gameblaster.de ::..
die kostenlose gameauktion

Top
#95472 - 05/18/01 07:06 AM Re: Whøs Ønline
melder Offline
Enthusiast

Registered: 02/28/01
Posts: 497
Loc: dresden, germany
also im beta liegt der für die 6.04 - was mich ärgert ist das wohl keiner mehr interesse daran hat für die 6.0 bzw 6.01 weiter drann zu arbeiten ...

@ easy - oder hab ich was verpasst ?

www.chat-board.de
_________________________
loveground.com

Top
#95473 - 05/18/01 11:57 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Nein da hast du nicht's verpasst.Ich glaube,das er immer mit der neusten Version getestet wird und darum arbeitet keiner mehr für die Version 6.0. ich kenne zwar nicht die letzte Version von Who is Online, aber soviel Änderungen gibt es da nicht. Du must wahrscheinlich nur ein bisschen suchen, wo du was einbaust, damit er funktioniert.

Eine deutsche Version gibt es nicht, aber durch die wordlet's kannst du ihn ja leit eindeutschen.Dafür ist er ja so aufgebaut worden.

Top
#95474 - 05/19/01 05:53 AM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Hi,

sind Dir Probleme bekannt bei der Installation von Who´s Online auf 6.04c ? Ich habs schon zwei Mal versucht und irgendwie zerschieße ich mir dabei immer das ganze Forum ;-)
Sobald ich alles installiert habe sagt er mir beim Aufruf von ultimatebb.cgi, daß Dateien fehlen oder Rechte nicht korrekt gesetzt sind - hab aber alles korrekt gemacht...

Grüße
Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95475 - 05/19/01 06:10 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Quote:
quote:


Also Probleme sind mir nicht bekannt. ich habe allerdings noch Version 3.7 bei mir laufen.Hast du auch die Rechte für die Dateien die dabei sind richtig eingestellt? und im Ascii modus übertragen ?

Top
#95476 - 05/19/01 06:57 AM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Jupp.
Habe ich beides gemacht.

Den Fehler bekomme ich beim CP.cgi :

Quote:
quote:


und den beim ultimatebb.cgi :

Quote:
quote:


Grüße
Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95477 - 05/19/01 08:07 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Also dein fehler liegt eindeutig in der ubb_lib.cgi.Tausche die mal zum testen aus.Dann dürfte der Fehler nicht auftreten.

Top
#95478 - 05/20/01 02:26 PM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Hi,

ich hab die ubb_lib.cgi ausgetauscht, nun bekomme ich folgenden fehler :

Content-type: text/html
Software error:
Undefined subroutine &main::WriteUserSession called at /homepages/45/d32051836/htdocs/cgi-bin/ubb/ultimatebb.cgi line 361.

Also klappt das nicht, ich habs auch noch einmal GANZ von vorne probiert, geht auch nicht, also vertippt habe ich mich nicht und irgend etwas anderes ausgelassen auch nicht.

Kann es an folgenden Punkten liegen ?

Der Server unterstützt irgendwas nicht, was das normale UBB nicht benötigt, Who´s Online aber braucht.

Man muß noch irgendwelche Pfade in den Hack eingeben und nicht nur die Dinger per Cut&Paste ersetzen/hinzufügen

Macht der Dreamweaver als Editor Probleme ?

Mach ich beim Uploaden was falsch ? Ich CHMODe die Dateien schon und lade auch in ASCII hoch, noch was zu beachten ?


Krieg bald ne kriese, sitze jetzt schon drei Tage dran...

Du kannst das nicht für mich übernehmen, oder ? Kriegst natürlich auch einen kleinen Bonus...

Grüße
Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95479 - 05/20/01 02:36 PM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
@dbode to hast ne e-Mail

Top
#95480 - 05/21/01 02:14 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Also ich habe mir deinen Hackeinbau mal genauer angeschaut.Wahrscheinlich hast du dir die Probleme schon mit den vorherigen Hack's verschaft.

Beim Einbau der vars_wordlets_mods.cgi aus dem Statistic-Hack hast du den kompletten Step 3 vergessen.Den müsstes du nachholen.In der cp_common.pl sind auch jede menge Fehler.Da Steht direkt am Anfang
Code:
code:


und in der letzten Zeile

Code:
code:

was da überhaupt nichts zu suchen hat.Ich schätze, das hat dreamwaver dort eingefügt.

Du solltes für den Hackeinbau UltraEdit verwenden.Das eignet sich viel besser dafür.

Ich habe den Hack mal in ein Orginal UBB 6.04c eingebaut und getestet.Ohne Probleme. Und due hast ne e-Mail von mir, wie du am besten weiter machts.

Top
#95481 - 05/21/01 06:16 AM Re: Whøs Ønline
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
2dbode, aaaaah, diesen seltsamen Fehler hatte ich tatsächlich auch, lag' schlichtweg darin, daß ich das entsprechende wordlets-file im falschen Verzeichnis hatte...
chris

Top
#95482 - 05/21/01 08:51 AM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Gut.

Merkregel Nr. 1 : Verwende NIE einen HTML-Editor, der selbst code schreibt, zum Hacken ;-)

Merkregel Nr. 2 : E@sy fragen - Danke für die Hilfe, jetzt funktioniert es !

EIN DREIFACHES HOCH !

Klasse, nochmals vielen Dank.

Ich mach mich jetzt (etwas vorsichtiger) wieder an die anderen Hacks ;-)

Eine Frage hab ich noch zu UBBNews : Ist es möglich, das dieses auf einem Puretec-Server nicht läuft, weil es Befehle ausführt, die dort nicht erlaubt sind ?
Ich habs nämlich neulich schon mal installiert, das hat nicht funktioniert. Bevor ich mir jetzt wieder die Mühe mache, frag ich lieber noch mal nach...

Grüße
Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95483 - 05/21/01 09:51 AM Re: Whøs Ønline
Fersy Offline
Member

Registered: 05/16/01
Posts: 41
hab den hack auch bei mir istalliert, leider bekomme ich ueberhaupt nix zu sehen...

ausser im admin-bereich das ist ein who's online eintrag..

woran kann es liegen ???

achja, hab die 3.8qa version
_________________________
.. :: gameblaster.de ::..
die kostenlose gameauktion

Top
#95484 - 05/21/01 10:12 AM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Hi,

jau, genau die habe ich auch installiert.

Ich hab ihn jetzt auch wieder drauf, geht nichts :
UBB News Forumdeluxx

SSI geht sowieso nicht, da benutzt man ja den EXEC-Befehl, den will ja fast kein Provider haben.

Benutzt UBBNews vielleicht noch etwas anderes, was die nicht so gerne sehen ?

Grüße
Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95485 - 05/21/01 10:24 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
@dennis
Kannst du vielleicht in deine errorlog reinschauen?Dort müsste stehen, was den 500 auslöst.

Top
#95486 - 05/21/01 10:38 AM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Hi,

hab in meinen Logs gesucht, aber keine errorlog gefunden... kann es sein, daß ich keine habe, oder ist die versteckt ?

Grüße
Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95487 - 05/21/01 11:00 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Wahrscheinlich hat nur puretec dort Uugriff drauf.Wenn du dir sicher bist, das du keine Fehler eingebaut hast, erzeuge den Fehler nochmal und halte die Zeit und das datum fest.dann schick ne Mail an den Support, die sollen dir mal sagen, was da für ein Fehler aufgetreten ist.

Top
#95488 - 05/21/01 12:31 PM Re: Whøs Ønline
melder Offline
Enthusiast

Registered: 02/28/01
Posts: 497
Loc: dresden, germany
auch wenn das jetzt möglicherweise ein wenig viel wird - aber ich werde mal die "alte" version vom who is online (nur die cgi) hier reinstellen - die hat immer noch den fehler das sie es keinen reload im explorer gibt - und ich glaub da steht auch noch ne menge müll drunter ?!? easy du held - schau doch mal drauf und sag mir warum der reload nur im netscape funzt ...
_________________________
loveground.com

Top
#95489 - 05/21/01 12:32 PM Re: Whøs Ønline
melder Offline
Enthusiast

Registered: 02/28/01
Posts: 497
Loc: dresden, germany
###############################################################
# WHO'S ONLINE FOR UBB
# Last Updated: 28/3/01 @ 19:44
#
# This Version By: Elliott "Borg" Brady (ubb@fracturedreality.co.uk)
# http://www.ubbdev.com/
#
# Originally By: Dave Downin (downin@smart.net)
# http://www.arlo.net/
#
# PLEASE DO NOT REMOVE THE COPYRIGHT NOTICE - I WORKED HARD TO
# CREATE THIS HACK, AND IT PROVIDES ME WITH USEFUL INFORMATION
# SHOULD YOU REQUIRE HELP OR ASSISTANCE
###############################################################
# Version Notes:
# 3.0 - A new era begins (UBB Version 6 support). All respect to Dave for
# the original modification.
#
# 3.1 - timeformat sub replaced to fix errror. Thanks mikels!
# 3.2 @ 19:44 - re-did most of code to localise variables (and hopefully make mod_perl friendly)
# 3.3 @ 01:55 - fixed "." bug
$version = "3.3";

sub whos_online_ssi {
##### Who's online? Code Block by Elliott "Borg" Brady
#<!--#exec cgi="D:/216.205.119.230/ubbcgi/ultimatebb.cgi?ubb=whos_online_ssi&link=http://www.ubbdev.com&name=Site%20Intro"-->
local($Online_Wording, $Online_Details, $replace, @nullit);
$in{name} =~ s/+/&/;
$in{name} =~ s/%20/ /;

&WriteUserSession("$vars_wordlets_mods{whos_online_viewing} <A HREF="$in{$link}">$in{name}</A>");

undef($Online_Wording); undef($Online_Details); undef($replace);
($Online_Wording, $Online_Details, @nullit) = &GetOnlineUsers($username);

$replace = qq~
<table border="0" cellpadding="0" cellspacing="1" width="$vars_style{TableWidth}">
<tr bgcolor="$vars_style{TableBorderColor}"><td>
<table border="0" bgcolor="$vars_style{TableBorderColor}" width="100%" cellpadding="4" cellspacing="1">
<tr bgColor="$vars_style{AltColumnColor1}"><td bgColor="$vars_style{AltColumnColor1}">
<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{BBTitleFontColor}"><A HREF="$vars_config{CGIURL}/ultimatebb.cgi?ubb=whos_online"><B>$Online_Wording</A></B></FONT>

<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{FontColor}">$Online_Details</font></td></tr></table></td></tr></table>~;

##### / Who's online? Code block by Elliott "Borg" Brady
print "$replace";
undef($maxline); undef ($maxtotal);
exit;
}

sub whos_online {
local(*FILE, $include_yourself, $inactive_time, $refresh_time, $see_invisible, $display_host, $members_per_page, $online_message, $online_message_forum, $ssi_msg);
local ($version, $Header, $page, $start_at, $tot, @found, $usertime, $username, $this_user_number, $host_ip, $where);

# get assigned style template!
unless (exists($template_match{summary_page})) { $template_match{summary_page} = 1; }
require "$vars_config{NonCGIPath}/styles/vars_style_$template_match{summary_page}.cgi";

&set_page_elements;
print $Header;

if (-e "$vars_config{VariablesPath}/vars_whos_online.cgi") {
require "$vars_config{VariablesPath}/vars_whos_online.cgi";
} else { # Use Defaults if no file
$include_yourself = 1;
$inactive_time = 5;
$refresh_time = 60;
$see_invisible = "both";
$display_host = "admin";
$members_per_page = 75;
$online_message = "summary";
$online_message_forum = "list";
$ssi_msg = "list";
}


$page = $in{'p'};
if (!$page) { $page = 1; }
$start_at = $members_per_page * ($page - 1);

&WriteUserSession("$vars_wordlets_mods{whos_online_viewing} <A HREF="$vars_config{CGIURL}/ultimatebb.cgi?ubb=whos_online">$vars_wordlets_mods{whos_online_whos_online}</A>");
($Online_Wording, $Online_Details, @found) = &GetOnlineUsers($username);

$tot = @found;
undef($status);
if ($ubber[4]) {
my @temp_profile = &OpenProfile($ubber[4]);
$status = "mods" if ($temp_profile[8] =~ /mod/ig);
$status = "admin" if ($temp_profile[8] =~ /admin/ig);
# $status = "admin" if ($ubber[0] =~ /Borg/ig); # Used for debugging
}
if ($see_invisible eq "both" && $status) { $adminstatus = 1; }
if ($see_invisible eq $status) { $adminstatus = 1; }

if ($display_host eq $status) { $hostinfo = 1; }
if ($display_host eq "both" && $status) { $hostinfo = 1; }
if ($display_host eq "everyone") { $hostinfo = 1; }

$current = time;
if (($vars_time{TimeZoneOffset} ne "") &#0124;&#0124; ($vars_time{TimeZoneOffset} ne "0")) {
$current = $current + ($vars_time{TimeZoneOffset} * 3600);
}
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = &get_date($current);
if ($vars_time{DateFormat} eq "USX") { $vars_time{DateFormat} = "USExpanded"; }
$TheDate = &DateFormat("$mon-$mday-$year", "$vars_time{DateFormat}");
$TheTime = &TimeFormat("$hour:$min");
$current_dt = "$TheDate / $TheTime";

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = &get_date($maxtime);
if ($vars_time{DateFormat} eq "USX") { $vars_time{DateFormat} = "USExpanded"; }
$TheDate = &DateFormat("$mon-$mday-$year", "$vars_time{DateFormat}");
$TheTime = &TimeFormat("$hour:$min");
$max_dt = "$TheDate / $TheTime";
$BorderTop = "";
$BorderBottom = "";

# print header
print<<HEAD;
<META HTTP-EQUIV=REFRESH CONTENT="$refresh_time; URL=$vars_config{CGIURL}/ultimatebb.cgi?ubb=whos_online#tabletop">
<CENTER>
<A NAME="tabletop">

<TABLE border="0" width="$vars_style{TableWidth}">
<TR><TD align="left" valign="top" >
<A HREF="$vars_config{CGIURL}/ultimatebb.cgi"><IMG src="$vars_config{NonCGIURL}/$vars_style{BBTitle}" border="0"></A>
</TD>
<TD align="center">
<B>
<FONT size="3" face="$vars_style{FontFace}" color="$vars_style{BBTitleFontColor}">$vars_config{BBName}</FONT></B>


<FONT size="1" face="$vars_style{FontFace}">
$MainButtonsLine
</FONT>
</TD></TR></TABLE></b>



<table border="0" width="$vars_style{TableWidth}">
<tr>
<TD valign="bottom" align="right">
<FONT SIZE="1" FACE="$vars_style{FontFace}">
</FONT>
</TD>
</tr>
</table>

<!-- Navigation/Login Table -->

$TBT

<TR bgcolor="$vars_style{AltColumnColor1}">
<TD NOWRAP align="left" valign="bottom">
<FONT SIZE="1" FACE="$vars_style{FontFace}">
<B>&#187;
$show_logout
</B>
</font>
</TD>
<TD valign="bottom" align="right">
<FONT SIZE="1" FACE="$vars_style{FontFace}">
<B>
<A HREF="$vars_config{CGIURL}/ultimatebb.cgi"><ACRONYM TITLE="$vars_wordlets{forum_home_link}">
$vars_config{BBName}</ACRONYM></A> &#187; $vars_wordlets_mods{whos_online_whos_online}
</B>
</FONT>
</TD>
</TR>

$TBB

<!-- End Navigation/Login Table -->

<table border="0" width="$vars_style{TableWidth}">
<tr>
<TD valign="top" align="left">
<FONT SIZE="2" FACE="$vars_style{FontFace}">
$this_forum[16]
</FONT>
</TD>
</tr>
</table>



$BorderTop

<table border=0 cellpadding=2 cellspacing=0 width=$vars_style{TableWidth}>
<tr bgcolor="$vars_style{TableColorStrip}">
<td align="left" valign="middle"><FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{whos_online_column_user}</FONT></td>

<td align="left" valign="middle"><FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{whos_online_column_where}</FONT></td>

<td align="left" valign="middle"><FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{whos_online_column_time}</FONT></td></tr>
HEAD


#####################################
# Figure out & create page link HTML

if (!$members_per_page) {
$members_per_page = $tot + 1;
} else {
$total_pages = ($tot + 1)/$members_per_page;
if ($total_pages > int(($tot +1)/$members_per_page)) {
$total_pages++;
}
if ($total_pages >= 2) {
$pages = qq(<FONT FACE="$vars_style{FontFace}" color="$vars_style{FontColor}">$vars_wordlets_mods{whos_online_page} );
for ($i = 1; $i <= $total_pages; $i++) {
if ($page eq $i) {
$pages .= "$i ";
} else {
$pages .= qq(<A HREF="$vars_config{CGIURL}/ultimatebb.cgi?ubb=whos_online&p=$i">$i</A> );
}
}
$pages .= qq(<FONT>);
}
}

# End page link HTML code
######################################

if (!$found[0]) {
print qq(<TR><TD COLSPAN=3 ALIGN=CENTER valign=middle bgcolor="$vars_style{AltColumnColor1}">
<FONT SIZE="1" FACE="$vars_style{FontFace}">$OnlineUserMsg</TD></TR>);
}
$end_at = $start_at + $members_per_page;
if ($tot <= $end_at) { $end_at = $tot; }
undef($flip);
for ($i = $start_at; $i < $end_at; $i++) {
($usertime,$username,$this_user_number,$host_ip,$where) = split(/|^|/,$found[$i]);
if ($username =~ /.inv/ && !$adminstatus) { next; }
undef($invisible);
if ($username =~ /.inv/) {
$username =~ s/.inv//;
$invisible = " ($vars_wordlets_mods{whos_online_invisible})";
}
if ($username eq "guest") {
$guest_counter++;
$username = "$vars_wordlets_mods{whos_online_Guest} #" . "$guest_counter";
}
if ($hostinfo) {
$hostname = gethostbyaddr($host_ip, AF_INET);
if (!$hostname) { $hostname = $host_ip; }
}
if ($hostinfo) { $hostname = "
<small>($hostname)</small>"; }
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = &get_date($usertime);
if ($vars_time{DateFormat} eq "USX") { $vars_time{DateFormat} = "USExpanded"; }
$TheDate = &DateFormat("$mon-$mday-$year", "$vars_time{DateFormat}");
$TheTime = &TimeFormat("$hour:$min");
print "<tr ";
if (!$flip) {
print "bgcolor='$vars_style{AltColumnColor1}'";
$flip = "1";
} else {
print "bgcolor='$vars_style{AltColumnColor2}'";
$flip = "";
}
$username =~ s/.inv//g;

if ($username !~ /guest/ig) {

print qq(>

<td align=left valign=middle><font size="2" FACE="$vars_style{FontFace}">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile&u=$this_user_number">);
} else { print qq(>

<td align=left valign=middle><font size="1" FACE="$vars_style{FontFace}">); }
print qq($username</A> $invisible $hostname</font> </td>

<td align=left valign=middle><font size="1" FACE="$vars_style{FontFace}">
$where</font> </td>

<td align=left valign=middle><font size="1" FACE="$vars_style{FontFace}"
color="$vars_style{TimeColor}">$hour:$min $vars_wordlets_mods{whos_online_time}
</font></td></tr>);
}

# print footer
print<<FOOT;

<tr bgcolor="$vars_style{CategoryStripColor}">
<td colspan=3 align=center>
<table border=0 cellpadding=1 cellspacing=2>
<tr>

<td align="left" valign="middle" bgcolor="$vars_style{CategoryStripColor}"><B>
<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{whos_online_currently}</FONT></B></td>

<td align="left" valign="middle" bgcolor="$vars_style{CategoryStripColor}"><B>
<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$current_dt ($totalcount $vars_wordlets_mods{whos_online_visitors})</FONT></B></td></tr>
<tr>

<td align="left" valign="middle" bgcolor="$vars_style{CategoryStripColor}"><B>
<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{whos_online_record}
</FONT></B></td>

<td align="left" valign="middle" bgcolor="$vars_style{CategoryStripColor}"><B>
<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$max_dt ($maxtotal $vars_wordlets_mods{whos_online_visitors})
</FONT></B></td></tr>
</table>
</td></tr>

<tr><td colspan=3 align=right>$pages</td></tr></table>



<center>
<FONT SIZE="1" FACE="$vars_style{FontFace}" color="$vars_style{FontColor}">
$vars_wordlets_mods{whos_online_reload_every} $refresh_time $vars_wordlets_mods{whos_online_seconds}</FONT>
</center>


FOOT

print $Footer;
undef($maxline); undef($maxtotal); undef($Footer); undef($Header); undef($totalcount); undef($max_dt); undef($current_dt);
}

sub get_date {

($seed) = @_;
if (!$seed) { $seed = time; }
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($seed);
$mon++;

$year = 1900 + $year;
$wday = (Sun,Mon,Tue,Wed,Thu,Fri,Sat)[$wday];
$nice_mon = (Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec)[$mon];
if ($mday <= "9") { $mday = "0$mday"; }
if ($hour <= 9) { $hour = "0$hour"; }
if ($min <= 9) { $min = "0$min"; }
if ($sec <= 9) { $sec = "0$sec"; }
if ($isdst) { $tz = "EDT"; } else { $tz = "EST"; }

$unix_date = scalar localtime;

return ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst);
}

### Sub thanks to mikels
sub TimeFormat {
local($time_formatted, @timearray, $get_hour, $get_minute);

if ($vars_time{TimeFormat} eq '24HR') {
@timearray = split(/ /, $_[0]); chomp($timearray[1]);
($get_hour, $get_minute) = split(/:/, $timearray[0]);
chomp($get_minute);
if ($timearray[1] eq 'PM') {
if ($get_hour < 12) { $get_hour = ($get_hour + 12); }
} else {
if ($get_hour == 12) { $get_hour = '0'; }
}
$get_hour = &Do2Digit($get_hour);
$get_minute = &Do2Digit($get_minute);
$time_formatted = "$get_hour:$get_minute";
} else {
$time_formatted = "$_[0]";
}
return($time_formatted);
} # end TimeFormat
sub PageTopHTML {

if ($DisplayRegistration eq "NO") {
$RegLinkHere = "";
} else {
$RegLinkHere = qq(| <A HREF="$CGIURL/Ultimate.cgi?action=agree"><ACRONYM TITLE="Registration is free!">register</ACRONYM></A> );
}

if (-e "$CGIPath/login.cgi" && $login_hack) {
if ($cookie{UserName}) {
$LogoutText = qq(<A HREF="$CGIURL/login.cgi?action=logout">logout</A> );
} else {
$LogoutText = qq(<A HREF="$CGIURL/login.cgi">login</A> );
}
}

if (-e "$CGIPath/active.cgi" && $active_topics) {
$ActiveText = qq(| <A HREF="$CGIURL/active.cgi">active topics</A>);
}

if (-e "$CGIPath/memberlist.cgi" && $memberlist_hack) {
$MemberText = qq(| <A HREF="$CGIURL/memberlist.cgi">members</A>);
}

if (-e "$CGIPath/team.cgi" && $team_hack) {
$TeamText = qq(| <A HREF="$CGIURL/team.cgi">team</A>);
}

if ($AllowSearch eq "FALSE") {
$SearchOption = "";
} else {
$SearchOption = qq(| <A HREF="$CGIURL/search.cgi?action=intro&default=$number"><ACRONYM TITLE="Perform a search by keyword, date, or name.">search</ACRONYM></A>);
}

$PageTopHTML = qq(
<center>
<table border="1" cellpadding="10" cellspacing="0" cols="2">
<tr><TD align=center>
<A HREF="Ultimate.cgi"><IMG SRC="$NonCGIURL/$BBTitle" BORDER=0></A>
</td>
<td align=center>
<B><FONT SIZE="3" FACE="$FontFace" COLOR="$BBTitleFontColor">$BBName</FONT></B>

<FONT SIZE="1" FACE="$FontFace">
$LogoutText
$RegLinkHere
| <A HREF="$CGIURL/ubbmisc.cgi?action=editbio"><ACRONYM TITLE="Click here to edit your profile.">profile</ACRONYM></A>
| <A HREF="$CGIURL/ubbmisc.cgi?action=setprefs"><ACRONYM TITLE="Set your preferences.">preferences</ACRONYM></A>
| <A HREF="$NonCGIURL/faq.html" target=_blank><ACRONYM TITLE="Frequently Asked Questions">faq</ACRONYM></A>
$SearchOption
$MemberText
$TeamText
$ActiveText
</font></font></td></tr></table>);

}

sub ConfigureHTML {

if ($include_yourself) {
$IncludeYes = "CHECKED"; } else { $IncludeNo = "CHECKED"; }

if ($see_invisible eq "admin") {
$Invisible0 = "SELECTED"; } else { $Invisible1 = "SELECTED"; }

if ($display_host eq "admin") {
$Host0 = "SELECTED";
} elsif ($display_host eq "both") {
$Host1 = "SELECTED";
} elsif ($display_host eq "everyone") {
$Host2 = "SELECTED"; } else { $Host3 = "SELECTED"; }

if ($online_message eq "summary") {
$Online0 = "SELECTED";
} elsif ($online_message eq "list") {
$Online1 = "SELECTED"; } else { $Online2 = "SELECTED"; }

if ($members_per_page eq "25") {
$MPP0 = "SELECTED";
} elsif ($members_per_page eq "50") {
$MPP1 = "SELECTED";
} elsif ($members_per_page eq "75") {
$MPP2 = "SELECTED";
} elsif ($members_per_page eq "100") {
$MPP3 = "SELECTED"; } else { $MPP4 = "SELECTED"; }

print <<CONFIGURE;
<html>
<head><title>Who's Online Configuration</title></head>
<BODY bgcolor="#FFFFFF" link="#000080" vlink="#808000">

<center>
<FONT SIZE="2" FACE="Verdana, Arial"> C O N F I G U R E W H O ' S O N L I N E</FONT>



<FONT SIZE="$TextSize" FACE="$FontFace">
This will allow you to control how the Who's Online feature will display and opperate.</FONT>



<FORM ACTION="$CGIURL/UBB6online.cgi" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="action" VALUE="WriteSettings">
$BorderTop
<table border=0 cellpadding=4 border=0 cellspacing=1 width=$vars_style{TableWidth}>
<tr bgcolor="$vars_style{AltColumnColor1}"><td>
<FONT SIZE="$TextSize" FACE="$FontFace"><B>Include Yourself</B>

If you set this option to "yes", you will be able to see yourself when
viewing the list. If it is set to "no", you will not see yourself, but
you will be counted and everyone else will see you.</FONT></td>
<td><FONT SIZE="$TextSize" FACE="$FontFace">
<INPUT TYPE=RADIO NAME="include_yourself" VALUE="1" $IncludeYes> yes
<INPUT TYPE=RADIO NAME="include_yourself" VALUE="0" $IncludeNo> no</FONT></td></tr>
<tr bgcolor="$vars_style{AltColumnColor2}"><td>
<FONT SIZE="$TextSize" FACE="$FontFace"><B>Time Until Logged Out</B>

This determines how long until a user is "logged out" of the system. If
someone is active on the forums, their session will keep being updated
which will keep them from being logged out.</FONT></td>
<td><INPUT NAME=inactive_time SIZE=3 VALUE="$inactive_time">
<FONT SIZE="$TextSize" FACE="$FontFace">minutes</font></td></tr>
<tr bgcolor="$vars_style{AltColumnColor1}"><td>
<FONT SIZE="$TextSize" FACE="$FontFace"><B>Refresh Rate</B>

This setting allows you to set how long before the Who's Online details
page reloads. If you don't wish to have the page reload, set this to "0".
</FONT></td>
<td><INPUT NAME=refresh_time SIZE=3 VALUE="$refresh_time">
<FONT SIZE="$TextSize" FACE="$FontFace">seconds</FONT></td></tr>
<tr bgcolor="$vars_style{AltColumnColor2}"><td>
<FONT SIZE="$TextSize" FACE="$FontFace"><B>See Invisible Users</B>

Who should be able to see invisible users when viewing the detailed page?
</FONT></td>
<td><FONT SIZE="$TextSize" FACE="$FontFace"><select name=see_invisible>
<OPTION VALUE="admin" $Invisible0> Admins Only
<OPTION VALUE="both" $Invisible1> Admins & Moderators</select>
</FONT></td></tr>
<tr bgcolor="$vars_style{AltColumnColor1}"><td>
<FONT SIZE="$TextSize" FACE="$FontFace"><B>Display Host/IP Info</B>

Who should be able to see host/ip information on the detailed page? Note:
Setting this to anything other than NO ONE could drastically increase the
load on your server.</FONT></td>
<td><FONT SIZE="$TextSize" FACE="$FontFace"><select name=display_host>
<OPTION VALUE="admin" $Host0> Admins Only
<OPTION VALUE="both" $Host1> Admins & Moderators
<OPTION VALUE="everyone" $Host2> Everyone
<OPTION VALUE="none" $Host3> No One</FONT></select></td></tr>
<tr bgcolor="$vars_style{AltColumnColor2}"><td>
<FONT SIZE="$TextSize" FACE="$FontFace"><B>Entries Per Page</B>

On the detailed page, you can control how many entries to display on each
page. This could be usefull if your site is very busy!</FONT></td>
<td><FONT SIZE="$TextSize" FACE="$FontFace"><select name=members_per_page>
<OPTION $MPP0>25
<OPTION $MPP1>50
<OPTION $MPP2>75
<OPTION $MPP3>100
<OPTION VALUE="0" $MPP4>All</select></font></td></tr>
<tr bgcolor="$vars_style{AltColumnColor1}"><td>
<FONT SIZE="$TextSize" FACE="$FontFace"><B>Display Type</B>

On the main page (in Ultimate.cgi) you can choose to have it display a
summary message, or list the users who are online. Or, you can choose
to disable the display on the main page.</td>
<td><FONT SIZE="$TextSize" FACE="$FontFace"><select name=online_message>
<OPTION VALUE="summary" $Online0>Summary
<OPTION VALUE="list" $Online1>List Users
<OPTION VALUE="off" $Online2>Do Not Display
</select></FONT></td></tr>

</table>
$BorderBottom



<FONT SIZE="$TextSize" FACE="$FontFace" COLOR="$TimeColor">UserName:
<INPUT NAME=UserName VALUE="$cookie{'UserName'}" SIZE=25>

Password:
<INPUT TYPE=PASSWORD NAME=Password VALUE="$cookie{'Password'}" SIZE=25>
</FONT>



<INPUT TYPE=SUBMIT VALUE="Submit Settings">
<INPUT TYPE=RESET VALUE="Reset">
</FORM>
CONFIGURE

}

sub CheckID {
# &VerifyAdmin($UserName, $Password);
if ($Proceed eq "true") {
&WriteSettings;
$ConfirmLine = "<center>Your settings have been updated.</center>";
# &ConfirmHTML2;
}
}

sub WriteSettings {
open(FILE,">$vars_config{MembersPath}/UBB6online.cfg");
print FILE "$include_yourself = $in{'include_yourself'};n";
print FILE "$inactive_time = $in{'inactive_time'};n";
print FILE "$refresh_time = $in{'refresh_time'};n";
print FILE "$see_invisible = $in{'see_invisible'};n";
print FILE "$display_host = $in{'display_host'};n";
print FILE "$members_per_page = $in{'members_per_page'};n";
print FILE "$online_message = $in{'online_message'};n";
close(FILE);
}
1;
_________________________
loveground.com

Top
#95490 - 05/21/01 04:57 PM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Weil meiner Meinung nach das ganze nicht so

Code:
code:


sondern so

Code:
code:


aussehen muss.

<FONT COLOR="#000000" SIZE="1">[ May 21, 2001 04:58 PM: Message edited by: e@sy ]</font>

Top
#95491 - 05/22/01 01:33 AM Re: Whøs Ønline
melder Offline
Enthusiast

Registered: 02/28/01
Posts: 497
Loc: dresden, germany
<meta http-equiv="refresh" content="$refresh_time;">

jetzt hab ich es - die url die dahinter steht muß weg !!! dann gehts ...

@easy - das was im unteren teil der cgi steht - ist das nicht überflüssig ?!? weil ich räum ja gern auf wink

www.chat-board.de
_________________________
loveground.com

Top
#95492 - 05/22/01 02:34 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Quote:
quote:


Also du must mir schon genauer sagen, was du meinst.

Top
#95493 - 05/22/01 05:27 AM Re: Whøs Ønline
melder Offline
Enthusiast

Registered: 02/28/01
Posts: 497
Loc: dresden, germany
ab hier:

### Sub thanks to mikels

... ist doch alles überflüssig oder ?
_________________________
loveground.com

Top
#95494 - 05/22/01 05:37 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Nein, muss alles drin bleiben.

Top
#95495 - 05/22/01 05:53 AM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Hi E@sy,
ich hab noch ein paar Fragen :
Gibt es ein deutsches Wordlet für Who´s Online oder muß ich das selber im CP ändern ? Ich krieg das nämlich irgendwie nicht ordentlich hin, da steht immer deutsches Kauderwelsch ;-)

2. Ich hab den Custom Rank/Status Hack installiert. Mich und meine Moderatoren zeigt er jetzt korrekt wie in den Einstellungen im CP an. Allerdings habe ich Ränge für meine Mitglieder angelegt, diese werden jedoch nicht angezeigt.
Siehe z.B. hier
http://www.forumdeluxx.de/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=000002

Kannst Du so sehen, was ich falsch gemacht habe ?

Grüße
Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95496 - 05/22/01 05:58 AM Re: Whøs Ønline
e@sy Offline
deutscher Member

Registered: 02/18/01
Posts: 981
Loc: NRW,Germany
Für die deutschen Wordlets schau doch bitte mal hier

http://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=13&t=000438

Top
#95497 - 05/22/01 09:27 AM Re: Whøs Ønline
nico-tin Offline
Member

Registered: 05/01/01
Posts: 44
ich hab den hack auch drauf...alles funtzt bis auf dass immer nur einer nähmlich mich angezeigt wird.....
bei anderen ist das genau so...

was hab ich falsch gemacht?

thx for help
nico-tin

Top
#95498 - 05/23/01 08:39 AM Re: Whøs Ønline
dbode Offline
Member

Registered: 05/12/01
Posts: 176
Loc: Hannover
Hi,

also ich hab auch schon Foren gesehen, da hat es hervorragend funktioniert - sonst wäre es ja auch kein Final Hack.

Gibt es eine Lösung dafür ?

Dennis
_________________________
Regards Dennis Bode
-----------------------------
Webmaster of Hardwareluxx.com

Top
#95499 - 05/23/01 12:27 PM Re: Whøs Ønline
Hellburn Offline
Member

Registered: 05/03/01
Posts: 65
[QUOTE]Originally posted by melder:
[QB]<meta http-equiv="refresh" content="$refresh_time;">

jetzt hab ich es - die url die dahinter steht muß weg !!! dann gehts ...


Ich finde diese metazeile gar nicht mehr im neuesten 3.8q Hack aber reloaden tut er auch noch nicht automatisch. kann ich das irgendwo einfügen das der reload nun auch bei meinem hack funzt oder gibts da ne andere lösung bei 3.8q schon?

mfg Hellburn

Top
#95500 - 05/23/01 01:04 PM Re: Whøs Ønline
Hellburn Offline
Member

Registered: 05/03/01
Posts: 65
achja mit IE 5.0 funzt der ahck sah ich gerade nur mir 5.5 nicht

Top
#95501 - 05/24/01 03:36 PM Re: Whøs Ønline
nico-tin Offline
Member

Registered: 05/01/01
Posts: 44
weiss niemand woran des liegen könnte dass man nur selber angezeigt wird aber niemand anderes?

thx
nico-tin

Top
#95502 - 05/25/01 01:26 PM Re: Whøs Ønline