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)
-   -   vBindex v2.1 (https://vborg.vbsupport.ru/showthread.php?t=41916)

NTLDR 08-12-2002 07:17 PM

Just change the forum permissions in the Admin CP for the usergroups that you don't want to post new threads.

Rose 08-12-2002 09:15 PM

Thanks for the hack! I recently switched from vbhome_lite becuase it's not supported anymore. :(

This seems to be working great. However, I have a few questions.

1.) I'd like for the members to return to the index.php after a)logging in/logging out and b)voting (instead of returning to the poll). I think this is possible with a login.php code you mentioned a page or two back? Could I get this?

2.) In the last posts column - is there a way to hide private forums?

I'm sure I'll have more, but this is all for now. I'm having fun with it all. :D

Edited to say:

Also, I don't really need the who's online bit on the index page. I suppose I can remove this - is it in a template or the index.php?

Mr_P 08-12-2002 09:33 PM

pretty hard this really as aint sure which thread to put it in as it involves 2 hacks.

Is it possible to get the shoutbox from the main Indexpage to show on the VBindex page and in a column ?????

Like most portals have.

Rose 08-12-2002 10:14 PM

Also, if a person isn't logged in - they see two login boxes (one in the welcome panel and one in the left-column). Is there a way to remove the log in box in the left-column, basically either showing the stats or showing nothing and skipping to the online now users?

NTLDR 08-12-2002 10:14 PM

Quote:

Originally posted by Rose
1.) I'd like for the members to return to the index.php after a)logging in/logging out and b)voting (instead of returning to the poll). I think this is possible with a login.php code you mentioned a page or two back? Could I get this?
I will PM you the two files needed for this, you just need to upload them and change the URL in the home_poll and home_welcomelogin

Quote:

2.) In the last posts column - is there a way to hide private forums?
This is already implimented, but vBulletin doesn't seem to add the permissions for forums that inherit permissions, if the information in the database has canview=0 for the usergroups that can't view it then it excludes it from the list, otherwise it is included.

Quote:

Also, I don't really need the who's online bit on the index page. I suppose I can remove this - is it in a template or the index.php?
Remove the origional vBulletin code and the today online hack, also you need to remove the HTML from the home_left template:

Code:

<tr>
        <td bgcolor="{firstaltcolor}"><smallfont><a href="$bburl/online.php?s=$session[sessionhash]">Online Now</a>: <b>$totalonline</b><br>
Online Today</a>: <b>$todayonline</b><br>
<b>$numberregistered</b> Members | <b>$numberguest</b> Guests<br>
$activeusers<br></smallfont>
</td>
</tr>


NTLDR 08-12-2002 10:15 PM

Quote:

Originally posted by Rose
Also, if a person isn't logged in - they see two login boxes (one in the welcome panel and one in the left-column). Is there a way to remove the log in box in the left-column, basically either showing the stats or showing nothing and skipping to the online now users?
Just remove $logincode from the home_left template

NTLDR 08-12-2002 10:19 PM

Quote:

Originally posted by Mr_P
pretty hard this really as aint sure which thread to put it in as it involves 2 hacks.

Is it possible to get the shoutbox from the main Indexpage to show on the VBindex page and in a column ?????

Like most portals have.

As I've said many times before anything that is avaible to vB is avalible to the vBindex page. Just include the PHP in the vbindex.php and make sure that the template is eval'd as a varible and include it in one of the home templates.

Rose 08-12-2002 10:23 PM

Quote:

Originally posted by NTLDR
This is already implimented, but vBulletin doesn't seem to add the permissions for forums that inherit permissions, if the information in the database has canview=0 for the usergroups that can't view it then it excludes it from the list, otherwise it is included.

Edited to say
I get it. A member won't see the private forums last posts, only those allowed will. (y) Thanks!

And thank you for the rest. I have made the changes, with the exception of the files via pm, which I will do soon. I've taken care of the who'sonline (I just wanted the actual members removed, not the statistics) and have done that.

Now I'm off to reincorporate Kura's quote hack and the microstats! Thanks!

NTLDR 08-12-2002 10:31 PM

Quote:

Originally posted by Rose
Edited to say
I get it. A member won't see the private forums last posts, only those allowed will. (y) Thanks!

This is not strictly true I'm afraid, vB doesn't allways add the information that is needed to do this in the database.

I think if you have manually set the permissions manually so that users can't view them then they shouldn't show. If the forum is just using the permissions of the parent forum then it seems like they will show up.

I hope this is clear ;)

Rose 08-12-2002 10:37 PM

Quote:

Originally posted by NTLDR


This is not strictly true I'm afraid, vB doesn't allways add the information that is needed to do this in the database.

I think if you have manually set the permissions manually so that users can't view them then they shouldn't show. If the forum is just using the permissions of the parent forum then it seems like they will show up.

I hope this is clear ;)

Clear as mud. :nervous: I logged out and couldn't see the forums, so I'm assuming all is okay, of course I need to test as a regular member still. *hehe* Thanks again!!


All times are GMT. The time now is 04:52 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.02129 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (8)bbcode_quote_printable
  • (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