PDA

View Full Version : Why does my board have url's like these... How do I fix?....


Blue91
04-29-2002, 06:32 AM
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, ;-)