View Full Version : Registration Rules Stretching
Lovemonk
Thu 30th Aug '07, 12:40pm
Hi everyone, how's it going?
You know when you go to resgister, the first thing you have to do is click yes to some rules? Well my rules page is stretching, and I don't want it to...
Take a look see. (http://www.media-live.co.uk/forums/register.php)
So yeah, that looks a bit still really. Does anyone know how I can fix this error?
Cheers!
Steve Machol
Thu 30th Aug '07, 3:50pm
Have you modified the forum_rules_description phrase at all? If not, this is most likely due to another modification.
First, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Version' in Diagnostics to make sure you have all the original files for your version:
Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions
Next, disable all plugins.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Then make this the default style.
Admin Control Panel -> vBulletin Options -> Style & Language Settings -> Default Style
Finally empty your browser cache, close all browser windows then try again. Do you have the same problem?
kiwilerner
Thu 30th Aug '07, 4:42pm
Hi Lovemonk. (I swear I'm not stalking you! Just seems like I know the answers to your issues, heh.)
I see the problem -- you've set a specific width for the "page" class of 900px. Since the rules are wrapped in a DIV that uses the page class, they're inheriting this width.
Easy fix though. In your style's Registration template category, open up register_rules and look for:
<div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>">
We want to add a specific width for this form -- for example, "width:625px;". So you can change the above to:
<div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px; width:625px; <if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>">
This should do the trick. Good luck! :)
Lovemonk
Thu 30th Aug '07, 4:56pm
kiwilerner, I had to trim it down to 600, but it worked a treat, cheers!
Steve, I did a diagnostics thing, and some files from the forum root say File version mismatch: found 3.6.7 PL1, expected 3.6.8. I then downloaded 3.6.8 again and uploaded the matching files....which then made it say File does not contain what was expected which made me worry. So I downloaded 3.6.7 and put them back so it says what it did at the beginning...again. Does that all sound okay? :D
Steve Machol
Thu 30th Aug '07, 7:30pm
That depends. Which version of vB are you running and which one shows up in the Admin CP?
Lovemonk
Fri 31st Aug '07, 5:39am
I'm running vb 3.6.8, and it says that in the adminc CP too.
Steve Machol
Fri 31st Aug '07, 1:16pm
You need to upload the 3.6.8 files.
Lovemonk
Fri 31st Aug '07, 4:47pm
I uploaded the vb3.6.8 files matching those that said "expected 3.6.8" in the diagnostics bit, but then it said not what was expected. Also, I upgraded from 7 to 8, so shouldn't it have all been automatically done?
Steve Machol
Fri 31st Aug '07, 6:50pm
What do the suspect file diagnostics show?
Lovemonk
Sat 1st Sep '07, 4:10pm
What do the suspect file diagnostics show?
Steve, I did a diagnostics thing, and some files from the forum root say File version mismatch: found 3.6.7 PL1, expected 3.6.8. I then downloaded 3.6.8 again and uploaded the matching files....which then made it say File does not contain what was expected which made me worry. So I downloaded 3.6.7 and put them back so it says what it did at the beginning...again. Does that all sound okay? :D
:cool:
Steve Machol
Sat 1st Sep '07, 5:10pm
Yes, I'm aware of what it said before. But based on post #8 I am asking what it says now.
Lovemonk
Sat 1st Sep '07, 5:44pm
Sorry, I didn't mean to imply you weren't aware. I did all that stuff, and it's now saying (for the root files)...
File version mismatch: found 3.6.7 PL1, expected 3.6.8
...except for arcade.php, and statistics.php, where it rightfully says they are recognized as a part of vBulletin.
Steve Machol
Sat 1st Sep '07, 5:46pm
That means that you have not uploaded the 3.6.8 files. You need to do that as per post #7.
Make sure that your FTP client is set to automaticallly overwrite the files.
Lovemonk
Sat 1st Sep '07, 6:09pm
But I did that before, and then it said the files weren't what was expected (in the diagnostics bit).
When I originally updated from .7 to .8, I uploaded all the new files as instruced, I know I did because ive checked the last altered dates on them.
I've uploaded the root files for .8 again. The diagnostics for those files now says...
File does not contain expected contents
I don't seem to be losing any functionality though. Should I run the upgrade system again?
Steve Machol
Sat 1st Sep '07, 6:51pm
This means the files are not being upoaded correctly. I suggets trying a different FTP program and making sure that you are uploading all non-iimage files in ASCII mode.
You will know that you have uploaded the files correctly when you no longer get those results.
Do not run the upgrade again since you have already upgraded to 3.6.8.
Lovemonk
Sun 2nd Sep '07, 1:03pm
I had a go at uploading it again and I made sure it was in ASCII mode but it still didn't change anything.
Steve Machol
Sun 2nd Sep '07, 1:39pm
Are you still getting 'File does not contain expected contents'?
If so, the files are either not being uploaded correctly or you are not overwriting the ones on the server.
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights