Tweet this script embed
3 posters
Page 1 of 1
Tweet this script embed
Hi,
Is it possible to place this:
Thanks.
Is it possible to place this:
- Code:
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js">
</script>
Thanks.
Re: Tweet this script embed
Hello,
I don't see any possibility as there is no template editing.
I don't see any possibility as there is no template editing.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Tweet this script embed
Lets me try some tricks for it.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Tweet this script embed
Sorry, I can't find a way to do it.
Some advanced knowledge of JavaScript and DOM can do it.
Lets wait for Jalokim or Dion to reply
Some advanced knowledge of JavaScript and DOM can do it.
Lets wait for Jalokim or Dion to reply
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Tweet this script embed
First, get rid of (type="text/javascript") to conserve space. forumotion defines DOCTYPE as Transitional, so it is assumed that "text/javascript" is the MIME type in a script tag.
Create a rank that will be given to members with zero posts, and use the script as the rank name. Now add your script to the name of every other rank you've created.
Since every member will now have a rank, and the script is a part of every rank name, your script will be called as every post is loaded. Please report back, because I'm curious how much of a performance hit this will cause...
Create a rank that will be given to members with zero posts, and use the script as the rank name. Now add your script to the name of every other rank you've created.
Since every member will now have a rank, and the script is a part of every rank name, your script will be called as every post is loaded. Please report back, because I'm curious how much of a performance hit this will cause...
Guest- Guest
Re: Tweet this script embed
I'd try to implement an even cheaper trick.
try posting this code without the junk addons, to your meta tags menu.
admin panel-> general-> search engines -> new meta tag -> javascript.
in the src window that will open paste the tweet code
http://tweetmeme.com/i/scripts/button.js
nevermind ... its not tweetboard, its some other tweet js... I'm a nut.
in this case dion might be right in making a fake rank.
Maybe you can add it via the advance profile too? mindfart?
Jalokim- Energetic
- Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
Re: Tweet this script embed
Dion, so close.
I can get the script showing, but it doesn't function anymore.
I can get the script showing, but it doesn't function anymore.
Re: Tweet this script embed
The script is written as a bookmarklet function, so it can't be loaded more than once. I wouldn't normally do this, but since it was my mistake to not look at the script before recommending how to use it, I'm going to tell you how to make the script work for you.
You'll need to download the script, edit out the bookmarklet coding, and give the function a name (perhaps "twitmeme"). You can even add this function to any other script you're loading on your system. Now upload the script to an HTML page or other location, and load the new script from the site description. Now in your ranks, instead of the URL of the script, you would have something like:
You'll need to download the script, edit out the bookmarklet coding, and give the function a name (perhaps "twitmeme"). You can even add this function to any other script you're loading on your system. Now upload the script to an HTML page or other location, and load the new script from the site description. Now in your ranks, instead of the URL of the script, you would have something like:
- Code:
<script>twitmeme();</script>
Guest- Guest
Similar topics
» embed Script code in forum? (<script </script>)
» How to embed Script in the posts
» I need to embed a script but it doesn't work.
» Like/Tweet/+1 did not work normally
» Like and tweet button
» How to embed Script in the posts
» I need to embed a script but it doesn't work.
» Like/Tweet/+1 did not work normally
» Like and tweet button
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum