The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hi
as it became legal here, does any one have it??? |
|
#2
|
||||
|
||||
|
Dont ask for this hack here. Its against VB's licence and conditions.
|
|
#3
|
||||
|
||||
|
@The Realist: nope it's not.
The rule was removed long time ago now. |
|
#4
|
||||
|
||||
|
Quote:
i can share the 2.x codes ![]() please contact me only via pm. Regards, |
|
#5
|
||||
|
||||
|
I did not know that - interesting.
Anyone with a link to an official post that states this is fact. |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
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);
}
}
-----------------------------------------------
|
|
#8
|
|||
|
|||
|
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?? |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
||||
|
||||
|
Quote:
IIRC you can just get it by paying currently. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|