Jump to content
Chinese-Forums
  • Sign Up

New Adsotrans Pop-ups now enabled . . .


roddy

Recommended Posts

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...