Twiter On Lava Profiles

Started on the old forum in October 2010 · view the original in the archive · old links redirect here

22 replies · 1,762 views · started 16 years ago · 1 min read

11 participants
centi Developer · 159 posts #1

this one is nice to have... i code this using yaya style hope u guys enjoy and ill post new updates asap

//////////////////////////////////////// add this sql under ibwf_users

tweeter varchar 100 notnull ///////////////////////////////////////

under index.php cpanel

echo "» <a href=\"index.php?action=tweets&sid=$sid\">Set My Tweeter Username</a><br/>";
////////////////////////////////////////

else if($action=="tweets")

{
addonline(getuid_sid($sid),"Setting up Tweeter Name","quick.php?action=tweets");

echo "<head>";
echo "<title>Space</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/default.css\">";
echo "</head>";
echo "<body>";

  echo "<p align=\"left\"><small>";

echo "<form action=\"genproc.php?action=tweets&sid=$sid&who=$uid\" method=\"post\"> <font color=\"grey\"><b>Set My Tweeter Name:</font></b><br/>

(eg. jhon_lex , samantha )<br/>

<input type=\"text\" class=\"inputText\" name=\"msg\"/><br/>

<input type=\"Submit\" name=\"Submit\" class=\"inputButton\" value=\"Set\"/>

</form>";

/////////////////////////////footer

echo"<b>© Centi - ".date("Y")." - SLHitZ.Com</b><br/>";
echo"</small></div>";
echo"<div class=\"center\">";

echo "<small><center><a href=\"index.php?action=terms&sid=$sid\">Rules</a> | <a href=\"help.php\">Help</a>";

echo"</div></small></p>";
echo"</body>";

}

////////////////////

under genproc.php

//////////////////////////////////////////Update tweeter nick

else if($action=="tweets")

{

    addonline(getuid_sid($sid),"Updating Tweeter Name","");

    echo "<head>";
echo "<title>Space</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/default.css\">";
echo "</head>";
echo "<body>";

print'<div class="header">Tweeter Name</div>';

    echo "<p align=\"center\"><small>";

if(getplusses(getuid_sid($sid))<6)

    {

        echo "You need at least 6 plusses to use this Feature<br/>";

    }else{

   

$val = $_POST["msg"];

//$uid = getuid_sid($sid);

  $res = mysql_query("UPDATE ibwf_users SET tweeter='".$val."' WHERE id='".$uid."'");

 $hehe = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));

 $totl = $hehe[0]-5;

 mysql_query("UPDATE ibwf_users SET plusses='".$totl."' WHERE id='".$uid."'");

 if($res)

        {

            echo "<img src=\"../images/ok.gif\" alt=\"o\"/><br/>Tweeter Name Updated Successfully<br/>";

	    

        }else{

          echo "<img src=\"images/notok.gif\" alt=\"x\"/>Can't Update Username<br/>";

        }

}

 echo "<br/><br/>";

        echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";

/////////////////////////////footer
echo"<div class=\"logo\">";
echo"<b>© Centi - ".date("Y")." - SLHitZ.Com</b><br/>";
echo"</small></div>";
echo"<div class=\"center\">";

echo "<small><center><a href=\"index.php?action=terms&sid=$sid\">Rules</a> | <a href=\"help.php\">Help</a>";

echo"</div></small></p>";
echo"</body>";

  

}

index.php under profile viewuser

echo '<img src="http://twitter-badges.s3.amazonaws.com/t_mini-b.png" alt="Twitter"/>';
   echo " <a href=\"tweets.php?sid=$sid&name=$tweets[0]\">$whonick's Tweets</a><br/>";
  

//////////////////////////////// include 2 other php files /////////////////////////////// demo:

working fyn wit me.... if ne errors let me knw

working 100% for me... let me knw if hv ne errors

😳 .................................... http://photomag.lk/ .................................... 🤨

Attachments: t1.JPG t2.JPG tweets.rar
marduck Junior · 12 posts #3

all my files have been created correctly, after doing Tweeter Set My Username in cpanel> set> Tweeter Name Updated Successfully, but after I check to the user online and username Twitter tweet's happening Invalid Username, there is something wrong?

LavalairLavalair.com

centi Developer · 159 posts #4

thats caus ya givven twitter name was wrong.. im sure

😳 .................................... http://photomag.lk/ .................................... 🤨

centi Developer · 159 posts #7

whitewigz its a stupid qestion..... rajyjee im on it.... 🙂

😳 .................................... http://photomag.lk/ .................................... 🤨

centi Developer · 159 posts #10

sweet u want one???

😳 .................................... http://photomag.lk/ .................................... 🤨

12345xmen Developer · 239 posts #11

why its not wrk i have an a/c in twitter still its show invalid twitter user name i put right username 🙁

Rab Mooney Junior · 13 posts #12

agrees it just says invalid twitter name? also its twitter not tweeter lol

centi Developer · 159 posts #13

works fyn fa others... re check people

😳 .................................... http://photomag.lk/ .................................... 🤨

sky2kv Junior · 30 posts #14

Thanks Bro,this is awsome..works well on my site..with some mods i had to do,anyway... thumbs up

centi Developer · 159 posts #15

see that guys i told uuuuuuuuuu

😳 .................................... http://photomag.lk/ .................................... 🤨

coolboiz1 Junior · 13 posts #17

sky2kv wrote: Thanks Bro,this is awsome..works well on my site..with some mods i had to do,anyway... thumbs up

pls share your "some mods". thanks.

centi Developer · 159 posts #18

sweetangel pm me

coolboiz wht u mean by some mods????

😳 .................................... http://photomag.lk/ .................................... 🤨

centi Developer · 159 posts #19

sweet hey clear ya inbox and send me pm's grrrrrrrrrrrrrrrrrr

😳 .................................... http://photomag.lk/ .................................... 🤨

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close