Call of Duty WW2
CAG Clan Forums Check In CAG on Facebook CAG on Twitter CAG YouTube CAG RSS Feed
+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Top100Clans.com Vote Pop Up

Give your feedback on our site here ! You can also discuss or report errors on our website here. Post your sigs, logos and other art you might have here as well !!

  1. #1
    Division:
    [XBOX 1, XBOX 360]
    CAG Stud
    CAG CheechDogg's Avatar
    Rep Points: 670938
    Rep Power: 11153
    This member is currently
    Offline
    Local Date
    November 15th, 2024
    Local Time
    11:48 PM
    Location
    Riverside California
    Leader and Founder of CAG

    Top100Clans.com Vote Pop Up


    Hello everyone and welcome to our website.

    Other Clans on top100clans.com have asked if I would be willing to share the script for the vote popup we have here on our site.

    NOTE ! Make sure you change the areas for the different URLS to match yours !
    Here it is:
    PHP Code:
    <!-- Vote Popup -->
    <
    div id="bgbtm">
    <
    script type="text/javascript">// <=!=[=C=D=A=T=A=[
    function getInternetExplorerVersion()
    // Returns the version of Internet Explorer or a -1
    // (indicating te use of another browser).
    {
      var 
    rv = -1// Return value assumes failure.
      
    if (navigator.appName == 'Microsoft Internet Explorer')
      {
        var 
    ua navigator.userAgent;
        var 
    re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
        if (
    re.exec(ua) != null)
          
    rv parseFloatRegExp.$);
      }
      return 
    rv;
    }

    function 
    readCookie(name) {
        var 
    nameEQ name "=";
        var 
    ca document.cookie.split(';');
        for(var 
    i=0;ca.length;i++) {
            var 
    ca[i];
            while (
    c.charAt(0)==' 'c.substring(1,c.length);
            if (
    c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
        }
        return 
    null;
    }

    function 
    createCookie(name,value,min) {
        if (
    min) {
            var 
    date = new Date();
            
    date.setTime(date.getTime()+(min*60*1000));
            var 
    expires "; expires="+date.toGMTString();
        }
        else var 
    expires "";
        
    document.cookie name+"="+value+expires+"; path=/";
    }


    window.onload = function vote_popup() {

        var 
    ver getInternetExplorerVersion();
        if(
    navigator.appName == 'Microsoft Internet Explorer' && ver 7.0)
        {
        return;
        }

        
    sgvote6 readCookie('sgvote6');

        if (
    sgvote6 == null) {
            
    document.getElementById('vote_popup').style.display "block";
        }

    }

    function 
    hide_vote_popup() {
        
    createCookie('sgvote6','yes','1440');
        
    document.getElementById('vote_popup').style.display "none";
        
    document.getElementById('vote_popup').innerHTML "";
            
    alert("We will remind you again!");
    };
    function 
    hide_voted_popup() {
        
    createCookie('sgvote6','yes','1440');
        
    document.getElementById('vote_popup').style.display "none";
        
    document.getElementById('vote_popup').innerHTML "";
            
    alert("Thank you for Voting!");
    };
    // ]=]=></script>
    <div id="vote_popup" style="background: transparent url(http://img212.imageshack.us/img212/9130/transbgiw4.png) repeat scroll 0% 0%; width: 100%; height: 100%; position: fixed; left: 0px; right: 0px; top: 0px; bottom: 0px; color: #f0f0f0; font-size: 9px; text-align: center; z-index: 99999; display: none;">
    <
    div style="margin-top: 300px; width: 798px; margin-left: auto; margin-right: auto; display: block;"><span style="color: white; font-size: medium;"> </span> <span style="color: white; font-size: large;"><strong>DON'T FORGET TO VOTE FOR YOUR CLAN !! CLICK ON BANNER BELOW TO VOTE !</strong> </span>  
    <p><a href="http://www.top100clans.com/index.php?a=in&u=YOUR USERNAME HERE" target="_new" onclick="hide_voted_popup();"> <img src="http://www.YOURDOMAIN.com/YOUR/IMAGE/PATH.jpg" border="0" title="Click to vote for YOUR CLAN HERE !" width="728" height="90" style="border-color:" /> </a> <span onclick="hide_vote_popup();"> <span style="cursor: pointer; font-family: Tahoma; font-size: medium;"> <span style="font-size: medium;">CLICK HERE TO SKIP VOTING !</span> </span> </span></p>
    </div>
    </div>
    </div> 


    If you guys have any questions or need help adding this script to your site you may post your questions here.
    cag clan cheechdogg

    CAG Dogg Level: 72 [?]
    Experience: 284,904,567
    Next Level: 305,690,101


  2. The Following 4 Users Said Fucking Hell Yeah ! to CAG CheechDogg For This Fucking Post:

    Atop Doc42 (December 11th, 2012),GypsyOutlaw (September 22nd, 2013),likethegun (December 6th, 2012),Supererick (March 8th, 2016)

  3. #2
    Atop Doc42's Avatar
    Rep Points: 60
    Rep Power: 0
    This member is currently
    Offline
    Local Date
    November 16th, 2024
    Local Time
    01:48 AM

    Thanks CheechDogg for the pop up code. Maybe it will help some of our members get off their lazy butt and vote.

    Awesome website you got.

    {Atop Doc42} Doug
    atopgamers.com

    CAG Dogg Level: 14 [?]
    Experience: 4,358
    Next Level: 5,517


  4. The Following 2 Users Said Fucking Hell Yeah ! to Atop Doc42 For This Fucking Post:

    CAG CheechDogg (December 11th, 2012),GypsyOutlaw (September 22nd, 2013)

  5. #3
    Division:
    [XBOX 1, XBOX 360]
    CAG Stud
    CAG CheechDogg's Avatar
    Rep Points: 670938
    Rep Power: 11153
    This member is currently
    Offline
    Local Date
    November 15th, 2024
    Local Time
    11:48 PM
    Location
    Riverside California
    Leader and Founder of CAG

    Quote Originally Posted by Atop Doc42 View Post
    Thanks CheechDogg for the pop up code. Maybe it will help some of our members get off their lazy butt and vote.

    Awesome website you got.

    {Atop Doc42} Doug
    atopgamers.com

    Hey Doc, you are welcomed buddy. Hoe it works out for you, it just reminds people that hey you should vote if you want to.

    And thank you fro the compliment, I work hard on this site all the time.
    cag clan cheechdogg

    CAG Dogg Level: 72 [?]
    Experience: 284,904,567
    Next Level: 305,690,101


  6. The Following User Says Fucking Hell Yeah ! to CAG CheechDogg For This Fucking Post:

    GypsyOutlaw (September 22nd, 2013)

  7. #4
    Division:
    [XBOX 1, XBOX 360]
    CAG Stud
    CAG CheechDogg's Avatar
    Rep Points: 670938
    Rep Power: 11153
    This member is currently
    Offline
    Local Date
    November 15th, 2024
    Local Time
    11:48 PM
    Location
    Riverside California
    Leader and Founder of CAG

    By the way, if you ever want a custom website and want to get away from enjin's restrictions and high prices let me know. I can build you a custom website where you have full and complete freedom to do what you want with it.

    I know enjin charges some ridiculous prices like 29 per month and you really don't own your site. I am pretty fair with prices and can give you a good deal.
    cag clan cheechdogg

    CAG Dogg Level: 72 [?]
    Experience: 284,904,567
    Next Level: 305,690,101


  8. The Following User Says Fucking Hell Yeah ! to CAG CheechDogg For This Fucking Post:

    GypsyOutlaw (September 22nd, 2013)

  9. #5
    Jones's Avatar
    Rep Points: 35
    Rep Power: 0
    This member is currently
    Offline
    Local Date
    November 15th, 2024
    Local Time
    11:48 PM
    Location
    Cali......

    Hey Mang great site I am one of the 3 Founders of Inviictus Gaming I copied your link for the pop up but I am clueless on how to get it placed correctly. Also I might have to take you up on the website design us knuckle draggin Marines are good at most things but when it comes to this trash I am alittle behind the curve....any help would be awesome thanks

    CAG Dogg Level: 14 [?]
    Experience: 4,077
    Next Level: 5,517


  10. The Following User Says Fucking Hell Yeah ! to Jones For This Fucking Post:

    CAG CheechDogg (September 18th, 2013)

  11. #6
    Division:
    [XBOX 1, XBOX 360]
    CAG Stud
    CAG CheechDogg's Avatar
    Rep Points: 670938
    Rep Power: 11153
    This member is currently
    Offline
    Local Date
    November 15th, 2024
    Local Time
    11:48 PM
    Location
    Riverside California
    Leader and Founder of CAG

    Hey Jones welcome to our site Bro, when you get a chance you can chat with me on the chat bar below towards the footer.
    cag clan cheechdogg

    CAG Dogg Level: 72 [?]
    Experience: 284,904,567
    Next Level: 305,690,101


  12. #7
    GypsyOutlaw's Avatar
    Rep Points: 222306
    Rep Power: 0
    This member is currently
    Offline
    Local Date
    November 16th, 2024
    Local Time
    02:48 AM
    Location
    North Carolina
    I was a Bitch and got Banned

    This is awesome Cheech not many people would share thier stuff like this exspecially with another clan bro.... props

    CAG Dogg Level: 54 [?]
    Experience: 21,132,731
    Next Level: 22,308,442


  13. The Following 2 Users Said Fucking Hell Yeah ! to GypsyOutlaw For This Fucking Post:

    CAG CheechDogg (September 22nd, 2013),hydroracer65r (September 25th, 2013)

  14. #8
    Division:
    [XBOX 1, XBOX 360]
    CAG Stud
    CAG CheechDogg's Avatar
    Rep Points: 670938
    Rep Power: 11153
    This member is currently
    Offline
    Local Date
    November 15th, 2024
    Local Time
    11:48 PM
    Location
    Riverside California
    Leader and Founder of CAG

    Thanks Gypsy, I figure if everyone has what we have then they really can't say we are cheating...I posted this because another clan on top100 was accusing us of cheating ....
    cag clan cheechdogg

    CAG Dogg Level: 72 [?]
    Experience: 284,904,567
    Next Level: 305,690,101


  15. The Following 2 Users Said Fucking Hell Yeah ! to CAG CheechDogg For This Fucking Post:

    hydroracer65r (September 25th, 2013),PATRON (September 22nd, 2013)

  16. #9
    Division:
    [XBOX 1, XBOX 360]
    CAG Stud
    CAG CheechDogg's Avatar
    Rep Points: 670938
    Rep Power: 11153
    This member is currently
    Offline
    Local Date
    November 15th, 2024
    Local Time
    11:48 PM
    Location
    Riverside California
    Leader and Founder of CAG

    New month just started everyone! ...lets get our votes in!

    Sent from my SAMSUNG-SM-N900A using Tapatalk
    cag clan cheechdogg

    CAG Dogg Level: 72 [?]
    Experience: 284,904,567
    Next Level: 305,690,101


  17. The Following User Says Fucking Hell Yeah ! to CAG CheechDogg For This Fucking Post:

    Kujeaux (April 30th, 2014)

  18. #10
    CAG Stud
    SprayAim's Avatar
    Rep Points: 150
    Rep Power: 0
    This member is currently
    Offline
    Local Date
    November 16th, 2024
    Local Time
    07:48 AM
    Location
    Scarborough, England
    I was a Bitch and got Banned

    Quote Originally Posted by CAG CheechDogg View Post
    By the way, if you ever want a custom website and want to get away from enjin's restrictions and high prices let me know. I can build you a custom website where you have full and complete freedom to do what you want with it.

    I know enjin charges some ridiculous prices like 29 per month and you really don't own your site. I am pretty fair with prices and can give you a good deal.
    I used enjin when I went through a brief spell of setting up a small clan, it's easy to use sure but has huge drawbacks


    Sent from Dr Evils hideout while using tapatalk

    CAG Dogg Level: 53 [?]
    Experience: 17,917,920
    Next Level: 19,059,430


+ Post New Thread
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




About CAGCLAN.com

    CAGCLAN.com Is The Official Site Of The CAG Clan And Its Gaming Community With Discussion Forums For The Casual And Hardcore Gamer!

The #1 Clan Is Secured By:

CAGCLAN.com is Secured by Comodo