Twitter Hashtags

6 years 8 months ago #4664 by seahermit
Twitter Hashtags was created by seahermit
Hi all,

Firstly apologies - my german is truly terrible, and babel fish only get me so far... If this is posted elsewhere, please ignore me!

I've got 2CSB installed (and slightly modified for formatting) and think it's really nice - but I wanted to add a hashtag in, which was surprisingly easy!

So I've added it in on my version as an option underneath the Twitter Username in the settings, which then gets appended to the text.

If anyone's interested, I can easily send the changes - the key thing is to use %23 instead of # in the url creation.


Cheers,

Ben

6 years 8 months ago #4670 by Vitja
Replied by Vitja on topic Twitter Hashtags
Hi Ben,

thank you for your interest in 2CSB!

You could post your code or attach the modified files here, so the community can benefit of it.

Have success!

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
6 years 8 months ago - 6 years 8 months ago #4734 by seahermit
Replied by seahermit on topic Twitter Hashtags
Howdy,

Hopefully this will work! I've attached a zip of the updated three files:
2clicksocialbuttons.js
helper.php
mod_2clicksocialbuttons.xml

I've tried to copy the style of the existing version...

Also there's the en-GB.mod_2clicksocialbuttons.ini, where again I've copied the style of the existing language. I didn't attempt the german, as I expect it will come out quite bad!

This attachment is hidden for guests.
Please log in or register to see it.


C:\fakepath\en-GB.mod_2clicksocialbuttons.ini


This attachment is hidden for guests.
Please log in or register to see it.


Hope that makes sense and helps someone if they want it!

This message has attachments files.
Please log in or register to see it.

6 years 7 months ago #4739 by Vitja
Replied by Vitja on topic Twitter Hashtags
Hi Ben,

thank you for your work. I will include it in the next release!

Regards

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
6 years 7 months ago #4746 by seahermit
Replied by seahermit on topic Twitter Hashtags
Groovy! Oh - something I forgot...

Those files have modified "width" argument for the iframe for Facebook (and I think the others, but can't remember if they're in that version)

I guess you would be only adding the changes, but thought I'd warn just in case!


So I managed to make it horizontal - as here:

www.exeterbsac.org

Cheers!

Ben
6 years 7 months ago #4755 by Vitja
Replied by Vitja on topic Twitter Hashtags
Hi Ben,

okay! :-)

Have success with 2CSB!

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
Time to create page: 0.151 seconds