![]() |
Quote:
|
Is the threads post #1 the new updated code and is it safe to use?
|
i get error when i edit post and the error line is
$postinfo[message]=trim(preg_replace("/(\[)(if)(\()(.*)(\))(])(\r\n)*(.*)(\[\/if\])/esiU","doif('\\4','\\8','1')",$postinfo[message])); any idea?? |
Quote:
|
Quote:
|
Quote:
but here is another problem i use this [if($bbusergroupid==6)]XXX[/if] want show to this group member only....but...when i use normal account(groupid=2)..and it can see the text....so what happen???(it works perfect to guest...) by the way...if someone use the [if] code when use search function it can be see or not??...hope u know poor english... |
Quote:
$bbusergroupid=6; in php, instead of checking it, it sets the varible. Hmmm, thanks for reminding me about search, ill make a fix for it so if there not allowed to see it they wont and so on. |
Search bug fix:
************************************* In file "search.php": ************************************* ***************** find: ***************** PHP Code:
replace it with: ***************** PHP Code:
find: ***************** PHP Code:
above it add: ***************** PHP Code:
In file "admin/functions.php": ************************************* ***************** find: ***************** PHP Code:
replace it with: ***************** PHP Code:
I also added the fix into the install instructions in the first post. |
If any one else has any more problems, comments, ideas and so on, feel free to post them and ill see what I can do.
Also there is a bug, that NuclioN showed me where the code bit wasn't evaluating correctly and it showed the text to every one, this is rare, this bug doesn't happen to every one, just a rare few, if you experience this bug, please post about it, currently I'm still trying to find out what's wrong, I think it might be because of another hack they installed and is interfering with this one. Also if you experience this bug, tell me if you have Logicians dynamic announcement hack installed or not. I think that might be the cause of the problem. |
I've removed the dynamic announcement but with all the possible codes, all usergroups can see the priv message. :(
|
Its been a while, but I fixed the bug that Nuclion had and also added a few more options to it, I also updated the text file with the fix, Ill also post the code below so you dont have to redownload the text. Just replace your old doif function with:
PHP Code:
|
Great Slynderdale, i hope it is fixed now :)
I saw this line: $users_view_all = array('1'); //Users that can view all the text What does this mean? Is 1 = all users can view and 0 is only the reciever can see it?? |
Quote:
The array of userid's that can view all the private text's on the forum, in case you only want to see all the text instead of all the admins. |
i found a problem....
when i use quote than i can see anything if the rule set someone can see...so how to solve that?? thankz |
Slynderdale - just looking at the installation for this hack. In the first part it asks yiou to find some text in functions.php, but then doesn't seem to suggest to modify / replace anything, it just asks to find something else.
Can you confirm please. Thx. |
Quote:
|
Sorry about that, fixed.
|
I was testing this:
[if($ourtimenow>=$post[dateline]+((7*24)*60*60))]Text To Display 1 week from this post[/if] that makes the showthread.php for that post just a white page. how would i also enable this for only supermods, admins and mod? and just not users? |
Thanks a lot for making this hack! Works very good! I can see a lot of work went into it and I give mad props to ya! :D
It was exactly what I was looking for. It's almost 100% secure. Only flaw I can find in it is the fact that if a member who should not be able to see the stuff was to click on "Reply to Thread" They could see all of the info... even the admin portion showing the code. They just need to scroll down to look at the previous threads under the reply box. Not a big deal though... that feature can be easily shut off (which I'm shutting mine off now.) Thanx a lot! |
All times are GMT. The time now is 04:51 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:
|