vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - vBsociable (https://vborg.vbsupport.ru/showthread.php?t=149449)

tribedude 08-27-2007 06:59 PM

I am having difficulty installing this product in our 3.58 test forum. When I import the product it generates this error in the vBulletin product manager:

Database error in vBulletin 3.5.8:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'vBSociable', 'showthread_complete', '// ################################################## ###############################\r\n// vBsociable\r\n$vBsociable = array(\r\n \'del.icio.us\' => array(\r\n \'img\' => \'delicious.png\',\r\n \'url\' => \'http://del.icio.us/post?url=LINK&title=TITLE\'\r\n ),\r\n \'Digg\' => array(\r\n \'img\' => \'digg.png\',\r\n \'url\' => \'http://digg.com/submit?phase=2&url=LINK&title=TITLE\'\r\n ),\r\n \'Facebook\' => array(\r\n \'img\' => \'facebook.png\',\r\n \'url\' => \'http://www.facebook.com/share.php?u=LINK\'\r\n ),\r\n \'feedmelinks\' => array(\r\n \'img\' => \'feedmelinks.png\',\r\n \'url\' => \'http://feedmelinks.com/categorize?from=toolbar&op=submit&url=LINK &name=TITLE\'\r\n ),\r\n \'Furl\' => array(\r\n \'img\' => \'furl.png\',\r\n \'url\' => \'http://www.furl.net/storeIt.jsp?u=LINK&t=TITLE\'\r\n ),\r\n \'Ma.gnolia\' => array(\r\n \'img\' => \'magnolia.png\',\r\n \'url\' => \'http://ma.gnolia.com/bookmarklet/add?url=LINK&title=TITLE\'\r\n ),\r\n \'NewsVine\' => array(\r\n \'img\' => \'newsvine.png\',\r\n \'url\' => \'http://www.newsvine.com/_tools/seed&save?u=LINK&h=TITLE\'\r\n ),\r\n \'Netscape\' => array(\r\n \'img\' => \'netscape.gif\',\r\n \'url\' => \'http://www.netscape.com/submit/?U=LINK&T=TITLE\'\r\n ),\r\n \'Reddit\' => array(\r\n \'img\' => \'reddit.png\',\r\n \'url\' => \'http://reddit.com/submit?url=LINK&title=TITLE\'\r\n ),\r\n \'Slashdot\' => array(\r\n \'img\' => \'slashdot.png\',\r\n \'url\' => \'http://slashdot.org/bookmark.pl?title=TITLE&url=LINK\'\r\n ),\r\n \'SphereIt\' => array(\r\n \'img\' => \'sphere.png\',\r\n \'url\' => \'http://www.sphere.com/search?q=sphereit:LINK&title=TITLE\'\r\n ),\r\n \'Spurl\' => array(\r\n \'img\' => \'spurl.png\',\r\n \'url\' => \'http://www.spurl.net/spurl.php?url=LINK&title=TITLE\'\r\n ),\r\n \'StumbleUpon\' => array(\r\n \'img\' => \'stumbleupon.png\',\r\n \'url\' => \'http://www.stumbleupon.com/submit?url=LINK&title=TITLE\'\r\n ),\r\n \'Technorati\' => array(\r\n \'img\' => \'technorati.png\',\r\n \'url\' => \'http://technorati.com/faves?add=LINK\'\r\n ),\r\n \'YahooMyWeb\' => array(\r\n \'img\' => \'yahoomyweb.png\',\r\n \'url\' => \'http://myweb2.search.yahoo.com/myresults/bookmarklet?u=LINK&=TITLE\'\r\n )\r\n);\r\n\r\nif ($vbulletin->options[\'vBsociable_enabled\'])\r\n{\r\n // Are we wanting to exclude certain forums?\r\n if (!empty($vbulletin->options[\'vBsociable_excluded\']))\r\n {\r\n if (strpos($vbulletin->options[\'vBsociable_excluded\'], \',\') === false)\r\n {\r\n $excluded_forums = array($vbulletin->options[\'vBsociable_excluded\']);\r\n }\r\n else\r\n {\r\n $excluded_forums = explode(\',\', $vbulletin->options[\'vBsociable_excluded\']);\r\n }\r\n }\r\n else\r\n {\r\n $excluded_forums = array();\r\n }\r\n\r\n $excluded = false;\r\n\r\n foreach ($excluded_forums AS $excluded_forum)\r\n {\r\n if ($thread[\'forumid\'] == $excluded_forum)\r\n {\r\n $excluded = true;\r\n break;\r\n }\r\n }\r\n unset($excluded_forums);\r\n\r\n // Let\'s go..\r\n if ($excluded)\r\n {\r\n $show[\'vBsociable\'] = false;\r\n }\r\n else\r\n {\r\n $show[\'vBsociable\'] = true;\r\n $threadurl = urlencode($vbulletin->options[\'bburl\'] . \"/showthread.php?t=$thread[threadid]\");\r\n $threadtitle = urlencode($thread[\'title\']);\r\n\r\n foreach ($vBsociable AS $name => $values)\r\n {\r\n $vBsociable_img = $values[\'img\'];\r\n $vBsociable_phrase = $vbphrase[\'vBsociable_\' . strtolower(str_replace(\'.\', \'\', $name))];\r\n $vBsociable_url = str_replace(array(\r\n \'LINK\',\r\n \'TITLE\'\r\n ), \r\n array(\r\n $threadurl,\r\n $threadtitle\r\n ), $values[\'url\']);\r\n eval(\'$vBsociablebits .= \"\' . fetch_template(\'vBsociable_bits\') . \'\";\');\r\n }\r\n }\r\n}\r\nelse\r\n{\r\n $show[\'vBsociable\'] = false;\r\n}\r\nunset($vBsociable);\r\n// ################################################## ###############################', 'vBsociable');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Monday, August 27th 2007 @ 03:54:18 PM
Script : http://www.velocity.to/forums/admincp/plugin.php

