Jump to content

everlifefree

Members
  • Posts

    112
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://spadespace.com

Profile Information

  • Gender
    Male
  • Location
    UTAH

everlifefree's Achievements

Member

Member (2/5)

0

Reputation

  1. Hey Everyone I just started a party site for SRH, Rave, Club, and Party supporters. It's a community site that includes several pretty cool features take look around and if anyone want to take a look at the inside with out signing up let me know and I'll post the demo account info. Hope everyone enjoys! http://spadespace.com
  2. Can you right me this script? Email me back with a price. The script will be called "rankings (or points)" Basically it gives a members points based on how active they are on my website. So they get ... 1. Each member gets 10 points for every hour they are loged in 2. They get 5 points for adding a video to the gallery 3. They get 1 points for every comment they post on a video 4. The ability to give other members points for good things they do. 5. Then i want a separate page displaying the top 100 users (people with the most points). 6. Then i want to change the color of the users name based on how many videos they have added. So if a user adds 1-50 videos there name will be in bronze If a user ads 51-250 videos there name will be in silver If a user ads 251+ there name will be in gold. The video gallery script runs on phpizabi. If you can do it email me at contact@spadespace.com with a quote
  3. I'm trying to use this now and the redirect is all working fine expect I can't get it to pull up the different pages for different variables or what ever. Whether is has "is_rave" mark with a 1 or not it still just pulls up the last option. Any help now that I've really changed it? //Profile Switching//////////////////////////////////////////////////////////////// $rave_check = myF(myQ(" SELECT * FROM `[x]users` WHERE `id`='".$_GET["id"]."' AND `is_rave` = '1' ORDER BY `id` DESC ")); $tpl -> AssignArray(array( "check.rave" => $rave_check["id"], )); $artist_check = myF(myQ(" SELECT * FROM `[x]users` WHERE `id`='".$_GET["id"]."' AND `is_artist` = '1' ORDER BY `id` DESC ")); $tpl -> AssignArray(array( "check.artist" => $artist_check["id"], )); $club_check = myF(myQ(" SELECT * FROM `[x]users` WHERE `id`='".$_GET["id"]."' AND `is_club` = '1' ORDER BY `id` DESC ")); $tpl -> AssignArray(array( "check.club" => $club_check["id"], )); if($rave_check=="'".$_GET["id"]."'") { header("Location: http://spadespace.com/?L=users.rave&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; } elseif($artist_check=="'".$_GET["id"]."'") { header("Location: http://spadespace.com/?L=users.artist&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; } elseif($club_check=="'".$_GET["id"]."'") { header("Location: http://spadespace.com/?L=users.club&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; } else { header("Location: http://spadespace.com/?L=users.profile1&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; }
  4. Mine comes from the site I created back in my younger years that was one of those freebie referral sites. I was trying to think of a good unique name for my site. Running through anything I could end with "FREE" I though forever free, life of freebies, lots of free stuff, ect. And eventually start mixing them up with each other. I mixed the "ever" from forever and the "life" from life of freebies and came up with "everlife" Technically meaning “forever through life”... and then just tacked on the "Free" and that’s pretty much the base story behind my username. The site I it’s used for it http://everlifefree.phpnet.us if anyone was interested in taking a better look.
  5. SCRATCH ALL THE ABOVE!! I'm trying to use this now and the redirect is all working fine expect I can't get it to pull up the different pages for different variables or what ever. Whether is has "is_rave" mark with a 1 or not it still just pulls up the last option. Any help now that I've really changed it? //Profile Switching//////////////////////////////////////////////////////////////// $rave_check = myF(myQ(" SELECT * FROM `[x]users` WHERE `id`='".$_GET["id"]."' AND `is_rave` = '1' ORDER BY `id` DESC ")); $tpl -> AssignArray(array( "check.rave" => $rave_check["id"], )); $artist_check = myF(myQ(" SELECT * FROM `[x]users` WHERE `id`='".$_GET["id"]."' AND `is_artist` = '1' ORDER BY `id` DESC ")); $tpl -> AssignArray(array( "check.artist" => $artist_check["id"], )); $club_check = myF(myQ(" SELECT * FROM `[x]users` WHERE `id`='".$_GET["id"]."' AND `is_club` = '1' ORDER BY `id` DESC ")); $tpl -> AssignArray(array( "check.club" => $club_check["id"], )); if($rave_check=="'".$_GET["id"]."'") { header("Location: http://spadespace.com/?L=users.rave&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; } elseif($artist_check=="'".$_GET["id"]."'") { header("Location: http://spadespace.com/?L=users.artist&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; } elseif($club_check=="'".$_GET["id"]."'") { header("Location: http://spadespace.com/?L=users.club&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; } else { header("Location: http://spadespace.com/?L=users.profile1&id=".$_GET["id"].""); // exit the page to make sure nothing further is added to the headers. exit; }
  6. If I can't have it the way I wrote it I'm fine I just need it to swap pages and use '".$_GET["id"]."' and "is_rave=1" to decide whether to use different page
  7. the _fnc or the header will only work??
  8. Alright I am new at the whole page swapping thing so if anyone could help that be great. Below is the code I tried to use to get the job done but it didn't exactly work. What I'd like to do it look in the database "users" to see if the table "is_premium has a 1 in it. If it does than I want it to redirect to a different page. But if it has a 0 in it just continue to the page it was headed towards. Oh and it also has to take into account the "&id=#" on the url so that it knows whos profile to show. The page swapping is really just change the options and layout. //premium Profile //////////////////////////////////////////////////////////////// if (isset($_GET["id"])) $is_premium_check = myF(myQ(" SELECT * FROM `[x]users` WHERE `is_premium` = '1' AND `id`='".$_GET["id"]."' ORDER BY 'id' ")); $tpl -> Zone("premium", "redirect"); _fnc("reload", 0, "?L=users.premium&id='".$_GET["id"]."'"); }
  9. Ok explain this one more time in simple detail I'm still a little confused
  10. I just need a more experienced coder to verify my code is correct because I think I might have done some thing wrong because it won't show. if (isset($_GET["id"])) $row4 = myF(myQ(" SELECT * FROM `[x]vote` WHERE `mediaid` = '{$_GET["id"]}' ORDER BY `id` ASC LIMIT 20 ")); $tpl -> AssignArray(array( "vote.id" => $row4["id"], "vote.userid" => $row4["userid"], "vote.vote" => $row4["vote"], )); if (isset($row4["userid"])) $row5 = myF(myQ(" SELECT * FROM `[x]gallery` WHERE `id` = '$row4["userid"]' ORDER BY `id` ASC LIMIT 20 ")); $tpl -> AssignArray(array( "vote.username" => $row5["username"], "vote.mainpicture" => $row5["mainpicture"], )); $i=0; while ($Vote = myF($row5)) { $VotenewArray[] = array( "vote.username" => $Vote["username"], "vote.mainpicture" => $Vote["mainpicture"], ); $i++; } if (isset($VotenewArray)) $tpl->Loop("voting", $VotenewArray); Is there a problem with having the code like this above? WHERE `id` = '$row4["userid"]' Or is there a better way to do it?
  11. WHAT??? HOW?? WHAT's the exact code?? and where to put it??
  12. In my site it uses .date("U"). to set the date and time in a lot of place is there a way that I could post something on my index.php that would change the .date("U"). to the timezone I want rather than the server timezone??
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.