php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#115319 - 04/18/03 02:41 PM Removing "my profile | directory login | register | search | faq | forum home"
pugs Offline
Junior Member

Registered: 01/15/02
Posts: 11
How do you remove this stuff from the top of each page? Also, how do you remove the forum title from there as well?

I have a logo and links for all this stuff up in my header. I had it removed at some point, but then the admin of my hosting company upgraded us to 6.4 and all my modifications were gone and 6.4 is different from however I did it before. I also think he will be upgrading to 6.5 soon so if that is different please tell me how to strip this tuff out of both 6.4 and 6.5.

Thanks

Top
#115320 - 04/18/03 03:58 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
There's no simple way to remove this stuff - while you can alter the profile/faq/search links by editing MainButtonsLine in public_common, the header itself is in practically every template.... You might want to look at the Compact Headers template set, or the JC template set. Both offer an alternative header layout that should work better for you.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#115321 - 06/13/03 04:12 AM Re: Removing "my profile | directory login | register | search | faq | forum home"
sexylyon Offline
Junior Member

Registered: 06/13/03
Posts: 1
I could use a little help with this myself.

Am using 6.2.1 and would like to replace the profile/faq/search line with icons instead to bring it more into visual meld with the board.

i figured out the $MainButtonsLine was the controlling call, but that is where I got stumped. It doesn't seem to be defined anywhere that I can change in public_common - is it wordlet definition?

as can no doubt tell, am smart enough to figure out approx where the change needs to be made, but am not saavy enough to figure out the edit... help?

Top
#115322 - 06/13/03 06:44 AM Re: Removing "my profile | directory login | register | search | faq | forum home"
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
In 6.2.1 MainButtonsLine is in ubb_lib, I think.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#115323 - 08/03/03 10:26 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
pugs Offline
Junior Member

Registered: 01/15/02
Posts: 11
Has this become any easier in version 6.5.0? A long while ago probably around 6.1 or something I had removed all of these and it was pretty easy. But things have changed drastically and I dont know where to start.

I just played with the JC templates a bit but dont see an easy way to do it with that either. Unless it is just replacing the images with blank gif's or something.

I would also like to remove the "UBB Title" from this area as well. Any usefuel help would be appreciated.

Thanks

Top
#115324 - 08/04/03 10:15 AM Re: Removing "my profile | directory login | register | search | faq | forum home"
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
yeah, just open ubblib.cgi and delete what you like to *g*
regards,
chris
http://www.technoforum.de - the bbs, too big to handle

Top
#115325 - 08/04/03 05:35 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I sugguest if you'd like to replace the header links with images that you look into the Cosmetic Links modification... It'll give fairly in debth instructions on how to set it up, made for 6.4, works with 6.5 with some minor editing.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#115326 - 08/05/03 11:00 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
pugs Offline
Junior Member

Registered: 01/15/02
Posts: 11
Quote:
quote:
Originally posted by technoforum.de:
yeah, just open ubblib.cgi and delete what you like to *g*
Ok, and where in that file might I find what I am looking for?

Gizzy, I am not looking to use images. I want the links gone all together. Along with the forum name above them. Someone previously mentioned that JC Templates might be of some help. I dont really see how though.

Top
#115327 - 08/05/03 11:14 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I suggest using the compact headers. It'll have the same setup as here, and you can just go into public_common.pl and comment out the mainbuttonline stuff

Top
#115328 - 08/06/03 06:32 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
The cosmetic links mod will show everything where it is lol... you could just search for forum home in that file too wink ...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#115329 - 08/08/03 07:20 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
pugs Offline
Junior Member

Registered: 01/15/02
Posts: 11
in which file?

Top
#115330 - 08/08/03 07:28 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
public_common.pl

Top
#115331 - 10/03/03 04:15 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
zeroflux Offline
Junior Member

Registered: 12/09/02
Posts: 1
I am currently running UBB.Classic version 6.1.0.3 and will be upgrading around January to the latest version.

