News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Share This Topic

Started by All Colours Sam, September 06, 2009, 05:09:23 AM

Previous topic - Next topic

ibzsol

oopps now what about this when i clicked on topic showing me this error

Fatal error: require_once() [function.require]: Failed opening required '/home/ibzsol/public_html/ibzBoard/Sources/MetaTags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ibzsol/public_html/ibzBoard/Sources/Display.php on line 381

what should i amen in Display file now

All Colours Sam

Those errors aren't comming form this mod, you need to ask the mod author about those errors.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

ibzsol

alright but if you can give any clue to resolve the issue i will be very thankful to you

All Colours Sam

Just follow the mod's parser, check the code it adds and remove that code from your file.

Compare the files I sent to you with the files you sent me first, check what I removed, you will do the same but with the other mod's code.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Jonas1975

I'm using this mod and I wanted to know if it's possible (if so, how) I can:

1. Remove Twitter count as it isn't working very well in my case (it shows 0 even if when I click it, it shows that it's been shared);

2. Adding a standalone StumbleUpon icon next to Google+

Thanks

All Colours Sam

For number one, thats not possible, the twitter count is actually controlled by twitter, not this mod, all this mod do is to show the button but is up to twitter to show it properly.

As to number 2, yes you can add your own buttons, when I rewrote this mod I added the possibility to add your own buttons, can't remember exactly how since its been a long time.

Post your button code here and I will take a look to remember how to add external buttons.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Jonas1975

Quote from: Suki on September 16, 2012, 02:27:32 PM
For number one, thats not possible, the twitter count is actually controlled by twitter, not this mod, all this mod do is to show the button but is up to twitter to show it properly.
Ok, but isn't there a way to have another twitter button that doesn't show how many tweets?  Because it's shows 0 (zero) but when I click it, it returns 1 tweet, even if I know that it has been tweeted more times.  I see other mods (that I don't like that much) working better, like this one: http://www.simplemachines.org/community/index.php?topic=454418.0

Quote from: Suki on September 16, 2012, 02:27:32 PM
As to number 2, yes you can add your own buttons, when I rewrote this mod I added the possibility to add your own buttons, can't remember exactly how since its been a long time.

Post your button code here and I will take a look to remember how to add external buttons.
I don't have a button code for StumbleUpon...  I do see it like the mod I just mention or on StumbleUpon homepage: hxxp:www.stumbleupon.com/dt/badges/create [nonactive] (I like the 3rd one).

All Colours Sam

The code for twitter on the mod you mentioned and the code for twitter on this mod are exactly the same.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Jonas1975

Quote from: Suki on September 16, 2012, 09:38:14 PM
The code for twitter on the mod you mentioned and the code for twitter on this mod are exactly the same.
Regarding the Twitter, I was looking for something more like this: http://custom.simplemachines.org/mods/index.php?mod=2827
Where there is no number of tweets shown.

Even so, the most important for me was really adding StumbleUpon button...

taysan

First off, thanks for a nicely made mod.  Seems to work well.  I'm running SMF 2.0.2 along with Simple Portal 2.3.4 and a custom theme, and it's working well.  I just installed the most recent version, replacing the previous one.

However - I do have one quibble / question.  The mod pics up an image to use with the Facebook Like posting, and I don't have any control over it.  I'd like the option of either turning that feature off, and even better, specifying an image for the mod to use.

It's grabbing a thumbnail off my page that has nothing to do with the post being 'Liked'.  I haven't dived into the code of the mod to see where it's picking the image up from, and don't trust my skills to change it without breaking something.  If you could point me in the right direction, I'd greatly appreciate it.

My board - www.dotheton.com

All Colours Sam

The mod uses the old iframe version of the like button, on that version, facebook scans the page that was liked in search for images, is the default behavior.

The mod doesn't add the image, its facebook crawling your page looking for an image to show.

If you want to post a steady image, you will need to use the sdk version of the button. theres a mod that uses that version.

Facebook changes its API so fast that is almost ridiculous, it makes it really difficult to update the mod, not to mention their sdk version is highly buggy and doesn't play well with forum posts (their like button is designed for pages, not multiple post inside a page), thats why I chose to use the old iframe version.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

taysan

Thanks - much appreciated.  I did scan through the PHP file and couldn't find any comments or indication of your mod picking up an image, but it's nice to confirm.  I will unfortunately have to explore other options as FB is picking up one of my advertiser's images and using it consistently, including when one of my other advertiser 'Likes' a post related to them, which is a bit of an issue :)

All Colours Sam

Facebook does give you options to show other images as it usually crawls more than 1 image, but most users doesn't bother to select an appropriate image.

I tried using the sdk version a while ago, it was a mess and highly unreliable, it breaks the xhtml validation too
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Jonas1975

Quote from: Jonas1975 on September 17, 2012, 05:40:04 AM
Quote from: Suki on September 16, 2012, 09:38:14 PM
The code for twitter on the mod you mentioned and the code for twitter on this mod are exactly the same.
Regarding the Twitter, I was looking for something more like this: http://custom.simplemachines.org/mods/index.php?mod=2827
Where there is no number of tweets shown.

Even so, the most important for me was really adding StumbleUpon button...
Any news on this?

All Colours Sam

I need a code example for both buttons
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

ESLLOL

I'm having a little trouble installing this mod and wondered if anyone can help me?

When I go to install the package it brings up the error

Database Error
SQL logic error or missing database
near "NOT": syntax error
File: /home/a8409673/public_html/Packages/temp/tagsql2.php
Line: 20


All Colours Sam

There is no tagsql2.php file on this mod, chances are you are looking at the wrong mod.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

ESLLOL

Quote from: Suki on October 04, 2012, 07:27:17 AM
There is no tagsql2.php file on this mod, chances are you are looking at the wrong mod.

Sorry, you're absolutely right, I've got it working now, I'm a completely noob to SMF.

Thanks so much for the mod, it's exactly what I was looking for. Just one quick question, is there any way to reduce the space between the facebook like button and the tweet button?

I'll attach a screen shot so you can see what i mean.

Thanks again.

All Colours Sam

Sure, every button has a class, for facebook, that class is sharethis_facebook  with that class you can manipulate the padding and margin of the buttons via css.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

ESLLOL

Quote from: Suki on October 05, 2012, 07:19:11 AM
Sure, every button has a class, for facebook, that class is sharethis_facebook  with that class you can manipulate the padding and margin of the buttons via css.

I'm sorry I really am a complete noob at this, how exactly do I edit the css?

I've already completely crashed my site 2 times and I had to start from scratch so I'm being extra cautious!

I appreciate your help a lot.

Advertisement: