Jump to content

envexlabs

Members
  • Posts

    256
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

envexlabs's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Thanks, I looked into union before, but it just looked like it was grabbing all the events and then the specials. I'll give this a shot.
  2. Hello, Basically, i have 2 tables. events and specials. These are 2 separate tables with no linking elements. I want to grab from both because i want to display a list of the 30 newest events and specials created, sorted by date. Here is the table structures: SPECIALS ------------------------------- id venue_id title more_info created EVENT ------------------------------- id venue_id fb_eid title date poster_thumb poster_large buy_link more_info The only thing these two tables share is the venue_id. Here is the query: SELECT * FROM events, specials WHERE events.venue_id IN (1,20) AND specials.venue_id IN (1,20) I'm obviously not grasping this concept, or doing something completely wrong, but i can't seem to figure out what. Can anyone shed any light on this subject? Thanks!
  3. Hey, In a nutshell i'm looking for something like this: http://mystore.mysite.com Right now, i have a rewrite rule that looks like this: RewriteRule ^store/([a-zA-Z0-9_-]+)$ /store_front/store.php?slug=$1 So when someone visits mysite.com/mystore they are taken to the store page. This is working, no big deal. I've looked online for answers, but the only ones i've found are ones that redirect http://mystore.mysite.com to http://mysite.com/store_front/store.php?slug=mystore How do i keep that subdomain consistant when browsing and keep the "permalinks" (not sure if that's the right term) proper and neat? Thanks, envex (matt)
  4. You are a lifesaver! Thank you very much. envex (matt)
  5. Hey, Thats the way it is right now. I think it's because of the first wildcard option as well as the workouts folder inside the images folder. The only images that aren't showing are the /images/workouts/image.jpg and it only happens when viewing, site.com/sitea/workouts All other images are displaying correctly.
  6. Hey, We are making it work this way so a shopper can upgrade to a store account or a store account can also have a shopper account without creating 2 seperate accounts with 2 seperate emails/2 seperate usernames.
  7. Hey, I have an htaccess file that changes the sites variables based on which partner sites refer the traffic. So right now if sitea refers traffic, they point to this link: http://mysite.com/sitea/workouts the htaccess rule: RewriteRule ^([a-zA-Z0-9_-]+)/workouts workouts.php?site=$1 Everything is working fine except on the workouts page, all the images are no longer showing up because the file structure is: http://mysite.com/images/workouts/image.jpg I guess the htaccess rule is messing up with the structure because of the wildcard rule after the main .com. I've tried making a rule along the lines of: RewriteRule ^images /images/ But it doesn't seem to work. Am i missing a step? Thanks, envex (matt)
  8. Hey, That's what i'm doing right now, i'm just trying to figure out what to label it.
  9. Hey, Thanks for the suggestion but the site has a very colorful, laid back, personal feel and i'm thinking that sounds a bit too coorperate/grey/unfriendly.
  10. Hey guys, I have a question that isn't really PHP related, more of a ui design question. On a site i'm developing we have 2 types of accounts. Store and Shopper. We are using 1 login form that checks to see if the user signed in with their email (shopper) or username (store). Everything is working fine, but i'm having trouble deciding what to call the username/email input label. Right now i think it may be confusing to users to put Username/Email Address. What do you guys think? What would you prefer to see? Thanks, envex (matt)
  11. FFmpeg took my awhile to figure out how to use, just keep going at it. You would upload the video, convert it and store the path in a db. Then you would use something like JW flv player (http://www.longtailvideo.com/players/jw-flv-player/) to display the video. That's probably the easiest way. Or looking to using the Youtube or Vimeo API's.
  12. $today = date('YOUR DATE FORMAT'); $select = mysql_query("SELECT * FROM `table` WHERE `date` = '$date'");
  13. Using jquery with mootools is relatively simple, it just takes a bit of tweaking on jquery's end. var $j = jQuery.noConflict(); You have to rewrite all instances of $ and append the j. That way mootools can use $ and jquery uses $j
  14. http://digitarald.de/project/fancyupload/ It's a mootools, ajax, swf uploader. Works like a charm.
×
×
  • 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.