I would like to do everything mentioned in this thread (remove forum title and text nav links) and in addition, remove the show all topics jump menu at the top, and the forum jump menu at the bottom.

It beats me why we even need to have hacks for this at all. Infopop really should incorporate the option to turn the whole mess off and use our own headers with navigation buttons.

Can someone give me an easy way to this for now in the current version?

Thanks.

Top
#115332 - 10/03/03 05:23 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
In the current version they use a centralized header, not entirely sure of the options since i don't use it (i have it, it's just not used).
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#115333 - 10/03/03 07:26 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I removed the universal header and replace it with code I inserted into the header in the style template. Somehow I ended up removing some info from the top of other pages that seems to have depended on the original header. I was able to work around it but you have to be careful when you delete anything.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#115334 - 11/07/03 05:25 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
twslex Offline
Member

Registered: 06/13/02
Posts: 100
Just my 2 cents on this topic:

In public_common.pl

Look for
Code:
}    # end MainButtonOptions
The line before that one, turn it into something like this

Code:
	return qq!<span class="ip-is-loggedin"> </span><span class="ip-is-notloggedin">$lilink | $reglink </span> 
!;
That should do the trick.

Top
#115335 - 11/08/03 11:38 AM Re: Removing "my profile | directory login | register | search | faq | forum home"
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I wrote an amazing mod for 6.6 to remove the main buttons line.

In public_common.pl
FIND:
Code:
		show_buttons => 1,
REPLACE WITH:
Code:
		show_buttons => 0,
A lot of this kinda code is in 6.6, so look around.

If you want to also hide the bbtitle image, do this

In public_common.pl
FIND:
Code:
		show_image => 1,
REPLACE WITH:
Code:
		show_image => 0,
And if you wanna hide the board name,
In public_common.pl
FIND:
Code:
		show_board_name => 1,
REPLACE WITH:
Code:
		show_board_name => 0,
Oooooh Ahhhhhh

Top
#115336 - 11/08/03 02:51 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Once again, I say: TOOK YA LONG ENOUGH! smile
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#115337 - 11/08/03 03:16 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
think about it though... I'm still the first to post it tipsy

Top
#115338 - 11/08/03 03:23 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Which either means no one's looking, or no one had figured it out...
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#115339 - 11/08/03 09:15 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Damn, would have saved me some trouble, but then again it may not have. I had to make sure that there were no spaces or
's between the TBB's and TBT's or the gfx I use have an ugly gap between them. I'm not sure that thiw would have helped with my header replacement.

The fact of the matter is that I wouldn't have known to use it if it would have worked.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#115340 - 05/09/04 09:54 AM Re: Removing "my profile | directory login | register | search | faq | forum home"
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK, I don't want to remove my Main Buttons Line, but I would like to reorganize it. I have way too many links at the top page in a straight line, and I'm even missing one somehow (statistics). I'd like to maybe have 3 rows of links evenly spread out underneath the board name. How difficult would that be? smile
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#115341 - 02/18/05 06:11 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Neptin Offline
Member

Registered: 07/08/00
Posts: 48
Loc: Atlanta
Thanks, Ian!
_________________________
Dustin 'Neptin' Shelby
http://www.buffybb.net

Top
#115342 - 02/23/05 10:16 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
I'm trying to keep the My Profile and the Full Menu button links and the other links in that line to replace with a drop down menu.

Where exactly do I place the code of that drop down?

Top
#115343 - 02/23/05 10:35 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Edit Template: public_common.pl

Look For:
sub MainButtonOptions {
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#115344 - 02/24/05 08:28 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
Just under that line or in any specific place in that are? do I have to add any tags or something or just pasting the drop down code is enough?

Couse I've tried it in a few ways and no luck

Thanks

Top
#115345 - 02/24/05 09:05 PM Re: Removing "my profile | directory login | register | search | faq | forum home"
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
You'll have to do some tinkering with it but that sub contains all of the data for the navigation links.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
Page 1 of 2 1 2 >



Moderator:  Gizmo, tackaberry 
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