28, May 2012

Bookmark this thread: Digg Del.cio.us Spurl Furl Blinkit - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web site promotion  >  Promoting & building a forum  >  SMF moding & promoting
Topic: Bookmark this thread: Digg Del.cio.us Spurl Furl Blinkit
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Bookmark this thread: Digg Del.cio.us Spurl Furl Blinkit  (Read 2421 times)
Hehe. I made your website....
**
Gender: Male
Posts: 85
592 credits
Members referred : 0


Philippine Marketing Guy


« on: Sep 03, 2006, 04:22:49 pm »

How did you add that to the forum?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Sep 03, 2006, 04:30:48 pm »

which forum?

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #2 on: Sep 03, 2006, 05:01:50 pm »

You mean how did we added the links to the social bookmarks?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Hehe. I made your website....
**
Gender: Male
Posts: 85
592 credits
Members referred : 0


Philippine Marketing Guy


« Reply #3 on: Sep 03, 2006, 05:31:58 pm »

Yes, the one with "Bookmark this thread: Digg...."
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Sep 03, 2006, 05:52:02 pm »

Yes, the one with "Bookmark this thread: Digg...."

this is a question for you Nick Wink

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #5 on: Sep 04, 2006, 09:16:18 am »

Well that's an easy one.

Open the Display.template.php file and add this code where you want to use it (the bellow example will work for your phillipines webmaster forum)

Code:
<?php
$link 
urlencode('http://'.$_SERVER['HTTP_HOST'].'/index.php?topic='.$context['current_topic']);

echo 
'Bookmark this thread : <a href="http://digg.com/submit?phase=2&amp;url='.$link.'">Digg</a>
 <a href="http://del.icio.us/post?url='
.$link.'&amp;title='.$context['subject'].'">Del.cio.us</a>
 <a href="http://spurl.net/spurl.php?title='
.$context['subject'].'&amp;url='.$link.'">Spurl</a>
 <a href="http://www.furl.net/storeIt.jsp?u='
.$link.'&amp;t='.$context['subject'].'">Furl</a>
 <a href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Description='
.urlencode(utf8_encode($context['subject'])).'&amp;Url='.urldecode($link).'">Blinkit</a>';


Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Hehe. I made your website....
**
Gender: Male
Posts: 85
592 credits
Members referred : 0


Philippine Marketing Guy


« Reply #6 on: Sep 04, 2006, 10:34:19 am »

cool thanks. I will try it Smiley
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #7 on: Oct 06, 2006, 05:06:03 pm »

Hi Nikolas,

I need help with a bit of error:

http%3A%2F%2Ffivearts.net%2Findex.php%3Ftopic%3D16Bookmark this topic in Digg | Del.cio.us | Spurl | Furl | Blinkit

Can be seen at test forum here
http://fivearts.net/rc3/index.php?topic=16.0

Any suggestion please?

Many thanks
 Smiley
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #8 on: Oct 06, 2006, 05:11:32 pm »

It appears that you display a urlencoded url there.

Can you post some code? Otherwise it is impossible to help Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #9 on: Oct 06, 2006, 07:23:12 pm »

The xml file I created is

Code:
<file name="$themedir/Display.template.php">
<operation>
<search position="before"><![CDATA[
// Now show how many guests are here too.
echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], '
]]></search>
<add><![CDATA[<br />'.
$link = urlencode('http://'.$_SERVER['HTTP_HOST'].'/index.php?topic='.$context['current_topic']);
echo 'Bookmark this topic in <a href="http://digg.com/submit?phase=2&amp;url=http://'.$link.'">Digg</a>
| <a href="http://del.icio.us/post?url='.$link.'&amp;title='.$context['subject'].'">Del.cio.us</a>
| <a href="http://spurl.net/spurl.php?title='.$context['subject'].'&amp;url='.$link.'">Spurl</a>
| <a href="http://www.furl.net/storeIt.jsp?u='.$link.'&amp;t='.$context['subject'].'">Furl</a>
| <a href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Description='.urlencode(utf8_encode($context['subject'])).'&amp;Url='.urldecode($link).'">Blinkit</a>

]]></add>
</operation>
</file>

This puts the links under "0 Members and 1 Guest are viewing this topic."

Actually I'd like to put it in a white box after 'Logged' and before the 'PRINT' tab.


Really appreciate your help. Thanks.
« Last Edit: Oct 06, 2006, 07:31:47 pm by joined »
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #10 on: Oct 06, 2006, 07:31:10 pm »

Please post code portion of your Display.template.php file.

It seems like you puted the $link = ..... statement in an echo statement.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #11 on: Oct 06, 2006, 07:35:54 pm »

Will it be good or bad for SEO to have it where it is? or is it better at the bottom of the page? (after Logged, before 'PRINT')

These are the two places that seems quite logical to me.

I'll go look up Display.template.php now...
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #12 on: Oct 06, 2006, 07:37:26 pm »

Those links don't matter with SEO.

My advice is to have them in the bottom of each thread like it is in this forum.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #13 on: Oct 06, 2006, 07:48:28 pm »

In this case I need a white box somewhere after signature of the last post and before 'REPLY | NOTIFY |ADD POLLl | PRINT' tabs in the code here...
Code:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '</div>';

echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
}
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>
</table>
<a name="lastPost"></a>';

// As before, build the custom button right.
if ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);

echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="middletext">', $txt[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#top"><b>' . $txt['topbottom4'] . '</b></a>' : '', '</td>
<td align="right" style="padding-right: 1ex;">
<table cellpadding="0" cellspacing="0">
<tr>
', template_button_strip($normal_buttons, 'top', true), '
</tr>
</table>
</td>
</tr>
</table>';

Thanks :-)
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #14 on: Oct 06, 2006, 07:51:39 pm »

This part of code does not contain the links, or I can't see them Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #15 on: Oct 06, 2006, 08:17:12 pm »

Thanks Nikolas for the tip
Quote
It seems like you puted the $link = ..... statement in an echo statement.

and thanks for standing by.

I got it!

http://fivearts.net/rc3/index.php?topic=16.0

Thanks soooo much.

Smiley
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3943
Tags : forums seo digg furl xml Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web site promotion  >  Promoting & building a forum  >  SMF moding & promoting
Topic: Bookmark this thread: Digg Del.cio.us Spurl Furl Blinkit
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 04:13:22 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.