Go Back   vb.org Archive > Community Discussions > Forum and Server Management

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2009, 11:04 PM
Linkz0r's Avatar
Linkz0r Linkz0r is offline
 
Join Date: Nov 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default "undefined" when logging out?

Hi I've just installed a new vbulletin board here and our having issues with logging out when logged in.

If you click logout from the nav link or the one at the bottom a pop-up message comes up saying "undefined" and says OK or cancel, a screen shot of it can be found here. I don't think I've touched any of the templates involving the log out part of the site so I don't know what's wrong, and when I click OK it comes up with

and then I click logout and it logs me out fine, but this is a hassle and I don't want to have to do this every time.

My login seems fine and there is nothing wrong there. Also over the last few days I have installed quite a few mods not knowing if that could have made this happen or not, though I doubt it did. Any ideas on what the problem is?
Reply With Quote
  #2  
Old 04-26-2009, 11:10 PM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like the "logout" link is wrong. You can copy & paste that link and then do a search in the template of the skin you're using.
Usually it's a call for a Javascript function that is defined in the default skin, but not the skin you're using - sometimes it's missed, sometimes not.

Just some comparing between the default skin and the one you use will help
Reply With Quote
  #3  
Old 04-26-2009, 11:37 PM
Linkz0r's Avatar
Linkz0r Linkz0r is offline
 
Join Date: Nov 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Angel-Wings View Post
Looks like the "logout" link is wrong. You can copy & paste that link and then do a search in the template of the skin you're using.
Usually it's a call for a Javascript function that is defined in the default skin, but not the skin you're using - sometimes it's missed, sometimes not.

Just some comparing between the default skin and the one you use will help
Alright thanks, I seem to have fixed the bottom logout words but which template can I find the logout button in the nav in?
Reply With Quote
  #4  
Old 04-26-2009, 11:43 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the bottom one IIRC is in your forumdisplay template
Reply With Quote
  #5  
Old 04-26-2009, 11:51 PM
Linkz0r's Avatar
Linkz0r Linkz0r is offline
 
Join Date: Nov 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah ive fixed that one and ive actualy fixed my top one now, but the images have messed up a bit in the nav, just wondering if one of you could correct this peice of code so the button shows properly again
Code:
<img src="$stylevar[imgdir_misc]/navbar.gif" border="0" alt="" /><a href="./search.php?$session[sessionurl]" accesskey="4"><img src="$stylevar[imgdir_misc]/search.gif" border="0" alt="Search" /></a><img src="$stylevar[imgdir_misc]/navbar.gif" border="0" alt="" /><a href="./login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">Log Out<img src="$stylevar[imgdir_misc]/logout.gif border="0" alt="Log Out" /></a></if></td>
	</tr>
</table>
<!-- /nav -->
Reply With Quote
  #6  
Old 04-26-2009, 11:54 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Linkz0r View Post
Yeah ive fixed that one and ive actualy fixed my top one now, but the images have messed up a bit in the nav, just wondering if one of you could correct this peice of code so the button shows properly again
Code:
<img src="$stylevar[imgdir_misc]/navbar.gif" border="0" alt="" /><a href="./search.php?$session[sessionurl]" accesskey="4"><img src="$stylevar[imgdir_misc]/search.gif" border="0" alt="Search" /></a><img src="$stylevar[imgdir_misc]/navbar.gif" border="0" alt="" /><a href="./login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">Log Out<img src="$stylevar[imgdir_misc]/logout.gif border="0" alt="Log Out" /></a></if></td>
    </tr>
</table>
<!-- /nav -->
could you provide a link or screenshot?

either that or pm me with details and i'll have a quick look
Reply With Quote
  #7  
Old 04-26-2009, 11:55 PM
Linkz0r's Avatar
Linkz0r Linkz0r is offline
 
Join Date: Nov 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.club-gamer.com/index.php?" target="_blank">http://www.club-gamer.com/index.php?</a> is the forum with the issue, thanks
Reply With Quote
  #8  
Old 04-26-2009, 11:56 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have a guest account, i can not see the log out button?
Reply With Quote
  #9  
Old 04-27-2009, 12:05 AM
Linkz0r's Avatar
Linkz0r Linkz0r is offline
 
Join Date: Nov 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah yes, sorry
Username - Gamer
Password - 11223344
Reply With Quote
  #10  
Old 04-27-2009, 12:11 AM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<img src="$stylevar[imgdir_misc]/logout.gif" border="0" alt="log out" /><a href="./login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"></a></td>
try changing your log out button to this code
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10766 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete