.
2:28 pm
How to add a Yahoo Messenger custom button with an image and the command to be something like this:
<a href="ymsgr:im?+&msg=Title of post - Link of post" title="Send on Yahoo Messenger" alt="Send on Yahoo messenger">
An example you can see here on my site : http://desene.biz/spiderman-episodul-6/
I wanna create the custom button, and to remove that plugin, i don't wanna have 2834294378743 plugins
The questions :
If i / we / you create the custom button succesfully, can i place the button(s) with the others with this command, in my theme ?
if
(function_exists(
'display_social4i'
))
echo
display_social4i(
"large"
,
"float-right"
);
?>
well the code should be
<?php function currentPageURL() { $curpageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$curpageURL.= "s";} $curpageURL.= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $curpageURL.= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $curpageURL.= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $curpageURL; } ?>
<a href="ymsgr:im?+&msg=<?echo currentPageURL();?>" title="Send on yahoo">Link</a>
I did not test it but I think you should work.
< My Domain Names Generator tool crossed 50,000 page views. If you haven't tried yet, then try it out. />
you can add the custom button links to Yahoo as below (can be added to both small and large button custom button code area)
<a href="ymsgr:im?+&msg=%%TITLE%% - %%URL%%" title="Send on Yahoo Messenger" alt="Send on Yahoo messenger"><img src="[Image URL]" /></a>
Replace the image URL with a image like in the site you mentioned. Once you have added the custom button code then you will be able to add the buttons with the PHP call directly into your theme with the code that you listed above
< My Domain Names Generator tool crossed 50,000 page views. If you haven't tried yet, then try it out. />
12:14 pm
Can you provide code for PHP too please?
I already have the code for page url:
<?php function currentPageURL() { $curpageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$curpageURL.= "s";} $curpageURL.= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $curpageURL.= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $curpageURL.= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $curpageURL; } echo currentPageURL(); ?>
<br />
I tried:
But i'm not getting the currentPageURL (it's blank).
Also your facebook/twitter log in for this forum doesn't work.
1 Guest(s)