Jump to content

How to Add Latest Fourm Post.


llju1

Recommended Posts

Ok this may have been talked about some where else but I would like to add a  Module to my site that will show the latest forum post.  Such as Tom uses on his site. http://www.europeangateway.info/

Let me know if you can . I use phpbb  and smf. I will have all the members use which ever one is easiest to set up the code with.

thanks for you time.

Lloyd Mendenhall

http://vmac.info

Link to comment
Share on other sites

thanks for the quick reply. I keep getting an error but I will work it out sooner or later. ;D

I really Like the way you site looks and hope to have mine functioning a lot better in the future. The Forum block is is the last thing I want to do to it them I thingk I will be done with it ::)

thanks again for you quick replies

Lloyd Mendenhall

http://vmac.info

Link to comment
Share on other sites

Getting this Error: :o

Warning: include(forums/topics_anywhere.php) [function.include]: failed to open stream: No such file or directory in /hermes/web06b/b338/pow.llju1/htdocs/lib/skins/VMACSkin3/frontpage_main.tpl on line 155

Warning: include() [function.include]: Failed opening 'forums/topics_anywhere.php' for inclusion (include_path='.:/usr/local/lib/php-5.2.2/lib/php') in /hermes/web06b/b338/pow.llju1/htdocs/lib/skins/VMACSkin3/frontpage_main.tpl on line 155

Link to comment
Share on other sites

Yes I did my directory was called forum rather than forums so I changed that and now get this error: :P

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /hermes/web06b/b338/pow.llju1/htdocs/forum/topics_anywhere.php on line 38

Warning: extract() [function.extract]: First argument should be an array in /hermes/web06b/b338/pow.llju1/htdocs/forum/topics_anywhere.php on line 39

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /hermes/web06b/b338/pow.llju1/htdocs/forum/topics_anywhere.php on line 41

Link to comment
Share on other sites

Not 100% sure it was part of one of the build update

This is the code I have on my frontage;Hope it Helps.

<h3 class="style12">Users Online</h3>
<p><i>There have been <?php echo count($usersonline)?> user(s), and <?php echo count($guestsonline);?> guest(s) online in the past <?php echo Config::Get('USERS_ONLINE_TIME')?> minutes.</i></p>

<?php
/* $usersonline also has the list of users -
	really simple example

	Or if you're not on the frontpage:
	$usersonline = StatsData::UsersOnline();


foreach($usersonline as $pilot)	
{
	echo "{$pilot->firstname} {$pilot->lastname}<br />";
}
*/
?>

Link to comment
Share on other sites

I know this is fixing to be a real stupid question but I must.

I have this on site and it works great.......EXCEPT,  somehow, I have it working so that when you click a recent topic, it is going to my old url http://thunderva.paranormalinsights.com

it should be going to http://thunderva.mweva.com

I have looked in local config of phpVMS and the config file in my phpBB as well and no where does it have that old url that I can find. Can you tell me where I can look that I might not have looked allready?  I have just searched for like 15 minutes to find the info and can not locate the answer.

I guess this  $config_value  is what I am referring to.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...