Previous Thread
Next Thread
Print Thread
Rate Thread
#110862 07/27/2001 5:13 PM
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
How do I get rid of the double header?? I'm using compact templates.

http://www.certifyexpress.com/anothertest.shtml

Quote
quote:
Quote
quote:

Sponsored Links
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
If I get rid of this line

$Header

then this line is gone as well.

You are not logged in. Login or Register

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
OK, I have absolutely no clue what those quotes are for... Please explain them, cuz they don't make any sense to me.

I look at that page, and I don't see any UBB-generated header at all, that I can tell.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Quote
quote:
I did something just now. Ok I have place back the $Header to public_header.pl

Here is how I call the file using SSI.

Quote
quote:

Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
That is strange now nothing is showing!!

Where did I go wrong?

Sponsored Links
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Ok it done. See my problem now with the header.

Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
This is my last problem. Please help.

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
OK, I see it now. It's kinda hard to tell where your page stops and the SSI begins. The only problem I've ever had with double headers like that, is when I had what I wanted on the page, already on the page, as well as the SSI. (I hope that made sense... reading it myself, it seems kinda confusing, but I honestly don't know how to say it any more clear..)

The SSI pulls EVERYTHING from your Header and Header Insert fields of the Style Template, as well as the $StandardTitleTable variable, which is what contains the login/logout thing when you're using Compact Headers. So, anything that is in those fields does NOT need to be hard-coded into the SHTML page.

If nothing is hard-coded into the page and you still can't figure it out, email me ([email][email protected][/email) and send me the .SHTML file, and I'll take a look at it.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
I understand your explaination clearly.

Is there a way for my to do a changes in the public_header.pl file?

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
What do you mean by changes?

If you mean adding HTML into the template file, you probably can, I wouldn't see why not. Just add it where you see all the rest of the HTML.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Sponsored Links
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Changes as in having "You are not logged in. Login or Register" added to the public_header.pl but the $Header line remove.

Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
I've been looking at public_common.pl and public_forum_summary.pl to see how to do it. But I'm not too good in CGI.

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
Quote
quote:
There's all the stuff from $StandardTitleTable. I'm guessing that's what you're looking for. I guess just replace $Header with that stuff, and it might work.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Now everything is gone. eek

Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Actually I'm trying to get the You are not logged in. Login or Register to work..

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
$show_logout is the variable for that.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Code removed by Skorpion.


Thanks Scorpion. Here is how I add it in public_header.pl but when I load the page http://www.certifyexpress.com/anothertest.shtml nothing shows up. confused

[ July 27, 2001: Message edited by: Skorpion ]

Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Anybody??

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
Those variables aren't set up for use from that template file. That's why they don't work. They just don't work.

I would guess you can make them work by doing a require [FILE] in the template. But I'm not sure which file you'd have to require. If you have UltraEdit, do a Find In Files... for $show_logout and see what you come up with.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Quote
quote:
I found $show_logout. It's in ultimatebb.cgi

Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
I got it using a simpler way. I created a fix template without the header and change the ubb_ssi.cgi line where it call the template. Thank you very much scorpion! smile

Quote
quote:


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)