Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on Tagsum.com social bookmarking template mods within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. I tested this on 3.5.X - 3.6.8 with no issues. What does this mod do? It adds a drop down box on each thread posted so your users can easily submit your threads to social bookmarking and


Reply
 
LinkBack Thread Tools
Old 09-25-2007, 01:25 PM   #1 (permalink)
Junior Member
 
Join Date: Sep 2006
Posts: 7
1EightT is on a distinguished road
iTrader: (0)
Tagsum.com social bookmarking template mods

I tested this on 3.5.X - 3.6.8 with no issues.

What does this mod do?

It adds a drop down box on each thread posted so your users can easily submit your threads to social bookmarking and social media sites like TagSum.com, Facebook, Delicious, and a few others. Others can easily be added as well.

How do I Install it?

It's a very easy template mod that should take 5 minutes or less.

First edit template : headinclude

Go to the end of the template and paste the following code:

PHP Code:
<script language="JavaScript"

function 
openDirform ) { 

    var 
newIndex form.fieldname.selectedIndex

    if ( 
newIndex == ) { 

        
alert"Please select a location!" ); 

    } else { 

        
cururl form.fieldname.optionsnewIndex ].value

        
window.location.assigncururl ); 

    } 


</script> 
Next edit SHOWTHREAD

Find

PHP Code:
<if condition="$show['inlinemod']">
        <if 
condition="$show['popups']">
            <
td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"vbmenu_register('imod'); </script></td>
        <else />
            <td class="thead" align="center">
                <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
            </td>
        </if>
    </if>
</tr> 
Under it ADD:

PHP Code:
<tr>
<
td class="tcat" align="right" colspan="6" width="100%">
<!--
social bookmarks-->
<
form name=bookmarks
<
select name="fieldname" size="1" onChange="openDir( this.form )"

<
option>Bookmark this Thread</option
<
OPTION VALUE=http://www.tagsum.com/news/submit?url=$vboptions[bburl]/showthread.php?t=$threadid>TagSum</option>
<option value=http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$threadid>del.icio.us </option> 
<OPTION VALUE=http://www.facebook.com/sharer.php?u=$vboptions[bburl]/showthread.php?t=$threadid>Facebook Share</option> 
<OPTION VALUE=http://www.blogger.com/blog_this.pyra?u=$vboptions[bburl]/showthread.php?t=$threadid>Blogger</option> 
<OPTION VALUE=http://myweb2.search.yahoo.com/myresults/bookmarklet?t=$vboptions[bburl]/showthread.php?t=$threadid> Yahoo MyWeb</option>
</select> </form>
<!--
social bookmarks-->
</
td>
</
tr
The SHOWTHREAD code can be placed anywhere in the template so move it around as you please.

For a live demo visit the following URL: Tagsum.com is open to the world - High Altitude Imports
1EightT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 09-25-2007, 01:27 PM   #2 (permalink)
Junior Member
 
Join Date: Sep 2006
Posts: 7
1EightT is on a distinguished road
iTrader: (0)
Re: Tagsum.com social bookmarking template mods

Here is an alternate implementation:

What is it?

The following modification adds a submission button to your showthread template that allows users to submit your threads to TagSum.com. Tagsum is a social media and social network web site that is growing quite rapidly.

Why should I submit to TagSum?

Simplly stated, Traffic! TagSum is growing, and it's becoming a great way to drive extra traffic to your forum. On top of that, they have released a revenue sharing system that allows you to earn adsense revenue every time you submit a story to their site. This way you earn both exposure and money when you make use of the site.

Great, how do I install it?

This part is easy. Simply find the showthread template and look for the following:

PHP Code:
<!-- / controls above postbits -->

<!-- 
toolbar --> 
In between those two paste the following html code:


PHP Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<
tr>
    <
td class="thead" width="100%">
        <
a href="http://www.tagsum.com/news/submit?url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank">Tag This Thread:&nbsp;</a>
        <!-- 
TagSum -->
<
a href="http://www.tagsum.com/news/submit?url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/tagsumlogo.png" alt="TagSum" border="0" /></a>
    </
td>
  </
tr>
</
table
Now all you need to do is upload the attached image to your /images/buttons directory

That's it! Let me know if you have any questions or problems.
Attached Images
File Type: png tagsumlogo.png (852 Bytes, 16 views)
1EightT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2007, 11:43 PM   #3 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,209
Code Monkey is on a distinguished road
iTrader: (0)
Re: Tagsum.com social bookmarking template mods

Very cool, thanks for the submission.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags: , , ,





Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 07:49 PM.
Online Users 47
Registered 1
Guests 46
Members 3437
Active Members 194
Threads 1698
Posts 7159
Top poster: Code Monkey (2209)
Welcome to our newest member, ccmagee
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images