php forum
php mysql forum
php mysql smarty
 
Topic Options
#115928 - 06/27/05 07:42 PM title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17

   title image alignment to Del.icio.us Add to del.icio.us
  Digg title image alignment Digg it
It's position in public_common.pl is to the left. I want it to go to the right (in order to get rid of white space).

My code doesn't change it:

$standard_title_table = qq~
<table border="0" width="$vars_style{TableWidth}">
<tr><td align="right" valign="top"><img src="http://housechurch.org/cgi-bin/rand_image.pl" border="0" align="right" alt="$vars_config{BBName}" />
</td><td align="center">
<b>

I have cleared the cache, btw, in the control panel and have emptied the browser cache.

Thanks in advance!

Top
#115929 - 06/27/05 09:29 PM Re: title image alignment
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25419
Loc: Texas
Which version ubb are you running? I don't believe standard title table is even used after version 6.6 or so smile
_________________________
- Allen wavey
- What Drives You?

Top
#115930 - 06/27/05 10:33 PM Re: title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Hi Allen,

6.7.2 - The latest and greatest.

I've had earlier versions. Surely, I am not updating old documents...

Top
#115931 - 06/28/05 11:19 AM Re: title image alignment
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25419
Loc: Texas
ok, then you might want to look for "BBTitle" in public_common.pl, there's a section in there for the header/footer and the title graphic has settings within.
_________________________
- Allen wavey
- What Drives You?

Top
#115932 - 06/28/05 12:52 PM Re: title image alignment
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
You're going to want to be editing around line 1346, it should be obvious what to do (do essentially the same you did above)
_________________________
Code monkey like Fritos

Top
#115933 - 06/28/05 01:57 PM Re: title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Very, very interesting, Ian. I suspected I was missing something substantial and will work from there, asap. I was limiting my search to sections with "bbtitle."

May I ask you for a brief interpretation of this line:

$args{before_image}$image_cell$args{after_image}

Particularly: args

Much thanks to you and to Allen. I'm on the road again!

Top
#115934 - 06/28/05 02:05 PM Re: title image alignment
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
those are just variables that aren't important for what you're doing. adding the align="right" and the align="left" for the 2 cells should be all you need

You actually get to edit an $args variable in the other topic I replied to (for the image url)
_________________________
Code monkey like Fritos

Top


Moderator:  Gizmo, tackaberry 
Top Posters Last 30 Days
AllenAyres 20
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
0 Registered (), 25 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Security Patch released for all 7.x versions
by AllenAyres
Today at 08:00 PM
What do you use to edit the files
by AllenAyres
Today at 07:54 PM
Team UBBDev Rides Again!
by AllenAyres
Today at 07:32 PM
Here I am! Rock me like a Hurricane!
by AllenAyres
Today at 07:20 PM
BeyondCompare v3.00
by AllenAyres
Today at 07:16 PM
[7.3.1] add search to showmembers page
by AllenAyres
Today at 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
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
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks