Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Blink Text BBcode For XS 
 
Sorry i can not post in XS mod forum so i post it here, mods please move it

this mod allow user to post blink text using bbcode:

Code: [Download] [Hide]
  1.  
  2. Open templates/ca_aphrodite/overall_header.tpl  
  3.  
  4. Find:  
  5.  
  6. {UPI2DB_FIRST_USE}  
  7.  
  8. Before add:  
  9.  
  10. <script type="text/javascript">  
  11. function blinkIt() {  
  12. if (!document.all) return;  
  13. else {  
  14.    for(i=0;i<document.all.tags('blink').length;i++){  
  15.       s=document.all.tags('blink')[i];  
  16.       s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible';  
  17.    }  
  18. }  
  19. }  
  20. </script>  
  21.  
  22. Find:  
  23. <body onload="PreloadFlag = true;">  
  24.  
  25. Replace with:  
  26. <body onload="PreloadFlag = true; setInterval('blinkIt()',500)" />  
  27.  
  28. ============================================================================  
  29.  
  30.  
  31. Open includes/bbcode.php  
  32.  
  33. Find:  
  34. 'strike' => array(  
  35. 'nested' => true,  
  36. 'inurl' => true,  
  37. 'allow_empty' => false,  
  38. ),  
  39.  
  40. After add:  
  41. 'blink' => array(  
  42. 'nested' => true,  
  43. 'inurl' => true,  
  44. 'allow_empty' => false,  
  45. ),  
  46.  
  47. Find: (one more time)  
  48. 'strike' => array(  
  49. 'nested' => true,  
  50. 'inurl' => true,  
  51. 'allow_empty' => false,  
  52. ),  
  53.  
  54. After add:  
  55. 'blink' => array(  
  56. 'nested' => true,  
  57. 'inurl' => true,  
  58. 'allow_empty' => false,  
  59. ),  
  60.  
  61. Find:  
  62. $tag === 'strike' ||  
  63.  
  64. After add:  
  65. $tag === 'blink' ||  
  66.  
  67. Find:  
  68. "[strike]", "[/strike]",  
  69.  
  70. After add:  
  71. "[blink]", "[/blink]",  
  72.  
  73. =========================================================================  
  74.  
  75. Open templates/ca_aphrodite/bbcode.tpl  
  76.  
  77. Find:  
  78. <!-- BEGIN highlight_close --></span><!-- END highlight_close -->  
  79.  
  80. After add:  
  81. <!-- BEGIN blink_open --><blink><!-- END blink_open -->  
  82. <!-- BEGIN blink_close --></blink><!-- END blink_close -->  
  83.  
  84. Use this when post:  
  85.  
  86. [blink]text[/blink]  
  87.  
  88.  

 



 
LeonSend 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: Blink Text BBcode For XS 
 
thanks  

and why you didn't post it in General Support ?

[moved from tests]
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Blink Text BBcode For XS 
 
Moved to MODs

I have not tested functionallity
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Blink Text BBcode For XS 
 
This modification is only for php XS and maybe is not working with IcyPhoenix.

If you are the author or are able to make them icy compatible, please feel free to post it.    

Thanks for your time and the good work so far.

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  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


  

 

  cron