Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

My forum is so narrow

Asked Modified Viewed 1,621 times
X
xirus
X
xirus 10
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Junior Member

Hello guys :)

I am wondering how i can make the forum more width ( less "tiny" ) :P

If you see my forum: http://demo-call.com/forum/index.php then you will understand that i mean.



Edit: Nvm, just delete this, ive figured it out :P

Edit2: How can i make it so if people write a line which is very long.. that the forum changes it to new lines instead of one line?
Edited by Craig on 03-06-2011 02:01,
0 replies

7 posts

N
NetriX
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
answered
Senior Member

You confused me with the title for using the word "tight".

Thought you was doing some slang there, like "Yo, my forum is tight, check this out".

Excuse me, lol.

Anyways, as to answer Edit 2, I have a little hack that you can use to fix that.

http://www.phpfusionmods.com/forum/viewthread.php?thread_id=165

Tutorial in the forum there, follow it exactly and you'll not find any trouble.

Best,
NetriX
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

This is the wrong forum board for this topic.

Moved to Content Administration.
0 replies
X
xirus
X
xirus 10
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Oh sorry, i thought i was adding it to right section :/

and yes sorry for slangs :P

by the way, ive got another problem with my forum, when i try to use one of those bold, italic, underline, makes url clickable ( all those )

if i press them while ive targeded what i want to be ex: bolded then everything dissepares :/ how can i fix this?

Btw: Thanx for taking time to help me =)


and this:
function word_wrap_pass($message) {
   $maxChars = 70;
   $curCount = 0;
   $tempText = "";
   $finalText = "";
   $inTag = false;

   for ($num=0;$num<strlen($message);$num++) {
      $curChar = $message{$num};
      if ($curChar == "<") {
         $tempText .= "<";
         $inTag = true;
      } elseif ($inTag && $curChar == ">") {
         $tempText .= ">";
         $inTag = false;
      } elseif ($inTag)
         $tempText .= $curChar;
      elseif ($curChar == " ") {  // at this point, !$inTag is assumed.
         $finalText .= $tempText . " ";
         $tempText = "";
         $curCount = 0;
      } elseif ($curCount >= $maxChars) {
         $finalText .= $tempText . $curChar . " ";
         $tempText = "";
         $curCount = 0;
      } else {
         $tempText .= $curChar;
         $curCount++;
      }
   }

   return $finalText . $tempText;
}



what should i do with that? ive replaced what you said with
echo word_wrap_pass(nl2br($message));
Edited by xirus on 03-06-2011 02:43,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

BB Codes you mean you just have to edit your post and remove the tags something like [ b ].
0 replies
X
xirus
X
xirus 10
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Craig wrote:

BB Codes you mean you just have to edit your post and remove the tags something like [ b ].



Look if i press reply.. and write ex:


Hello bla bla bla


and i want Hello to be bold.. if i press the B (bold) button then my write board is being totaly blank ( everything that ive wrote is gone )

also if i try to write manually [ b ] Hello [ / b ] (without spaces)

ive get this error:


Fatal error: Call to undefined function word_wrap_pass() in C:\files\forum\viewthread.php on line 269


This is standing @ line 269 echo word_wrap_pass(nl2br($message));


( ive replaced the old one with the one Netrix told me to use )


here is a picture of the bbcode problem ive got now..
http://i55.tinypic.com/i3vte1.jpg
http://i51.tinypic.com/34q0ohx.jpg
Edited by Craig on 03-06-2011 03:04,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

What to do is create a new thread in System Admin forum as its another topic regarding BB Codes.
When you create your new thread please provide the version number of PHPFusion you are running and your site link so we can help you as efficiently as possible.
0 replies
X
xirus
X
xirus 10
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Junior Member

Alright, ive done it :) thnx for helping btw =)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
N
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
X
X
xirus 10
  • Junior Member, joined since
  • Contributed 19 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet