vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Why does my board have url's like these... How do I fix?.... (https://vborg.vbsupport.ru/showthread.php?t=38009)

Blue91 04-29-2002 06:32 AM

Why does my board have url's like these... How do I fix?....
 
Im a newbie to VB and just set it up. When you go to my index.php, instead, it gives a url like this....

http://65.18.146.49/forums/forumdisplay.php?s= c09d32cf0b059e3628053cdbb6b7d092&forumid=2 ( I had to add a space between the = and the c in order for it to show up correctly in this post for you guys/gals to see what I mean).

WTF did all these numbers come from? I got rid of them on the main forum index page, but dont know how to get rid of them in the individual forum links.

Actually, Im not even sure if what I did to get rid of them on the main forums index page is the correct way. This is what I did....

I modified my style in the admin page, and in the header box, noticed it had code such as this:

<td valign="top" align="left" background="https://vborg.vbsupport.ru/images/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="https://vborg.vbsupport.ru/images/vBulletin_logo.gif" border="0" alt="$bbtitle"></a></td>


I got rid of the $session[sessionhash] in the code in the entire header box. My code now looks like this:

<td valign="top" align="left" background="https://vborg.vbsupport.ru/images/menu_background.gif"><a href="index.php?s="><img src="https://vborg.vbsupport.ru/images/vBulletin_logo.gif" border="0" alt="$bbtitle"></a></td>


This fixed the problem for my main forums index, the calendar, and the other pages linked to from the "button bar" at the top right.

How can I get rid of those silly numbers from the urls of all the rest of my forums, etc.??

Sorry if Im rambling, but Im a newbie, and want to make sure I try to explain everything necessary to get a good response.

Thanks in advance to all who reply.

Regards,

Fred Bingham
www.pomoforacing.com

Admin 04-29-2002 11:12 AM

Eek, don't remove the session hash! I won't give you a detailed explanation of why, but it's used for tracking guests and users that don't use cookie. Anyway, it's important.

Turn on "Use cookies" in your User CP and the sessionhash (that's the big number) will go away.

Blue91 04-29-2002 11:30 AM

Thanks for the help! I just had to enable "browse with cookies" in my user CP.

Is there a way to have that option set as a default for all users, in case others dont know to set this value, to prevent that ugly style of thread url?

Thanks!

Admin 04-29-2002 11:36 AM

I do believe users have this selected by default, but the admin has it off since the user is added in the installation process. Check out registeradult template and make sure the Yes option it checked by default. :)

Blue91 04-29-2002 11:41 AM

Gotcha, you are correct, thanks! Now, haha, how about my other few q's on the board here, ;-)


All times are GMT. The time now is 11:17 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.01116 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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