vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Download Forum Thread To Your Computer (Vb3.x) (https://vborg.vbsupport.ru/showthread.php?t=65536)

ashley53680 06-12-2004 11:36 PM

Quote:

Originally Posted by ashley53680
Well after making those changes, I don't see the download treat option at all in my thread tools. :(

Whoops, my showthread got reverted. lol :tired:

redlabour 06-15-2004 05:42 AM

Super thanx !

sabret00the 06-16-2004 12:22 AM

Quote:

Originally Posted by sabret00the
also is this hardcoded with an option so it can't be used in certain forums? as i wouldn't like a disgruntled staff member downloading hacks and sending them to/posting for general members to see.

*gently bumping question*

Logician 06-16-2004 06:41 AM

Quote:

Originally Posted by sabret00the
also is this hardcoded with an option so it can't be used in certain forums? as i wouldn't like a disgruntled staff member downloading hacks and sending them to/posting for general members to see.

Sorry, question is not clear to me. What hacks do you mean? This hack is not installed in vb.org.

The hack uses default vb permission system so one can not download a thread if he does not have read permission to it. Besides you are able to prevent certain usergroups to use this feature. Does it answer your question?

sabret00the 06-16-2004 11:18 AM

yes it answers half the question, sorry should've re-read it before i bumped it, basically i want to have this enabled in all public forums but disabled in private (staff) forums and am wondering if this functionality is built in?

Logician 06-16-2004 03:13 PM

Quote:

Originally Posted by sabret00the
yes it answers half the question, sorry should've re-read it before i bumped it, basically i want to have this enabled in all public forums but disabled in private (staff) forums and am wondering if this functionality is built in?

No it is not, but you can easily add it like this:

edit dt.php, find:
PHP Code:

$foruminfo = &$forum

after that add:

PHP Code:

if ($thread['forumid']==OR $thread['forumid']==OR $thread['forumid']==Z)
{
print_no_permission();} 

replace X,Y,Z with the forumids in which you want to stop downloads.

sabret00the 06-16-2004 06:08 PM

thanks, that's exactly what i was looking for :D

Oblivion Knight 06-16-2004 07:16 PM

Logician, you're a wizard mate.. :)

Installed and working flawlessly. I voted for this hack in HotM June.

Kohhal 06-17-2004 08:16 AM

Looks good, anyone have a sample .txt of what a downloaded thread looks like?

Logician 06-17-2004 08:26 AM

Quote:

Originally Posted by TheMasterG
Looks good, anyone have a sample .txt of what a downloaded thread looks like?

You can test here:
http://www.theadminzone.com/forums/


All times are GMT. The time now is 02:43 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.01217 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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