| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Request Links #2 | |
|---|---|
| Tweet Topic Started: Jun 30 2011, 04:41 PM (618 Views) | |
| wilders | Jun 30 2011, 04:41 PM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
Board Address:Private Board Software:Zetaboard Description: I requested a code before that some images arent allowed on our forums is there a way to not allow sites that i didnt allow for avatars aswell ? the code was for the images and is working good : <script type='text/javascript'> var allowedimg = "imageshack" var images = new RegExp("\\[img\\]((?:.+?)(?:"+allowedimg+")(?:.+?))\\[\\/img\\]","gi"); $('.c_post,.c_sig,.portal_content').each(function(){ $(this).html($(this).html().replace(images, "<img src='$1' />")); }); </script> |
![]() |
|
| Quozzo | Jun 30 2011, 05:27 PM Post #2 |
|
By the blood of Sanguinius!
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
[edit] sorry, it was an epic fail >.< I'll do it for you tomorrow.
Edited by Quozzo, Jun 30 2011, 06:50 PM.
|
![]() |
|
| wilders | Jun 30 2011, 08:19 PM Post #3 |
|
Member
![]() ![]() ![]() ![]()
|
Haha ok didnt see the fail anyways
|
![]() |
|
| Reid | Jul 1 2011, 05:40 PM Post #4 |
![]()
È una trappola!
![]()
|
Try this in Admin CP -> Board Template -> Below the Board: I should note that this will disable people who have uploaded their avatar to the forum, unless you add in your server's IP address. |
![]() |
|
| wilders | Jul 1 2011, 07:28 PM Post #5 |
|
Member
![]() ![]() ![]() ![]()
|
It doesnt show any avatars lol even if i got them on the list ;/ also i tried adding the IP of our boards that doesnt work also :/ Edited by wilders, Jul 1 2011, 07:34 PM.
|
![]() |
|
| Cory | Jul 1 2011, 08:07 PM Post #6 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Please post the code you tried to use, using Reid's script, it blocked images uploaded on my board and allowed ImageShack ones. If you did not edit the script, please post your Board Template. |
![]() |
|
| wilders | Jul 1 2011, 08:36 PM Post #7 |
|
Member
![]() ![]() ![]() ![]()
|
I added my boards IP and it still blocked the image i did imageshack|87//.51//.25//.54 also tried without the / |
![]() |
|
| Cory | Jul 1 2011, 08:42 PM Post #8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try that instead. |
![]() |
|
| wilders | Jul 1 2011, 08:47 PM Post #9 |
|
Member
![]() ![]() ![]() ![]()
|
Working great! thanks again guys! also if they disable javascript will the images be visible or not |
![]() |
|
| Cory | Jul 1 2011, 08:51 PM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
All avatars will display when JavaScript is disabled. |
![]() |
|
| wilders | Jul 1 2011, 08:54 PM Post #11 |
|
Member
![]() ![]() ![]() ![]()
|
Kk Thanks ! Edit : If the site doesnt load fast you see the avatars :/ Edited by wilders, Jul 2 2011, 08:12 AM.
|
![]() |
|
| Cory | Jul 4 2011, 12:56 PM Post #12 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Make sure you are putting it above all other scripts so it will load the quickest. |
![]() |
|
| wilders | Jul 4 2011, 03:07 PM Post #13 |
|
Member
![]() ![]() ![]() ![]()
|
Kk thanks can be closed thanks alot <3 |
![]() |
|
| Roby-ZNR | Jul 4 2011, 10:19 PM Post #14 |
|
Efficacy
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:30 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)


didnt see the fail anyways 

8:30 PM Jul 10