just a beginner..
Community Script like this... [Help]
Collapse
X
-
@arnage
Well, now you have to look in the configuration or core file if there is a function named getShout().
For a quick fix, try to change " echo getShout($u, $s,TRUE); " with " echo getShout($u, $s); ".
Added after 7 minutes:
@arnage if you dont mind,, do you have any community script lavalair aside from the old script available in the site. any working community site will do.. lolLast edited by chessmaster; 25.04.11, 10:43.
Comment
-
yes sir i cant find any getshout() (core) there,,anyways, thank you for the response. i've been searching for a good and working lavalair script,, till now.. nothing.. just a beginner here.. just learned hosting/uploading script a couple of days ago.. lol .. yes sir lot of script here,, i almost tried half of the available script.. unfortunately.. it came a long way to fix the error..lol
Comment
-
Originally posted by iBeyond View PostThere are too many lavalair Mod scripts & other community scripts in this site bro...
If you're New, You can also use JohnCMS, Dcms Mod, RotorCMS etc as your community script.
All are available here.
Just search ..
Comment
-
It's not lavalair lol... Try mod it as well as u can.. Then put the modules.. Done.. ;) Finally u can see wap like this --> AspireWap | Achieve your dream ! Try and error m8.. For sure. That script "MalaysiaWap_OOP" shared by metulj not for newbie coder.. Need to learn oop first.. not too hard actually... Try AND Error. B-)
Added after 8 minutes:
Example:
function getShout($u, $s, $s="FALSE"){
$shout = mysql_fetch_array(mysql_query("SELECT * FROM shout ORDER BY sent DESC LIMIT 1"));
$name = id_name($shout[user]);
$show = "<a href=\"index.php?a=profile&w=$shout[user]\">".$name."</a> - ";
$show .= parsetext($shout[message], $shout[user]);
return $show;
}
function addShout($text, $u, $s="FALSE"){
if(trim($text)!=""){
$res = mysql_query("INSERT INTO shout SET message='".$text."', user='".$u."', sent='".time()."'");
if($res) {
$shout = "Shout add successful";
}else{
$shout = errorSQL();
}
}else{
$shout = "Please input some text";
}
return $shout;
}
SOME ONE "STAFF HERE"... HELP CHANGE MY NAME TO eJaTd29 PLEASE.. THANKS.Last edited by m4ster_v4; 05.05.11, 11:52.sigpic
Visit my WEBSITE Project: http://www.aspirewap.net
Comment
-
@m4ster_v4 ---> hi mates, im from philippines... i like your site aspirewap as you posted the link in my thread yesterday,, im just a new here and new also in coding etc. like what i posted in my thread can you help me to have a community site like yours (site) ... i really really want it.. if you dont mind,, can you share your script to me? im so idiot to say it to you.. (laughing)... im just hoping.. even we're not know each other and became mate to this site.. hope you spend few minutes to think if you want to share it to me,, and im so very glad if you granted my request..
Comment
-
Originally posted by chessmaster View Post@m4ster_v4 ---> hi mates, im from philippines... i like your site aspirewap as you posted the link in my thread yesterday,, im just a new here and new also in coding etc. like what i posted in my thread can you help me to have a community site like yours (site) ... i really really want it.. if you dont mind,, can you share your script to me? im so idiot to say it to you.. (laughing)... im just hoping.. even we're not know each other and became mate to this site.. hope you spend few minutes to think if you want to share it to me,, and im so very glad if you granted my request..sigpic
Visit my WEBSITE Project: http://www.aspirewap.net
Comment
Comment