Jump to content
xisto Community

sewan

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. look, these information i want to display here http://forums.xisto.com/no_longer_exists/ in the center big module. and my formu is http://forums.xisto.com/no_longer_exists/
  2. Hey! i try this and don't work my site don't show nothing <?php$forums = "http://forums.xisto.com/no_longer_exists/;; // forum url$limits = "10"; // how much will show$size = 25; //how many simbols can be in topic lenght$host = "localhost";$dbname = "l2rivendel_foro";$dbuser = "hidden";$dbpass = "hidden";$link = mysql_connect($host, $dbuser, $dbpass)or die("Could not connect: " . mysql_error());mysql_select_db($dbname) or die("No DB");mysql_query("SET NAMES UTF-8"); // for latvian language$kveri = mysql_query("SELECT posts, last_poster_name, last_poster_id, title, tid, forum_id, last_post FROM ibf_topics ORDER BY last_post DESC LIMIT ".$limits."");// izvadam jaunumusecho "<div id='cont'>";echo "<div id='bord'></div>";while($row = mysql_fetch_array( $kveri )) {echo "<a href=\"$forums/index.php?showtopic=".$row[tid]."&view=getnewpost\"><div id='topic'><div id='bubble'>".$row[posts]."</div><span class='name'>";if(strlen($row[title])>$size){[tab][/tab][tab][/tab]echo substr($row[title], 0, $size)."...";}else{[tab][/tab][tab][/tab]echo $row[title];}echo "</span></div></a><div id='bord'></div>";}echo "</div>";?> My ipboard is 3.4.1
  3. Hey!!who know how do a little script for show the news on my site? i tried see the DB but i can't do this... some help pls?IPBoard: 3.4.1Structure:On my forum i have a category (L2 Staff) and there, i have the forum "Announcements" (The id of announcements forum is ID=3)i want to show all topics of here on my siteand the rows that i want to show are:-The nick of the announcer-The avatar of the announcer-The image of the group of this announcer (Admin,moderator,user)-The title of the topic-The content of the topic-The date of the topic-(And if is possible, the direct link (url) to the topic)I know I'm asking a lot u.u, but would greatly appreciate your help to build this script.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.