
everlifefree
Members-
Posts
112 -
Joined
-
Last visited
Never
Everything posted by everlifefree
-
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
-
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 [email protected] with a quote
-
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; }
-
Anyone??
-
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.
-
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; }
-
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
-
the _fnc or the header will only work??
-
Anyone??
-
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"]."'"); }
-
Ok explain this one more time in simple detail I'm still a little confused
-
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?
-
WHAT??? HOW?? WHAT's the exact code?? and where to put it??
-
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??
-
Anyone know where I went wrong?
-
Here's the code I attempted but I get all it puts in {ezine.id2} is the number 1 and that isn't right! Can anyone tell me where I went wrong?? if (isset($_GET["id"])) $row2 = myF(myQ(" SELECT * FROM `[x]gallery` WHERE 'id' > '{$_GET["id"]}' AND `processed` = '1' ORDER BY 'id' ASC LIMIT 1 ")); $tpl -> AssignArray(array( "ezine.id2" => $row2["id"], ));
-
I get that side of things but I need the exact URL to fetch the next page??
-
so my original url is like: http://mysite.com?L=index.gallery&id=57 but to call the next page what'd the url be?
-
k but what would be the url for the next button?
-
ok i'm looking to make a next button for my site that goes up looks at the id of the page your on and then when you click the next button it takes you to the next one in line it the database. and it can't just go 1, 2, 3, 4, ect. because there are missing variable from deletions some it'd need to be able to read like this 1, 2, 5, 6, 7, 12, ect. (you get the point of just serveal missing numbers between.
-
Ok, i get it but where exactly do I insert it in the above code?
-
Still need help!