php forum
php mysql forum
php mysql smarty
 
Topic Options
#115783 - 02/15/04 06:38 AM Remove "Hello, username" etc, the whole box
Eric Flyxe Offline
Member

Registered: 05/03/01
Posts: 57
How do I remove the whole box containing "Hello, username"...?

Want to use UBB for easy update and publishing on a webpage. No need of new users registering or logging in.

And - how do I remove the Post new topic and Reply buttons at the top of the page? The ones below will be fine where they are.

Version 6.7, release.

Top
#115784 - 02/15/04 11:32 AM Re: Remove "Hello, username" etc, the whole box
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
well to remove the navbar the following should work (untested, I'm almost positive this is how it appears in the file)

in public_common.pl
find:
Code:
$TBT
<tr bgcolor="$vars_style{AltColumnColor1}">
<td valign="top" align="left">
<font size="$vars_style{FDTextSize}" face="$vars_style{FontFace}">
$left_navbar
</font>
</td>
<td valign="top" align="right">
<font size="$vars_style{FDTextSize}" face="$vars_style{FontFace}">
$right_navbar
</font>
</td>
</tr>
$TBB
Delete it.

In public_forum_page.pl
find:
Code:
	before_buttons => qq~<font size="$vars_style{TextSize}" face="$vars_style{FontFace}">
$new_topic_button $poll_link
</font>

~,
Delete it.

smile upload modified files and clear cache.


Keep in mind that this will also remove the bread crumbs (UBBDev.com » Design and Graphics » Forum Design Integration » Remove "Hello, username" etc, the whole box) which is one of the ways people navigate

Top
#115785 - 02/15/04 11:45 AM Re: Remove "Hello, username" etc, the whole box
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Interesting home page you have, www.nope.com
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#115786 - 02/15/04 12:50 PM Re: Remove "Hello, username" etc, the whole box
Eric Flyxe Offline
Member

Registered: 05/03/01
Posts: 57
Eh... Put that in long time ago... I´m running a closed forum for technicians working for the City of Stockholm. I´ve updated my profile... smile

Top
#115787 - 02/15/04 12:51 PM Re: Remove "Hello, username" etc, the whole box
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
heh where you see that :looks:
_________________________
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
#115788 - 02/15/04 01:53 PM Re: Remove "Hello, username" etc, the whole box
Eric Flyxe Offline
Member

Registered: 05/03/01
Posts: 57
Great, navbar removed, nice and smooth!

But what should i delete in public_topic_page.pl (is it the right file to modify?) to remove the "post new" and "reply" buttons on topic pages aswell?

And if i, theoretically, want to remove the bottom navigation bar aswell, how should I do?

The reason for me asking this is as follows: I´m helping a non-profit organization which helps straycats to a better life, finding homes for them. They are maybe ten people doing this without salary, and they need to communicate internally to keep track of where the cats are at the moment. In the streets, in a temporary home or some other place. AND they need a tool for all of them (with no technical skills) to update their "cat-ads" on their homepage.

I´m thinking of integrating a stripped UBB in a frame, for their ads, and letting them use the "full" forum functionality for their internal communication.

Thanks for all help, appreciate it!

/Eric

Top
#115789 - 02/15/04 03:35 PM Re: Remove "Hello, username" etc, the whole box
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Look for this;

Code:
$topic_wording&nbsp;$poll_link&nbsp;$reply_wording
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#115790 - 02/15/04 05:01 PM Re: Remove "Hello, username" etc, the whole box
Gizmo Online   shocked

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
So you're just wanting to display ad's? why not use the UBBNews script? I use it on www.undergroundnews.com and al uses it on www.alforadmin.com to relay news to our main pages (and his little portal)
_________________________
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



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