Topic RSS
Hi forums!
My forum is almost ready to go live! It's actually live right now, I just haven't started promoting it yet. Hope to by this Monday.
Check out it here:[url="http://www.themobilefanatics.com/forums"]
I want to add a TweetMeme javacript code to the topic line either right after the topic title or next to the Print icon. The code makes a "retweet" button that creates a tweet and includes the page title and a shortlink. This works on any page you put the code, on any platform – it's a really great tool for people looking to add a tweet function to their forums. I've already tested it by adding the code to my "forums" page and it works perfectly, just not placed properly. The button looks like this:
cool huh? Might be something to look into for a future release. Would be a great option.
I'm sure this can't be too hard. If someone can point me in the right direction I can place this code myself.
Thanks!
p.s. if anyone wants to learn more about using TweetMeme it's really great. You don't even need an account w/ them. Link: [url="http://help.tweetmeme.com/2009/04/06/tweetmeme-button/"]
see our wiki, the section on api… you will want the program hooks that allow you to insert code/display items in various locations throughout the forum…
thanks. I found the code that I want to use. its the topic top pagelinks and topic bottom pagelinks.
here is the code in the wiki:
{
return '';
}
and here is the javascript I need to drop in:
tweetmeme_style = 'compact';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts…..script>
i have nearly zero PHP and javascript experience. Your next post will help me immensely.
First – remember to rename the extension of the hooks file so it will get ncluded into the code.
Then – that script ALL goes between the two single quote marks of the 'return' statement in the hook.
However – remember that you can not mix quote marks so the code has a single quote around it ALL (in the return statement) whch means that everything inside the code needs to be double quotes. This is true of all of it except thet 'compact' term. Change those to double quotes and you should be good to go.
you are the best!
I got a Retweet button below the topic title and below the tags on the bottom. Perfect thank you very much.
I'm planning on adding a big Tweet This graphic w/ the bird to the left of the buttons to jazz up the forums a bit. many of my readers are twitter users so this will come in handy. HIGHLY recommend this way for others looking for a way to tweet their Simple:Press forum posts.
thanks again for the help. I learned so much about hooks and a little about php.
thanks guys! it works. give it a try if you want. click the button and it pulls the page title, shortens the link, and lets a user retweet the topic. it also drops my twitter username at the end so people know where it came from.
there is literally ZERO work on the twitter side to get that button. Just follow the link I gave you to TweetMeme and drop that javascript into the hooks.
Hopefully this is helpful to some users.
Most Users Ever Online: 444
Currently Online: wazina
66 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 504
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2626
Members: 7364
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10903
Posts: 79603
Newest Members: Onuora Amobi, Rick Thomas, joelrob, ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22240), Mr Papa (23698)
Log In
Register
Home
Add Reply
Add Topic
Offline


Quote


Visit

Privacy Policy



