[Release] Voting Reward Script menu

User Tag List

Page 10 of 12 FirstFirst ... 6789101112 LastLast
Results 136 to 150 of 179
  1. #136
    powerbar's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All this does for me is redirect me to the index

    Will rep if you can help

    [Release] Voting Reward Script
  2. #137
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Will help if you shed more light on your problem. Did you follow my instructions to the letter?

  3. #138
    powerbar's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I changed all the database info, i changed the votegateway to my voting url, I added this to its own page, so i made it action= vote.php instead of index.php. But all it does is reloads the page.

    <?php
    $user="my database username";
    $password="My database password";
    $database="cr"; //Char+login DB

    $nochar=false;
    $voted=false;
    $disp = true;
    if(($_COOKIE['vote']) != '1')
    {
    if(!empty($_POST['name']))
    {
    mysql_connect(localhost,$user,$password);
    @mysql_select_db($database) or die( "Unable to select database");
    $name = strtolower(mysql_real_escape_string($_POST['name']));
    $today = date("mdHi");
    $query="SELECT * FROM characters WHERE name='$name' LIMIT 1";
    $result = mysql_query($query);
    if($row = mysql_fetch_array($result))
    {
    $guid = $row['guid'];
    $acct = $row['acct'];
    $res = mysql_query("SELECT * FROM votewatch WHERE acct='$acct' LIMIT 1");
    if($r2 = mysql_fetch_array($res))
    {
    $ct = $r2['ctime'];
    if($today-$ct < 1200)
    {
    $disp = false;
    mysql_close();
    return;
    }
    else
    {
    mysql_query("DELETE FROM votewatch WHERE acct='$acct' LIMIT 1");
    }
    }
    $reward = mysql_real_escape_string($_POST['reward']);
    if($reward == 0)
    {
    mysql_query("INSERT INTO mailbox_insert_queue(sender_guid, receiver_guid, subject, body, stationary, money, item_id, item_stack) VALUES ($guid, $guid, 'Thank you for voting!', 'Have this item as a reward', 0, 100000, 0, 1)");
    }
    else
    {
    mysql_query("INSERT INTO mailbox_insert_queue(sender_guid, receiver_guid, subject, body, stationary, money, item_id, item_stack) VALUES ($guid, $guid, 'Thank you for voting!', 'Have this item as a reward', 0, 0, $reward, 1)");
    }
    mysql_query("INSERT INTO votewatch(acct, ctime) VALUES($acct, $today)");
    $voted = true;
    }
    else
    {
    $nochar = true;
    }
    mysql_close();
    }
    }
    else
    {
    $disp = false;
    }

    ?>
    <div id='container' style='-moz-user-select: none; -khtml-user-select: none; user-select: none; cursor:default; padding-bottom:5px; width:320px; border: 4px double red; position: absolute; top:20px; left:20px; background-color:black; color:white;'>
    <div id='header' style='font-family: Arial; margin-bottom: 0.5em; border-bottom: 1px solid red; text-align: center; background-color:gray; color:#ffffff'>
    Please vote for our server!
    <span align='right' style='position:absolute; left: 305px; text-align: right;'>
    <a href='javascript:void();' style='font-size:10px; color:white; text-decoration:none;' onclick='javascript:document.getElementById("container").style.display="none";'>
    [X]
    </a>
    </span>
    </div>
    <div id='text' style='padding: 5px; padding-left: 7px; font-size: 12px; border-bottom: 1px solid red;'>
    Voting for our server helps us grow and evolve,
    and eventually become better than before.
    You can vote once every 12 hours, and you'll get a reward for doing so!
    </div>
    <form style='text-align: center; margin-bottom: 2px; margin-top: 5px;' method='post' action='index.html'>
    <div style='font-size: 12px; valign:center;'>
    Character Name:&nbsp;&nbsp;

    <input type='text' name='name' style='font-size: 12px; width: 80px; background-color: black; color: white; border: 1px solid red;' />
    <input type='submit' style='font-size: 12px; position:relative; top:1px; color:white; height: 17px; border:1px solid red; background-color:black;' value='Vote!' />
    </div>
    <div style='font-size: 12px; valign:center; margin-top: 5px; padding-top: 3px;'>
    Choose a reward:&nbsp;&nbsp;
    <select name='reward' style='background-color: black; color: white; font-family: Arial; font-size: 12px; border: 1px solid red; height: 17px; font-size: 10px;'>
    <option value='0'>10 Gold</option>
    <option value='27498'>Scroll of Agility V</option>
    <option value='27499'>Scroll of Intellect V</option>
    <option value='27500'>Scroll of Protection V</option>
    <option value='27501'>Scroll of Spirit V</option>
    <option value='27502'>Scroll of Stamina V</option>
    <option value='27503'>Scroll of Strength V</option>
    </select>
    </div>
    <?php
    if($nochar)
    {
    echo "<br /><span style='font-size: 12px; color: black; background-colorink; padding: 3px; position: relative; top: -8px; border: 1px solid red;'>A character with that name was not found</span>";
    }
    if($voted)
    {
    echo "<br /><span style='font-size: 12px; color: white; background-color:black; padding: 3px; position: relative; top: -8px; border: 1px solid red;'>Thank you for voting!</span>";
    echo "<script language='javascript'>setTimeout(\"location.href='votegateway.php'\",3000);</script>";
    }
    ?>
    </form>
    </div>

  4. #139
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your index should be in PHP

  5. #140
    powerbar's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry i meant to change that to vote.php, but i am still getting redirected back to the vote.php page

  6. #141
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks jsut what i needed for my new server
    Lunar Gaming - Reaching For The Stars

  7. #142
    Kiyoshi's Avatar Member
    Reputation
    28
    Join Date
    Jun 2008
    Posts
    192
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Erlingi: You can make the popup redirect you to a voting panel (if that helps).

  8. #143
    ArticBlue's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    COOL!
    +Reputation ^_^

  9. #144
    Klexicon's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This doesnt seem to work, it either says unable to select database, or it just refreshes the page.
    Any one know what I'm doing wrong?

  10. #145
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unable to select database means you entered the wrong DB name

  11. #146
    Kyoshero's Avatar Member
    Reputation
    2
    Join Date
    Feb 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i need help

  12. #147
    Kyoshero's Avatar Member
    Reputation
    2
    Join Date
    Feb 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    where do i put

    <?php
    setcookie('vote', '1', time() + 43200);
    ?>
    <script language='javascript'>
    setTimeout("location.href='http://www.xtremetop100.com/in.php?site=1132237313'",1);
    </script>

  13. #148
    xShadowbladex's Avatar Member
    Reputation
    2
    Join Date
    Dec 2007
    Posts
    26
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heres my problem..:

    1: It doesn't send the items whatsoever, and the mail is on refresh.

    2: It doesn't stop a user from voting every 12 hours. It lets you submit over and over again.

    3: It won't put into the SQL "mysql_query("INSERT INTO votewatch(acct, ctime) VALUES($acct, $today)");" part either.

    What do I do? ;o
    Last edited by xShadowbladex; 07-28-2008 at 08:53 PM.

  14. #149
    Nebels's Avatar Member
    Reputation
    7
    Join Date
    Jul 2008
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Replying, all it does is send me back to the first page that it was on.

  15. #150
    capzi's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    nice

    nice great job

Page 10 of 12 FirstFirst ... 6789101112 LastLast

Similar Threads

  1. [Release]Eternion-WoW New Vote Points Script
    By unl3sh3d in forum WoW EMU Exploits & Bugs
    Replies: 104
    Last Post: 10-14-2010, 10:36 AM
  2. [Release]Vote PoP-Up Script
    By *Scripted* in forum WoW EMU General Releases
    Replies: 4
    Last Post: 09-14-2008, 12:05 PM
  3. [Help] Voting Reward Script
    By 1111 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 07-13-2008, 02:23 PM
  4. [Release]Voting script
    By george95 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 04-13-2008, 07:24 AM
  5. release (vote reward vendor)
    By pooooo132 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 03-23-2008, 10:23 AM
All times are GMT -5. The time now is 03:47 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search