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)
-   -   Thread Torrent (https://vborg.vbsupport.ru/showthread.php?t=53808)

Kriek 07-03-2003 12:07 PM

Alesis, you?re quite welcome ;)

alesis404 07-28-2003 12:04 AM

Kriek I seem to have a small problem after adding more threads to block and it seems while they are blocked it also blocks other forum ID's and I'm not sure why :( ...for instance forum 5 gets blocked with this code...perhaps I have too many?

PHP Code:

$privateforum '"([3]|[24]|[25]|[26]|[27]|[28]|[29]|[30])"' 


Kriek 07-28-2003 03:22 PM

Alesis, Hopefully a quick fix; diffrent method.

Find this line
PHP Code:

$privateforum '"([3]|[24]|[25]|[26]|[27]|[28]|[29]|[30])"'

Replace with the following
PHP Code:

$privateforum "'3', '24', '25', '26', '27', '28', '29', '30'"

Find this line
PHP Code:

$dosql .= ' AND thread.forumid NOT REGEXP ' $privateforum

Replace with the following
PHP Code:

$dosql .= ' AND thread.forumid NOT IN (' $privateforum ')'


alesis404 07-28-2003 07:02 PM

Thank you again Kriek, that works perfect :)

**BTW, cool art on your website :)

Kriek 07-28-2003 09:46 PM

Again -- Alesis, you?re quite welcome ;)

To answer the question as to why 5 was getting matched (as well as 3,4,6,7,8,9,0) is that the square brackets create a character set. For example [24] creates a set of two characters that will match both 2 and 4 (did I mention my regular expressions are rusty). So the proper syntax should have been
PHP Code:

$privateforum '"^(3|25|26|27|28|29|30|6)$'"; 

However using regular expressions (as I have come to find out) is much slower than a list of comma separated values on a row that has an index such as this.
PHP Code:

$privateforum "'3', '24', '25', '26', '27', '28', '29', '30'"


alesis404 07-28-2003 10:59 PM

I'm learning....slowly :)

Kriek 07-29-2003 12:00 AM

Alesis, check your private messages and also note the additional options for Who's Online (display Serence KlipFolio User for location) updated in the installation files (vbtt.rar).

alesis404 07-29-2003 12:40 AM

Kriek, I followed your directions in your updated .rar files for "Who's Online"

*I simply added the code below where you specified in online.php in the 2 locations, I then assumed I would check in the user CP under "Who's Online" and would see the reference's to who is online with klipfolio...I'm not sure this is correct but all I see is myself viewing the control panel?

**Note I did not re-upload vbtt.php and vbtt.klip...all i have done is edited the online php file.

**Not sure this make a difference but awhile back I edited a template to change who's online to look like this...LoL :)

Total Online: 4_ |_ Members Online: 1_ |_ News Robots Online: 3_|

*Not sure this would effect the operation of this mod, I had changed this template because klipfolios were showing online when users were not online*

Kriek 07-29-2003 03:46 AM

No, absolutely nothing to do with any control panel. This update alters the output of the location field via Who's Online (yourforum.com/forum/online.php), thatÂ’s all. See the attachment.

alesis404 06-28-2004 09:46 PM

Hello Kriek, I'm just curious if Thread Torrent is easily modified for use with VB 3.0? I recently installed it and totally forgot it might not work and I'm hoping it would be easy for me too modify and make it all work, thanks.


All times are GMT. The time now is 11:50 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.01216 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
  • (7)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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