| Your banner here? |
FAQ


Q: I get the error 'Invalid usage' whenever someone trys to plug, why?
Make sure you put the correct path in the $path variable in config.php, follow the example provided, no http:// no www. and no slash at the end...for example the main Plugboard here at Plugboard.org is located at http://www.plugboard.org/board therefore the correct path to the index.php file is plugboard.org/board

Q: I would like to make my plugboard into a link dump as you have, how do I do that?
Download it for free here :)

Q: I really really want to use your script but my host doesn't support PHP/CHMOD...what can i do?
A. Sign up at Ripway and host it there, to get it on your site you'd just include it in an iframe...that way you still have total control over everything, unlike with the remotely hosted ones :)

Q: How do i edit/delete the buttons and stuff that have been plugged?
A: Grab plug.db.php from your server...then just edit or delete the offending entry and reupload.

Q: How do i ban IPs from using my Plugboard?
Open banned.php and add the IP you wish to ban here...

$blockip = array("1.1.1.1");

If you want to ban more than one IP simply seperate them with a comma...

$blockip = array("1.1.1.1, 2.2.2.2");

Then upload the file, plug.php automatically calls banned.php so that should be all you have to do.

Q: How do i block websites from plugging on my plugboard?
A: Open config.php and enter the URL(s) you want to ban, seperated by a comma, in the $blocked area. Make sure you just put the domain name, no http:// or www. infront example..

$blocked = Array('domain.com' , 'anotherdomain.com'); // These URLS are not allowed..

Q: When i click 'plug' it seems to work but then when the board refreshes the button is not added?
A: This usually is a CHMOD problem. Either your host does not support CHMOD, you did it wrong or you forgot to do it. Check this CHMOD tutorial if you need further help! Plugboards also have a tendancy to not work on sites hosted by ActiveWebHosting for reasons i'm not yet clear on.

Q: I get a 'failed to open stream' message when i install the script, whyyyyyyyy?
A: You forgot to upload whichever file the error message refers to or you uploaded it to the wrong place!

Q: I don't have a banned.php or config.php file?
A: You are running an older version of the script in that case, please download and install the newer version :)

Q: I want it to display in rows rather than just all in a line, how can i make it do that?
A: Open config.php and change the $tablewidth so it will fit the amount of buttons you want (+a few pixels to account for borders)
If you run the older version of the script you will also need to remove the <br> found in the following line

echo "<a href=http://$url target=_new title=$url><img src=$sitename border=0 width=88 height=31></a><br>\n";

Q: How do i make all the links open in a new window rather than the first one opening in a new window and the rest in the same window?
A: Target="_blank" is default on the newest version of the script so go download and install that :)
If for some strange reason you really don't want to then just open Plug.php, find
echo "<a href=http://$url target=_new title=$url><img src=$sitename border=0 width=88 height=31></a>
Change target=_new to target=_blank. Easy peasy huh?

Q: How do i center the board itself?
A: The board being aligned to the center is default on the newest version of the script so go download and install that :)
If for whatever reason you don't want to then just open Plug.php, find this TD tag
<td> HTML; $openfile = file("plug.db.php"); $total = count($openfile); for ($i=0; $i<$maxdata; $i++):
and add align="center" to it. The same method can also be used to align it left or right!

Q: Eeeew theres broken buttons with ugly borders on my plugboard since i deleted some, what did i do wrong?
A: Check all php files for 'white space'
Usually, after you have deleted something from plug.db.php you accidentally left some white space and that causes that to happen, find it and remove it and you should be good to go. White space includes any return or space bar hits.

Q: How come theres like 4 of your buttons already on it? No offense but i dont want them there.
A: They are there so you know the plugboards working and so you can see how it will look etc, again once those have been pushed off they are gone, they arent permanent except for the one at the bottom linking to plugboard.org and if you can work out how, you may remove that.

Q: Argh, i uploaded it and now it takes over my site, its like replaced my splash page :(
A: Thats why i suggest uploading into a folder, because the script includes a file called index.php it will often overwrite the existing index page you have. So solution one upload all the files into their own folder! Solution 2 if for some reason you totally have to have it uploaded to the root directory
1. Rename the index.php file to something else, such as plugboard.php
2. Open plug.php find the following line and change index.php to plugboard.php (or whatever you renamed the index to)...

echo "<script language=\"JavaScript\">window.location='index.php'</script>";

Q: May i remove the button to Plugboard.org?
A. Yes, i don't force people to credit me. However the button is direct linkable so you could just put it elsewhere, or give me a text link on a credits page or something instead...i don't force credit, but i like it :)

Q: I told it to display 8 buttons but it displays 10, errr?
If you left in the plugboard.org button that remains as the bottom button perminantly then that esentially counts as 1 as well...and the script has always been 1 off due to dodgy coding on my part so take another one off the number...so if you want it to display 8 buttons and you plan on leaving in the credit button to plugboard.org make the number 6.

If you have any questions or require further help on this tutorial please ask at Sway Forum where either myself or someone else will help you out. Any emails asking for help will be ignored.

Navigate

Site
About
Advertise - Banner
Advertise - Sticky
Toplist +
Fanlisting +
Link Us
Credits
Updates
Bookmark Us

+ = Opens in new window.
* = Last page updated.
Plugboard
Download
Tutorial
FAQ
Mailing List

Other
Plugging guide
Plug Site guide *
Plug Sites
Donate
Help me out
Contact
Clear



Rules

1. Wait until your plug has been pushed off the board before plugging again.
2. Buttons for the 88x31 plugboard must be 88x31 pixels in size exactly. Buttons for the 80x15 plugbaord must be 80x15 pixels in size exactly. Banners for the 468x60 plugboard must be 468x60 pixels in size exactly.
3. Make sure your host allows direct linking (plugboard).
4. No Porn sites, no 'Free ipod' sites or similar, no referral URLs and no Begging sites and no sites promoting illegal activity. (or any site an admin deems as inappropriate)
5. 'Chatting' on the Tagboard is not allowed, it is for site promotion only.
6. The Admin of Plugboard.org reserves the right to remove any plug for any reason, whether stated here or not.
7. Please visit some other plugged sites while you are here. It's how Plug sites work.

Tagboard
Link Dump
Advertisements

Affiliates


Apply?
Rotations

Extra

© Starlet 2004 - 2006.



Hot PHP Scripts
Dreamhost.com