Go Back   Pligg Forum > Pligg Help > Pligg Tutorials
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2008, 02:57 PM
chuckroast's Avatar
chuckroast chuckroast is online now
Pligg Developer
Pligg Version: 9.9
Pligg Template: Arbuckle
 
Join Date: Jun 2006
Location: PA
Posts: 1,987
Downloads: 47
Uploads: 15
Thanks: 143
Thanked 394 Times in 240 Posts
How to alert visitors using <NoScript>

This little script will alert users (that may be using the Firefox extension NoScript) that they need to disable it in order to participate properly in your Pligg site.

Place the following code in between </head> and <body> in your pligg.tpl file.
Code:
<noscript>     
<body scroll=no style="text-align: center"><center><table border="0" style="height: 100%; width: 100%; right: 1%; left: 1%; background: #F5E391;; position: fixed">
                                     <tr><td align="center">
<div style="position: fixed; font-size: 18px; z-index: 2; cursor: help; background: #F5E391; width: 480px; color: black; padding: 5px 5px 5px 5px; border: 1px solid; border-color: #000000; height: auto; text-align: left; left: 20%">
<span style="font: bold 20px Arial; color:#000000; background: #F5E391; vertical-align: middle">NO SCRIPT ERROR:</span><br> 
     Sorry this site will not function properly without the use of scripts.
     The scripts are safe and will not harm your computer in anyway. 
     Adjust your settings to allow scripts for this site and reload the site.</div> 
          </td></tr></table></center> 
</noscript>
Enjoy.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
The Following 3 Users Say Thank You to chuckroast For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 05-15-2008, 05:14 PM
graphicsguru's Avatar
graphicsguru graphicsguru is offline
Pligg Donor
Pligg Version: 9.9
 
Join Date: Aug 2006
Location: USA
Posts: 414
Downloads: 20
Uploads: 0
Thanks: 63
Thanked 47 Times in 36 Posts
thank you ;)
Reply With Quote
  #3 (permalink)  
Old 05-16-2008, 10:57 AM
graphicsguru's Avatar
graphicsguru graphicsguru is offline
Pligg Donor
Pligg Version: 9.9
 
Join Date: Aug 2006
Location: USA
Posts: 414
Downloads: 20
Uploads: 0
Thanks: 63
Thanked 47 Times in 36 Posts
Thanks again chuckroast I just installed your code seems to be just fine ;)
Reply With Quote
  #4 (permalink)  
Old 05-16-2008, 12:48 PM
chuckroast's Avatar
chuckroast chuckroast is online now
Pligg Developer
Pligg Version: 9.9
Pligg Template: Arbuckle
 
Join Date: Jun 2006
Location: PA
Posts: 1,987
Downloads: 47
Uploads: 15
Thanks: 143
Thanked 394 Times in 240 Posts
You're welcome. Glad you like it.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
Reply



Thread Tools
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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Visitors cannot sign up to my pligg site bcdxer General Help 11 01-08-2008 10:54 AM
vote error Alert stevegerard General Help 0 12-13-2007 08:19 AM
can I put codes, which calculate the number of site visitors, into my pligg? tomxiong Installation and Upgrade Help 4 09-29-2006 09:55 PM


LinkBacks Enabled by vBSEO 3.0.0