php forum
php mysql forum
php mysql smarty
 
Topic Options
#107475 - 10/12/00 06:31 AM Hey Guess what ???
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England

   Hey Guess what ??? to Del.icio.us Add to del.icio.us
  Digg Hey Guess what ??? Digg it
lol Poor Empire I'm here to bug ya knowledge again dude

I've decided that the only way I am going to be able to fix up my WhoseOnline/PrivateMessaging arrangement would be to put them both in a seperate table like C_P has done on his CyberPoetry site.

I was wondering if you could help me here ????

This is the code I have ::::

$pmlink = qq(<td bgcolor="#ffffff" valign="center" align="center" width="20">$pmimg</td>
<TD valign=top $AltColumnColor1><FONT SIZE="$TextSize" FACE="$FontFace"><B><A HREF="$cgi_url/$viewprivate">Inbox</A></B></FONT>

<FONT SIZE="$FDTextSize" FACE="$FontFace">$user - $pmdesc</FONT></TD>
</TD> );

if ($prefs{'status'} eq "off") {
$pmlink = qq(<td bgcolor="#ffffff" valign="center" align="center" width="20"><IMG SRC="$NonCGIURL/pmimages/pmdead.gif" alt=""></td>
<TD valign=top $AltColumnColor1><FONT SIZE="$TextSize" FACE="$FontFace"><B><A HREF="$cgi_url/$privateprefs">Preferences</A></B></FONT>

<FONT SIZE="$FDTextSize" FACE="$FontFace">Private messages are currenly disabled.</FONT></TD>
</TD> );
}

unless ($ShowMods eq 'no') { # display mod column unless set to No in CP
$modcolumn = qq(
<td valign=bottom>
<FONT SIZE="1" FACE="$FontFace" COLOR="$TableStripTextColor"><B>Moderator</B></FONT>
</td></tr>
);# end qq
}

if ($online_message eq "summary") {
$OnlineMsg = $OnlineUserMsg;
} elsif ($online_message eq "list") {
$OnlineMsg = $OnlineUsers;
}
if (lc($ForumTotalOption) eq "both") {
$colspan = 5;
$colspan1 = 6;
} else {
$colspan = 4;
$colspan1 = 5;
}
$onlinelink = qq(<TD bgcolor="#ffffff" valign="center" align="center" width="20"><img src="$NonCGIURL/online.gif" alt=""></td>
<TD valign=top $AltColumnColor1><FONT SIZE="$TextSize" FACE="$FontFace"><B><A HREF="$CGIURL/online.cgi">Currently Browsing the Boards</A></B> ($totalcount)</FONT>

<FONT SIZE="$FDTextSize" FACE="$FontFace">$OnlineMsg</FONT></TD>
</TD> );
if ($online_message ne "none") {
$onlinetable = qq(<tr><td colspan=5 $CategoryStripColor><FONT SIZE="$TextSize" FACE="$FontFace" color="$CategoryStripTextColor"><B>Online Users</B></FONT></td></tr>
<TR>
$onlinelink
</TR> );
}

TotalNewbie

Top
#107476 - 10/12/00 08:10 AM Re: Hey Guess what ???
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
you mean you don't want them inside the main table, right? If thats what you want, I'll help you later. I'm at school and not much help right now...

------------------
-david
<FONT size="1">Choose your future.
www.antipopculture.org </FONT s>

Top
#107477 - 10/12/00 08:19 AM Re: Hey Guess what ???
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
Yes that's what I mean Empire dude

Sheesh I thought you were joking about being 15 !!! You put me to shame man with all yer knowledge at such a young age I'm 23 and still learning HTML lol

TotalNewbie

Top
#107478 - 10/12/00 03:55 PM Re: Hey Guess what ???
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
okra dokra, I'll get on that likesay....maybe now. this damn file is taking forever to download.

and hey catboy, donnea worry about age. And if you want a good HTML resource [besides me ], try HTML 4: For the world wide web bu Elizabeth Castro (Visual Quickstart Guide, Peach Pit Press). It's about $20.




------------------
-david
<FONT size="1">Choose your future.
www.antipopculture.org </FONT s>

Top
#107479 - 10/12/00 04:06 PM Re: Hey Guess what ???
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
hmmm...why did I think this would be hard/time-consuming? It's actually pretty simple (not to put you down or anything).

Just find the table that contains the PM and Online users info and CUT and PASTE it below the main table. Then, be sure to change it's width to the width of everything else, which is probably the variable $TableWidth or something like that.

You don't need to change $pmlink or any of those, but be sure to get rid of the <tr> and <td>'s surrounding the table you just moved.

------------------
-david
<FONT size="1">Choose your future.
www.antipopculture.org </FONT s>

Top
#107480 - 10/13/00 02:17 AM Re: Hey Guess what ???
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
Hey Empire,

Mate I'm gonna go get that book when I have chance - lol I must need it because I don't understand what ya last wrote lol

I understand that it would have taken quite a while for you to have wrote it all up, and after all the help you've given me it's cool

No problems. It doesn't look that bad, and maybe when I learn HTML a bit better I'll be able to fix it myself

Thanks,

TotalNewbie

Top


Who's Online
0 Registered (), 33 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
Today at 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
blaaskaak 12
AllenAyres 10
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 4

 

 

 
fusionbb message board php hacks