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 12-04-2002 03:54 AM

No problem. At least now I know to make the query that way in future versions and hopefully prevent anyone else from having a problem. :)

mv540 12-05-2002 02:12 AM

On my portal page, the threads on the right, the private threads are showing up there as well, the link just goes to the you don't have permission page, but is there a way to make them not show up at all???
Thanks

Tigga 12-05-2002 02:30 AM

Are you sure all your forum permissions are set correctly in the Permissions part under "Forums & Moderators" in your admin CP? There's no reason they should be visible to anyone that doesn't have permission to view them. Double check those settings and let me know if it's still showing them.

mv540 12-05-2002 02:42 AM

Thanks for the response, I had the catagory set properly and thought that the sub forums would inherit the settings, but they didn't seem to in the portal, I set all reg users to no all down the list in all the sub forums, and it worked.

While I've got you here, I have the myvbindex all set up and ready to go, but I don't understand how to make it work with the login. I have placed the file myvbindex in the root folder and renamed it to index.php, but the login goes directly to the forums/index.php??

Tigga 12-05-2002 02:49 AM

That sounds like you missed the step to edit member.php in the install file, or maybe you forgot to upload it?
Check your member.php file and make sure it has these changes...

Find:
eval("standardredirect(\"".gettemplate("redirect_l ogin")."\",\"index.php?s=$sess ion[dbsessionhash]\");");

Replace with:
eval("standardredirect(\"".gettemplate("redirect_l ogin")."\",\"\$url\");");

Find:
eval("standarderror(\"".gettemplate("error_cookiec lear")."\");");

Replace with:
eval("standardredirect(\"".gettemplate("error_cook ieclear")."\",\"\$url\");");

mv540 12-05-2002 02:53 AM

Here's what I got, looks like its ok

if ($url!="" and $url!="index.php" and $url!=$HTTP_REFERER) {

if (strpos($url,"?")>0) {
$url.="&s=$session[dbsessionhash]";
} else {
$url.="?s=$session[dbsessionhash]";
}
//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\");");
}

}

mv540 12-05-2002 02:57 AM

correction, that doesn't look ok, I will change it

mv540 12-05-2002 03:06 AM

Guess it does look ok, I redid the code again and uploaded it and tried again, still the same, I go to forums/index.php

Tigga 12-05-2002 03:16 AM

Hmm... Can you either post here or PM me with the url to your site? Also, what version of vB are you running?

mv540 12-06-2002 05:14 PM

Maybe ill get an answer here, ive been completely ignored for tha past 4 hours....Im using this hack for my forum..its been installed but i have a question....I would like to know how to add more areas on the portal so that i can add more/other info manually....

for example..in the middle i have news and on either end i have the navigations...i would like to add more boxes to fill it up abit with information on the right and on the left of the page..

Please answer in detail for i am very new at this...let me know step by step where to go and what to do

Thanks

I~


All times are GMT. The time now is 10:03 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.02580 seconds
  • Memory Usage 1,730KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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