Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 2 of 3
Goto page Previous  1, 2, 3  Next
 
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
you have to do it manually and play with groups id
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: BBCode Hide Message With An Image Buttom 
 
excuseme in what file edit the groups permision to hide mod? my php and mysql knowledge is very bad  
 



 
robin crackerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
robin cracker wrote: [View Post]
excuseme in what file edit the groups permision to hide mod? my php and mysql knowledge is very bad  


when i arrive home i'll try to play quickly with it.
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
mmm, i don't think if it's ok. i have no idea of how to make it

try in bbcode.php and viewtopic.php

replace

Code: [Download] [Hide] [Select]
            if($userdata['session_logged_in'])
            {
                $sql = "SELECT *
                    FROM " . THANKS_TABLE . "
                    WHERE topic_id = $topic_id
                    AND user_id = " . $userdata['user_id'];
                $resultat = $db->sql_query($sql);
                $show = $db->sql_numrows($resultat) ? true : false;
                if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD))
                {
                    $show = true;
                }
            }


with

Code: [Download] [Hide] [Select]
            if($userdata['session_logged_in'])
            {
                $sql = "SELECT user_id FROM " . USER_GROUP_TABLE . " WHERE group_id = x";  
                $result = $db->sql_query($sql);  
                if ( $userdata['user_id'] == $result )
                {    
                    $show = true;
                }
                if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD))
                {
                    $show = true;
                }
            }


IMPORTANT: Replace  in WHERE group_id = x"; the x, with the id of the group you want to see the hidden code.
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide Message With An Image Buttom 
 
thanks   try this code in localhost to test, and later comment , thanks for your help zuker  
 



 
robin crackerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
robin cracker wrote: [View Post]
thanks   try this code in localhost to test, and later comment , thanks for your help zuker  


i hope this to work or help you in "how to code it"

i won't go further in this customization you ask for
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
Playing with usergroups it's not so easy.

robin cracker, you should try to study a bit phpBB groups system and then try to add the check you wish.

Unfortunately such kind of modifications requires times and skills.

I would create PRIVATE forums instead of creating such a strange BBCode structure.

Zuker did already a lot trying to help you, but as he said, we try to help users where we can and as we can, but where requests require too much times, we can't always sacrifice our free time for that . Trust me we are trying to do our best to help anyone. A clap to Zuker for putting so many efforts in helping users like you in their customizations!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
  i told you that i would not work
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide Message With An Image Buttom 
 
ok thanks for the help,im new in phpbb and php but i wish to learn where i ready the docs of code in  icy?
 



 
robin crackerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide Message With An Image Buttom 
 
I get this error please help!!!!      


Code: [Download] [Hide] [Select]
Parse error: syntax error, unexpected T_STRING in ******/htdocs/includes/bbcode.php on line 2598

 



 
aswin12Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
You are missing someting i think. Attach your modded file here please.
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide Message With An Image Buttom 
 
ok here you go....

Code: [Download] [Hide] [Select]
h**p://rapidshare.com/files/53866891/bbcode.php.html

 



 
aswin12Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
attach it here please
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide Message With An Image Buttom 
 
ok..

bbcode.zip
Description: here you go! 
Download
Filename: bbcode.zip
Filesize: 22.18 KB
Downloaded: 173 Time(s)

 



 
aswin12Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BBCode Hide message with an image buttom 
 
Try this file, i'm not at home so i can't test it, but maybe works

bbcode.rar
Description: try this file 
Download
Filename: bbcode.rar
Filesize: 21.1 KB
Downloaded: 192 Time(s)

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 2 of 3
Goto page Previous  1, 2, 3  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events