|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
OK, I updated the download in the original post - I really didn't change much from the original. I did: - remove the end post#, as it was preventing the subject from loading into digg and delicious correctly. It's not needed if you are only linking the starting post in a topic (as it is written) - removed the extra span tags since they're redundant now - update instructions for 7.3 I only included instructions for postside.tpl, they're pretty much identical for posttop.tpl if you want to put them there, I've never seen anyone use that tho. I only included the 2 original sites too, if you want to customize this Ian's code is pretty easy to follow  I didn't include the nofollow tags - it can only help your site's SE rankings to allow the bots to see good links to and hopefully from the huge networking sites.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Hehe, I love how we reinvent the wheel in our own ways here  ... Seems we all like things working a different way 
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
good stuff, Allen ![[Linked Image]](http://sirdude.com/smileys/rawk.gif)
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Thanks, it looks like it adds the links to the post at the top of each page in a topic. hmmm...
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
that's cuz you are using {if $smarty.section.post.iteration == 1}
which specifies the 1st post on the page.. just remove the {if ...} and the {/if} and it will show on all of em.. 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
My question is, why list it on every post when you're simply bookmarking the thread?
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
for me, it's obvious -- ease of use. you can be reading a post that is really good.. maybe not the 1st post in the thread.. you like it, you 'digg it'. no need to go to Top and book mark.. just digg it right there. that's how i have my social stuff done. (i use scriptac, but it's the same idea)... i css the 'Top' link to the right and have the little bookmark bar on the left for each post in the thread. workie nicie 
|
|
|
|
Joined: Apr 2007
Posts: 42
User
|
User
Joined: Apr 2007
Posts: 42 |
Thanks will take a look.
Is 2247-ubb.social the latest file by the way? Thanks
|
|
|
|
Joined: Apr 2007
Posts: 42
User
|
User
Joined: Apr 2007
Posts: 42 |
Sorry I might have missed this, how do we add Facebook and others? Does what is posted earlier on need adjustment?
Thanks
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I keep the zip in the first post updated with current code, to avoid confusion - there'll be a time-stamp on files within too. I'll take a look at facebook code, but it should be about the same. that's cuz you are using {if $smarty.section.post.iteration == 1}
which specifies the 1st post on the page.. just remove the {if ...} and the {/if} and it will show on all of em..  hmm... kinda clutters up the interface more. I notice vb just puts a bar across the bottom of the page to do this social linking thing. Don't really want another bar tho, I'll have to think about it.
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
yah, Allen i can see your point and i believe it's a personal pref thing actually. what i've done with a similar mod is allow the user to decide what they'd like to see.. i don't have a screenie, but can show where i put it for the single one.. ![[Linked Image]](http://sirdude.com/screenies/ubbt73/quick-reply.png) the javascript bar is to the right of the 'using ubbcode' pulldown at the top of the re-designed quick reply box.. another spot for the single one is under the checkbox for 'enable sig' some want just the one link dealio.. others want it in every post (although it is the same link to the topic) for convenience.. so i can see you quandry in a sense not knowing what the 'optimum' solution would be for MOST peeps  i ended up just making it a user preference, so they could choose: 1) every post 2) quick reply re-designed 3) never show
|
|
|
|
Joined: Oct 2007
Posts: 4
Lurker
|
Lurker
Joined: Oct 2007
Posts: 4 |
I have a need for the other way around! A ubb.social that is placed in other news websites, and when someone clicks on the Icon, he will add NEWS, or information in the UBB Forum (not from the Forums to some Digg or similar, but from some news/blog website - add the article in the Forum).
Any idea how to do this? Or at least, what are the tables that are modified in an Insert Post in a Forum in UBB.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I think a year and 2 months before your first post is a new record  I understand the question, but don't see how it's possible, outside maybe a browser toolbar widget. Otherwise you'd have to convince these other sites to add code to post their articles to your forum.
|
|
|
|
Joined: Oct 2007
Posts: 4
Lurker
|
Lurker
Joined: Oct 2007
Posts: 4 |
Thanks for replying! Yes, there is some time between my registration and my post. The good news is that there are ppl reading here...  Back to the my question: It should work just the same way you post to DIgG.it, Facebook and others. A lot of website offers this feature of sharing somewhere else. It would be good to share content in the UBB Forum as well. I would really need this feature for my message board. And yes, the other sites can add some code to post in my (UBB)forum. This will increase the interest and traffic. I was trying to do this myself, but I need to know all the tables are affected by inserting a new post in UBB. I am sure it is not only the ubb_post table. There should be some others as well. I also think this is a good feature for UBB in the next realease. It will increase the chance of ppl contributing with article to the UBB Forums.
|
|
|
|
Joined: Oct 2007
Posts: 4
Lurker
|
Lurker
Joined: Oct 2007
Posts: 4 |
Hey Allen  Please share your opinion on this topic
|
|
|
|
Joined: Jul 2002
Posts: 79
Power User
|
Power User
Joined: Jul 2002
Posts: 79 |
So is this working now for the latest version of threads?
AND is it the download that is in post number 1?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Hi Stan, I haven't tested it recently, but it should work fine. No major changes were made that would affect this. Let me know if you run into issues.
|
|
|
|
Joined: Jul 2002
Posts: 79
Power User
|
Power User
Joined: Jul 2002
Posts: 79 |
Does it do facebook?
Thanks
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Hey Allen  Please share your opinion on this topic Once permission checks are done, I believe the posts table is the only one affected, unless you want to update post counts.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Does it do facebook?
Thanks You might find the AddThis mod useful; it includes a LOT of various bookmarking sites...
|
|
|
|
Joined: Jul 2002
Posts: 79
Power User
|
Power User
Joined: Jul 2002
Posts: 79 |
just installed the AddThis thanks
|
|
|
|
Joined: May 2008
Posts: 7
Lurker
|
Lurker
Joined: May 2008
Posts: 7 |
I just added the set on my forums - http://forums.bellaonline.com/ubbthreads.php?ubb=showflat&Number=555859it's working fine on UBB 7.5.2. There are 2 downsides: 1) I have non-search-engine-friendly URLs so they have & and ? in them. That screws up the social networks which truncate all of that. So the links only point to the main forum page. Is there any way to escape those so that they get to the destination properly? You can click on one to see what I mean. 2) with the location of the icons underneath the profile they seem to indicate you're bookmarking the PERSON not the POST. Any way to move the icons over to near the other post related buttons (edit etc)?
|
|
|
|
Joined: May 2008
Posts: 7
Lurker
|
Lurker
Joined: May 2008
Posts: 7 |
OK here are the full details of how I got a row of icons next to my edit buttons: 1) Upload the many icons (including a twitter.gif) to your social/threads images directory 2) Make sure spider-friendly URLs are on and you have full URLs SET 3) in showflat.inc.php look for: $postrow[$i]['Subject'] = $results[$i]['POST_SUBJECT']; add in after that: $postrow[$i]['SubjectSocial'] = $results[$i]['POST_SUBJECT']; 4) in /templates/default/postside.tpl: Find this: {$postrow[post].Signature} Look below it for the right before the edit buttons start up. Change that TD into the below code, to create a pair of side-by-side columns.
|
| |
and then the {if $type == "pm"} comes after that.
Last edited by bellaonline; 10/12/2009 3:48 PM.
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|