Community Script like this... [Help]
Started on the old forum in April 2011 · view the original in the archive · old links redirect here
TL;DR · summary of 33 replies
- @chessmaster got an error with the posted script from metulj, was advised to remove } on line 107.
- Another user (@arnage) suggested fixing the error by changing echo getShout($u, $s,TRUE); to echo getShout($u, $s);.
- @chessmaster encountered another error with a function getShout() not found in core files. Suggestions included checking for the existence of such a function and trying a simplified version.
- A user (@m4ster_v4) shared some functions related to getting and adding shouts, which might be useful for fixing errors or creating a community script.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
thank you sir .. let me favor sir,, if you have any community script lavalair please share it to me.. 🙂
iBeyond wrote: There 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 ..
ahh thanks for that info, yes im just new here.. let me ask to you.. what kind of script are these: pinoywap.net , pinoygsm.net ..that is my dream site - or any site that are like the said site.. lol
Parag wrote: Hmm I aslo need A Community Script....But it should be error free...please tell us some good lavalair scripts.
i also need it too.. hope someone can give or share their error free lavalair script.. 🙂
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); $show = "<a href="index.php?a=profile&w=$shout">".$name."</a> - "; $show .= parsetext($shout[message], $shout); 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.
Visit my WEBSITE Project: http://www.aspirewap.net
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.. 🙂
chessmaster wrote: 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.. :)
i will not share that sc.. i already share my lavalair mod.. use it okay... EJATD29_COM_SCRIPT_FULL.. find it.
Visit my WEBSITE Project: http://www.aspirewap.net
chessmaster wrote: thank you sir. :)
your wlcome m8... 😉
razor wrote: ejatd29 mod
m4ster_v4 mod.. 😉 Hope u all enjoy with it.
Visit my WEBSITE Project: http://www.aspirewap.net