Author Topic: Ways to post code and links on new boards.  (Read 1335 times)

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Ways to post code and links on new boards.
« on: July 19, 2010, 10:53:39 pm »


               With the inability to post code boxes on the forums, I thought it would be a good Idea for us to start shairing our ideas and methods for how to use this forum. 

Here are a few Ides. First is links to the old board.  This may cause a problem If the URL's change once it is archived. 

Posting to a single post on the old boards 

It is possiable to post a lintk to a single post on the old boards.  The problem in this is that you have to have the post #.  with the closeing of the foruns the post number is no longer as easy to get.  We can still git it however if there is a code block in the post.  Here is the method to link to a songle post if it has a code block in the post. 

Go to the post on the boards.  copy paste the url somewhere.  example;  The url of the second page of home brew functions is:

http://nwn.bioware.c...&forum=47&sp=15 


Next click on the link to view the post code in the post.  Here is the url form one on that page. 

http://nwn.bioware.c...ml?post=2005871

at the end of this second url is out post Number.  What we want to do is add  it to the end of the first url with an ampersand and change the viewtopic to viewpost.   

and you end up with this:
http://nwn.bioware.c...15&post=2005871


Use of BBC 
object oPC= GetFirstPC();
while (GetIsObjectValid(oPC))
{
if (GetArea(oPC)==oArea) return TRUE;
}
return FALSE;
[/list] }

How you ask ?

In a text editor or the script editor use the find and replace text option. 

Find all the '{' and replace with '{<list] '  using [ instead of the < of course.
then find all '}' and replace with ' </List] }' again useing the square braces in place of the <
then copy and past and you are good to go.
Again it does help if you do not have spaces at the start of the lines when you start.
If you hit the Quote button on this post you can look at the BBC code in the Quote box.  
               
               

               


                     Modifié par Lightfoot8, 19 juillet 2010 - 10:35 .
                     
                  


            

Legacy_Genisys

  • Hero Member
  • *****
  • Posts: 961
  • Karma: +0/-0
Ways to post code and links on new boards.
« Reply #1 on: July 19, 2010, 11:03:17 pm »


               Sorry, ignore me...

btw, what is the BBCode button for?  & the Insert/Edit LInk button for?
               
               

               


                     Modifié par Genisys, 19 juillet 2010 - 10:06 .
                     
                  


            

Legacy_ElgarL

  • Full Member
  • ***
  • Posts: 128
  • Karma: +0/-0
Ways to post code and links on new boards.
« Reply #2 on: July 19, 2010, 11:22:31 pm »


               bbcode is currently ignored by the forums (this is outside bbc)

bbcode is currently ignored by the forums  (this is in bbc)

               
               

               


                     Modifié par ElgarL, 19 juillet 2010 - 10:24 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Ways to post code and links on new boards.
« Reply #3 on: July 19, 2010, 11:39:50 pm »


               The board is still taking BBC code.  For exsample the use of the BBC list in the in my edited first thread. 

The colors also work but not by the button

//comments

This was done with the color = red  text here /color  wit the bold part there inclosed in the square brackets. 

and color = green  

I have not tested any of the other BBC code yet.  I have so far found the  BBCode button useless. unless except for changing the code already in the window back into BBC code.

EDIT: warrning If you edit a post the BBC come may go bye bye and leave the post of its own free will.
 
click the BBCode button to many times and it goes bye bye also.
               
               

               


                     Modifié par Lightfoot8, 19 juillet 2010 - 10:48 .