UBB.Dev
Posted By: CTH HTML Problem - 09/30/2000 4:49 PM
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
Posted By: Pyros Re: HTML Problem - 09/30/2000 6:39 PM
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.
Posted By: empire Re: HTML Problem - 09/30/2000 10:48 PM
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 <

Just above "" in the above code, insert this:





Online users








Private Messages
Online users codeprivate messages code






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
I stand on my head and watch it all go away.
Posted By: CE Re: HTML Problem - 09/30/2000 11:08 PM
Code
code:

try that, tell me if it works...
Posted By: CTH Re: HTML Problem - 10/01/2000 3:48 AM
CE,

Appreciate yer help mate, but it didn't change a thing [Linked Image]

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 ????
Posted By: CTH Re: HTML Problem - 10/01/2000 4:02 AM
Evil-Empire,

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

sub ForumsBottomHTML {
print <





$pmlink

$onlinetable


$tzdisplay

Private MessagesCurrent World Time
World Picture


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
Posted By: Badger Re: HTML Problem - 10/01/2000 4:24 AM
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.
Posted By: CTH Re: HTML Problem - 10/01/2000 4:29 AM
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
Posted By: Badger Re: HTML Problem - 10/01/2000 4:35 AM
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 [Linked Image]
Posted By: empire Re: HTML Problem - 10/01/2000 5:18 AM
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
I stand on my head and watch it all go away.
Posted By: Badger Re: HTML Problem - 10/01/2000 5:21 AM
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.
Posted By: CTH Re: HTML Problem - 10/01/2000 5:25 AM
Hey,

Congrats on the mod job Evilempire dude [Linked Image]

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 [Linked Image]

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

TotalNewbie
Posted By: empire Re: HTML Problem - 10/01/2000 5:42 AM
OK, I'll have an answer in a few minutes, I'm working on it right now.

hang in there [Linked Image]

------------------
-david
I stand on my head and watch it all go away.
Posted By: empire Re: HTML Problem - 10/01/2000 6:01 AM
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
I stand on my head and watch it all go away.
Posted By: CTH Re: HTML Problem - 10/01/2000 6:33 AM
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
Posted By: CTH Re: HTML Problem - 10/01/2000 6:40 AM
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 [Linked Image]

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
Posted By: empire Re: HTML Problem - 10/01/2000 6:40 AM
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
I stand on my head and watch it all go away.
Posted By: CTH Re: HTML Problem - 10/01/2000 6:42 AM
Incase anyone else uses the code above...I had to take out the bolded #pmlink and $onlinetable ::::

$pmlink$onlinetableWorld Picture$tzdisplay

TotalNewbie
Posted By: empire Re: HTML Problem - 10/01/2000 6:44 AM
Crazy that we're both posting messages when we're online at the same time. So inconvientent.

Regardless, I was close. [Linked Image]

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

------------------
-david
I stand on my head and watch it all go away.
Posted By: CTH Re: HTML Problem - 10/01/2000 7:03 AM
lol inconvenient !!! [Linked Image]

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

Hey just 2 more questions :::


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

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
Posted By: CTH Re: HTML Problem - 10/01/2000 7:09 AM
Hey,

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

Online Users

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
Posted By: CTH Re: HTML Problem - 10/01/2000 7:47 AM
doh doh doh I've fixed it !!

My own typo was the bane of me lol [Linked Image]

Evil-Empire you're a legend unto yer own [Linked Image] [Linked Image]

THANKS MATE !!!

TotalNewbie
Posted By: El_Jefe Re: HTML Problem - 10/03/2000 5:37 AM
So do you have a final version to your code to bring This mod home for the rest of us [Linked Image] Would like to give it a try if you don't mind........
© UBB.Developers