Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
stag
New Member
New Member



Joined: Jan 12, 2004
Posts: 22

PostPosted: Fri Apr 30, 2004 9:46 am Reply with quote

Hi,

I am wondering if someone can help me telling how to alter width in viewtopic.php. I am running phpnuke 6.5 with subsilver theme
 
View user's profile Send private message
jaded
Theme Guru



Joined: Nov 01, 2003
Posts: 1006

PostPosted: Fri Apr 30, 2004 10:33 am Reply with quote

please give me a bit more information on what exactly you are trying to do with your forum. Then I can assist you. Thanks Razz

_________________
Themes BB Skins [ Only registered users can see links on this board! Get registered or login! ]
Graphic Tees [ Only registered users can see links on this board! Get registered or login! ]
Paranormal Tees [ Only registered users can see links on this board! Get registered or login! ]
Ghost Stories & More [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website
stag







PostPosted: Fri Apr 30, 2004 10:44 am Reply with quote

Well, On this page itself you see the forum to be fitting nicely in the 800x600 browser page. I want to show the right blocks on this page of the forum where you see the actual post text. But my problem is that when i do that, the view goes beyond the width of 800x600 browser and the bottom scroll bar appears. So i want to alter the width of the viewtopic table to fit in. I tried several variavles in viewtopic php and tpl files but nothing helped. Please tell me what variable to tweak to alter the table size.

Thanks for the prompt response above.
 
jaded







PostPosted: Fri Apr 30, 2004 10:46 am Reply with quote

please open the forums on your site to all visitors for a little bit.. and give me the url so that i can see what is going on. Thanks Razz
 
stag







PostPosted: Fri Apr 30, 2004 10:56 am Reply with quote

thanks


Last edited by stag on Fri Apr 30, 2004 12:34 pm; edited 1 time in total 
jaded







PostPosted: Fri Apr 30, 2004 11:05 am Reply with quote

The problem is not with just the viewtopic. Your forums will stretch the page no matter what you do as long as you are showing both the right and left blocks. The forum will fit perfectly if you remove the right blocks.. In order to get a forum that will fit your theme without the stretching you would have to find a forum that is designed for a smaller width. I have never seen one. Everyfile of the forum would have to be adjusted to use it as is. That would be very time intensive. The images themselves might need to be modified if the are all not repeating. I will see if anyone else i know might have some ideas for you. I hope that you understand what i am saying. Good luck to you Razz
 
stag







PostPosted: Fri Apr 30, 2004 11:07 am Reply with quote

thanks
 
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Mon Sep 06, 2004 2:05 pm Reply with quote

I'm curious, what's the adjustment done to prevent forums from going off into neverland on your screen when someone either posts an out of bound quote, copy of code, etc..

I've noticed that this site prevents that by wrapping the text so it doesn't go off the screen. How is that accomplished exactly?

I've searched the forum by wrap text, etc... and can't find any mention of it, so I'm sorry if this has been asked before.

Thanks

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
jucks
New Member
New Member



Joined: Mar 24, 2006
Posts: 3

PostPosted: Fri Mar 24, 2006 6:25 am Reply with quote

and what if somone writes a long like like..

how come on my site it stretches the page??

also does anyone know how to edit the main forum index in phpnuke, i have played with the tpl files but if anything it only makes the index bigger inside the module, if u know what i mean.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Mar 24, 2006 9:22 am Reply with quote

Unfortunately that is the way HTML works.

What exactly are you trying to edit? You should start with the overall_header.tpl file

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
jucks







PostPosted: Fri Mar 24, 2006 6:17 pm Reply with quote

Sorry, il be more specific...
I run a clan website, [ Only registered users can see links on this board! Get registered or login! ] when you click on Forums in the menu, it displayes the forum index as the module, at a tidy size but i would like to make the forum index slightly wider on the page, also on some posts the page is very stretched and i need to use the bottom scroll bar, and on others its at a perfect size.. I have played about with overall header file, and the most i can do with regards to making the forum index wider is.. Make it wider inside the table, in php nuke.. I was wondering if it might have something to do with the php nuke module part of it? PS Thanks for a fast reply Regards, Jay.
 
evaders99







PostPosted: Fri Mar 24, 2006 11:21 pm Reply with quote

It looks like the only real width that is being controlled is in your theme header
Code:


<table class="bodyline" width="80%" border="0" cellspacing="0" cellpadding="0" align="center">


The other widths are set to 100% or they are the block width (width=170)
Changing the above width to 100% will expand to the width of the user's window.
 
jucks







PostPosted: Sat Mar 25, 2006 5:34 am Reply with quote

In which file is that code?
 
evaders99







PostPosted: Mon Mar 27, 2006 11:01 am Reply with quote

Your theme header - usually header.html or theme.php
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©