lava updates by me

Started on the old forum in April 2013 · view the original in the archive · old links redirect here

12 replies · 1,450 views · started 13 years ago · 1 min read

6 participants
ozziemale31 Lead · 861 posts #1

ok heres my first share forum attachments for lava style scripts that supports apk files

a vb style look ul have to change the links to suit your script as i removed the session ids in this version

included: likes and thanks for topics , post attachment in new posts and replies. guests cant access the file download. whos viewd the download just like in ctalk feel free to use as u wish but please give me some credit if u guys like this work ill post more updates on this topic.if no one cares to reply ill just keep them to myself :p

Added after 4 minutes:

ok as this one says

 $uid=getuid_sid($sid);
    echo "<p>";
    $unick = $_POST["unick"];
    $tid = getuid_nick($unick);
if(($who==1) || ($who==2) || ($who==3))
{
             $unick = getnick_uid($who);
 echo "<div class=\"error\"><img src=\"images/no.gif\" alt=\"-\"/>";
                echo "<b><strong>You Cant Edit $unick's Profile </strong></b><br/>";
         echo "</div>";
  }else{
///// your normal content here

}

what this does who=1 who=2 who =3 stops ids 1 , 2 and 3 from being tampered with more tips to come

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

Attachments: forums.PNG fattachscript.zip
Rekon Developer · 215 posts #2

Good work bro

Girls are like internet domain name, The girls i like are already taken!

something else Fellow · 2,296 posts #3

Quick heads up: Looks like you may have possible injection holes in your script:

$mob2 = $_SERVER['HTTP_X_MSISDN'];
$mob = $_SERVER['HTTP_X_NETWORK_INFO'];

also you may want to share your core.php as there is a lot of custom functions that would need editing/deleting from your script.

Also from what i can remember from lava script you could change this:

ozziemale31 wrote:

 $uid=getuid_sid($sid);
    echo "<p>";
    $unick = $_POST["unick"];
    $tid = getuid_nick($unick);
if(($who==1) || ($who==2) || ($who==3))
{
             $unick = getnick_uid($who);
 echo "<div class=\"error\"><img src=\"images/no.gif\" alt=\"-\"/>";
                echo "<b><strong>You Cant Edit $unick's Profile </strong></b><br/>";
         echo "</div>";
  }else{
///// your normal content here

}

To:

if(isadmin($who)) //saves manually editing each time you have new admin
{
$unick = getnick_uid($who);
echo "<div class=\"error\"><img src=\"images/no.gif\" alt=\"-\"/>";
echo "<b><strong>You Cant Edit $unick's Profile </strong></b><br/>";
echo "</div>";
}else{
///// your normal content here
}
ozziemale31 Lead · 861 posts #4

re

$mob2 = $_SERVER['HTTP_X_MSISDN']; $mob = $_SERVER['HTTP_X_NETWORK_INFO'];
dont have any real functions as of yet i forgot to remove them lol fix them using

$mob2 = cleanQuery($_SERVER['HTTP_X_MSISDN']);
$mob = cleanQuery($_SERVER['HTTP_X_NETWORK_INFO']);

just seeing what values they returned heres the core

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

Attachments: core.zip
something else Fellow · 2,296 posts #6

sweetangel wrote: i want try one version of lava edited by @something_else i think he is very expert :)

Only real difference between most of them on here is that it is full of mods that a lot of people would like to get there hands on. The script is not scripted that well as we started it as a noobs. Also there is ways to hack it that we never got round to fixing I will have a word with my partner to see if it is ok to release it, seeming we don't use it any more.

sweetangel Lead · 885 posts #7

something else wrote: Only real difference between most of them on here is that it is full of mods that a lot of people would like to get there hands on. The script is not scripted that well as we started it as a noobs. Also there is ways to hack it that we never got round to fixing I will have a word with my partner to see if it is ok to release it, seeming we don't use it any more.

oooh gr8 news 😀 im curious about your feature 🙂

centi too has dev one best lava edition.. who know where is???

if like my post click:

External image (may be gone)

ozziemale31 Lead · 861 posts #8

re

wel now everyone can enjoy file attachments in ther forums 🙂 i do have other mods 2 ill share by request if u need something codded for lava ill do it but not for free. thers nothing i dont know about this script mods are easy to do

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

