The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Currently i use this code to extract posts from the forum db to place into a news page located in the forum directory
Code:
$result2 = mysql_query('SELECT * FROM `post` WHERE `postid` = "'.$row{"firstpostid"}.'" ');
while ($row2 = mysql_fetch_array($result2,MYSQL_ASSOC)) {
$i = $i.'<tr>
<td class="tcat">'.$row{"title"}.'</td>
</tr>
<tr>
<td class="alt1">'.$row2{"pagetext"}.'</td>
</tr>';
}
The news page is located at http://teentribes.com/forum/con.php?do=site Sorry, i actually managed to find a piece of code after searching through loads of pages. https://vborg.vbsupport.ru/showthrea...+outside+forum This should help anyone else who needs it, it works very well. |
|
#2
|
|||
|
|||
|
Incluse this in your file
PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|