Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #19  
Old 10-20-2009, 11:46 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 45,629
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: Integrated Forum V 2.0 -Released!-

Quote:
Originally Posted by gabeki
hi, can you help me? :P

I installed this script in my site, and it works pretty well but it will only have 1 parent forum...

when I create another nothing changes, even if I create foruns inside it...

and the parents and foruns are being inserted in the database, so I guess it's a problem of showing and not of inserting...

here's the code where it's supposed to show all parents

PHP Code:
$table $table."

<table width='95%' border='1' align='center' cellpadding='3' cellspacing='1' class='forum'>"
;

$query "SELECT * FROM parent_forum ORDER BY pid ASC";
$result mysql_query($query);
$num3 mysql_numrows($result);

    
//Loop out code
    
$i=0;
    while (
$i $num3) {
    
$pid=@mysql_result($result,$i,"pid");
    
$ptopic=@mysql_result($result,$i,"topic");
    
$ptopic stripslashes($ptopic);

$table $table."
<tr>
<td width='100%' class='forum'><img src='images/iconforum.png'> <b>"
.$ptopic."</b></td>
</tr>
</table>
<table width='95%' border='1' align='center' cellpadding='3' cellspacing='1' class='forum'>
<tr>
<td width='55%' class='forum2' align='center'><strong>Fórum</strong></td>
<td width='10%' class='forum2' align='center'><strong>Tópicos</strong></td>
<td width='10%' class='forum2' align='center'><strong>Posts</strong></td>
<td width='20%' class='forum2' align='center'><strong>Último Post</strong></td>
</tr>"
;

$query "SELECT * FROM forum Where pid='".$pid."'";
$result mysql_query($query);
$num2 mysql_numrows($result);

    
$i=0;
    while (
$i $num2) {
    
$fid=@mysql_result($result,$i,"fid");
    
$topic=@mysql_result($result,$i,"topic");
    
$desc=@mysql_result($result,$i,"desc");
    
$posts=@mysql_result($result,$i,"posts");
    
$threads=@mysql_result($result,$i,"threads");
    
$lby=@mysql_result($result,$i,"lby");
    
$ldatetime=@mysql_result($result,$i,"ldatetime");
    
$ltopic=@mysql_result($result,$i,"ltopic");
    
$lid=@mysql_result($result,$i,"lid");
    
$topic stripslashes($topic);
    
$ltopic stripslashes($ltopic);
    
$desc stripslashes($desc);

if(
$ltopic == ""){
$lpost "<i>Nunca</i>";
}
else{
$lpost "<a href='view_topic.php?id=".$lid."'>".$ltopic."</a> por: <a href='perfil.php?user=".$lby."'>".$lby."</a><br>".$ldatetime;
}

$table $table."
<tr>
<td class='trow'><a href='main_forum.php?fid="
.$fid."'>".$topic."</a><BR><i>".$desc."</i></td>
<td align='center' class='trow'>"
.$threads."</td>
<td align='center' class='trow'>"
.$posts."</td>
<td align='center' class='trow'>"
.$lpost."</td>
</tr>"
;

    
$i++;
    }
    
$i++;
    }

$table $table."
</table><br>"

and here's the link http://www.maplepet.co.cc/main_forum2.php

ty from now. :D
That was something, a feat, that took me up until now to solve. It is solved for the next release, I can't help you fix it now, because it wont work with the current version you have.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrated Forum & Premium Question Niku Questions and Supports 2 08-11-2011 01:01 AM
MyBB 1.4.11 released! God of Webmasters Area 0 12-30-2009 01:50 AM
A basic Integrated Forum Bloodrun Addons/Mods Graveyard 30 05-17-2009 09:51 PM


All times are GMT -5. The time now is 06:43 PM.

Currently Active Users: 3448 (0 members and 3448 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636