vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - vbulletin-xml-rpc-server for instant Desktop Notification (https://vborg.vbsupport.ru/showthread.php?t=194180)

sf.nsuers 10-22-2008 01:22 PM

hmm okay.. can you attach cd.php and config.cnf in your next reply? @ bollie

bollie 10-22-2008 01:28 PM

APPLICATION_TITLE = vBulletin Notifier
HOME_URL = http://xxxxxxxxx
VBULLETIN_URL = http://xxxxxxxxx/forum.php/
VBULLETIN_XML_RPC_SERVER = http://xxxxxxxxxxx/vbulletin-xml-rpc-server/
NOTIFICATION_WINDOW_TITLE = xxxxxxxx


PHP Code:

<?php
/**
 * cd.php
 * 
 * Changes working directory to where vBulletin is currently installed. <br/>
 * Loads the vBulletin config (<b>{vBulletin_dir}</b>/includes/config.php) file and resets to original working directory.
 * 
 * @author  Sword^Fish <swordfish@nsuers.com>
 * @version 1
 * @since   Release 1
 * @package vbulletin-xml-rpc-server
 * @see     https://vborg.vbsupport.ru/showthread.php?t=173693
 * 
*/
$curdir getcwd();
//chdir('C:\xampp\htdocs\nsuers\public_html\vbulletin');
//require_once('C:\xampp\htdocs\nsuers\public_html\vbulletin\includes\config.php');
chdir('/var/www/vhosts/xxxxxxxxx/httpdocs/'); /* change this to directory where your vBulletin is installed */
require_once('/var/www/vhosts/xxxxxx/httpdocs/includes/config.php'); /* change this to where you vBulletin config.php is located */
chdir($curdir);
?>


edermix 10-22-2008 01:55 PM

I downloaded the trial version of you posted, but if I put anyone he logs, it appears an error message.

If I make here in my custom version JAR, you can make it turn an executable?

Barakat 10-22-2008 02:00 PM

what is that error


Quote:

Fatal error: Call to undefined function xmlrpc_server_create() in /home/barakat/public_html/forums/server.php on line 37

noppid 10-22-2008 02:11 PM

This hack should be in beta with warnings in large red letters.

What's up with putting server passwords in the $GLOBAL array? I've already pointed out the queries reveal hidden forums.


Seriously people, this is a great idea, but no where near ready for production use yet.
:rolleyes:

River_rush 10-22-2008 02:15 PM

Hi, i am getting

com.nsuers.vbulletin_xml_rpc_client.ServiceError
at com.nsuers.vbulletin_xml_rpc_client.VbulletinXmlRp cJClient.require_token(Vbullet inXmlRpcJClient.java:97)
at com.nsuers.vbulletin_xml_rpc_client.ForumServ.get_ latest_tread(ForumServ.java:33 )
at Notifier$AutoCheck.run(Notifier.java:213)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)

in the error log and no messages via the notifier other than its running

also what command do i run to uninstall the sql code from this should I require too please?

ZomgStuff 10-22-2008 03:27 PM

It's not working for me, it's trying to use the "vb_" table prefix in the queries, where can I edit this?

AcidX 10-22-2008 03:35 PM

Great idea, but the notifier doesn't do anything usefull, yet.
It sure needs development. Stick to Alpha's post.

bollie 10-22-2008 03:37 PM

Quote:

Originally Posted by ZomgStuff (Post 1650511)
It's not working for me, it's trying to use the "vb_" table prefix in the queries, where can I edit this?
Last edited by ZomgStuff : Today at 18:32.


Go to C:\Program Files\vbulletin-desktop-notifier\config.cnf


APPLICATION_TITLE = vBulletin Notifier
HOME_URL = http://you.domeinname.com
VBULLETIN_URL = http://you.domeinnameforum.com
VBULLETIN_XML_RPC_SERVER = http://youdomeinname/vbulletin-xml-rpc-server/
NOTIFICATION_WINDOW_TITLE = youdomeinname.com

ZomgStuff 10-22-2008 03:53 PM

Quote:

Originally Posted by bollie (Post 1650520)
Go to C:\Program Files\vbulletin-desktop-notifier\config.cnf


APPLICATION_TITLE = vBulletin Notifier
HOME_URL = http://you.domeinname.com
VBULLETIN_URL = http://you.domeinnameforum.com
VBULLETIN_XML_RPC_SERVER = http://youdomeinname/vbulletin-xml-rpc-server/
NOTIFICATION_WINDOW_TITLE = youdomeinname.com

I keep getting an error saying

Failed Query: SELECT count(*) FROM xmlrpc_sf_user WHERE username LIKE 'admintest'
SQL Error: Table 'zomgstu1_theforums.xmlrpc_sf_user' doesn't exist

The instructions never included a query to create a xmlrpc_sf_user table.

I think this whole problem is caused because this app is trying to use a "vb_" prefix, and my db does not use prefixes, where can I change this in the code?


All times are GMT. The time now is 09:32 AM.

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.01285 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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