Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Login box for Forum, I am trying to get rid of it

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic
Author Message
nirad

Beginner
Beginner


Joined: Sep 25, 2004
Posts: 3

PostPosted: Mon Sep 27, 2004 3:30 pm    Post subject: Login box for Forum, I am trying to get rid of it Reply with quote

Just installed PHP Nuke, and would like to get rid of the login box at the bottom of the Forum module. I searched the code and could not find a way to get rid of it. HELP!!! You can see for yourself here:

http://www.dlbn.com/

Login box there whether or not I am logged in.

thanks
darin
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Login box for Forum, I am trying to get rid of it  

Back to top
Crypton

Novice
Novice


Joined: Sep 28, 2004
Posts: 29

PostPosted: Wed Sep 29, 2004 2:43 pm    Post subject: Re: Login box for Forum, I am trying to get rid of it Reply with quote

I think that has to do with the theme you are using, check the files for your themes forums \themes\_yourtheme_\forums\

should be in there..

Check
\themes\helius\forums\index_body.tpl

look for
PHP: › <?php <!-- BEGIN switch_user_logged_out -->
<
form method="post" action="modules.php?name=Your_Account">
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
<
tr>
    <
td width="50" align="right" valign="bottom"><img src="themes/Helius/forums/images/top_left.gif" width="50" height="28" border="0" alt="" /></td>
    <
td width="100%" align="center" valign="middle" background="themes/Helius/forums/images/top_center.gif"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
    <
td width="50" align="left" valign="bottom"><img src="themes/Helius/forums/images/top_right.gif" width="50" height="28" border="0" alt="" /></td>
</
tr>
</
table>
<
table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<
tr
    <
td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}: 
        <
input class="post" type="text" name="username" size="10" />
        &
nbsp;&nbsp;&nbsp;{L_PASSWORD}: 
        <
input class="post" type="password" name="password" size="10" />
        &
nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN
        <
input class="text" type="checkbox" name="autologin" checked="checked" />
        &
nbsp;&nbsp;&nbsp
        <
input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
        </
span> </td>
</
tr>
</
table>
<
table border="0" cellspacing="0" cellpadding="0" width="100%">
<
tr>
    <
td width="40" align="right" valign="top"><img src="themes/Helius/forums/images/bottom_left.gif" width="40" height="9" border="0" alt="" /></td>
    <
td width="100%" background="themes/Helius/forums/images/bottom_center.gif"><img src="themes/Helius/forums/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
    <
td width="40" align="left" valign="top"><img src="themes/Helius/forums/images/bottom_right.gif" width="40" height="9" border="0" alt="" /></td>
</
tr>
</
table>
</
form>
<
table width="100%"><tr><td><img src="themes/Helius/forums/images/spacer.gif" width="1" height="10" border="0" /></td></tr></table><!-- replacement of <br clear="all" /> because of Opera 7 bug. -->
<!-- 
END switch_user_logged_out --> ?>


make a copy of the file in case..

remove the above code from the file and save (make a backup before doing this ...)

Then see if it works..

But I have a question for you, are you sure your using the theme made for PHP-Nuke ? If you added that theme to PHP-Nuke make sure you are using PHP-Nuke theme and not the one that is just for PHPBB

PHPBB need to stay SubSilver and set to override users

Then PHP-Nuke theme can be installed and will make the forums and nuke site themed the same

http://www.trushkin.net/phpnuke.php <-- more themes including the theme you are using, cept they are for php-nuke..

http://files.phpbbstyles.com/ca/helius_nuke65.zip <-- for PHP-Nuke

I checked the theme on my site and it does not show the login stuff in my forums.. so it sounds like you are using the PHPBB only version..

Anyways dbl check and let me know, // cheers
Back to top
Hidden View user's profile Send private message
nirad

Beginner
Beginner


Joined: Sep 25, 2004
Posts: 3

PostPosted: Thu Sep 30, 2004 10:51 am    Post subject: Re: Login box for Forum, I am trying to get rid of it Reply with quote

thanks for the reply. i commented the code as recommended, and the site is how i want it. thanks!
Code: › <!-- BEGIN switch_user_logged_out -->
<!--
<form method="post" action="modules.php?name=Your_Account">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50" align="right" valign="bottom"><img src="themes/HeliusGray/forums/images/top_left.gif" width="50" height="28" border="0" alt="" /></td>
<td width="100%" align="center" valign="middle" background="themes/HeliusGray/forums/images/top_center.gif"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
<td width="50" align="left" valign="bottom"><img src="themes/HeliusGray/forums/images/top_right.gif" width="50" height="28" border="0" alt="" /></td>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
&nbsp;&nbsp;&nbsp;{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" />
&nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" checked="checked" />
&nbsp;&nbsp;&nbsp;
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="40" align="right" valign="top"><img src="themes/HeliusGray/forums/images/bottom_left.gif" width="40" height="9" border="0" alt="" /></td>
<td width="100%" background="themes/HeliusGray/forums/images/bottom_center.gif"><img src="themes/HeliusGray/forums/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
<td width="40" align="left" valign="top"><img src="themes/HeliusGray/forums/images/bottom_right.gif" width="40" height="9" border="0" alt="" /></td>
</tr>
</table>
</form>
<table width="100%"><tr><td><img src="themes/HeliusGray/forums/images/spacer.gif" width="1" height="10" border="0" /></td></tr></table><!-- replacement of <br clear="all" /> because of Opera 7 bug.
-->
<!-- END switch_user_logged_out -->
[/php]
Back to top
Offline View user's profile Send private message
Crypton

Novice
Novice


Joined: Sep 28, 2004
Posts: 29

PostPosted: Thu Sep 30, 2004 3:33 pm    Post subject: Re: Login box for Forum, I am trying to get rid of it Reply with quote

no prob Smile
Back to top
Hidden View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic

 
Jump to:  
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia