############################################## # # Remove anonying java prompts from ubb code buttons # # and make it just go to text box :) # # This hack makes posters just click once and type :) # # ELY M. # # Done on 6.05 ############################################## open public_common.pl FIND THIS: var thisURL = prompt("$vars_wordlets{enter_url}", "http://"); var thisTitle = prompt("$vars_wordlets{enter_title}", "web page"); and DELETE/REMOVE !!! FIND this var urlUBBCode = "[URL="+thisURL+"]"+thisTitle+"[/URL]"; Replace this with: var urlUBBCode = "[URL=http://www.yoururl.com]Website Title[/URL]"; ### Find this: var thisEmail = prompt("$vars_wordlets{enter_email}", ""); var emailUBBCode = "[EMAIL]"+thisEmail+"[/EMAIL]"; REPLACE This With: var emailUBBCode = "[EMAIL] [/EMAIL]"; ### Find This: var thisBold = prompt("$vars_wordlets{enter_bold}", ""); var boldUBBCode = "[B]"+thisBold+"[/B]"; REPLACE This With: var boldUBBCode = "[B] [/B]"; ### Find This: var thisItal = prompt("$vars_wordlets{enter_italics}", ""); var italUBBCode = "[I]"+thisItal+"[/I]"; REPLACE This With: var italUBBCode = "[I] [/I]"; ### Find This: var thisImage = prompt("$vars_wordlets{enter_image}", "http://"); var imageUBBCode = "[IMG]"+thisImage+"[/IMG]"; REPLACE This With: var imageUBBCode = "[IMG] [/IMG]"; ### Find This: var thisItem = prompt("$vars_wordlets{enter_list_item}", ""); var itemUBBCode = "[*]"+thisItem; REPLACE This with: var itemUBBCode = "[*]"; ############################################################# Your are done !!!! just upload public_common.pl now, The posters just click once and type :) #############################################################