ozziemale31 Lead · 861 posts #9

re

riderz wrote: You don't have a wall script like facebook I know ejat have one but I didn't get it to work like facebook wall script

i do too lol

in sql add

CREATE TABLE IF NOT EXISTS `ibwf_wall` (
  `id` int(100) NOT NULL AUTO_INCREMENT,
  `gbowner` int(100) NOT NULL DEFAULT '0',
  `gbsigner` int(100) NOT NULL DEFAULT '0',
  `gbmsg` blob NOT NULL,
  `dtime` int(100) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1091 ;

in core add

function candelwall($uid,$mid)
{
  $minfo = mysql_fetch_array(mysql_query("SELECT gbowner, gbsigner FROM ibwf_wall WHERE id='".$mid."'"));
  if($minfo[0]==$uid)
  {
    return true;
  }
  if($minfo[1]==$uid)
  {
    return true;
  }
  return false;
}
-----------------------------------------------
on profiles add this code

 $sql = "SELECT gbowner, gbsigner, gbmsg, dtime FROM ibwf_wall WHERE gbowner='".$who."' ORDER BY dtime DESC LIMIT 4";

    $items = mysql_query($sql);
    echo mysql_error();
    if(mysql_num_rows($items)>0)
    {
    if(mysql_num_rows($items)>1)
    {
 $br = "<br/>";
  }else{
 $hr = "";
 }
    while ($item = mysql_fetch_array($items))
    {
      $hr ="<div class=\"hr\"></hr>";

         $snick = getnick_uid($item[1]);
      $text = parsepm($item[2], $sid);
 echo "<table><tr><td>$foto</td><td>$seximg<a href=\"profile.php?action=viewuser&who=$item[1]\">$snick</a><br/>$text</td></tr></table>";

   }
    }else{
 echo "<i>*No Messages</i><br/>";
 }
    if(cansigngb($uid, $who))
    {
    echo "<br/><a href=\"profile.php?action=writewall&who=$who\">";
 echo "Sign Wall</a> | ";
}else{
    echo "<br/>";
 }
   $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_wall WHERE gbowner='".$who."'"));
   echo "<a href=\"profile.php?action=wall&who=$who\">Comments</a> [$noi[0]]";

change profile.php to your code where it is used

and use the guestbook script for all the other bits

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

centi Developer · 159 posts #10

back

sweetangel wrote: oooh gr8 news 😀 im curious about your feature 🙂

centi too has dev one best lava edition.. who know where is???

writing a new awesome one these days ill show it to you soon... stuipd peeps baned my domain lol,

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

Igor Vuk Newbie · 7 posts #12

riderz wrote: You don't have a wall script like facebook I know ejat have one but I didn't get it to work like facebook wall script

If you want to create fb like wall on lava (if i'm not wrong) you must create at least 2 more tables in database ,recode friends functions and codes,recode 80% of script to fit it for wall purpose ,this took me 6 months to figure out and make it but its nice and i'm not using any javascript/jquery or ajax just pure php .if you have litle bit of time you can do it it's not that big problem and your site users will be happy to have thing like wall.if you want to use lava gb code for wall ,just don't becouse it still will be a guestbook not a wall

Igor Vuk Newbie · 7 posts #13

sure,no problem 😀

I don't have it online becouse can't buy decent hosting,few month ago one of free hosting services shout down my site with script on it and I never had a backup (bad habbit) ,how ever these days was start all over again from some old fragmets that i have on my pc .now i'm using xampp instead of some crapy free host .I've never shere my ideas with nobody but when i finish my so called Lava on stereoids you will be informed that's no problem

maybe you'll like what's inside package 🙂 like -> Main wall which show all site activity (I mean ALL activity) -> User walls in profiles which show feeds only from friends in whos profiles you was click button "Follow me " not from all friends that you have -> 3 versions Web/mobile/touch -> Entire site is menagable by single main admin panel,there is nothing that you can't change -> Constitution of all site code is changed ,you can't tell that this site is running 7 years old lava script,but it's running on lava files and functions names are the same ,code is not -> script is made on blocks there is no lot of stuff that is used to be there -> it's clean and is running like bullet on crapiest free host on the planet becouse source is small but efective

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