roddy Posted February 25, 2008 at 03:26 AM Report Posted February 25, 2008 at 03:26 AM You'll all have noticed and been drooling over the new Adsotrans.com pop-ups which Trevelyan posted about here. But tragically we didn't have them and you had to visit other sites to view them. But . . . no longer! I've only just set this up but it seems to be working fine. Basically use the BB Code [adso]中文[/adso] and your text will then be Adsotate-able. Like this: [adso]我们所要介绍的是祥子,不是骆驼,因为“骆驼”只是个外号[/adso] Note that text isn't automatically adsotated, you need to click on it and then it will automatically happen. Also you can click again to start editing the entries and improving the Adso dictionary even further. Couple of things I need to do is get a little icon for the text editor, but for the moment you can just type the [adso] code in. I also want to have someway of indicating that the text has been tagged for adsotation, but need to get in touch with the Adso folk about the best way of doing that. Quote
self-taught-mba Posted February 25, 2008 at 03:43 AM Report Posted February 25, 2008 at 03:43 AM It's wayyyyyyyyyyy fast now. Awesome! Quote
msittig Posted February 25, 2008 at 04:20 AM Report Posted February 25, 2008 at 04:20 AM From the HTML generated by Adso, it looks like adding a line to the forum stylesheet would do the trick. Something like: .adso span { border-bottom: 1px solid blue; } Quote
roddy Posted February 25, 2008 at 04:29 AM Author Report Posted February 25, 2008 at 04:29 AM Yep, but I just want to see if they want to do that once at their end, or let those using the scripts to handle it individually as we see fit. Quote
Luobot Posted February 25, 2008 at 05:26 AM Report Posted February 25, 2008 at 05:26 AM It seems I'm losing my best slacker excuse for not venturing into certain threads. Oh, well. Quote
roddy Posted February 25, 2008 at 06:19 AM Author Report Posted February 25, 2008 at 06:19 AM Maybe not. This will only work at the moment when someone has tagged some text to be annotated, it won't work on any bit of Chinese. So you're safe for now at least . . . Quote
tony1343 Posted February 25, 2008 at 06:50 AM Report Posted February 25, 2008 at 06:50 AM This is awesome. Hopefully many people will use this feature. My slacking works the opposite way. Instead of studying for school (which is non-Chinese related), I read this forum. This will hopefully open up more threads to me. Quote
trevelyan Posted February 25, 2008 at 06:50 AM Report Posted February 25, 2008 at 06:50 AM Looks good. Would suggest that if you want a CSS tweak you should add it to the forums CSS. I don't want to add underlining because it distracts when reading lengthy Chinese passages. Two things I noticed: (1) the functionality only works when you're logged in. Not sure if this is intentional/unintentional bandwidth saver. (2) you could get the forums to wrap all of the Chinese automatically to remove the need for people to wrap the text in the annotation tags if you wanted. Just pass the text through the PHP function included in the Wordpress plugin before displaying it. (it's all the plugin actually does -- the rest is handled by the javascript). Quote
roddy Posted February 25, 2008 at 06:54 AM Author Report Posted February 25, 2008 at 06:54 AM Yeah, I was just thinking about that. My first thought was just to add the tags to the start and end of every post, but then you're going to end up tagging lots and lots of non-Chinese content. The best thing to do is probably to do something similar to the Wordpress plugin, though I haven't looked at that yet. Ideally would want to get it converted to a functional VBulletin plug in rather than just a hack. Quote
trevelyan Posted February 26, 2008 at 02:24 AM Report Posted February 26, 2008 at 02:24 AM Still need to be logged in to use them. I switch computers fairly frequently and delete cookies, etc. on browser close, so I usually view the site as a logged out user unless I want to post or check messages. I'd ask to get rid of the low-bandwidth version for the same reason, but I guess you're being hit by a lot of search engines and that would take up too much bandwidth. Quote
roddy Posted February 26, 2008 at 02:32 AM Author Report Posted February 26, 2008 at 02:32 AM Bandwidth is an issue, plus the guest view + turning the ads off functions as a pda / mobile friendly version ( not fully functional but usable for just reading, bookmark http://www.chinese-forums.com/forums.php?styleid=3 if you want to use it, change 3 to 1 if you want to change back) and I'd rather not add extra javascript / html into that if possible. I won't rule out having them enabled on guest view, but want to decide how to actually implement this first. Quote
trevelyan Posted February 27, 2008 at 02:07 AM Report Posted February 27, 2008 at 02:07 AM Can't see to find how I do this.... Quote
roddy Posted March 11, 2008 at 08:06 AM Author Report Posted March 11, 2008 at 08:06 AM Icon is available on the editor, select your text and press it to get the adso tags. Text tagged for adsotation now carries a dotted border on the left hand side. Quote
Luobot Posted March 11, 2008 at 04:58 PM Report Posted March 11, 2008 at 04:58 PM Just testing: [ADSO]这是很酷。'adso' 图标也太好了![/ADSO] Quote
Recommended Posts
Join the conversation
You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.