PDA

View Full Version : How could this be done?


Vladi_187
01-07-2006, 04:33 PM
Basicly my forum looks realy wide and out of place @ gameonlock.com and i would like to make it ALOT thinner but make it so theres the right vbadvanced column i put in still intact. Basicly i want it to be about 60% wide. Ive tried everything i could think off and everything would work out but would get messed and out of hand the next day and i would have to adjust the width again. Realy annoys me. This is a problem ive had for quite a while and i need to get it solved asap.

I need to make it go from www.gameonlock.com
to something like that..i just cut and pasted the image for you all to see what i mean by 60% wide with the column still being there:

http://img430.imageshack.us/img430/8051/untitled7my.jpg

Thanks.

Brian
01-08-2006, 01:36 PM
You're not going to be able to make it any thinner unless you do something about your stats hack. You're trying to cram too much info into too small of a space.

Our Sponsors
 

Vladi_187
01-08-2006, 03:48 PM
What am i supposed to do to the stats hack? Someone told me to collapse it but im not sure about what that means...Also the stats module is turned off (inactive)

da prez
01-08-2006, 04:38 PM
if it is visble on the front page it isn't removed.

it may be off, but it is still messin with the width of your forum.

the collapse thing was to show you what it is doing.

on the red bands, on your forum, like the one that says "Main Forum",
if you look to the right end of that red band, you will see an arrow.
click that and it collapses the box.

it only does that for you, not for everyone, they have to collapse it themselves.

i suggested you collapse that stat box at the bottom so you could see how it throws your page out of whack.

you need to resize the stat box, or better yet, make it where it resizes with window, like the rest of the forum does.

collapsing the box was merely for troubleshooting purposes.

Our Sponsors
 

Vladi_187
01-08-2006, 05:28 PM
God. I realy realy dont get how to fix this problem. Can you give me screenshots or explain urself a bit more in detail..What everybodys saying, makes no sence to me! :confused:

da prez
01-08-2006, 05:41 PM
ain't gonna matter now you have your page at 100%

Vladi_187
01-08-2006, 05:44 PM
I know i just set it to that so it doesnt look messed up! Its back to 65% now

da prez
01-08-2006, 05:47 PM
okay give me a couple of minutes

Vladi_187
01-08-2006, 05:50 PM
Alright THANKS ALOT!

da prez
01-08-2006, 05:55 PM
hopefully this will clear a couple of things up for you.

scr1 is a shot of your forum with stat box open

scr2 is a shot with stat box collapsed

da prez
01-08-2006, 05:57 PM
do you see the difference in widths ?

the stat box is forcing the width out of whack.

Vladi_187
01-08-2006, 06:00 PM
So what could i do about this? Anyway i could resize it so it doesnt look messed but still serves its purpose?

da prez
01-08-2006, 06:02 PM
i don't have the stat hack so i have no idea where it is setup,
but if there is a way to adjust the size attribute that is what you have to do.

or you could remove it as the same effect can be achieved with various modules available here.

Vladi_187
01-08-2006, 06:04 PM
Anyway you could install it on ur site and test it out? and help me out?

da prez
01-08-2006, 06:08 PM
unfortunately i am gonna have to pass on that, i don't like installing stuff and then removing it.

but if the stats box is template controlled look in the template for a <width> tag,
if it is only a php file, look in it for <width> tag, it will take tweaking and that is best done by you.

somebody else may have it and comment here as well.

Vladi_187
01-08-2006, 06:12 PM
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[statistics] - <phrase 1="$displayrecords">$vbphrase[top_x]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar

$topXstats

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" align="center">

<form action="topXstats.php" method="post">
<input type="hidden" name="displayrecords" value="$displayrecords" />
<div class="fieldset" style="margin:0px">
$vbphrase[per_page]:
<input type="text" class="bginput" style="font-size:11px" name="displayrecords" value="$displayrecords" size="2" />
&nbsp; &nbsp;

<input type="submit" class="button" value="$vbphrase[display]" accesskey="s" />

</div>
</form>

</td>
</tr>
</table>

<br />


<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%">&nbsp;</td>
<td>$forumjump</td>
</tr>


How would i remove the 'newest memeber' table? I already removed some code but still parts of it show up..how could i fully remove it?

da prez
01-08-2006, 06:16 PM
this looks like a separate page, not that box at bottom.

in other words you'd be adjusting the wrong thing.

Vladi_187
01-08-2006, 06:18 PM
Thats the code from TOPXSTATS

Vladi_187
01-08-2006, 06:18 PM
There was also, topXstats_members_bit and i completly removed the code from it and www.gameonlock.com is what it looks like atm.

da prez
01-08-2006, 06:24 PM
what you have posted there is this page : http://gameonlock.com/topXstats.php

da prez
01-08-2006, 06:27 PM
some hacks have many templates, what is on the front page is a mini version of the page i just gave you link to.

you need to find the template for that in order to adjust just that.

Vladi_187
01-08-2006, 06:29 PM
Omg how do i change the width of it on the homepage or on http://gameonlock.com/topXstats.php cause if i cant change it i will take it off the home page and add a link to my navigation called 'Stats' and itll link to http://gameonlock.com/topXstats.php

Vladi_187
01-08-2006, 06:31 PM
Ok in edit templates theres 5 diffrent templates:

TOPXSTATS
topXstats_member_bit
topXstats_poster_bit
topXstats_stats_bit
topXstats_thread_bit

da prez
01-08-2006, 06:31 PM
the link would probably be best until you figure out how to resize it.

it might be a template, it might be php, it might be right in admincp, i really don't know, but go with the link till you have time to sort it.

Vladi_187
01-08-2006, 06:33 PM
And this is the .php file:

[file removed]

Vladi_187
01-08-2006, 06:33 PM
even if i go with the link i still need to change it cause as you can see its a bit too big there also.

da prez
01-08-2006, 06:41 PM
in the template you posted up there here is the table stuff.

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

see the width tag ?

work from there, but keep track of what ya change in case something goes wrong you can undo it.

Vladi_187
01-08-2006, 06:54 PM
Tried changing that, didnt work

Vladi_187
01-08-2006, 06:57 PM
Also how could i fix this? http://www.gameonlock.com/showthread.php?t=22 the code tag messes up the layout, how do i fix that? might as well ask here and not the vbulletin forums cause im getting quick responses.

da prez
01-08-2006, 07:08 PM
the code box is expanding the page too far.

when you want a narrow look it takes alot of tag editing.

making sure that everything will resize as it is supposed to.

Brian
01-09-2006, 09:32 PM
Please do not post entire files from other people's hacks like that.