Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

BBCODE


  • Please log in to reply

#1
sweft

sweft

    Member

  • Member
  • PipPipPip
  • 123 posts
Hello.

Ok.. so in a forum (basic php, sql based forum with AdminCP) So we have BBCODE, right.. but when you hilight what you want and click on the button.. the bbcode goes to the bottom of the form and you need to move the [ b ] [ / b ] (spaced for example)

How can you fix that? So when you light lets say Hello and you want it bold (like it is..)

I cant figure it out. Anyone have a sample script or point me in the right direction?

Thanks in Advanced.
  • 0

Advertisements


#2
thenotch

thenotch

    Member

  • Retired Staff
  • 667 posts
The code for the forum package would need to be altered... a few forums do that (I believe phpBB2 is one of them)...

I don't have specifics on altering the code, but my suggestion would be to visit the support forums for the forum and inquire as to if their is a mod or hack to accomplish this.
  • 0

#3
sweft

sweft

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 123 posts
Well- their is no support forum because it was coded by a few buddys and I. Im still trying to figure it out. =X Thanks Nick!
  • 0

#4
BirdieUK

BirdieUK

    Member

  • Member
  • PipPip
  • 33 posts
Its the javascript function document.selection of which you can use to help add tags.

Example Code:

http://www.byteforum...itor.js?ver=121
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP