Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2008, 03:47 AM
spatel spatel is offline
 
Join Date: May 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default how to display forum home page always after user log in

Hi,

I have made some changing to our system such that it automatically logs user in when they click on forum button.
v are having two different database for our website users and forums user integrated.

the problem is, whenever user clicks on forum burron, it logs in the user to the forum but forum transfer it back to the same page.
I want to make changes such that, after every successful log in, user must be transfered to the forum home page.

any idea??????

Thanks

--------------- Added [DATE]1211350891[/DATE] at [TIME]1211350891[/TIME] ---------------

already 2 hours and 6 visitors, but no answer??????

please help me
Reply With Quote
  #2  
Old 05-21-2008, 07:54 AM
Medina Medina is offline
 
Join Date: Oct 2006
Location: the Netherlands
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

control panel ---> your style ---> edit template ---> standard redirect ---> and after that find this


Quote:
<p class="smallfont"> <a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a></p>

Replace with:

Quote:
<p class="smallfont"> <a href="http://ENTER YOUR URL TO YOUR FORUM HOME">$vbphrase[click_if_browser_does_not_redirect]</a></p>
Reply With Quote
  #3  
Old 05-26-2008, 12:48 AM
spatel spatel is offline
 
Join Date: May 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got your point, thanks for that.
but why it is not opening in new window after I changed it's target to _blank??
any idea???

thanks
Reply With Quote
  #4  
Old 05-26-2008, 02:02 PM
Medina Medina is offline
 
Join Date: Oct 2006
Location: the Netherlands
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<p class="smallfont"> <a href="http://ENTER YOUR URL TO YOUR FORUM HOME" target="_blank">$vbphrase[click_if_browser_does_not_redirect]</a></p>


Did you have try this?


if it`s not working, then it`s not working because it`s a redirect. But what you can do, is add a image above the "redirect" and give that image the "target="_blank"" code.
Reply With Quote
  #5  
Old 05-26-2008, 03:24 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use the plugin system for login_redirect location
Reply With Quote
  #6  
Old 05-26-2008, 06:09 PM
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Medina View Post
<p class="smallfont"> <a href="http://ENTER YOUR URL TO YOUR FORUM HOME" target="_blank">$vbphrase[click_if_browser_does_not_redirect]</a></p>


Did you have try this?


if it`s not working, then it`s not working because it`s a redirect. But what you can do, is add a image above the "redirect" and give that image the "target="_blank"" code.
Just so you know, that only changes the link, it doesn't change what it redirects to.
Reply With Quote
Reply


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 07:36 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.03896 seconds
  • Memory Usage 2,214KB
  • Queries Executed 13 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete