Results 1 to 11 of 11

Thread: Urgent issues-Logging in problem

  1. #1

    Default Urgent issues-Logging in problem

    Hello,
    I am having a bit of a problem.Well i just finally installed VBAcmps 2.1 for VB 3.5.Installation went fine and everything seemed to work except i can not log into my site/forum from the VBA pages welcome block.It seems to not function at all i can enter my name and password but when i click the "login" button nothing happens.

    I've checked and double checked all paths and settings with no luck.Any help would be appreciated.Our site is located at www.wumbrella.com/wu/index.php

    Thanks for the time.

  2. #2
    Super Moderator Zachery's Avatar
    Join Date
    Jan 2004
    Posts
    3,186

    Default Re: Urgent issues-Logging in problem

    Hmm..


    What is you're cookie prefix, cookie domain, and cookie folder set to in the config.php and vBulletin Options? Also what is your vBulletin URL set to?
    Zachery
    I may or may not do things.

  3. #3

    Default Re: Urgent issues-Logging in problem

    path to save cookies- "/"
    After reading another thread i also tried setting this option to "/forum"
    Also tryed clearing cookies as well.

    cookie domain- ".wumbrella.com"

    VB URL= "http://www.wumbrella.com/forum"

    cookie prefix- "bb"

    Also just for further information I originally set this up on my test server and it worked perfectly only encountered the error after installing on the actual server.When logged in on the forum the information for my account is shown in welcome block and i can logout from there.The issue only happens when logging in from the cmps page the button clicks but nothing at all happens.

    :EDIT:
    This was the page by the way http://www.vbadvanced.com/forum/showthread.php?t=1341
    Already tryed all this.
    Last edited by bhxtyrant; 09-03-2006 at 08:07 AM.

  4. #4

    Default Re: Urgent issues-Logging in problem

    anyone?

  5. #5
    Super Moderator Zachery's Avatar
    Join Date
    Jan 2004
    Posts
    3,186

    Default Re: Urgent issues-Logging in problem

    Change your cookie domain back to back blank,

    If you try to login to domain.com thats not .domain.com which makes the cookies invalid.
    Zachery
    I may or may not do things.

  6. #6

    Default Re: Urgent issues-Logging in problem

    I tryed your suggest Zach,
    When i leave Cookie domain to blank i can no longer log out at all as it still counts me as being logged in even after i delete the cookies from my PC.
    I then tryed using "wumbrella.com" which fixed the loging out problem but the same thing happens on the VBA pages the login form doesnt work at all.

    I tryed uploading the default module for it (even though i never altered it).

    For example (you can test this yourself as well) usually if you enter a user name and password or leave it blank and click log in it should tell you incorrect name or pass.But when you click log in nothing happens at all not even invalid message

    Edit:Hmm the problem seems to happen then i try to use the welcome block module without using the shell template.I customized mine so i now use this code.

    Code:
    <!--Nav border top begin-->
    <table width="190" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="11" height="10" background="$vboptions[bburl]/images/wu/mainfiles/nm_top_left.gif"></td>
        <td background="$vboptions[bburl]/images/wu/mainfiles/nm_top_mid.gif"></td>
        <td width="11" background="$vboptions[bburl]/images/wu/mainfiles/nm_top_right.gif"></td>
      </tr>
      <tr>
        <td background="$vboptions[bburl]/images/wu/mainfiles/nm_left.jpg"></td>
        <td align="left" valign="top" background="$vboptions[bburl]/images/wu/mainfiles/nm_cen.jpg">
    <!--Nav border top end-->
    <table align="center" class="usercpnav" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="1" width="100%">
    	<thead>
    	<tr>
    		<td class="tcat">
    		<a href="#top" onClick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
    		<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
    	</tr>
    	</thead>
    	<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
    
    <!-- Custom Code Start -->
    <tr>
    <td class="$bgclass">
    
    	<if condition="$mods['modcol'] == 1">
    		<if condition="!$show['guest']">
    
    			<if condition="$avatarurl">
    				<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
    			</td>
    			<td class="$altbgclass" valign="top" width="100%">
    			</if>
    				<if condition="$bbuserinfo['reputationdisplay'] OR ($bbuserinfo['rank'] AND $mod_options['portal_welcome_rank'])">
    					<div class="smallfont" style="float:$stylevar[right]">
    					<if condition="$bbuserinfo['reputationdisplay']">
    						$vbphrase[rep_power]: $reppower
    						<div align="$stylevar[right]" style="margin-bottom:5px">$bbuserinfo[reputationdisplay]</div>
    					</if>
    					<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
    						<div align="$stylevar[right]" style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
    					</if>
    					</div>
    				</if>
    
    				<span class="smallfont"><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_back_x]</phrase><br />
    				<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
    				<if condition="$mod_options['portal_welcome_newposts']">
    					<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
    				</if>
    
    				<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></span>
    
    				<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
    						</td>
    					</tr>
    					<tr>
    						<td class="thead" colspan="2"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td>
    					</tr>
    					<tr>
    						<td class="$bgclass" colspan="2"><span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
    				</if>
    		<else />
    
    			<table width="100%" cellspacing="3" cellpadding="0">
    				<tr>
    					<td nowrap="nowrap"><span class="smallfont">$vbphrase[user_name]</span></td>
    					<td nowrap="nowrap"><input class="bginput" name="vb_login_username" size="12" type="text" /></td>
    					<td nowrap="nowrap"><span class="smallfont"><input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]</span></td>
    					<td align="center" rowspan="2" width="100%"><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></td>
    				</tr>
    				<tr>
    					<td><span class="smallfont">$vbphrase[password]</span></td>
    					<td><input class="bginput" name="vb_login_password" size="12" type="password" /></td>
    					<td><input class="button" type="submit" value="$vbphrase[log_in]" /></td>
    				</tr>
    			</table>
    
    		</if>
    
    	<else />
    
    		<if condition="$bbuserinfo['userid']">
    			<span class="smallfont"><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_back_x]</phrase></span><br />
    
    		<if condition="$mod_options['portal_welcome_avatar']">
    			<div style="padding:4px">
    				<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
    			</div>
    		</if>
    		<div class="smallfont">
    		<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
    		<if condition="$mod_options['portal_welcome_newposts']">
    			<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
    		</if>
    
    		<if condition="$bbuserinfo['reputationdisplay']">
    			<div style="margin-top:5px; margin-bottom:5px">$vbphrase[rep_power]: $reppower<br />
    			$bbuserinfo[reputationdisplay]</div>
    		</if>
    		<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
    			<div style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
    		</if>
    
    		<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></div>
    
    		<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
    			</td>
    			</tr>
    			<tr>
    			<td class="thead"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td>
    			</tr>
    			<tr>
    			<td class="$altbgclass"><span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
    		</if>
    
    		<else />
    			<div class="smallfont" style="padding:2px">$vbphrase[user_name]:<br />
    				<input class="bginput" name="vb_login_username" size="12" type="text" /><br />
    				$vbphrase[password]:<br />
    				<input class="bginput" name="vb_login_password" size="12" type="password" /><br />
    				<input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]
    
    				<div style="margin-top:3px; margin-bottom:6px;">
    					<input class="button" type="submit" value="$vbphrase[log_in]" />
    				</div>
    
    			<phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase>
    			</div>
    
    	</if>
    </if>
    </td>
    </tr>
    <!-- Custom Code End -->
    
    	</tbody>
    </table>
    <!--Nav border bottom begin-->	</td>
        <td background="$vboptions[bburl]/images/wu/mainfiles/nm_right.jpg"></td>
      </tr>
      <tr>
        <td height="20" background="$vboptions[bburl]/images/wu/mainfiles/nm_bot_left1.gif"></td>
        <td align="left" background="$vboptions[bburl]/images/wu/mainfiles/nm_bot_mid.gif"><img src="$vboptions[bburl]/images/wu/mainfiles/nm_bot_left2.gif" width="5" height="20" align="left"><img src="$vboptions[bburl]/images/wu/mainfiles/nm_bot_right2.gif" width="15" height="20" align="right"></td>
        <td background="$vboptions[bburl]/images/wu/mainfiles/nm_bot_right1.gif"></td>
      </tr>
    </table>
    <!--Nav border bottom end-->
    
    <br />
    Perhaps someone may know why this causes it not to function.I have found out that it has something to do with this code from the default shell template. "$mods[formcode]" so i thought adding this to my custom welcome block template would help.It does fix the button but the path is incorrect when you submit you name/pass saying something like this

    "www.yoursite.com/(vb-url)-options/login.php"

    I did include the "$mods[formcode]" and the "<if>$mods[formcode]</if>" in my custom shell template but still seems to have no effect.
    Last edited by bhxtyrant; 09-04-2006 at 10:29 PM.

  7. #7
    Super Moderator Zachery's Avatar
    Join Date
    Jan 2004
    Posts
    3,186

    Default Re: Urgent issues-Logging in problem

    Because you have multiple cookies on your computer, ones for .domain.com and domain.com and www.domain.com

    You need to clear your cookies and try again. Alterntively you can change the cookie prefix from bb to vb and it should now work. This will globally log everyone out.
    Zachery
    I may or may not do things.

  8. #8

    Default Re: Urgent issues-Logging in problem

    Zach i get what you are saying now but i dont think you are understanding what i am saying.The problem is not the cookies.(well the not being able to login/logout was) but the problem now is still that the submit button doesnt work.

    I customized the module shell template as well as various module templates.One of those happened to be the "welcome block" module template.

    Because of this the submit button in the login area on welcome block no longer functions at all.I have gotten it to work again by switch back to using the shell template option in the welcome module but that ruins the look of the custom design.I know it has something to do with these two lines of code from the shell template

    $mods[formcode]
    <if condition="$mods['formcode']"></form></if>

    The question is how can i get it working without being forced to revert my custom layout templates.
    Last edited by bhxtyrant; 09-05-2006 at 03:25 AM.

  9. #9
    Super Moderator Zachery's Avatar
    Join Date
    Jan 2004
    Posts
    3,186

    Default Re: Urgent issues-Logging in problem

    I'd suggest taking a look at the proper output with the shell template and copying the form code that it outputs then add it into the template and disable the option.
    Zachery
    I may or may not do things.

  10. #10

    Default Re: Urgent issues-Logging in problem

    Thanks for the help Zach.I got it up and running now after a little trial and error.This can now be closed problem solved.

  11. #11

    Default Re: Urgent issues-Logging in problem

    How did you FIX this problem? I hav e it in vb 3.6.3 and the newest cmps! My members log in and it looks like they are not logged in when they are!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Logging in link problem
    By akira in forum Troubleshooting / "How do I..." Questions
    Replies: 30
    Last Post: 07-19-2005, 01:06 PM
  2. Getting there.... but small logging problem
    By SelRahc in forum Troubleshooting / "How do I..." Questions
    Replies: 7
    Last Post: 11-17-2004, 01:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •