Search results

  1. J

    Link tracking question

    I want to include link in an email, but I want to send visitors to my website, then have that forward them to the appropriate landing page. Bear with me...there is a reason behind this. Aside from affiliate stuff, I also have advertisers I would like to link to within email newsletters, but...
  2. J

    JS time since...

    I Googled this, but can't seem to find what I'm looking for and my JS knowledge is next to nothing. I want a clock (Years Months Days Hours:Minutes) to display the time elapsed since a given date, live in the visitor's browser. Can someone point me in the right direction?
  3. J

    Building a dashboard

    I have been thinking of developing a dashboard for my own use to monitor affiliate data (CJ, Amazon, and Aweber at the moment), rss feeds, analytics, and maybe data from social networks. I checked out some existing systems mentioned on the forum here, but they don't seem to include the...
  4. J

    JS help please

    OK guys, this should be a simple one, but I know next to nothing about javascript... I am using the following code to write a cookie <script type="text/javascript"> function setCookie(){ var cookieName="UserName"; var cookieValue="Duminda"; var expiryDate = new Date(); var...
  5. J

    " vs ' in php

    Can someone tell me the difference between the two as it relates to php? They seem to be interchangeable in most cases.
  6. J

    How to use cookies within WP?

    I'm trying to use data from one page that has a custom field and pass it to any other future pages that visitor goes to. In this case, the client has local branches all over the country, so if a visitor goes to the page for a particular branch, I want that phone number to then replace the...
  7. J

    Need a programmer who isn't retarded

    Elance be damned...what a fucking nightmare! I need someone to program a simple payment form that will go into Wordpress. The faster the better. DM me with price/timeline.
  8. J

    Need a payment processing form for WP

    Simple, no frills - I just need a payment form that will go in Wordpress. The user needs to be able to enter their own payment amount as it's for an offline company to allow their customers to pay their bill online. It will process though Authorize.net and needs a captcha field. Who can do...
  9. J

    Masking affiliate links?

    Is there a way to mask an affiliate link so that if you mouse over it, it would look like a normal link the the page/site?
  10. J

    Does anyone see anything wrong with this code?

    Does anyone see anything wrong with this code? <?php $mysqli = new mysqli("localhost", "db", "pw", "user"); $query = "SELECT ID FROM wp_posts WHERE post_title = 'some post'"; $id = mysqli_query($mysqli, $query); echo var_dump($id); ?> It returns: object(mysqli_result)#2...
  11. J

    WP database issue

    I'm working on a plugin that takes input from a form, then populates a table in a Wordpress database and then creates a page in WP to display that data. I've got everything working except I can't find out where WP stores the info for page templates. In this case, the page created in WP needs...
  12. J

    trouble with a form, no error message

    I am building a form that will collect data and upload images. Right now I'm just trying to get the uploading part worked out. When the form calls the php file to process everything, it works fine, but when I try to pull the form and the php into a single page, it fails to process and doesn't...
  13. J

    Monetizing political domain

    Long story short, I have a political domain (person's name) that got some press from a lot of news sites and a slew of political blogs, so it's got some authoritative inbound links. No traffic at the moment since the elections are over, but I think there's still got to be a way to monetize the...
  14. J

    excecute if $mysqli->query successfull

    I'm trying to execute something only of the data is successfully inserted into the database, but I'm clearly doing something wrong. I've done as bit of digging around, and it looks like the solutions to similar issues are for older versions of php...I could be wrong through, I'm still relatively...
  15. J

    preg_replace won't change data

    The preg_replace I'm using isn't working. Basically, it's supposed to take a particular word within the content, and wrap a link to and internal page around the word. The spaces on each side of each variable are so that it only links the actual word, not a coincidental occurrence of the letters...
  16. J

    array_rand from multidimensional array

    $paragraph = $new_page[2][array_rand($new_page[2], $random)]; I'm getting an error with the following code when I try to pull a random number of values from an array (one level deep w/ in another array). I know I could just pull the sub array out into it's own array and make this easy on...
  17. J

    php/mysql problem building cms

    I'm building sort of a cms... The db field that holds the urls has two urls in it at the moment. My challenge right now is just to get the script to tell me whether it finds the url in the database (I'm assuming if it does, my next step is to pass headers to the browser). Any idea what I'm...
  18. J

    Could you use this autolinking plugin?

    I know there are a few auto linking plugins out there but the ones I've used had weaknesses. The biggest problem I've found is that they just link all instances of the selected word, so you can end up w/ multiple links from within a post which looks spammy. Long story short, I've created a way...
  19. J

    form isn't passing variable

    Any idea why the data entered in the text area never ends up getting passed to the variable here? <!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...
  20. J

    Trouble w/ single page form

    I have to create a single page form, and since I haven't done any programming in a while, I seem to be hitting a wall. Can someone tell me what I'm doing wrong here? I want the form to display, but then after it's submitted, I want just the results to display. The code below just keeps...