vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   how to display forum home page always after user log in (https://vborg.vbsupport.ru/showthread.php?t=179976)

spatel 05-21-2008 03:47 AM

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

Medina 05-21-2008 07:54 AM

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>

spatel 05-26-2008 12:48 AM

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

Medina 05-26-2008 02:02 PM

<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.

SEOvB 05-26-2008 03:24 PM

Use the plugin system for login_redirect location

MoT3rror 05-26-2008 06:09 PM

Quote:

Originally Posted by Medina (Post 1531860)
<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.


All times are GMT. The time now is 11:12 AM.

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.01013 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete