View Full Version : Need 3 Hacks
ghroob
06-08-2003, 09:08 AM
Hello all Hackers
I :classic: need Three Hacks:
1 - send notification to the member by PM when delete or move his thread with a putting is a place for write reason and the choice of send PM or Not.
2 - hindered a member to post new thread or new post in one forum only after a passing the definitive number counted of his posts.
3 - hiding Threads or post about from the one member or group or guest.
Thank you :classic:
all-the-vb
06-08-2003, 09:32 AM
2 -
@ghroob
I have already made second hack
Open your newthread.php file.
find:
// $foruminfo=getforuminfo($forumid);
$message = htmlspecialchars($message); // Without this, a </textarea> in the message breaks the form on preview
$subject = htmlspecialchars($subject);
$bbcodeon=iif($foruminfo[allowbbcode],$ontext,$offtext);
$imgcodeon=iif($foruminfo[allowimages],$ontext,$offtext);
$htmlcodeon=iif($foruminfo[allowhtml],$ontext,$offtext);
$smilieson=iif($foruminfo[allowsmilies],$ontext,$offtext);
RIGHT above it, add this:
// by All-the-vb
$numperposts=40;
if(in_array($foruminfo[forumid],array(2,3,8)) and $bbuserinfo[posts] <$numperposts){
eval("standarderror(\"".gettemplate("error_posttoforum")."\");");
exit ;
}
// by All-the-vb
Open your newreply.php file.
find:
eval("dooutput(\"".gettemplate("newreply")."\");");
}
RIGHT above it, add this:
// by All-the-vb
$numperposts=40;
if(in_array($foruminfo[forumid],array(2,3,8)) and $bbuserinfo[posts] <$numperposts){
eval("standarderror(\"".gettemplate("error_posttoforum")."\");");
exit ;
}
// by All-the-vb
==Add new template
name : error_posttoforum
Sorry, You need $numperposts posts to have insert new thread/post in this forum!
that's all
Good luck.
ghroob
06-08-2003, 10:03 AM
Thank you all-the-vb.
Best Regards :)
ghroob
06-08-2003, 01:01 PM
Hello all-the-vb
- is this hack work for all forums or only one ??
- how can i insert number forums that i need to close ?
thanx
squawell
06-08-2003, 01:18 PM
maybe this part u can change which forum u want to use?
($foruminfo[forumid],array(x,x,x))
insert forumid to x.....
ghroob
06-08-2003, 01:31 PM
Thank you squawell
I think so but I asked to explain for all users here
Any way this hack need more careful to be full Release
Best Regards
all-the-vb
06-08-2003, 06:51 PM
Today at 03:18 PM squawell said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=406098#post406098)
maybe this part u can change which forum u want to use?
($foruminfo[forumid],array(x,x,x))
insert forumid to x.....
:)
gmarik
06-08-2003, 07:21 PM
One request from me:
A counter scipt, that count in epic poems every 5, 10, 15, 20 line and shows at the left corner as imitating a real book.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.