Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2010, 09:47 AM
fruktkak fruktkak is offline
 
Join Date: Jan 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Hide register button

Hello, when i log in to my forum. I still see the register button. How do i hide it for registered users?
Reply With Quote
  #2  
Old 02-17-2010, 10:10 AM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That should be hidden automatically for the registered users. Are you using a custom theme? Can you post a screenshot?
Reply With Quote
  #3  
Old 02-17-2010, 11:44 AM
fruktkak fruktkak is offline
 
Join Date: Jan 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



I am using THIS theme
Reply With Quote
  #4  
Old 02-17-2010, 12:36 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ask at that theme''s topic so its author can have a look at the header template. What about the default theme, does that happen there as well?
Reply With Quote
  #5  
Old 02-17-2010, 12:46 PM
fruktkak fruktkak is offline
 
Join Date: Jan 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The theme author aren't answering anymore. But, i think it started happening when i changed my language pack from english to norwegian, Is that possible?
Reply With Quote
  #6  
Old 02-17-2010, 12:49 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To answer that question, change the language back to English and see if that will fix it. If it does then it must be a bug in norwegian language files.
Reply With Quote
  #7  
Old 02-17-2010, 12:52 PM
fruktkak fruktkak is offline
 
Join Date: Jan 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Isnt there any other option? Because i overwrited my norwegian language pack with the english default package.
Reply With Quote
  #8  
Old 02-17-2010, 02:22 PM
DaRK mAN306's Avatar
DaRK mAN306 DaRK mAN306 is offline
 
Join Date: Aug 2008
Location: Bahrain
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there fruktkak,

If I wasn't mistaken, there is probably an error with the conditional sentences .!
To make sure, I want you to do this:
  1. First of all, sign into your Admin CP ..
  2. Then, go to "Styles & Templates >> Style Manager" ..
  3. After that, choose "Edit Templates" option from your defined vB Style drop-down menu ..
  4. Then, Expand the template groups and look for "Header" template and edit it ..
  5. Once you enter the template, look for:
    Code:
    <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
    There should be two of them ..
  6. Make sure that the lines above and beneath the line mentioned in step 5 are like this:
    Code:
                    <vb:if condition="$show['registerbutton']">
    
                    </vb:if>
    Which means that the whole code should be something like this:
    Code:
                    <vb:if condition="$show['registerbutton']">
                    <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
                    </vb:if>
  7. Modify the lines if they are not like the lines mentioned in step 6 ..
  8. "Save" the template ..
If it didn't work, I advice you to post your forums URL so that we can see what's really going on .!
Reply With Quote
  #9  
Old 02-17-2010, 02:34 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don''t think it is the template of the custom theme as according to the op it started when he switched the language. Otherwise it would have shown much longer. But it doesn''t hurt to double check
Reply With Quote
  #10  
Old 02-17-2010, 10:40 PM
fruktkak fruktkak is offline
 
Join Date: Jan 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DaRK mAN306 View Post
Hello there fruktkak,

If I wasn't mistaken, there is probably an error with the conditional sentences .!
To make sure, I want you to do this:
  1. First of all, sign into your Admin CP ..
  2. Then, go to "Styles & Templates >> Style Manager" ..
  3. After that, choose "Edit Templates" option from your defined vB Style drop-down menu ..
  4. Then, Expand the template groups and look for "Header" template and edit it ..
  5. Once you enter the template, look for:
    Code:
    <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
    There should be two of them ..
  6. Make sure that the lines above and beneath the line mentioned in step 5 are like this:
    Code:
                    <vb:if condition="$show['registerbutton']">
    
                    </vb:if>
    Which means that the whole code should be something like this:
    Code:
                    <vb:if condition="$show['registerbutton']">
                    <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
                    </vb:if>
  7. Modify the lines if they are not like the lines mentioned in step 6 ..
  8. "Save" the template ..
If it didn't work, I advice you to post your forums URL so that we can see what's really going on .!
Hello, i did what u said, and there weren't anything wrong there. Heres my website url
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 08:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04705 seconds
  • Memory Usage 2,248KB
  • 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
  • (6)bbcode_code
  • (1)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