Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Maximum Signature Length For Admin 
 
Code: [Download] [Hide]
  1. ##############################################################  
  2. ## MOD Title: Disable maximum signature length for admin  
  3. ## MOD Author: RedRaven < stian@nettenter.no > (Stian Seland) http://phpbb.no/  
  4. ## MOD Description: Let admin have a longer signature than the maximum length decided in ACP  
  5. ## MOD Version: 1.0.0  
  6. ##  
  7. ## Installation Level: Easy  
  8. ## Installation Time: 1 Minutes  
  9. ## Files To Edit: usercp_register.php  
  10. ## Included Files: (n/a)  
  11. ##############################################################  
  12. ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the  
  13. ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code  
  14. ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered  
  15. ## in our MOD-Database, located at: http://www.phpbb.com/mods/  
  16. ##############################################################  
  17. ## Author Notes: This is probably one of the simplest mods ever made. I`ve originally made this mod  
  18. ##          for my own use but I decided to release so everyone can use it.  
  19. ##  
  20. ##############################################################  
  21. ## MOD History:  
  22. ##  
  23. ##   2004-05-05 - Version 1.0.0  
  24. ##      - Initial release  
  25. ##  
  26. ##############################################################  
  27. ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD  
  28. ##############################################################  
  29.  
  30. #  
  31. #-----[ OPEN ]------------------------------------------  
  32. #  
  33. includes/usercp_register.php  
  34.  
  35. #  
  36. #-----[ FIND ]------------------------------------------  
  37. #  
  38.         if ( strlen($signature) > $board_config['max_sig_chars'] )  
  39.  
  40. #  
  41. #-----[ REPLACE WITH ]------------------------------------------  
  42. #  
  43.         if ( strlen($signature) > $board_config['max_sig_chars'] && $userdata['user_level'] != ADMIN)  
  44.  
  45. #  
  46. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------  
  47. #  
  48. # EoM 


Doesn't work when i go to my profile, but, it works when i modify my signature in ACP

Help   
 



 
HakkinenSend private message  
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: Maximum Signature Length For Admin 
 
Ha ha ha... great!

When I have time I'll take a look at it... but I think you have to modify even the advanced signature editor.
 




____________
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 Respuesta: Maximum Signature Length For Admin 
 
Thanks for the answer MG. I'm not a programmer, but i will take a look what happend
 



 
HakkinenSend private message  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


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