Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 07-17-2004, 04:21 AM
firas firas is offline
 
Join Date: Feb 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
Well, such a hack wasn't released here right now.

IIRC you can just get it by paying currently.
sorry but didn't get what u meant...where can i get it and how can i pay and how much does it cost
Reply With Quote
  #12  
Old 07-18-2004, 03:36 AM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone explain wut the "lockdown" hack is? and does?
Reply With Quote
  #13  
Old 07-18-2004, 05:26 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@firas: sorry no idea, i just know you can buy it somewhere, but not where or how much.

@Blindchild: the lockdownhack is actually a hack, that requires a user to post into a thread, before he can see special informations in that thread, or download attachments or so.

Most of the time it's the way to make sure, the board stores the IP of those who download anything, but there can be other purposes as well.
Reply With Quote
  #14  
Old 07-18-2004, 10:07 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

both are mainly used to force a user to reply nothing more.. They don't want users to register and just read/download without posting ..

I rather let a guest download than having a huge user list with inactive members or force members to say hi/1/me ... etc etc

I had both hacks, just cuz I collect junk not gonna use either

only good use for this is if you have to say something as admin and you want to make sure everyone read it specialy staff members is to make them reply.. thats how I see it
Reply With Quote
  #15  
Old 07-20-2004, 04:39 AM
firas firas is offline
 
Join Date: Feb 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy
I had both hacks, just cuz I collect junk not gonna use either
would u please share it with us
Reply With Quote
  #16  
Old 07-20-2004, 08:58 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did say I had both hacks
Reply With Quote
  #17  
Old 07-21-2004, 01:45 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Liquid1ce
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); 
      } 
    } 

-----------------------------------------------
I was looking only at the showthread part... it will add 4 queries for each post...
Ending with 30-40 queries per page, easy. Please don't use it.
Reply With Quote
  #18  
Old 07-21-2004, 04:06 AM
firas firas is offline
 
Join Date: Feb 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy
I did say I had both hacks
and i did say please share it with us...

TECK: thanx i won't use it. i wanna that one for attachments
Reply With Quote
  #19  
Old 07-21-2004, 02:21 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

firas, He had them, that's past tense, so i'd assume he doesn't have them anymore.
Reply With Quote
  #20  
Old 07-21-2004, 07:55 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnx Xenon, thats exactly it.
Reply With Quote
Reply


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 01:19 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.04372 seconds
  • Memory Usage 2,260KB
  • 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
  • (4)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