Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nitrous

    (@nitrous)

    Okay thank you

    Thread Starter nitrous

    (@nitrous)

    lol man i am happy.. i was going to try that and i was just about to start modifying my code and all of a sudden i was looking at one of my if statements when it hit me.. that doesnt make sense lol.. i changed it and now life is good again.. just needed a fresh look at it.. thanks

    working:

    function postListByCategoryID($categoryID = 0,$paged = 0,$tager="0")
    		{
    
    if($paged>0){
    $offset=$paged*10;
    $offset-=10;
    }else{
    $offset=0;
    }
    
    			$outputString = '';
    
    //if(isset($tager) && $tager!=0){
    if($tager===0 || $tager=="0"){
    			query_posts('offset='.$offset.'&cat=' . $categoryID . '&showposts=5&order=desc');
    }else{
    
    $taggy="&tag=$tager+$tager";
    ////			query_posts('offset='.$offset. $taggy. '&showposts=5&order=desc');
    			query_posts('offset='.$offset. '&cat=' . $categoryID . $taggy. '&showposts=5&order=desc');
    }
    
    			//query_posts('offset='.$offset.'&cat=' . $categoryID . '&showposts=5&order=desc');
    			$outputString .= '<ul>' . chr(10);
    			/*while (have_posts()) : the_post();
    
    			endwhile;*/
    			$outputString .= '</ul>' . chr(10);
    			return $outputString;
    		}
    Forum: Plugins
    In reply to: Archiving Posts to a page
    Thread Starter nitrous

    (@nitrous)

    sweet thanks man

    Thread Starter nitrous

    (@nitrous)

    it is not just the admin.. what about new users signing up on the form.. if it wont remember any cookies they will never be able to login.

    I have already gotten around it by changing the browser settings but that is not really a feasible option.

    what about having a JS shadowbox/lightbox popup that is really a link to a page that is on the other server (so it hides the address) and then on that page it has a simple login/signup functionality as well and then on logging in or signing up it then takes you back to the regular page with the iframe

    lightbox example to explain:
    https://www.herdboy.com/index.php?option=com_content&view=article&id=107&Itemid=151#inline-sample

    now that is an option but i dont know how to create a page with a simple login/signup functionality..

    Thread Starter nitrous

    (@nitrous)

    i have to for a client that wants to have wordpress because it runs in php and mysql and the regular site is sitting ontop of a custom asp CMS. So i have it iframing to a different server so that it can support php and mysql.

    I know that the cookies are not working but there must be a way to get it to work. or a way to setup something to get it to work or trick the user to thinking it works by hiding the address of the domain.

Viewing 5 replies - 1 through 5 (of 5 total)