Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBPinger - Ping on new threads, articles, blogs Details »»
vBPinger - Ping on new threads, articles, blogs
Version: 0.0.1, by Lairston Lairston is offline
Developer Last Online: Sep 2017 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 07-09-2010 Last Update: Never Installs: 46
Uses Plugins
Re-useable Code Translations  
No support by the author.

I wrote this for my board and thought others would benefit from it.

This mod will cause vbulletin to ping a list of sites in the ACP that you add to the list. I have it set to pingomatic by default. But you can add others to the list as well. Note that I have just used it with pingomatic.

You can also disallow certain forums from being pings by listing them in the ignore forum box.

You can also choose to only ping on certain items. So you can turn on and off pinging on articles, blogs, or threads.

There is a debug option. It does not work in IE since IE doesn't like the xml that is used. It works in Firefox.

In addition, you can set your user agent to pass to the ping sites.

The hooks used are:
  • blog_post_updateentry_new
  • vbcms_article_save_end
  • newthread_post_complete

Instructions are to
  • Download the zip file
  • Unzip the zip file
  • Import the product file product-bvs03_vbpinger.xml through your ACP.
  • Then goto the settings page and set them up to ignore your private forums and disallow any pinging that you do not want to have occur. As well as set the user agent to another value if you want.

Download Now

File Type: zip product-bvs03_vbpinger.zip (2.4 KB, 343 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
andro140, fai99al99

Comments
  #42  
Old 11-03-2013, 07:15 AM
magmf magmf is offline
 
Join Date: Oct 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

His code actually is not working correctly for websites that have like /ping/RPC2 like blogsearch of google


To make it work I had to replace his ping function to


Code:
	function pingsite($sitetoping,$sourcetitle, $sourceurl, $debugping = false)
	{


$content = <<<EOT
<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>weblogUpdates.ping</methodName>
<params>
 <param>
  <value>
   <string>$sourcetitle</string>
  </value>
 </param>
 <param>
  <value>
   <string>$sourceurl</string>
  </value>
 </param>
</params>
</methodCall>
EOT;


$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $sitetoping);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true );
curl_setopt($ch, CURLOPT_POSTFIELDS, trim($content)); 
$result = curl_exec($ch);

curl_close($ch); 
	 

	} //end function
With this you should be able to ping any website obviously your php need be compiled with curl support
Reply With Quote
2 благодарности(ей) от:
fai99al99, WendM
  #43  
Old 03-03-2014, 03:45 PM
fai99al99 fai99al99 is offline
 
Join Date: Sep 2011
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice MOD !
Reply With Quote
  #44  
Old 12-12-2015, 05:47 PM
zorcocuq zorcocuq is offline
 
Join Date: Apr 2011
Location: Izmir,Turkey
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good ping list in 2015

Quote:
rpc.pingomatic.com
rpc.twingly.com
rpc.technorati.com/rpc/ping
api.feedster.com/ping
api.moreover.com/RPC2
api.moreover.com/ping
bblog.com/ping.php
blogsearch.google.com/ping/RPC2
blogsearch.google.com.tr/ping/RPC2
www.blogdigger.com/RPC2
www.blogpeople.net/servlet/weblogUpdates
ping.bloggers.jp/rpc/
blogsearch.google.com/ping/RPC2
www.blogshares.com/rpc.php
www.blogsnow.com/ping
www.blogstreet.com/xrbin/xmlrpc.cgi
bulkfeeds.net/rpc
www.newsisfree.com/xmlrpctest.php
ping.blo.gs/
ping.feedburner.com
ping.syndic8.com/xmlrpc.php
ping.weblogalot.com/rpc.php
rpc.blogrolling.com/pinger/
rpc.technorati.com/rpc/ping
rpc.weblogs.com/RPC2
www.feedsubmitter.com
blo.gs/ping.php
www.pingerati.net
www.pingmyblog.com
geourl.org/ping
ipings.com
topicexchange.com/RPC2
www.weblogalot.com/ping
xping.pubsub.com/ping
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03885 seconds
  • Memory Usage 2,267KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_box_bit
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete