22, November 2008

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

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ 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

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


Philippine Marketing Guy


« on: Sep 03, 2006, 05:22:49 PM »

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


It's time to use PHP5!


« Reply #1 on: Sep 03, 2006, 05:30:48 PM »

which forum?


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #2 on: Sep 03, 2006, 06: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 Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Hehe. I made your website....
**
Gender: Male
Posts: 85
592 credits
Members referred : 0


Philippine Marketing Guy


« Reply #3 on: Sep 03, 2006, 06:31:58 PM »

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


It's time to use PHP5!


« Reply #4 on: Sep 03, 2006, 06:52:02 PM »

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

this is a question for you Nick Wink


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #5 on: Sep 04, 2006, 10: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 Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Hehe. I made your website....
**
Gender: Male
Posts: 85
592 credits
Members referred : 0


Philippine Marketing Guy


« Reply #6 on: Sep 04, 2006, 11: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, 06: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 Visit through proxy

Any suggestion please?

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



« Reply #8 on: Oct 06, 2006, 06: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 Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #9 on: Oct 06, 2006, 08: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, 08:31:47 PM by joined »
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #10 on: Oct 06, 2006, 08: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 Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #11 on: Oct 06, 2006, 08: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: 8249
42481 credits
Members referred : 3



« Reply #12 on: Oct 06, 2006, 08: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 Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #13 on: Oct 06, 2006, 08: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: 8249
42481 credits
Members referred : 3



« Reply #14 on: Oct 06, 2006, 08: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 Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Total Zero
*
Posts: 5
30 credits
Members referred : 0


« Reply #15 on: Oct 06, 2006, 09: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 Visit through proxy

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....

Topic sponsors:
Get a permanent link here for $1.99!


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?
Nov 22, 2008, 06:23:53 AM





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!


Forum Statistics
Total Posts: 37.733
Total Topics: 7.649
Total Members: 4.394
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: rdgoetz

54 Guests, 4 Users online :

16 users online today:



Readers

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