php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#107400 - 09/30/00 09:49 AM HTML Problem
CTH Offline
Member

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

I'm trying to combine my Private Messages and WhoseOnline bards/categories into one bar

eg,

Private Messages Whose Online


This is the code I know I have to alter ::::

Code:
code:


But I'm really not sure as to how to combine them both together.

Can anyone help me please ????

TotalNewbie

Top
#107401 - 09/30/00 11:39 AM Re: HTML Problem
Pyros Offline
Member

Registered: 03/10/00
Posts: 1070
Loc: Ontario, Canada
Ok Totalnewbie, I know what you're trying to say, but I'm not 100% positive on how this can be done. I know for one thing, that it is possible. You might want to ask C_P about this, as he has done it on his board:
http://www.cyber-cards.com/cyber_poetry

------------------
Quality Pages designing the world professional web pages for affordable prices.
_________________________
Quality Pages designing the world professional web pages for affordable prices.

Top
#107402 - 09/30/00 03:48 PM Re: HTML Problem
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
Hmmmm...it's really hard to read that code text, so I just skimmed...but I know what you're trying to say. I can't give you a detailed explanation (since I have neither of those hacks), but heres what you want to do (based on what I see at the cyber poetry site):

In ultimate.cgi you should have something resembling this:

sub ForumsBottomHTML {
print <<BOTTOMhtml;
</table>

Just above "</table>" in the above code, insert this:

<tr bgcolor="yourcolor">
<td colspan="#">

<!-- heres the main part -->
<table width="100%" cellspacing="1" cellpadding="2" border="0>
<tr>
<td colspan="2">Online users</td>
<td colspan="2">Private Messages</td>
</tr>
<tr>
<td><img src="folder.gif"></td>
<td>Online users code</td>
<td><img src="private.gif"></td>
<td>private messages code</td>
</tr>
</table>

</td>
</tr>


Again, that is very generic because I have no idea what the actual code looks like, or what your board looks like...

EDIT:
also, I have freeware, no a licensed board so I cannot be sure that the code I mentioned in the beginning is present. Probably is though.

------------------
-david
<FONT size="1">I stand on my head and watch it all go away.</FONT s>

Top
#107403 - 09/30/00 04:08 PM Re: HTML Problem
CE Offline
Member

Registered: 08/18/00
Posts: 469
Loc: Iowa
Code:
code:


try that, tell me if it works...

Top
#107404 - 09/30/00 08:48 PM Re: HTML Problem
CTH Offline
Member

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

Appreciate yer help mate, but it didn't change a thing

I compared the code afterwards and it's exactly the same - which was weird !!

I editted yer post to cut'n'paste it into Notepad too so I don't know what went wrong there.

Anyways, thanks for your help !

Any one else able to help me please ????

Top
#107405 - 09/30/00 09:02 PM Re: HTML Problem
CTH Offline
Member

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

That was sooo close. This is the code I have (5.46)

sub ForumsBottomHTML {
print <<BOTTOMhtml;
<td colspan="6">
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr><td colspan=2 $CategoryStripColor><FONT SIZE="$TextSize" FACE="$FontFace" color="$CategoryStripTextColor"><B>Private Messages</B></FONT></td>
<td colspan=2 $CategoryStripColor><FONT color="$CategoryStripTextColor" SIZE="2" FACE="$FontFace"><B>Current World Time</B></FONT></td>
</TR>
<TR>
$pmlink
</TR>
$onlinetable
<tr></tr>
<TR><td $BGColor valign=top align=center><img src="$NonCGIURL/world.gif" Alt="World Picture" border=0></td>
$tzdisplay
</TR>
</table>

I'm not worried about the World Time category at the moment because that looks fine as it is. But i just want to combine the Private Messaging and Online Users.

Any ideas ????

TotalNewbie

Top
#107406 - 09/30/00 09:24 PM Re: HTML Problem
Badger Offline
Member

Registered: 03/16/00
Posts: 147
Loc: Ohio
If I remeber right you add something at the bottom of one of the files. It should be something like this:

$pmlink

and also look for:

$onlinelink

add the $onlinelink one right under the $pmlink one.

It would also help to have the url to your boards to see what is messed up.

Sorry if this doesn't help, I just did this from memory, if that doesn't work I could go look at the PM and Who's Online mod text files and see what you do add to know what to change.
_________________________
Co-Admin of Creature World.

Top
#107407 - 09/30/00 09:29 PM Re: HTML Problem
CTH Offline
Member

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

Here's a link mate ::::

Click Here

As of yet nothing is messed up because I keep regular backups incase something I try doesn't work out.

TotalNewbie

Top
#107408 - 09/30/00 09:35 PM Re: HTML Problem
Badger Offline
Member

Registered: 03/16/00
Posts: 147
Loc: Ohio
If I found the text files for both the hack I could let you know how to do it.

If no one else figures it out within a day I'll open them up and figure it out. But I'm sure one of the experienced mods can figure it out
_________________________
Co-Admin of Creature World.

Top
#107409 - 09/30/00 10:18 PM Re: HTML Problem
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
ouch, badger, that hurt.

hey, if I had the hacks I could help more, but I don't.

What I posted SHOULD work, but it can't just be cut and pasted, it's a little more complicated.

------------------
-david
<FONT size="1">I stand on my head and watch it all go away.</FONT s>

Top
#107410 - 09/30/00 10:21 PM Re: HTML Problem
Badger Offline
Member

Registered: 03/16/00
Posts: 147
Loc: Ohio
I wasn't meaning it about you mods, I'm sure each and everyone of you are great mods. It was aimed at DB and Allen. They would know what I'm talking about.
_________________________
Co-Admin of Creature World.

Top
#107411 - 09/30/00 10:25 PM Re: HTML Problem
CTH Offline
Member

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

Congrats on the mod job Evilempire dude

About this ::::

I'm sure it has something to do with the $pmlink arrangement as badger says but I tried what he/she suggested and it was obvious that there was more needed to be done than the simple switch in order to get what I was hoping for.

EvilEmpire - I'm sure you're on the right track as it was the closest I've got to what I wanted.

C_P didn't seem to keen to help when I asked him about it - hence why I'm here lol

I think a combination of Evilempires ideas and badgers should get it. But I'm a bit stuck as to which parts to combine

TotalNewbie

Top
#107412 - 09/30/00 10:42 PM Re: HTML Problem
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
OK, I'll have an answer in a few minutes, I'm working on it right now.

hang in there

------------------
-david
<FONT size="1">I stand on my head and watch it all go away.</FONT s>

Top
#107413 - 09/30/00 11:01 PM Re: HTML Problem
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
OK, I think I have it:

this is what you want to have. Note, I didn't know what to make of "$onlinetable", so I just didn't do anything with it. This should work without it.

I worked off of the code that CE and you posted, so it may not be perfect, but see if you can adapt it to work right.

your "$pmlink" should look like this:
Code:
code:


and then the preferences part should look like this:
Code:
code:


"$onlinelink" should look like this:
Code:
code:


and then heres the kicker, the bottom of your page:
Code:
code:



Let me know if any of that works.
good luck

------------------
-david
<FONT size="1">I stand on my head and watch it all go away.</FONT s>

Top
#107414 - 09/30/00 11:33 PM Re: HTML Problem
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
So damn close - this is the problem we're facing http://www.cybertechhelp.com/cgi-bin/Ultimate.cgi?action=intro&BypassCookie=true

Looks to me like an extra $onlinetable needs to be taken out and a bit of colspan aligning

any ideas ?????

TotalNewbie

Top
#107415 - 09/30/00 11:40 PM Re: HTML Problem
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
OK i've fixed that - there was an extra $pmlink and $onlinelink(ortable) in the bottom of your code.

Also I made the width=95% to 100%

All I need to do now is centralise them up a bit.

I want to lose the "on the forums within the last 10 minutes."

because it bugs me anyway

With that gone I should be able to split the column a bit more evenly shouldn't I ????

What colspan values should I give in order to centralise the divide of the bar ????

Thanks for your help Evil-empire (RATM ?) great job mate !!

TotalNewbie

Top
#107416 - 09/30/00 11:40 PM Re: HTML Problem
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
Actually, this is not a colspan problem.

find in my code:
Code:
code:


now you have two choices. Either change it to 100%, OR align the inner table to the center, so it doesn't look silly.

Now, you probably want the PM and Online columns to be equal in width as well.

find:
Code:
code:


It will be there twice. Right after it, add:
Code:
code:


you should be all set.

EDIT
damn I'm stupid. I thought you were referring to a different problem altogether. Yeah, in my code I accidently left in an "$onlinetable". Get rid of it, you don't need it anymore.
------------------
-david
<FONT size="1">I stand on my head and watch it all go away.</FONT s>

Top
#107417 - 09/30/00 11:42 PM Re: HTML Problem
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
Incase anyone else uses the code above...I had to take out the bolded #pmlink and $onlinetable ::::

<TR>$pmlink</TR>$onlinetable<tr></tr><TR><td $BGColor valign=top align=center><img src="$NonCGIURL/world.gif" Alt="World Picture" border=0></td>$tzdisplay

TotalNewbie

Top
#107418 - 09/30/00 11:44 PM Re: HTML Problem
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
Crazy that we're both posting messages when we're online at the same time. So inconvientent.

Regardless, I was close.

Just a little carelessness of mine, leaving those things there.

------------------
-david
<FONT size="1">I stand on my head and watch it all go away.</FONT s>

Top
#107419 - 10/01/00 12:03 AM Re: HTML Problem
CTH Offline
Member

Registered: 09/13/00
Posts: 509
Loc: England
lol inconvenient !!!

Yeah right I wouldn't have been able to be anywhere near this if you weren't !!!! lol

Hey just 2 more questions :::

<td colspan="2" $CategoryStripColor

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

It will be there twice. Right after it, add:


code:
--------------------------------------------------------------------------------

width="50%"

That line appears more than twice - can you be a little more specific please ????

And I have already set it to 100% - how do I go about aligning it with the inner table ????

Cheers,

TotalNewbie

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks