Jump to content

Search the Community

Showing results for tags 'vote'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 118 results

  1. J i m b o

    Vote Ron Paul

    [IMG]http://screensnapr.com/e/8qNbpX.png[/IMG]
  2. xDivinity

    ::vote command

    Hi everyone, i've added the vote command in my server and it wont load the link it just sits there. [CODE]if(playerCommand.startsWith("vote") && c.playerRights >= 3) { c.getPA().sendFrame126("http://google.com/toplist/details-37344-Turmoil_PK.html", 12000); }[/CODE] Thats the command server sided in commands.java I also just now added this in the jframe folder client sided because ::vote wasnt doing anything [CODE]if (cmd.equalsIgnoreCase("vote")) { openUpWebSite("http://google.com/toplist/details-37344-Turmoil_PK.html"); } [/CODE] And now my server won't even let me log in:( Ps. this is delta
  3. Starkzter

    Vote Error

    Ok So I was setting up Vote for cash on my webhost and when I go to the link it works but it shows me a few errors. I want to know how to disable or get rid of those errors or make it so you can't see them. [IMG]http://i1127.photobucket.com/albums/l635/CaMzGB/voteerror.png[/IMG] If you cant see them on there then go to this link: [url]http://www.evopk317.com/forums/vote.php[/url]
  4. Can any1 get me databases for that? i need to make a hiscores and vote4 cash working, already got server sided but now i need database for MySQL, can any1 make it and post it here? For hiscores, heres my hiscores saving file [CODE]package com.rs2hd; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import com.rs2hd.model.Player; import com.rs2hd.model.Skills; public class Hiscores { public static Connection con = null; public static Statement stmt; public static boolean connectionMade; public static void createConnection() { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection( "jdbc:mysql://localhost", "root", "####"); stmt = con.createStatement(); } catch (Exception e) { } } public static ResultSet query(String s) throws SQLException { try { if (s.toLowerCase().startsWith("select")) { ResultSet rs = stmt.executeQuery(s); return rs; } else { stmt.executeUpdate(s); } return null; } catch (Exception e) { destroyConnection(); } return null; } public static void destroyConnection() { try { stmt.close(); con.close(); } catch (Exception e) { } } public static boolean saveHighScore(Player player) { try { Statement st = con.createStatement(); Skills skills = player.getSkills(); int val2 = st.executeUpdate("DELETE FROM `hiscore` WHERE username = '"+player.getDisplayName()+"';"); int val = st.executeUpdate("INSERT INTO `hiscore` (`playerName`, `lvl`, `xp`, `rights`) VALUES ('"+player.getDisplayName()+"', '"+skills.getLevel(0)+" :"+skills.getLevel(1)+" :"+skills.getLevel(2)+" :"+skills.getLevel(3)+" :"+skills.getLevel(4)+" :"+skills.getLevel(5)+" :"+skills.getLevel(6)+" :"+skills.getLevel(7)+" :"+skills.getLevel(8)+" :"+skills.getLevel(9)+" :"+skills.getLevel(10)+" :"+skills.getLevel(11)+" :"+skills.getLevel(12)+" :"+skills.getLevel(13)+" :"+skills.getLevel(14)+" :"+skills.getLevel(15)+" :"+skills.getLevel(16)+" :"+skills.getLevel(17)+" :"+skills.getLevel(18)+" :"+skills.getLevel(19)+" :"+skills.getLevel(20)+" :"+skills.getLevel(22)+" :"+skills.getLevel(21)+" :"+skills.getLevel(23)+"', '"+skills.getXp(0)+" DefenceXP:"+skills.getXp(1)+" StrengthXP:"+skills.getXp(2)+" HitpointsXP:"+skills.getXp(3)+" RangedXP:"+skills.getXp(4)+" PrayerXP:"+skills.getXp(5)+" MagicXP:"+skills.getXp(6)+" CookingXP:"+skills.getXp(7)+" WoodcuttingXP:"+skills.getXp(8)+" FletchingXP:"+skills.getXp(9)+" FishingXP:"+skills.getXp(10)+" FiremakingXP:"+skills.getXp(11)+" CraftingXP:"+skills.getXp(12)+" SmithingXP:"+skills.getXp(13)+" MiningXP:"+skills.getXp(14)+" HerbloreXP:"+skills.getXp(15)+" AgilityXP:"+skills.getXp(16)+" ThievingXP:"+skills.getXp(17)+" SlayerXP:"+skills.getXp(18)+" FarmingXP:"+skills.getXp(19)+" RunecraftingXP:"+skills.getXp(20)+" ConstructionXP:"+skills.getXp(22)+" HunterXP:"+skills.getXp(21)+" SummoningXP:"+skills.getXp(23)+"', '"+player.getRights()+"');"); System.out.println("Inserting highscores done."); } catch (SQLException s){ System.out.println("SQL statement is not executed!"); } return true; } } [/CODE] And vote database heres my file: [CODE]package com.rs2hd.packethandler; import java.sql.*; import java.security.MessageDigest; public class MYSQL { public static Connection con = null; public static Statement stm; public static void createConnection() { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://localhost/vote_db", "root", "#####"); stm = con.createStatement(); } catch (Exception e) { e.printStackTrace(); } } public static ResultSet query(String s) throws SQLException { try { if (s.toLowerCase().startsWith("select")) { ResultSet rs = stm.executeQuery(s); return rs; } else { stm.executeUpdate(s); } return null; } catch (Exception e) { System.out.println("MySQL Error:"+s); e.printStackTrace(); } return null; } public static void destroyCon() { try { stm.close(); con.close(); } catch (Exception e) { e.printStackTrace(); } } public static boolean checkVotes(String playerName) { try { Statement statement = con.createStatement(); String query = "SELECT * FROM Votes WHERE username = '" + playerName + "'"; ResultSet results = statement.executeQuery(query); while(results.next()) { int recieved = results.getInt("recieved"); if(recieved == 0) { return true; } } } catch(SQLException e) { e.printStackTrace(); } return false; } public static boolean voteGiven(String playerName) { try { query("UPDATE Votes SET recieved = 1 WHERE username = '" + playerName + "'"); } catch (Exception e) { e.printStackTrace(); return false; } return true; } }[/CODE]
  5. Hi, This tutorial only works for 562 / 602 servers for example TkoScape, this is "how to add ::vote". Client Sided Open tf.java and search "if ((i_333_ ^ 0xffffffff) != -100) {". Add under, [CODE] if (!string_336_.equals("") && bm.a(string_336_, -122)) { kg.s = -1; return true; } [/CODE] The code, [CODE] if (string_337_.contains(":url:")) { String url = string_337_; string_337_ = "Opening: "+url.substring(6); client.launchURL(url.substring(6)); } [/CODE] Now open client.java and declare the LaunchURL method to make it open your URL. [CODE] public static void launchURL(String url) { String osName = System.getProperty("os.name"); try { if (osName.startsWith("Windows")) Runtime.getRuntime().exec( "rundll32 url.dll,FileProtocolHandler " + url); else { String[] browsers = { "firefox", "opera", "konqueror", "epiphany", "mozilla", "netscape" }; String browser = null; for (int count = 0; count < browsers.length && browser == null; count++) if (Runtime.getRuntime().exec( new String[] { "which", browsers[count] }) .waitFor() == 0) browser = browsers[count]; Runtime.getRuntime().exec(new String[] { browser, url }); } } catch (Exception e) { System.out.println( "Error in opening URL" + ":\n" + e.getLocalizedMessage()); } } [/CODE] Now add if this imports arn't delcared in client.java yet the code below, [CODE] import java.io.*; import java.net.*; [/CODE] Server Sided Open src > com > rs2hd > PacketHandler > CommandPacketHandler.java the command below, [CODE] if(cmd[0].equals("vote")) { player.sm(":url: http://www.rspscoding.org/toplist/vote.php?id=1"); } [/CODE] Open src > com > rs2hd > PacketHandler > CommandsPacketHandler.java the command below, [CODE] if(cmd[0].equals("::vote")) { player.sm(":url: http://www.rspscoding.org/toplist/vote.php?id=1"); } [/CODE] Now you are done, this is a easy conversation because I saw someone making a post for this for normal 562 earlier, posted this because I had this its easy altough at all . Credits, - Apache Ah64 Kind regards, Apache Ah64
  6. Hi, This is a auto voting tutorial without MySQL, every revision and calling back RsPsCoding to check if someone actuelly voted. I am not sad so this also works for the other communities. Server Sided 474 Server Sided [spoiler=474] Declare this code in src > server > model > players > client.java [CODE] public void checkVote(String playerName, String IP) { try { String urlString = "http://www.rspscoding.biz/check_vote/call_back.php?ip="+IP+"&id="+serverid+""; int serverid = 1; int vote_item = 995; int vote_item_amount = 20000000; urlString = urlString.replaceAll(" ", "_"); URL url = new URL(urlString); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String results = reader.readLine(); if(results.length() > 0) { if(results.equals(serverid) && checkVote2(playerName) == true) { c.getItems().addItem(vote_item, vote_item_amount); } else { c.sendMessage"Our system couldn't find your vote, you might not have voted yet."); } } } catch (MalformedURLException e) { System.out.println("Error checking a vote on RsPsCodig."); } catch (IOException e) { System.out.println("Error checking a vote on RsPsCodig."); } } public boolean checkVote2(String playerName) { try { String urlString = "http://www.domain.com/check_vote.php?username="+playerName+"&auth=JFHDJ484F"; urlString = urlString.replaceAll(" ", "_"); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String results = reader.readLine(); if(results.length() > 0) { If(results.equals("true")) { return true; } } } catch (MalformedURLException e) { //System.out.println("Error in vote check."); } catch (IOException e) { //System.out.println("Error in vote check."); } return false; } [/CODE] In src > server > model > players > packets > Commands.java add the following command "::claim / ::redeem". [CODE] if(playerCommand.equalsIgnoreCase("::redeem") || playerCommand.equalsIgnoreCase("::claim")) { c.checkVote(c.playerName, Server.playerHandler.players[c.playerId].connectedFrom); } [/CODE] [/spoiler] 562 Server Sided [spoiler=562] Declare this code in src > com > rs2hd > model > player.java. [CODE] public void checkVote(String playerName, String IP) { try { String urlString = "http://www.rspscoding.biz/check_vote/call_back.php?ip="+IP+"&id="+serverid+""; int serverid = 1; int vote_item = 995; int vote_item_amount = 20000000; urlString = urlString.replaceAll(" ", "_"); URL url = new URL(urlString); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String results = reader.readLine(); if(results.length() > 0) { if(results.equals(serverid) && checkVote2(playerName) == true) { getInventory().addItem(vote_item, vote_item_amount); } else { sm("Our system couldn't find your vote, you might not have voted yet."); } } } catch (MalformedURLException e) { System.out.println("Error checking a vote on RsPsCodig."); } catch (IOException e) { System.out.println("Error checking a vote on RsPsCodig."); } } public boolean checkVote2(String playerName) { try { String urlString = "http://www.domain.com/check_vote.php?username="+playerName+"&auth=JFHDJ484F"; urlString = urlString.replaceAll(" ", "_"); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String results = reader.readLine(); if(results.length() > 0) { If(results.equals("true")) { return true; } } } catch (MalformedURLException e) { //System.out.println("Error in vote check."); } catch (IOException e) { //System.out.println("Error in vote check."); } return false; } [/CODE] In src > com > rs2hd > PacketHandler > CommandsPacketHandler.java, add the following command "::claim / ::redeem". [CODE] if(cmd[0].equals("::redeem") || cmd[0].equals("::claim")) { player.checkVote(player.getUsername(), player.getSession().getRemoteAddress().toString().substring(1).split(":")[0]); } [/CODE] [/spoiler] If you do not have these imported server sided yet, declare these. [CODE] import java.net.*; import java.io.*; [/CODE] If you want to add this automaticly on logging in / relogging on welcome, you can use the code below. 474 Search in client.java > "public void initialize() {". [CODE] checkVote(c.playerName, Server.playerHandler.players[c.playerId].connectedFrom); [/CODE] 562 Search in ActionSender.java > "public void sendLogin() {". [CODE] player.checkVote(player.getUsername(), player.getSession().getRemoteAddress().toString().substring(1).split(":")[0]); [/CODE] Change the auth code to the auth code you add website sided and the server ID declared as "int serverid = 1;" to your own ID, for example is ID 1 "TkoScape". Change the domain name / path / url to yours, remember the action and username which are readed by the GET method in PHP need to be exactly correct. Wesite Sided Upload the files attached in the attachement of this message to your webhost, the files can be downloaded below. [url]http://uppit.com/mygujagt63se/RsPsCoding_Vote.rar[/url] Change the auth code website sided but also server sided, add the map "database" with the maps "vote" and "ip" in the map of your "vote.php" is uploaded in. If you cannot download the files you can read them below. If you have downloaded the files and changed the details server and website expecially in "vote.html" the RsPsCoding, RuneLocus and Rune-Server vote URL. vote.html [CODE] <html> <head> <title>Vote 4 Server Name</title> <script language="JavaScript"> var votes = 0; function vote1() { if(votes == 2) { document.getElementById('reward').value = 'Reward'; document.getElementById('form').action = 'vote.php?action=vote'; } votes++; document.getElementById('frame').src = 'http://www.rspscoding.org/toplist/vote.php?id=1'; } function vote2() { if(votes == 2) { document.getElementById('reward').value = 'Reward'; document.getElementById('form').action = 'vote.php?action=vote'; } votes++; document.getElementById('frame').src = 'http://www.runelocus.com/toplist/index.php?action=vote&id=29978'; } function vote3() { if(votes == 2) { document.getElementById('reward').value = 'Reward'; document.getElementById('form').action = 'vote.php?action=vote'; } votes++; document.getElementById('frame').src = 'http://www.rune-server.org/top.php?act=vote&sid=1602'; } </script> <style type="text/css"> body { font-family: calibri, tahoma, verdana, arial, sans-serif; background: #1b1b1b url(images/bg.gif); color: white; } </style> </head> <body> <br> <center><button style="height: 30px;" onclick="javascript:vote1();">RsPsCoding</button> <button style="height: 30px;" onclick="javascript:vote2();">RuneLocus</button> <button style="height: 30px;" onclick="javascript:vote3();">Rune-Server</button> <form method="post" action="disabled.html" id="form"> <div style="margin-right: 55px;"> <br> Username: <input style="height: 48px; width: 250px;" type="text" name="username" size="40"> <input style="height: 50px;" type="submit" id="reward" value="You didn't vote at all sites yet!"> </div> <br><br> <iframe id="frame" src="default.html" width="80%" height="75%"></center> </form> </body> </html> [/CODE] vote.php [CODE] <?php function vote($username, $today, $ip) { $username2 = str_replace(" ", "_", $username); $character = 'database/vote/'.$username2.'-'.$today.'.txt'; $ip2 = 'database/ip/'.$ip.'-'.$today.'.txt'; if (file_exists($ip2)) { die('<h2 style="color: #ff0000">You already voted or didn\'t claim your reward yet.'); } else { $handle = fopen($ip2, 'w') or die(); $ip3 = $username2; fwrite($handle, $ip3); } if (!file_exists($character)) { $handle = fopen($character, 'w') or die(); $vote = "true"; fwrite($handle, $vote); } else { echo '<h2 style="color: #ff0000">You already voted or didn\'t claim your reward yet.'; } } $action = $_GET['action']; $today = date("m-d-y"); $ip = $_SERVER['REMOTE_ADDR']; vote($_POST['username'], $today, $ip); ?> [/CODE] Create the map "database" and add the file "index.php" in this, change the path / url to your website. index.php [CODE] <?php header("Location: http://www.domain.com"); ?> [/CODE] default.html [CODE] <style> * { color: #ffffff; } </style> <br><br><br><br><br><br><br><br><center style="font-family: Arial;"><h1>Please click on the button RsPsCoding, RuneLocus or Rune-Server!</h1><br><h3>Copyright &copy; RsPsCoding - Call Vote Back Project.</h3></center> [/CODE] disabled.html [CODE] <html> <head> <title>Disabled, go back and vote</title> <style> * { font-family: Arial; } </style> </head> <body> <br><br> <h1 align="center">You didn't vote on all sites yet, go back and vote.</h1> </body> [/CODE] If you have questions on doing this you can post it in my PM or in this topic. [SIZE=5]If any errors occur please report them to me I wrote this out of my head without testing on 2:00 night.[/SIZE] This is especially made for RsPsCoding server purposes but also for RuneLocus and Rune-Server. Credits - Apache Ah64 Kind regards, Apache Ah64 - Founder of RsPsCoding
  7. Appears I've accidentally disabled a part of the proxy and already voted checking. I've solved the issue and reset the votes of all servers who seem to have abused this issue. I know the temptation in abusing instead of reporting this glitch is really big, which is why I will not ban any of the servers. Any complaint (including the private messages to me) from server owners believing their votes were legit will be ignored.
  8. EDIT for all you kids out there who don't shut up about "Someone else should be running it" IF an admin or mod posted this question.......................... Who all here says yes to one or more of the following.. 1. I own a Runescape Private Server. 2. I like to browse and ask questions on the Forum. 3. I post a lot. 4. I want lots of players on my server. 5. I want a nice "Server status image" for my SIGNATURE! I think a good idea for A server Status Image would to show the following... A. Server name. B. Server "up-time". C. Votes. D Players Online ( Probably not possible. But who knows. :] ) For anyone who agree's Just hit "yes" On the poll. For anyone who doesn't, Hit "no" Thanks for the support. Cart rsgp ballin z0mg beast* -Kyle :]
  9. [video=youtube;XXTZEePC3qA]http://www.youtube.com/watch?v=XXTZEePC3qA[/video]
  10. gtfo my waffle

    shops

    im trying to add a vote shop and i keep getting this error [quote] src\com\rs2hd\content\ShopHandler.java:164: cannot find symbol symbol : variable shopid location: class com.rs2hd.model.Player if(p.shopid == 47) { ^ 1 error Press any key to continue . . . [/quote] anyone know how to fix? :S EDIT: the ^ is pointing to the . after p
  11. mrpwnagecode

    ::vote

    in the server users can type ::vote and it will go the server's toplist vote page how would i make it open a new tab and go to this page on the webclient
  12. [IMG]http://i56.tinypic.com/33wlh0o.png[/IMG] out of any other 99 that i dont have which one should i get? and not herblore cuz... 10m bank (friend donated), no ones buying so imma increase value by getting another 99 [COLOR="#FF0000"][U]10 votes and ill do it[/U][/COLOR]! hunter -2 vote slayer - 4 vote dungeoneering - 7 vote runecrafting - 4 vote farming - 1 smithing - 1 agility - 1 fletching - 1 cooking - 1
  13. can some one help me make a vote for cash if so add me on facebook caleb yorkston
  14. [CODE]<?php ("MYSQL_HOST", "********"); ("MYSQL_USERNAME", "********"); ("MYSQL_PASSWORD", "********"); ("MYSQL_DATABASE", "********"); ("VOTE_URL", "http://www.runelocus.com/toplist/index.php?action=vote&id=25997"); ("VOTE_HOURS", 24); function connect(){ if ([email protected]_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD)) die("Could not connect to mysql database: " . mysql_error()); if ([email protected]_select_db(MYSQL_DATABASE)) die("Could not select mysql database: " . mysql_error()); $tables = mysql_list_tables(MYSQL_DATABASE); while (list($temp) = mysql_fetch_array($tables)) { if ($temp == "votes") { return; } } query ("CREATE TABLE `votes` ( `playerName` VARCHAR( 255 ) NOT NULL , `ip` VARCHAR( 255 ) NOT NULL, `time` BIGINT NOT NULL , `recieved` INT( 1 ) NOT NULL DEFAULT '0')");}/** * query(string query) this function is used to query the mysql database server. */function query($s){ $query = @mysql_query($s); if (!$query) die("Error running query('" . $s . "'): " . mysql_error()); return $query;}/** * anti_inject(string text) this function is used to make sure no injections can be made. */function anti_inject($sql){ $sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"), "", $sql); $sql = trim ($sql); $sql = strip_tags($sql); $sql = addslashes($sql); $sql = strtolower($sql); return $sql;}/** * clean_request(int timestamp, string username) this function is used to delete any entries if they have already expired. */function clean_request($time, $username){ $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) > 0) { $row = mysql_fetch_array($query); $timerequested = $row['time']; if ($time - $timerequested > VOTE_HOURS * 3600) query("DELETE FROM `votes` WHERE time='" . $timerequested . "'"); }}/** * vote_entries(string ip) this function is used return the number of rows within the table */function vote_entries($ip){ $query = query("SELECT * FROM `votes` WHERE ip='" . $ip . "'"); return mysql_num_rows($query);}/** * This is the actual working of the script please do not touch anything below if you do not know what you are doing... */if (isset($_POST['submit']) || isset($_GET['username']) && isset($_GET['type'])) { connect(); if ($_POST['submit']) { if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errno, $errstr, 1)) die("Sorry but you have port 80 open, this is to stop voting by proxy address."); if(isset($_COOKIE['voted'])) die("Sorry but it looks like you have already voted..."); $username = anti_inject($_POST['username']); $ip = gethostbyaddr($_SERVER['REMOTE_ADDR']); clean_request(time(), $username); if (vote_entries($ip) == 0) { setcookie ("voted", "yes", VOTE_HOURS * 3600); query("INSERT INTO `votes` (`playerName`, `ip`, `time`) VALUES ('" . $username . "', '" . $ip . "', '" . time() . "')"); header ("Location: " . VOTE_URL . ""); } else { die("You have already voted once today."); } } elseif ($_GET['type'] == "checkvote") { $username = anti_inject($_GET['username']); $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) == 1) { $results = mysql_fetch_array($query); if ($results['recieved'] == 0) { query("UPDATE `votes` SET `recieved`='1' WHERE `playerName`='" . $username . "'"); die("user needs reward..."); } else { die("user been given reward..."); } } else { die("Vote not found... ". $username ."."); } }}?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Vote for a reward!</title></head><body><div align="center" style="color:#00F"><h2>Vote for a reward!</h3></div><table align="center"><form action="vote.php" method="post"> <tr> <td align="right">Username: </td> <td><input name="username" type="text" /></td> </tr> <tr> <td> </td> <td align="center"><input type="submit" name="submit" value="Vote now" /></td> </tr></form></table></body></html>[/CODE] it says: PHP Error Message Parse error: syntax error, unexpected ',' in /home/a4818815/public_html/vote.php on line 1
  15. hey i was wondering if a few people would vote for me on revolutionX i would really appreciate my in-game name is jokerman004;) [url]http://www.revolutionxpk.org/vote.php[/url]
  16. Hi, ive been trying to add a popup message to my smf forums and it just isnt working. Do you have any idea's why? [CODE]<!-- Vote Popup --> <div id="bgbtm"> <script type="text/javascript"><!-- function getInternetExplorerVersion() // Returns the version of Internet Explorer or a -1 // (indicating the 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 = parseFloat( RegExp.$1 ); } return rv; } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = 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("Please vote next time!"); }; function hide_voted_popup() { createCookie('sgvote6','yes','1440'); document.getElementById('vote_popup').style.display = "none"; document.getElementById('vote_popup').innerHTML = ""; alert("Thx 4 voting, Click OK to continue!!!"); }; // --></script> <div id="vote_popup" style="background: transparent url(http://img197.imageshack.us/img197/4172/transa.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: 100px; width: 470px; margin-left: auto; margin-right: auto; display: block; background-color: "><span style="color: white; font-size: medium;"> </span> <span style="color: white; font-size: large;"><strong>Vote 4 RuneVue</strong> </span> <br> <br> <span style="color: red; font-size: small;"></span> <p><a onclick="hide_voted_popup();" href="http://www.runelocus.com/status/details-25525-RuneVue_562_loading_602.html" target="_new"> <img style="border-color:" title="SERVERNAME_vote" src="http://img851.imageshack.us/img851/1982/f1574a23a88b459495a9d8e.png" border="0" alt="" /> </a><br /> <br /><span onclick="hide_vote_popup();"> <span style="cursor: pointer; font-family: Tahoma; font-size: x-small;"> <span style="font-size: xsmall;">Remind me to vote tomorrow</span> </span> </span></p> <p><span> <span style="cursor: pointer; font-family: Tahoma; font-size: x-small;"> <span style="font-size: xxsmall;"> <a href="javascript:bookmark('RuneVue - The #1 RSPS', 'runevue.net63.net')">Bookmark RuneVue</a> </span> </span> </span></p> </div> </div> </div> </div> </div> <script type="text/javascript"> function bookmark(title, url) { if (window.sidebar) // for firefox window.sidebar.addPanel(title, url, ""); else if (window.opera && window.print) { // supports opera var elem = document.createElement('a'); elem.setAttribute('href', url); elem.setAttribute('title', title); elem.setAttribute('rel', 'sidebar'); elem.click(); } else if (document.all)// ie support window.external.AddFavorite(url, title); } </script> </center> <div class="spacer"></div> <div class="spacer"></div> <!-- breadcrumb, login, pm info --> <table class="vb_navbar" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"> <div class="smallfont" style="font-size:10pt"></div></td> <td class="alt2" nowrap="nowrap" style="padding:0px">[/CODE]
  17. i want this: [IMG]http://i54.tinypic.com/2nvqzgz.png[/IMG] ( near reality has it.. ) i got this: [IMG]http://i52.tinypic.com/2mpgaa1.jpg[/IMG] how i add new thing there?? sorry for bad english..
  18. This is a 3-Way Battle between SWED, Seth, and Divine. Entries SWED: Awaiting Entry Seth: Awaiting Entry Divine: Awaiting Entry Poll coming after entries are completed. (Do NOT vote yet)
×