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)
-   -   vB-marquee - scrolling "recent threads" for non-vb page (https://vborg.vbsupport.ru/showthread.php?t=35513)

Lesane 02-28-2002 09:46 AM

Nice Hack, Thanks :up:

xcal 02-28-2002 11:50 AM

ok ive installed today the only problem is that i have an invisble moderators forum, and ive asked some of my trusted users and they say they can still see these threads , obviously they cant read the actual threads , but they can still see the topics, access masks are on, and the forum is hidden from them , am i missing something as regards to the marquee config,

its not a major problem in that the users cant read the threads but the titles of some of the mods threads are enough to make you shudder :) so any advice would be appreciated :)

The Realist 02-28-2002 12:32 PM

Same here, anyone know the answer!



Quote:

Originally posted by xcal
ok ive installed today the only problem is that i have an invisble moderators forum, and ive asked some of my trusted users and they say they can still see these threads , obviously they cant read the actual threads , but they can still see the topics, access masks are on, and the forum is hidden from them , am i missing something as regards to the marquee config,

its not a major problem in that the users cant read the threads but the titles of some of the mods threads are enough to make you shudder :) so any advice would be appreciated :)


xcal 02-28-2002 03:21 PM

ok temporary fix

find this code in marquee.php

PHP Code:

$latestposts $DB_site->query("
SELECT threadid, forumid, title, replycount, lastposter, postuserid, postusername 
FROM thread 
ORDER BY lastpost 
DESC LIMIT 
$number_threads

change this line

FROM thread

to

PHP Code:

FROM thread WHERE forumid !='8' 

changing the value 8 for the forum you dont want to include, it seems to work for me, but is obviously not the best fix :)

fonzerelli_79 02-28-2002 06:49 PM

got the tarket = blank working
cheers jcroft

fonzerelli_79 02-28-2002 08:59 PM

thanks for that xcal, i noticed that too

ive got more than one forum i need to hide though
i used this
PHP Code:

FROM thread WHERE forumid !='16' and forumid !='25' and forumid !='27' 

im just learning sql so if theres a shorter way of doing this then please let me know - this method works though :)

lordofgun 03-02-2002 11:59 PM

INCREDIBLE HACK! This hack has gotten my visitors' attention!!!

before i installed this recently, we averaged anywhere from 50-75 guests on our boards at once. THAT NUMBER HAS MORE THAN TRIPLED thanks to thyis hack!!! JUST AWESOME! our registration rate has also sped up significantly!

THANKS!

Mohamed 03-03-2002 01:28 AM

nice work man :pleased: :greedy:

lordofgun 03-13-2002 03:32 AM

QUESTION: How do i get this to refresh automatically every couple of minutes?

Thanks!

Abbas 03-25-2002 08:56 AM

One problem I'm facing is that I've implemented this on my home page and at times, if a user doesnt go to the forums- just the home page, even then all threads are marked as already read. Any way to not make it think that you're on the forums?

http://www.tbreak.com

Thanks
Abbas


All times are GMT. The time now is 11:06 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.01227 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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