The MU forums have moved to

LiveTwit Theme - Multiple UserIDs or Searchwords (1 post)

  1. scotm
    Posted 14 years ago #

    I'm using the LiveTwit theme which allows you to pull tweets from Twitter based on either a userId or searchword. I'm wondering if it is possible to enable the use of multiple searchwords, or userIDs, with some modification. The index page publishes the Twitter feed as so:

    if ($pt_twittype == "SearchWord") { ?>
            <div id="twitterSearch" class="tweets "></div>
            <script type="text/javascript">
    			$('#twitterSearch').liveTwitter('<?php echo $pt_twitvalue; ?>', {limit: 10, rate: 5000});
    <? } else { ?> 
             <div id="twitterUserTimeline" class="tweets "> </div>
                 <script type="text/javascript">
                    $('#twitterUserTimeline').liveTwitter('<?php echo $pt_twitvalue; ?>', {limit: 15, refresh: false, mode: 'user_timeline'});
    <? } ?>

    Might there be a modification here to enable this?


About this Topic

  • Started 14 years ago by scotm