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)
-   -   Last post on forum home, working version (https://vborg.vbsupport.ru/showthread.php?t=28561)

Scott MacVicar 03-13-2002 03:52 PM

hmm this one shouldn't muck it up as it relies on the updateforumcount function, so if you move or delete threads it gets the last thread and updates its value, its the main editing in /admin/functions.php which allows this to do so.
And one query per page view it alot and puts alot of extra server load.

bigmo 03-13-2002 07:50 PM

@PPN

I installed the hack as you described in the txt-file. The problem now is that I have an Admin&MOD-Forum eg. and i dont want the normal user to see the last title in these forum.

How can I do this?

THX for help

Erwin 03-13-2002 08:43 PM

Make that forum private. :)

Scott MacVicar 03-13-2002 09:06 PM

in your vBulletin Options select hide private forums.

bigmo 03-14-2002 06:05 AM

the problem is that useres who are not registred can see the forums but can not access those. When I turn on the "hide private forum" option then those useres can´t see any forum, and that´s bad.

The optimal solution for me would be the following:

All forums are visible, but the lasttitle is only displayed at forums the user can access and view. Forums the user dont have the premission to access (eg Admin-Fourm) are visible but the user dont see the lasttitle...

Is it possible to configure it so...???

THX
BigMo

Scott MacVicar 03-14-2002 07:55 AM

The code i adjusted sorted this cause it checks if the user has permission to view the forum and if they don't have it then it is hidden. Though this could be changed to check if they are allowed to view other threads or any other sort of permission for a forum. Will show the changes when i get home.

bigmo 03-14-2002 04:00 PM

Oh THX that would be fine...

BigMo

psychopathic 03-16-2002 05:51 PM

umm.. i installed this hack and now my post and thread counts are acting screwy. When i reply to a thread, the thread count goes to 0 or something along that line.

http://planetplastica.com/forums/index.php - see for yourself.

psychopathic 03-17-2002 03:07 AM

the support on this forum is simply stunning.

Scott MacVicar 03-17-2002 08:52 AM

NO need to bump the topic after a couple of hourse, some of us actually do things outside of vBulletin. Try updating forum info within the Update Counters part of the admin panel.

If this doesn't work then you have made an error while applying it to /admin/functions.php


All times are GMT. The time now is 09:21 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.02011 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)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