New Updated Chapel for Wapdesire Version 2

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

38 replies · 2,403 views · started 17 years ago · 1 min read

TL;DR · summary of 38 replies
  • brand found issues with the profile.php showing only one person who got wapped.
  • crazybrumi suggested checking if any changes were made to original scripts or profiles, and provided a code fix for current.php.
  • The issue was resolved by changing [code] ⟦c:green⟧ to [code] ⟦/c⟧ in the current.php file.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

26 participants
crazybrumi Super moderator Principal · 1,064 posts #21

mobile wrote: ok i tested it does this not have the one where u can see u married too in the profile as wapdesire script got profile.php allready uploaded so what this other profile.php for lol just a question and well done brumi for doing this :)

are you seriously stupid lol, u have to put that code in your original profile.php part lol. its an ifstatment based lol... i would have thought ud atleast nw this.

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

Guest #22

lol sorry man my brain dead lol

brand Senior · 391 posts #23

thanks brumi this is good and u done a good job with it mate and every thing works ok there a few problems tho mate when some one gets wappied it shows on one profile and not the other also the current.php page it only shows one person that been wappied and that is it mate apart from that its good mate

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

friend Developer · 112 posts #25

include('../core/main.inc');

whats in it?

crazybrumi Super moderator Principal · 1,064 posts #27

include('../core/main.inc');

whats in it?

what script are u using. if ur using wapdesire 2 than this will work if u are not there is another chapel reelased in here for the old version. just search for it using search box.

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

rashod Junior · 12 posts #28

thanks.thanks thanks

***Im here with your help.Im now im here to help you.Asdk any thing,Help to each other.***And visit www.zaraawap.net

joseg Junior · 34 posts #31

I click to thank on firts post and i not have rights to view this file ...

dj_toon Newbie · 6 posts #36

crazybrumi wrote: hey guys its been a couple of days know, would like to get some feedback on the release. have you found any problems or bugs or anything like that.? or anything you wish to add ?

<?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)."'");

/////////////////////////SITE EXTRAS/////////////////////////

addonline(getuid_sid($sid),"The Chapel","");
echo head_tag(getnick_sid($sid)."@The Chapel",1,getnick_sid($sid));
$title="<b>Welcome To The Wedded List</b>";
$main="<p align=".align().">";

if($page=="" || $page<=0)$page=1;
	$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM chapel WHERE complete='1'"));
	$num_items = $noi[0]; 
	$items_per_page= 1;
    $num_pages = ceil($num_items/$items_per_page);
	if(($page>$num_pages)&&$page!=1)$page= $num_pages;$limit_start = ($page-1)*$items_per_page;

	$sql = "SELECT id, userid, partid, date FROM chapel 
	WHERE complete = '0' ORDER BY id ASC LIMIT $limit_start, 
	$items_per_page";

	$items = mysql_query($sql);
	echo mysql_error();
	
    if(mysql_num_rows($items)>0)
    while ($item = mysql_fetch_array($items))
    {

	$sex=mysql_fetch_array(mysql_query("SELECT sex FROM profiles WHERE uid='".$item[1]."' || uid='".$item[2]."'"));
    if($sex[0]=="M"){$color="#0000FF";}
    else if($sex[0]=="F"){$color="#FF0066";}
  
    $main.="Member <a href=\"../profile.php?sid=$sid&who=$item[1]\" style=\"color:$color;\">".getnick_uid($item[1])."</a>\n";
    $main.="is Married To\n";
	$main.="<a href=\"../profile.php?sid=$sid&who=$item[2]\" style=\"color:$color;\">".getnick_uid($item[2])."</a><br/>\n";
    $main.="<b>Period Of Time:</b> ".time_msg(time()-$item[3],0)."<br/> \n";
    $main.="<b>Marrige Status:</b><br/>\n";
    $main.="<b>--------</b><br/><br/>\n";

    }else{
    $main.="<img src=\"../phpThumb/phpThumb.php?src=../images/error.gif\" alt=\"noimage\"/><br/>\n";
    $main.="There Is No Wedded Couples Atm";
    }
    
    $npage = $page+1;

    if($page>1)
    {
      $ppage = $page-1;
 
      
    }
    if($page<$num_pages)
    {
    $npage = $page+1;
    if($lastloc=="cht"){
    $main.="<a href=\"./current.php?page=$ppage&sid=$sid\">«Prev</a>\n";
	}else{
	$main.="<a href=\"./current.php?page=$npage&sid=$sid\">Next»</a>\n";
	}
    }
  
  $main.="<br/><br/><b>$page/$num_pages</b>\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();
?>

in current.php it only lets u see the frist people that got wapped there anit anyone eles thats the only error i have found m8

Insane-hosting in the house

crazybrumi Super moderator Principal · 1,064 posts #37

well change code from

[COLOR=#000000][COLOR=#0000bb]$items_per_page[/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]1[/COLOR][/COLOR]

to

[COLOR=#000000][COLOR=#0000bb]$items_per_page[/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]1[/COLOR][COLOR=#007700]0; [/COLOR][/COLOR]

i must have left it as one as i was testing if next and prev worked.

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

dj_toon Newbie · 6 posts #38

crazybrumi wrote: well change code from

$items_per_page= 1

to

$items_per_page= 10; 

i must have left it as one as i was testing if next and prev worked.

thank u works fine now

Insane-hosting in the house

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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