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

   HTML Problem to Del.icio.us Add to del.icio.us
  Digg HTML Problem Digg it
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
#107420 - 10/01/00 12:09 AM Re: HTML Problem
CTH Offline
Member

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

I'm assuming you mean these two ::::

<td colspan="2" $CategoryStripColor><FONT SIZE="$TextSize" FACE="$FontFace" color="$CategoryStripTextColor"><B>Online Users</B></FONT></td><td colspan="2" $CategoryStripColor><FONT SIZE="

So did you mean for it to be like ...

<td colspan="2" $CategoryStripColor width="50%">

I've just come back from a rather nasty internal error trying this lol But I've just restored a backup just prior to my adding 50%'s

I think this is because I had my width at 100% instead of aligning them as you said.

Any ideas ????

TotalNewbie

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

Registered: 09/13/00
Posts: 509
Loc: England
doh doh doh I've fixed it !!

My own typo was the bane of me lol

Evil-Empire you're a legend unto yer own

THANKS MATE !!!

TotalNewbie

Top
#107422 - 10/02/00 10:37 PM Re: HTML Problem
El_Jefe Offline
Member

Registered: 09/24/00
Posts: 92
So do you have a final version to your code to bring This mod home for the rest of us Would like to give it a try if you don't mind........

Top
Page 1 of 2 1 2 >


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
0 Registered (), 21 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks