![]() |
O_o;; wow, you don't hang around vb.org for a while and look what happens. Before anyone asks this hack was entirely hand coded, while apparently my variables may be the same I did not steal code from anyone.
anyway Boofo just change firefly's first line of code from Code:
if ($post[userid]==$bbuserinfo[userid] or ($bbuserinfo[usergroupid]=="5" or $bbuserinfo[usergroupid]=="6" or $bbuserinfo[usergroupid]=="7")) { Code:
if ($post[userid]==$bbuserinfo[userid] or $bbuserinfo[canreportposts]==0 or ($bbuserinfo[usergroupid]=="5" or $bbuserinfo[usergroupid]=="6" or $bbuserinfo[usergroupid]=="7")) { |
Shouldn't there be an "or" between these?
PHP Code:
|
Sorry, I'm making quick edits to my post because I realized I originally left an and statement and have been trying to correct my mistakes. One moment while I edit....again :p
|
As for my code, yes just remove if if you're going with firefly's. Since they both aim to define the same variable.
|
Thanks Fallout2man
Can I temporarily disable the a post been reported more than twice Thanks |
What you gave me didn't work. I finally figured it out though. :) Here's what I put to make it work the way it should (by using Firefly's code, too). The line "and $bbuserinfo[canreportposts]==1" needed to go in the second part of the code, not the first. :)
PHP Code:
|
Quote:
Yes, but I'd have to modify the hack and add a table to the database for reported posts. If you really want me to I'll work on it. |
Yes Fallout2man, I realy need it
So if you have the time, I will be more than grateful |
Hey Fallout2man, sup, its me ;) You know who I am
Nice, as my new forums become popular I might be needing, just tested it, works good. Drk |
Well hopefully this hack will be upgraded soon, I've been working on the extra feature that guy wanted, and maybe a little something else I thought up, just been busy with server work lately so I haven't had a chance to perfect the next stuff yet.
|
All times are GMT. The time now is 08:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|