.......


Then the product seems to partially install (it doesn't work but shows up in the installed products). what can I do to solve it?

Thanks for your help.

vwdforum 08-28-2007 10:36 AM

worked on 3.8 at booze britain

I also added a couple of others to the list.

Is there any way of greating a keywords tag, on top of the LINK, and TITLE ?

Eric 08-28-2007 08:33 PM

I've been very busy the last couple months. I'll see what I can do about getting another version out.

Quote:

Originally Posted by majorvbuser (Post 1326854)
Great little mod few questions before I click install, as this thread seems to have gone a little quiet.

a) Can you configure which sites are listed in the drop down.
b) Is it now possible to choose a select few like Digg, delicious etc and add them to postbit.

Not yet, but that will be an option in the next version.
Quote:

Originally Posted by tribedude (Post 1326899)
I am having difficulty installing this product in our 3.58 test forum. When I import the product it generates this error in the vBulletin product manager:

Then the product seems to partially install (it doesn't work but shows up in the installed products). what can I do to solve it?

Thanks for your help.

This mod is for 3.6

majorvbuser 08-29-2007 05:57 AM

Quote:

Originally Posted by SecondV (Post 1327640)

Not yet, but that will be an option in the next version.

This mod is for 3.6

Excellent. I don't suppose you could give us the idiots guide to exactly how this works ?

When you submit the content of the post to digg etc, does it inclue the link back to your forum to increase traffic ? Is that the purpose?

I've never "dugg" anything so not entirely sure how the process works.

Ohiosweetheart 09-09-2007 05:11 PM

Quote:

Features flagged for future version(s):
  • Allow to remove sites from the listing, via ACP

This is what I'm waiting for.

In the meantime - can sites be removed via the xml file?

Bounce 09-09-2007 06:33 PM

Is it possible to be able to post into another forum ? Like having a custom site...

i.e : post in my own forum and would post it here (vb.org) (provided they are both members) and if selected in the submit tools.

Thanks :confused:

jnr 09-10-2007 03:24 AM

.
Outstanding. Thanks SecondV. InStalled.
.

Eric 09-12-2007 10:16 AM

Since I will be starting a new job soon, I will not have any time to work on my modifications.
Therefore, anyone who wants to take my modification(s) and build/improve them further, are free to do so.
All I ask is you give proper credit.

user_not_found 09-16-2007 05:37 AM

Very good thanks:D

sigh 09-16-2007 05:03 PM

If you're still working on this at all, it would be nice to be able to apply this to the vBulletin Blog posts as well.

Cheers!


All times are GMT. The time now is 08:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01424 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete