how do i display forums on a different page a nd hava a link to them someone post the code wml lavalair
Forums On A Different Page
Started on the old forum in June 2007 · view the original in the archive · old links redirect here
also how to add option to hide the shout box wml only
please i beg you persons mates please
everything ur askin for has already been posted in some other mod. search!
i told u already at inbox tht topic exsist but dnt knw whr it is..... search damn it.. i cnt searc 4 u... dnt even have an proper internet conection.....
shoutbox.... why would u hide shoutbox???
damn it matthew i told u already go here and u got no worries http://mobile.web.tr/signup.asp
and stop inboxing me pls cuz it eats my freakin money.... im paying 4 us dollars for every freakin 5MB
I CAN NOT CODE BUT I KNOW 2 USE FREAKING COPY AND PASTE!!!!!!!!!!!!!!!
learn 2 read the script and copy and paste....
i made tht way casino playing 4 plusses and alot of useful stuff....
LMAO
eeeeerrr....
sorry mate but ive already tried copy and pasting the cod into its own index and dont work and ive lookd for the ode please give code
Haw the f..k you are a big coder...and you need all the time help ?
plz give me the code i have trid verything pleas give code
cheers mate but i tried that and gave mysql errors can you give me code please
DO IT UR SELF MATT KEEP TRYING TILL YOU GET IT External image (may be gone) External image (may be gone)
cheers i will man thanks for you help dont mean to be annoying is just im bored of wap lol cos i need free host im 15 cant afford 1
dont no if this will work did it in 4 seconds u will need to EDIT this
<?php /* IrisBlaze wap forum by Ra'ed Shabana */ header("Content-type: text/vnd.wap.wml"); header("Cache-Control: no-store, no-cache, must-revalidate"); echo("<?xml version=\"1.0\"?>");echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml>
<?php include("config.php"); include("core.php"); connectdb(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"]; $pmid = $_GET["pmid"]; if(islogged($sid)==false) { echo "<card id=\"main\" title=\"SITENAME HERE\">"; echo " "; echo "You are not logged in "; echo "Or Your session has been expired "; echo "<a href=\"index.php\">Login</a>"; echo " "; echo "</card>"; echo "</wml>"; exit(); } $uid = getuid_sid($sid); if(isbanned($uid)) { echo "<card id=\"main\" title=\"SITENAME HERE\">"; echo " "; echo "<img src=\"images/notok.gif\" alt=\"x\"/> "; echo "You are **Banned** "; $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Time to finish your penalty: $rmsg "; //echo "<a href=\"index.php\">Login</a>"; echo " "; echo "</card>"; echo "</wml>"; exit(); } echo " These Are Your Forums $nick"; $fcats = mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id"); $iml = "<img src=\"images/1.gif\" alt=\"*\"/>"; while($fcat=mysql_fetch_array($fcats)) { $catlink = "<a href=\"index.php?action=viewcat&sid=$sid&cid=$fcat[0]\">$iml$fcat[1]</a>"; echo " $catlink"; $forums = mysql_query("SELECT id, name FROM ibwf_forums WHERE cid='".$fcat[0]."' AND clubid='0' ORDER BY position, id, name"); if(getfview()==0) { echo " "; while($forum=mysql_fetch_array($forums)) { if(canaccess(getuid_sid($sid),$forum[0])) { echo "<a href=\"index.php?action=viewfrm&sid=$sid&fid=$forum[0]\">$forum[1]</a>, "; } } echo ""; }else if(getfview()==20) { echo " Forums: <select name=\"fid\">"; while($forum=mysql_fetch_array($forums)) { if(canaccess(getuid_sid($sid),$forum[0])) { $notp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE fid='".$forum[0]."'")); echo "<option value=\"$forum[0]\">$forum[1]($notp[0])</option>"; } } echo "</select>"; echo "<anchor>[GO]"; echo "<go href=\"index.php\" method=\"get\">"; echo "<postfield name=\"action\" value=\"viewfrm\"/>"; echo "<postfield name=\"sid\" value=\"$sid\"/>"; echo "<postfield name=\"fid\" value=\"$(fid)\"/>"; echo "</go>"; echo "</anchor>"; } } echo " "; echo " "; echo " </card>"; } ?> </wml> make a new file for that call it forums.php then place this link on main page echo "<a href=\"forums.php?sid=$sid\">fourms</a> ";CHERS BRO ILL TRY IT
i cant edit it to work