does anyone know how to remove the 5 pic max limit in wapdesire/lavalair script please. its getting on my nerves
wapdesire/lavalair gallery
Collapse
X
-
look for $nop[0];
or search 5Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
-
post the script of the gallery to me i will change it to what you wont it to beVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Yeah i will download it edit it then post again.Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Like a 10000000 per page ?? then it overloads the users phones ??
how many pages how many pics per page you want ??Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
if this for computer or phone site..
For phone Dont have it unlimited as you will give them a error doing so.
i limited it 30 per page for you
Open viewcategory.php and replace with this code i added here.
Code:<?php define('WCS',true); include('../core/main.inc'); header_type(); cleardata(); if(ipbanned(ip(),browser())){ if(!shield(getuid_sid($sid))){ echo head_tag("Ip Blocked!!!",0,0); echo ipbanned_msg(); echo foot_tag(); exit(); } } if(!islogged($sid)){ echo head_tag("Error!!!",0,0); echo session_expired(); echo foot_tag(); exit(); } if(banned(getuid_sid($sid))){ echo head_tag("Error!!!",1,getnick_sid($sid)); echo banned_msg($sid); echo foot_tag(); exit(); } mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'"); /////////////////////////VIEW CATEGORY///////////////////////// addonline(getuid_sid($sid),"Gallery",""); echo head_tag(getnick_sid($sid)."@Gallery",1,getnick_sid($sid)); $title="<b><i>Gallery</i></b>"; $main="<p align=".align()."> Welcome To $sitename Gallery<br/>\n"; $active=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM gallery_categories WHERE id='".$id."' AND active='0'")); if($active[0]==1){ $main.="<p align=".align().">This Category Is Currently Disabled.</p>\n"; $main.="<p align=".align().">$fivekey<a $key5 href=\"./downloads.php?sid=$sid\">Back</a></p>\n"; $L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>"; $L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>"; $L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>"; $L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>"; $L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Main Menu</a>"; echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main); echo foot_tag(); exit; } if($page==""||$page<=0)$page=1; $num_items=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM gallery_files WHERE category='".$id."'")); if($num_items[0]==0)$num_items[0]=0; $items_per_page=30; $num_pages=ceil($num_items[0]/$items_per_page); if($page>$num_pages)$page=$num_pages; $limit_start=($page-1)*$items_per_page; if($num_items[0]==0)$limit_start=0; $sql="SELECT id, uid, filename, path, hits FROM gallery_files WHERE category='".$id."' ORDER BY filename LIMIT $limit_start, $items_per_page"; $items=mysql_query($sql); $main.=mysql_error(); if(mysql_num_rows($items)>0){ while($item=mysql_fetch_array($items)) { $file=explode("gallery/",$item[3]); if(filesize($file[1])>1048575){ $size=round(filesize($file[1])/1048576,1)." Mb"; }else if(filesize($file[1])>1023){ $size=round(filesize($file[1])/1024,1)." Kb"; }else{ $size=filesize($file[1])." Bytes"; } $filename=explode(".",$item[2]); $nick=explode("(",$item[2]); $main.="<img src=\"../phpThumb/phpThumb.php?src=../gallery/$item[2]&w=150&f=".getext($file[1])."&sia=".getnick_uid($item[1])."\" alt=\"$item[2]\"/> <br/><a href=\"./get.php?id=$item[0]&sid=$sid\">$filename[0].".getext($file[1])."</a> $size\n"; if(gallery_tools(getuid_sid($sid))||getnick_sid($sid)==$nick[0]){ $main.=" <a href=\"./delete.php?id=$item[0]&sid=$sid\"><img src=\"../images/error.gif\" alt=\"[delete]\"/></a>"; } $main.="<br/> <small>$item[4] Downloads<br/></small><br/>\n"; } if($page>1){ $main.="<br/><a href=\"./viewcategory.php?id=$id&page=".($page-1)."&sid=$sid\"><-Prev</a> "; } if($page<$num_pages){ if($page==1)$main.="<br/>"; $main.="<a href=\"./viewcategory.php?id=$id&page=".($page+1)."&sid=$sid\">Next-></a>\n"; } $main.="<br/>Page - $page/$num_pages</p>\n"; if($num_pages>2){$main.=getjumper("viewcategory","id","$id",$sid);} }else{ $main.="<br/>There Are No Gallery Pics Atm... </p>\n"; } $main.="<p align=".align().">$fivekey<a $key5 href=\"./gallery.php?sid=$sid\">Back</a></p>\n"; $L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>"; $L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>"; $L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>"; $L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>"; $L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Main Menu</a>"; echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main); echo foot_tag(); exit; ?>
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Oh that what he wants lol i thinked its per page...
Open upload.php
Look for
Code:else if(file_exists("./".getnick_sid($sid)."(5)".$ext)){ $main.="<img src=\"../images/error.gif\" alt=\"[x]\"/><br/><b>Error!!!</b><br/>100 pics hav already been uploaded...<br/>\n"; } else if($file_size){ $file_name2=str_replace(" ","",$file_name); if(isuser(getuid_nick($username))){$uid=getuid_nick($username);} else{$uid=getuid_sid($sid);} $pic=getnick_uid($uid)."(1)"; if(file_exists("./".getnick_uid($uid)."(1)$ext")){$pic=getnick_uid($uid)."(2)";} if(file_exists("./".getnick_uid($uid)."(2)$ext")){$pic=getnick_uid($uid)."(3)";} if(file_exists("./".getnick_uid($uid)."(3)$ext")){$pic=getnick_uid($uid)."(4)";} if(file_exists("./".getnick_uid($uid)."(4)$ext")){$pic=getnick_uid($uid)."(5)";}
Thanks to woody for making things rightVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Does that image has users name in sql ???
if so why don't you add <a href=\"index.php?action=profile&who=$sql[0]\"><img src=\"images/$photo[0]\" alt=\"$sql[0]\"/></a>Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
Comment