TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 470
  • Total: 471
  • @rjen

Block or Article: Social Bookmarks snippet

Started by knat, February 24, 2007, 12:12:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knat

Quote from: evilopinions on May 29, 2007, 03:39:50 AM
Hi,

I feel this is an excellent snippet/mod you have created...

I have been hunting for this for ages and the one on SMF site did not work with my theme even after modification..

I had to manually submit stories....

I love this mod very much and so do my site members...

Thanks

Im glad you could use it on your site.. and im sorry for the ones who cant..

Can i point you in this direction for something that will work on all sites: http://www.addthis.com/

fangweile

THis is really cool block snippet but I am having problem with the code. I work fine in my forum but its created an error in my forum error log. Any  way to fix it.

QuoteUndefined variable: definePageTitle
File: /home/vol2/4sql.net/sq_61554/oursitehere.net/htdocs/forum/Themes/dilbermc/MessageIndex.template.php (main_below sub template - eval?)
Line: 75

this is really great and hope that you will fix this error.

knat

Sorry mate, but i have no idea why it does that..  :P


IchBin

As it seems that the variable isn't even defined, yet the script still works... Try changing this line of code:
soc_bookmark(selfURL(), $definePageTitle);

To this:
soc_bookmark(selfURL());

See if it still works, and if the error is gone.

fangweile

I got more errors there

QuoteMissing argument 2 for soc_bookmark()
Undefined variable: title

This website is proudly hosted on Crocweb Cloud Website Hosting.