vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Latest X Posts on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=142759)

dbirosel 03-25-2007 12:04 AM

Before i install, i got a few questions...

When idling on forum home, everytime someone make sa new thread/post it will automatically update?

Is there on/off switch to show Number of post and threads?

Is i don't want guests to see this, is there a way to disable it for them?

Michael Biddle 03-25-2007 04:17 AM

yes their is an on off switch and an if in the plugin would allow certain usergroups to see it

sebbo 03-26-2007 08:13 PM

Quote:

Originally Posted by whitemike (Post 1209929)
just add a condition to the if is_member_of($user, 6); for admins only

Where should i add it?

Michael Biddle 03-26-2007 10:31 PM

in the main coding plugin

ninjamaster 03-26-2007 10:46 PM

thanks m8

bryandailey 03-26-2007 11:14 PM

Great piece of software.

Anyone know what template to edit to remove the space between the "Latest X Posts on Forum Home" and the navbar above it? I want to use this feature but the space is taking up valuable real estate. See the photo.

Michael Biddle 03-27-2007 02:12 AM

Well right now it adds it directly under the navbar. Read through this thread, I show how to remove the auto ad, and how to add to a custom location

Please click install if you use ;)

I only offer support to people who installed

Michael Biddle 03-27-2007 04:45 AM

Quote:

Originally Posted by sebbo (Post 1213020)
Where should i add it?

Change the IF in the main code page to this

Code:

if ($vbulletin->options['latest_enabled'] and is_member_of($vbulletin->userinfo, 6))

Michael Biddle 03-27-2007 04:47 AM

Quote:

Originally Posted by dbirosel (Post 1211464)
Before i install, i got a few questions...


When idling on forum home, everytime someone make sa new thread/post it will automatically update?

Is there on/off switch to show Number of post and threads?

Is i don't want guests to see this, is there a way to disable it for them?

No, their is no ajax in this. it will update on page refresh

Yes their is an on off switch

In the main script change the top if to this:

Code:

if ($vbulletin->options['latest_enabled'] and !is_member_of($vbulletin->userinfo, 1))
That means guests cannot view it

Iskib 03-27-2007 05:31 AM

Would it be possible to display the thread title instead of the contents of thread for $pagetext ?

how would i change this ?


All times are GMT. The time now is 01:09 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.01200 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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