vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

Tigga 04-29-2003 07:43 PM

Um, ok... I don't see the problem. I just registered at your site and logged in/out just fine, and was redirected to your main index page as I should have been.
I did notice though that your "Want to Register?" and "Forgotten your Password" links there don't work... If you don't allow guests to view your forum or index page you should edit your username_loggedout template and change those 2 links to the full url to your forums.
You are also having an issue with cookies as well. What do you have set for your "Cookie Domain" and "Path to save cookies" in your main Admin CP options?

mv540 04-29-2003 07:49 PM

while you were having a look i made a change which seem to have fixed the redirect problem....

these are the changes i made from when i asked if everything looked ok....

i made the modification from this......

//header("Location: $url");

$url = str_replace("\"", "", $url);
eval("standardredirect(\"".gettemplate("redirect_l ogin")."\",\"\$url\");");
} else {
$bbuserinfo=getuserinfo($userid);
eval("standardredirect(\"".gettemplate("redirect_l ogin")."\",\"\$url\");");
}

to this....

}
//header("Location: $url");

$url = str_replace("\"", "", $url);
eval("standardredirect(\"".gettemplate("redirect_l ogin")."\",\"/index.php?s=$session[dbsessionhash]\");");
} else {
$bbuserinfo=getuserinfo($userid);
eval("standardredirect(\"".gettemplate("redirect_l ogin")."\",\"/index.php?s=$session[dbsessionhash]\");");
}

then the redirect problem seemed to have corrected itself.

as of for the cookie problem ive had that since day one..lol
i have no idea whats wrong...

here are my cookie settings in my admin cp...

GZIP compression level 1
Cookie Domain .mydomain.com (noted the 2 dots)
path to save cookies is /

is that correct?

mv540 04-29-2003 07:57 PM

Quote:

Today at 09:43 PM Tigga said this in Post #1151
If you don't allow guests to view your forum or index page you should edit your username_loggedout template and change those 2 links to the full url to your forums.

can you give directions to doing this step, im still fairly new using vb...

thanks again for your patients tigga! cheers!

Tigga 04-29-2003 08:01 PM

The fix you did for the redirect problem should work, but the only drawback to doing it that way is that your users will be redirected to your homepage anytime they log in. I guess that wouldn't be an issue in your case though since they have to be logged in to view the site. :)
You cookie settings do seem to be correct. You could try changing the Cookie Domain and just leave it blank. The .mysite.com seems to work best for most people, but in a few cases it seems to work better if it's left blank instead.

As for changing that template, just edit that template in your Admin CP. You should see the 2 links there, so just add /forums/ in front of the url to each of them.

mv540 04-29-2003 08:16 PM

ok, one last and final check for any problems....this is very weird..at the log in page where you enter your name and password, all links work fine, but then the minute you click on the home button and then try to click on anything else, it gets page not displayed,

Will altering what you have instructed fix this problem?

im still alittle confused on what to add here...can you please advise...here is the info from the username_loggedout template. i dont want to mess things up so im asking you just to be certain. Can you please use example of my domain and where it should go?

<tr valign="top">
<td bgcolor="{secondaltcolor}"><normalfont><b>Your User Name:</b></normalfont></td>
<td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="username" value="$bbuserinfo[username]" size="25">
&nbsp;&nbsp;</normalfont>
<smallfont><a href="register.php?action=signup">Want to register?</a>
</smallfont></td>
</tr>
<tr valign="top">
<td bgcolor="{firstaltcolor}"><normalfont><b>Your Password:</b></normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont><input type="password" class="bginput" name="password" value="" size="25">
&nbsp;&nbsp;</normalfont>
<smallfont><a href="member.php?s=$session[sessionhash]&action=lostpw">Forgotten your password?</a>
</smallfont></td>
</tr>

sjau 04-29-2003 08:17 PM

Hello,

I have vB 2.3.0 and install worked all fine. No error what so ever (with weather also).
However I don't see any enhancements in the AdminCP. Isn't there supposed to be a new section?

Can you help me on that?

Thx!

Tigga 04-29-2003 08:19 PM

This is what you should have for that template...

<tr valign="top">
<td bgcolor="#1C5780"><normalfont><b>Your User Name:</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont><input type="text" class="bginput" name="username" value="$bbuserinfo[username]" size="25">
</normalfont>
<smallfont><a href="/forums/register.php?action=signup">Want to register?</a>
</smallfont></td>
</tr>
<tr valign="top">
<td bgcolor="#13486D"><normalfont><b>Your Password:</b></normalfont></td>
<td bgcolor="#13486D"><normalfont><input type="password" class="bginput" name="password" value="" size="25">
</normalfont>
<smallfont><a href="/forums/member.php?s=$session[sessionhash]&action=lostpw">Forgotten your password?</a>
</smallfont></td>
</tr>

As for the links at the top, those are all in your header template. My suggestion would be to edit the links in that template as well and add /forums/ in front of each link there as well.

Tigga 04-29-2003 08:22 PM

sjau - Did you run the myvb_install.php file? If so you should see the new options at the very bottom of the main vBulletin Options page.

mv540 04-29-2003 08:26 PM

well i must say i really appreciate this tigga, thanks again for all your help. ill give it a shot and return with the results...

vb.org rocks! :glasses:

updated: SHES A SUCCESS TIGGA!...awsum! tanx :rambo:

mv540 04-29-2003 09:10 PM

tigga need help again..lol...we seem to have fixed all the links problem before a member signs in...but now when someone signs in, it takes them to the portal page like i wanted it to..but when links are clicked on in the portal page (ie: comment on a post, latest posts, buddy list etc etc etc....) it redirects people back to the log in page asking to enter name and password again even though it was already done.. :(

any suggestions ?

do i need to add /forums/ infront of everything in the myvbindex templates?...thats gonna take quite a long time... :cry:


All times are GMT. The time now is 10:22 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.02726 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete