![]() |
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. :(
|
All times are GMT. The time now is 06:20 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:
|