Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2004, 05:43 AM
firas firas is offline
 
Join Date: Feb 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default lockdown for 2.3 ?

hi

as it became legal here, does any one have it???
Reply With Quote
  #2  
Old 07-10-2004, 09:34 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont ask for this hack here. Its against VB's licence and conditions.
Reply With Quote
  #3  
Old 07-10-2004, 09:37 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@The Realist: nope it's not.
The rule was removed long time ago now.
Reply With Quote
  #4  
Old 07-10-2004, 10:28 AM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
@The Realist: nope it's not.
The rule was removed long time ago now.
if anyone interested in converting this hack for vb 3.0
i can share the 2.x codes

please contact me only via pm.

Regards,
Reply With Quote
  #5  
Old 07-10-2004, 10:56 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did not know that - interesting.

Anyone with a link to an official post that states this is fact.
Reply With Quote
  #6  
Old 07-10-2004, 12:08 PM
MetroSports82's Avatar
MetroSports82 MetroSports82 is offline
 
Join Date: Nov 2002
Location: NJ
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Realist
I did not know that - interesting.

Anyone with a link to an official post that states this is fact.
https://vborg.vbsupport.ru/showthread.php?t=65801
Reply With Quote
  #7  
Old 07-11-2004, 05:23 AM
Liquid1ce's Avatar
Liquid1ce Liquid1ce is offline
 
Join Date: Feb 2004
Location: /root
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive had this on my system for a while now-
There are no creidts so i do not know who coded it as at the time lockdown was disallowed but heres the code & credits go to who ever coded it

Code:
################ 
# NEWREPLY.PHP # 
################ 

FIND: 

----------------------------------------------- 

while ($post=$DB_site->fetch_array($posts)) {
    if ($postcounter++ < $maxposts) {
          if ($postcounter%2 == 0) {
            $backcolor = "{firstaltcolor}";
          } else {
            $backcolor = "{secondaltcolor}";
          }
          $username=$post[username];
          $reviewmessage=bbcodeparse($post[pagetext],$threadinfo[forumid],$post[allowsmilie]);
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";"); 
       } else { 
         break; 
       } 
 } 

----------------------------------------------- 

################ 
# REPLACE WITH # 
################ 

----------------------------------------------- 

while ($post=$DB_site->fetch_array($posts)) { 
   if ($postcounter++ < $maxposts) { 
         if ($postcounter%2 == 0) { 
           $backcolor = "{firstaltcolor}"; 
         } else { 
           $backcolor = "{secondaltcolor}"; 
         } 
         $username=$post[username]; 
         $reviewmessage=bbcodeparse($post[pagetext],$threadinfo[forumid],$post[allowsmilie]); 
         ##### [hide] [/hide] HACK ##### 
         $hide_shown = 0; 
         $hide_posts = $DB_site->query("SELECT userid FROM post WHERE threadid='$threadid'"); 
         $hideisadmin = $DB_site->query("SELECT user.usergroupid FROM usergroup,user WHERE usergroup.usergroupid = user.usergroupid AND user.userid = '$session[userid]'"); 
         $hideisadmin  = $DB_site->fetch_array($hideisadmin); 
         while ($hide_user = $DB_site->fetch_array($hide_posts)) { 
          if((($hide_user[userid] == $session[userid]) OR ($hideisadmin[usergroupid] == 6)) AND $hide_shown == 0) { 
           $reviewmessage = str_replace("[hide]"," 
[LOCKDOWN]: 
",$reviewmessage); 
           $reviewmessage = str_replace("[/hide]","",$reviewmessage); 
           $hide_shown = 1; 
          } 
         } 
         if ($hide_shown == 0) { 
          for ($i = substr_count($reviewmessage,"[hide]"); $i > 0; $i--) { 
          $reviewmessage = substr_replace($reviewmessage,"Lockdown 
You must reply to see the hidden text",strpos($reviewmessage,"[hide]"),(strpos($reviewmessage,"[/hide]")-strpos($reviewmessage,"[hide]"))+7); 
         } 
      } 
     ############### 
         eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";"); 
       } else { 
         break; 
       } 
 } 

----------------------------------------------- 

################## 
# SHOWTHREAD.php # 
################## 

FIND: 

----------------------------------------------- 

if ($post[ip]!="") { 
   if ($logip==2) { 
     eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_show")."\";"); 
   } 
   if ($logip==1) { 
     eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_hidden")."\";"); 
   } 
   if ($logip==0) { 
     $post[iplogged]=""; 
   } 
 } else { 
   $post[iplogged]=""; 
 } 

 $post[message]=bbcodeparse($post[pagetext],$forum[forumid],$post[allowsmilie]); 

----------------------------------------------- 

###################### 
# UNDER THAT INSERT: # 
###################### 

----------------------------------------------- 

##### [hide] [/hide] HACK ##### 
   $hide_shown = 0; 
   $hide_posts = $DB_site->query("SELECT userid FROM post WHERE threadid='$threadid'"); 
    $hideisadmin = $DB_site->query("SELECT user.usergroupid FROM usergroup,user WHERE usergroup.usergroupid = user.usergroupid AND user.userid = '$session[userid]'"); 
    $hideisadmin  = $DB_site->fetch_array($hideisadmin); 
   while ($hide_user = $DB_site->fetch_array($hide_posts)) { 
    if((($hide_user[userid] == $session[userid]) OR ($hideisadmin[usergroupid] == 6)) AND $hide_shown == 0) { 
      $post[message] = str_replace("[hide]"," 
[LOCKDOWN]: 
",$post[message]); 
      $post[message] = str_replace("[/hide]","",$post[message]); 
      $hide_shown = 1; 
     } 
    } 
     if ($hide_shown == 0) { 
      for ($i = substr_count($post[message],"[hide]"); $i > 0; $i--) { 
      $post[message] = substr_replace($post[message],"Lockdown 
You must reply to see the hidden text",strpos($post[message],"[hide]"),(strpos($post[message],"[/hide]")-strpos($post[message],"[hide]"))+7); 
      } 
    } 

-----------------------------------------------
Reply With Quote
  #8  
Old 07-11-2004, 06:54 AM
firas firas is offline
 
Join Date: Feb 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx a lot but this is not what i am looking for

i am looking for the one that works on the attachments....

anyway about that hack, is there anyway to make it available only for some sections and not to the whole forum??
Reply With Quote
  #9  
Old 07-15-2004, 10:12 AM
firas firas is offline
 
Join Date: Feb 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any good news??

what i want is something that does exist and i saw it in some forums and it has these features:

1- you can chose which section does it have to work on.
2- you cannot download the attachement before you reply.
3- it installs new control buttons in the control panel

Regrads
Reply With Quote
  #10  
Old 07-15-2004, 04:46 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by firas
any good news??

what i want is something that does exist and i saw it in some forums and it has these features:

1- you can chose which section does it have to work on.
2- you cannot download the attachement before you reply.
3- it installs new control buttons in the control panel

Regrads
Well, such a hack wasn't released here right now.

IIRC you can just get it by paying currently.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11: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.04345 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete