Go Back   Pictual Design Forums > Graphics > Tutorials
Top Posters Referers Register Members List Calendar Search Today's Posts Mark Forums Read

Tutorials Staged guides related to design, graphics and skinning.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-27-2006, 12:10 PM
Matthew Matthew is offline
Returning Member
Advanced Member (50+ posts)
 
Location: Manchester
Rep Power: 0
Matthew is off the scale
Default

Hi,

If you want to add more code to your forum than the 20,000 character limit of the board wrappers would normally allow, you may use the following method to host scripts externally and link to them instead.

Understand that every bit of code you add can slow down your forum or otherwise interfere with it's performance.


* These instructions assume that you're copying the code from a website or a post in a forum.
(If the code is in the form of a .js file, skip steps 1 & 2.)



Step 1


Copy and paste the code into notepad and then remove the script tags at the beginning and end, if there are any. (<script> or <script type="text/javascript"> etc. and </script>)

Step 2

Save it as a .js file.
When you go to save it, select "Save as" and not just "Save", and you'll see a dropdown box labeled "Save as type".
You'll need to choose "All files" in that box instead of .txt and then put in a name for the file in the box above, making sure to add .js to the end of it. (Example: script.js)

Step 3

Upload it either to your forum in a post or to a website and then copy its url. How you do that will depend on what site you upload it to. If you do it in a post on your forum, just go to your File Manager >> Attachments (View Uploads) and right-click the filename and copy the url from there.

Step 4

Put the following code in your board wrappers wherever the script is supposed to go, and replace the red part with the url of your uploaded .js file*:
Quote:

<script type="text/javascript" src="url of the script"></script>

Hope This Helps.

Regards
Matthew
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
www.189.us ? Make Your Needs Full Fill. spider Free Advertising 6 08-31-2006 06:44 AM
Full Sig Tut Skyte Resengard Tutorials 5 03-05-2006 11:15 AM
How to install an IF skin for your board. Toolbox123 Tutorials 2 01-14-2006 01:49 AM
Default Wrappers / Style Sheets / Images Bryan Tutorials 1 01-14-2006 01:48 AM
Full Sig Tutorial. (1st) err0r. Tutorials 2 12-17-2005 05:35 AM


All times are GMT -4. The time now is 01:44 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.