I am having an issue when I put the forums on the home instead of the News.
I have searched but I either don't find the same exsact issue or I am just not understanding the sollution.
When I stick the Forums as the home and Click on Log In from any site stats/user block and even the log in on the forums them self, I log in just fine. But when I click on home or type in the address to the site it does not show me as logged in. But if I click on a link to the forums it shows me as logged in.
So I am guessing that if I want to see if there are any new posts the lights will not be lit and I would have to still click on forums?
to me iand i know next to nothing on php , but im getting same probs with 7.8
2.0.17
beacuse i`ve just uploaded and i presume not all my links have been set in the mysite.com/admin.php this is were all the links need updating to connect them modules /blocks together when u click them
if i go to home and read the standard message thats there the word administration links me and logs me into the admin.php site but if i click the log in any where else i`m not so i presume this is the problem go through all the blocks modules and stuff in administration pages and read everything so we both get all the links sorted , yes its a long job reading wise but it will fix it i hope for us both best a luk
that to the forums index.php. I got that snippet from the News module. But no luck.
stcloudscoots Nuke Soldier
Joined: Feb 03, 2006
Posts: 26
Posted:
Fri Feb 10, 2006 7:29 pm
I found a block that allows my forums to display decent enough in the home.
I was wondering how I would add html into it.
Code:
<center><div align="center"><img alt="Image hosted by Photobucket.com" src="http://i20.photobucket.com/albums/b234/guildtastic/Misc/vespanew3.png" align="left" border="0" /></div><br /><div align="left">My reason/plan for this site is the following:<br /><br />1) To gather people who own or want more info <br /> on scooters.<br /><br />2) To give people from the St. Cloud, MN area <br /> that own scooters a place to talk about scooters,<br /> plan rides and get to gethers.<br /><br />3) To give other scooter groups in the state a place<br /> to notify this group if they are passing by, and to<br /> see if any of us want to tag along with them to <br /> finish out the ride with them.</div></center>
Thats what I want to enter into this.
Code:
<?php
########################################################################
# PHP-Nuke Block: fiapple Center Forum Block v.9 #
# Made for PHP-Nuke 6.5 ONLY!! #
# #
# Made by mikem http://www.nukemods.com #
# Edited by William Wickings http://www.amateur-online.net #
########################################################################
# This program is free software. You can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License. #
# If you modify this, let me know for fun. =) #
########################################################################
if (eregi("block-fiapple-Forum.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
global $prefix, $dbi, $sitename, $admin;
$HideViewReadOnly = 1;
$result2 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'", $dbi);
list($username, $user_id)=sql_fetch_row($result2, $dbi);
$avtor=$username;
$sifra=$user_id;
$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%m/%d/%Y at %H:%i') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
list($poster_id, $post_time)=sql_fetch_row($result3, $dbi);
$result4 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$poster_id'", $dbi);
list($username, $user_id)=sql_fetch_row($result4, $dbi);
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum