View Full Version : Integration with vBulletin - vbulletin-xml-rpc-server for instant Desktop Notification
sf.nsuers
10-20-2008, 10:00 PM
Let's take a look at following screen-shots first.
http://nsuers.com/vbulletin-desktop-notifier-1.0-screenshots/login.png
http://nsuers.com/vbulletin-desktop-notifier-1.0-screenshots/systray_message.png
http://nsuers.com/vbulletin-desktop-notifier-1.0-screenshots/pop_menu.png
http://nsuers.com/vbulletin-desktop-notifier-1.0-screenshots/notification.png
Yeah.. these look like Gmail Notifer (http://toolbar.google.com/gmail-helper/notifier_windows.html) application which is actually vbulletin-desktop-notifier (http://code.google.com/p/vbulletin-desktop-notifier/) application. As a forum admin, you might want to offer such application to your members.
== Video tutorials ==
Editing (http://nsuers.com/projects/vbxrs/screencasts/vbxrs_editfile/)
Uploading (http://nsuers.com/projects/vbxrs/screencasts/vbxrs_upload/)
Installation (http://nsuers.com/projects/vbxrs/screencasts/vbxrs_install/)
You can use vBulletin Desktop Notifier (http://code.google.com/p/vbulletin-desktop-notifier/) as dekstop client or free to build your own following API-DOC (http://nsuers.com/projects/vbxrs/apidoc/) .
== Demo watch video (http://nsuers.com/projects/vbxrs/screencasts/client/) ==
I'm offering demo in my forum. Here're the steps.
Download vbulletin-desktop-notifier (http://code.google.com/p/vbulletin-desktop-notifier/downloads/list) and install in your machine.
Run vbulletin-desktop-notifier and login using
username: priti
password: 123456
Create a new thread at Demo vbulletin-xml-rpc-server threads (http://community.nsuers.com/forumdisplay.php?f=191) or reply to existing thread.
You'll see notification in your desktop within few seconds.
Request: Please do not change password for user Priti. If somehow the login does not work you can try by creating a temporary user.
== Coming up next ?.. ==
Based on feedback I'm listing few of the enhancements that will be part of upcoming releases.
Server Compatibility check script
Options to select forum ids in User CP
Display avatar of the person who made post in the notification window
Unread private message notification
Support for PHP4
Alfa1 came up with these ideas (https://vborg.vbsupport.ru/showpost.php?p=1650095&postcount=23) which hopefully will be integrated sooner or later in future releases:
- friends coming online
Which of the following events does this notifier alert to:
Member notifications:
- profile messages awaiting approval
- requests to join your social groups
- invitations to join social groups
- unread picture comments
- picture comments awaiting approval
- group messages awaiting approval
Moderator notifications:
- post awaiting approval
- threads awaiting approval
- events awaiting approval
- attachments awaiting approval
- members awaiting approval
- blogs awaiting approval
- blog comments awaiting approval
- profile comments awaiting approval
- group comments awaiting approval
- pictures awaiting approval
- picture comments awaiting approval
== Ongoing Discussions ?.. ==
discussions on release-02 starts here (https://vborg.vbsupport.ru/showthread.php?p=1681874#post1681874)
== HOT FIX [release 2.0]?.. ==
Rename all files in system/application/models directory into lowercases. i.e:
Forum.php => forum.php
Settings.php => settings.php
Token.php => token.php
User.php => user.php
BucWiLd
10-21-2008, 03:21 PM
reserved
misr.cc
10-21-2008, 03:22 PM
Love this will try it
** Install **
Many Thanks
COBRAws
10-21-2008, 03:39 PM
now THIS is a winner
soundbarrierpro
10-21-2008, 03:45 PM
Not sure I understand how my members would install? Is there a way to make this so it's like an executable?
noppid
10-21-2008, 03:51 PM
In your PHP Docs you list a to do for forum.php function forum_latest_thread as:
Tags:
todo: check usergroup permission
Is that to say that you know that private forum thread titles are revealed in the latest thread list?
You also list,
* check for banned account
* check for verified account
Is that to say a banned user can read thread titles?
sf.nsuers
10-21-2008, 03:56 PM
I've released source of sample desktop application (http://code.google.com/p/vbulletin-desktop-notifier/source/checkout).
You are free to modify the source code. Basically you need to edit config.cnf file.
After making changes you need to bundle as JAR/EXE file and make that downloadable to your forum members.
sf.nsuers
10-21-2008, 03:59 PM
In your PHP Docs you list a to do for forum.php function forum_latest_thread as:
Is that to say that you know that private forum thread titles are revealed in the latest thread list?
You also list,
* check for banned account
* check for verified account
Is that to say a banned user can read thread titles?
Yes. Any recent post title will be popped up but there's no way contents will be revealed.
In next release, I've plan to add a checkpost according to feedback for current release.
regitbull
10-21-2008, 04:05 PM
uuhm is it also posselble to select a forum id.
So it will only notifie of new threads in that forum id.
If so then then will be a great mod.
Subah
10-21-2008, 04:10 PM
Great idea , Thanks :)
ogameclub
10-21-2008, 04:18 PM
Demo?
soundbarrierpro
10-21-2008, 04:55 PM
I still don't get the instructions?
Do I upload the package that is here at vb.org, then go to the google page and download the executable for my members?
sf.nsuers
10-21-2008, 05:09 PM
uuhm is it also posselble to select a forum id.
So it will only notifie of new threads in that forum id.
If so then then will be a great mod.
I guess you are looking for options in USER CP to select forums and automatically that'll affect desktop notifier.. hmm I think it's great idea :-D
thanks!
sf.nsuers
10-21-2008, 05:20 PM
I still don't get the instructions?
Do I upload the package that is here at vb.org, then go to the google page and download the executable for my members?
well unlike maximum plug-and-play type mods, vbulletin-xml-rpc-server is pretty advanced level mod. I just opened doors for application developers to build own desktop notifier application for their forum members.
The sample executable (http://code.google.com/p/vbulletin-desktop-notifier/) is the one which I wrote for my forum members to use. So, you have following options:
1. build your own desktop notifier following DOCUMENTATION or,
2. modify source code of that sample desktop application and then bundle as executable for your members.
regitbull
10-21-2008, 05:46 PM
I guess you are looking for options in USER CP to select forums and automatically that'll affect desktop notifier.. hmm I think it's great idea :-D
thanks!
Yup something like that.
So you can choose from what sections you want to get notified.
Replicators
10-21-2008, 07:09 PM
There is another big problem with this, some people that use vbadvanced, rename the default index.php to forum.php. I am gonna have to go through all php scripts and rename forum.php to something else. Also, normal members shouldn;t get popups of threads being made in the staff forums or w/e, so there's another flaw.
Where the hell you get the source? Is it possible you could provide people with easy instructions on how to compile the source to a exe on both linux and windows?
WarLion
10-21-2008, 07:51 PM
this is amazing but i have a lot of error
com.nsuers.vbulletin_xml_rpc_client.ServiceError
at com.nsuers.vbulletin_xml_rpc_client.VbulletinXmlRp cJClient.require_token(VbulletinXmlRpcJClient.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)
i guess i need to change on config.cnf "VBULLETIN_XML_RPC_SERVER =" but i dont know to what , a little help please
ssslippy
10-21-2008, 07:56 PM
Genius idea but really needs to check vs forum permisions.
Skyrider
10-21-2008, 08:36 PM
The forum.php file gets:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Any way to fix this issue?
Hornstar
10-21-2008, 08:38 PM
This has great potential! but in its current form it has quite a bit of work left.
Namaless
10-22-2008, 12:19 AM
this is amazing but i have a lot of error
com.nsuers.vbulletin_xml_rpc_client.ServiceError
at com.nsuers.vbulletin_xml_rpc_client.VbulletinXmlRp cJClient.require_token(VbulletinXmlRpcJClient.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)
i guess i need to change on config.cnf "VBULLETIN_XML_RPC_SERVER =" but i dont know to what , a little help please
I have the same problem.. :(
edermix
10-22-2008, 12:29 AM
I would like to translate this JAR? I already installed NetBeans, but where can I download all files for translation?
Alfa1
10-22-2008, 01:54 AM
Thank you for releasing this. I am currently using my own notifier, but would love to jump to this one, once it has permissions.
How about:
- friends coming online
Which of the following events does this notifier alert to:
Member notifications:
- profile messages awaiting approval
- requests to join your social groups
- invitations to join social groups
- unread picture comments
- picture comments awaiting approval
- group messages awaiting approval
Moderator notifications:
- post awaiting approval
- threads awaiting approval
- events awaiting approval
- attachments awaiting approval
- members awaiting approval
- blogs awaiting approval
- blog comments awaiting approval
- profile comments awaiting approval
- group comments awaiting approval
- pictures awaiting approval
- picture comments awaiting approval
sf.nsuers
10-22-2008, 02:15 AM
I still don't get the instructions?
Do I upload the package that is here at vb.org, then go to the google page and download the executable for my members?
There is another big problem with this, some people that use vbadvanced, rename the default index.php to forum.php. I am gonna have to go through all php scripts and rename forum.php to something else. Also, normal members shouldn;t get popups of threads being made in the staff forums or w/e, so there's another flaw.
Where the hell you get the source? Is it possible you could provide people with easy instructions on how to compile the source to a exe on both linux and windows?
nothing has to do with any existing vbulletin files. you need to place vbulletin-xml-rpc-server directory anywhere you wish (needs to be same server where vbulletin is installed). before that read 'instruction.txt' file and edit cd.php file to point where you've installed vbulletin. because vbulletin-xml-rpc-server requires vbulletin config file.
source is available at code.google.com
Use this command to anonymously check out the latest project source code:
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://vbulletin-desktop-notifier.googlecode.com/svn/trunk/ vbulletin-desktop-notifier-read-only
however, moments ago I have put source code here. (http://vbulletin-desktop-notifier.googlecode.com/files/vbulletin-desktop-notifier-v1-src.zip) and required JAR files (http://vbulletin-desktop-notifier.googlecode.com/files/source-required_jars.zip) for those who are not familiar with subversion system.
For creating executables for Linux and Windows I prefer install4J (http://www.ej-technologies.com/products/install4j/overview.html).
sf.nsuers
10-22-2008, 02:20 AM
this is amazing but i have a lot of error
com.nsuers.vbulletin_xml_rpc_client.ServiceError
at com.nsuers.vbulletin_xml_rpc_client.VbulletinXmlRp cJClient.require_token(VbulletinXmlRpcJClient.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)
i guess i need to change on config.cnf "VBULLETIN_XML_RPC_SERVER =" but i dont know to what , a little help please
You need to locate http path to where you uploaded vbulletin-xml-rpc-server mod.
For example:
http://my-domain.com/vbulletin-xml-rpc-server/
http://my-domain.com/forum/vbulletin-xml-rpc-server/
http://my-domain.com/vbulletin/vbulletin-xml-rpc-server/
http://forum.my-domain.com/vbulletin-xml-rpc-server/
.... etc. Just make sure you've / at the end of URL.
sf.nsuers
10-22-2008, 02:23 AM
The forum.php file gets:
Any way to fix this issue?
:) this is not a problem. These files actually talk to XML-RPC request.
sf.nsuers
10-22-2008, 02:26 AM
Thank you for releasing this. I am currently using my own notifier, but would love to jump to this one, once it has permissions.
How about:
- friends coming online
Which of the following events does this notifier alert to:
Member notifications:
- profile messages awaiting approval
- requests to join your social groups
- invitations to join social groups
- unread picture comments
- picture comments awaiting approval
- group messages awaiting approval
Moderator notifications:
- post awaiting approval
- threads awaiting approval
- events awaiting approval
- attachments awaiting approval
- members awaiting approval
- blogs awaiting approval
- blog comments awaiting approval
- profile comments awaiting approval
- group comments awaiting approval
- pictures awaiting approval
- picture comments awaiting approval
great! thanks for sharing your ideas. I'll work on these.
Also, if anyone would like to participate in development let me know.
WarLion
10-22-2008, 04:09 AM
You need to locate http path to where you uploaded vbulletin-xml-rpc-server mod.
For example:
http://my-domain.com/vbulletin-xml-rpc-server/
http://my-domain.com/forum/vbulletin-xml-rpc-server/
http://my-domain.com/vbulletin/vbulletin-xml-rpc-server/
http://forum.my-domain.com/vbulletin-xml-rpc-server/
.... etc. Just make sure you've / at the end of URL.
and then i upload all to my forum path i have vbadvance in this way
http://mydomain.com (vbadvance)
http://mydomain.com/forum/ ( my forum) where i upload this mod
if i undertood i have to change to
http://mydomain.com/forum/vbulletin-xml-rpc-server/
is this ok ?
edit: i just try in this way http://mydomain.com/forum/vbulletin-xml-rpc-server/ and i still have the same mistake ,
sorry for the questions but i dont get it
WoW neat idea :O tagged ^^
Very good concept :P People living in forums. Very good ^^
sf.nsuers
10-22-2008, 05:45 AM
and then i upload all to my forum path i have vbadvance in this way
http://mydomain.com (vbadvance)
http://mydomain.com/forum/ ( my forum) where i upload this mod
if i undertood i have to change to
http://mydomain.com/forum/vbulletin-xml-rpc-server/
is this ok ?
edit: i just try in this way http://mydomain.com/forum/vbulletin-xml-rpc-server/ and i still have the same mistake ,
sorry for the questions but i dont get it
If you have uploaded vbulletin-xml-rpc-server and configured config.cnf accordingly then next step would be reading this issue (http://code.google.com/p/vbulletin-desktop-notifier/issues/detail?id=1).
If you have further issues regarding vbulletin-desktop-notifier please create issues here (http://code.google.com/p/vbulletin-desktop-notifier/issues/entry).
And, support on vbulletin-xml-rpc-server will be provided here :)
Thanks for your feedback!
Darth Gill
10-22-2008, 08:40 AM
Is there a mac version?
sf.nsuers
10-22-2008, 09:07 AM
Is there a mac version?
http://vbulletin-desktop-notifier.googlecode.com/files/vBulletin-Desktop-Notifier-v1_0.dmg
I bundled it using install4j for MAC users. Let me know if it fits your need.
Triky
10-22-2008, 09:15 AM
Ever wanted this type of thing, but it would be awesome for quoted messages. eg. "You have been quoted by..".
PS: vBulletin Notification Application! (http://www.vbhackers.com/f2/vbulletin-notification-application-2800/)
Darth Gill
10-22-2008, 09:21 AM
http://vbulletin-desktop-notifier.googlecode.com/files/vBulletin-Desktop-Notifier-v1_0.dmg
I bundled it using install4j for MAC users. Let me know if it fits your need.
I got this error when trying to run the app... java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :675)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 16)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.MacLauncher.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java: 115)
at apple.launcher.LaunchRunner.callMain(LaunchRunner. java:50)
at apple.launcher.JavaApplicationLauncher.launch(Java ApplicationLauncher.java:52)
sf.nsuers
10-22-2008, 09:46 AM
Right.. you need to update JRE to 1.6.0_03 or newer. It'll fix the problem.
I can refer these URLS:
http://java.com/en/download/manual.jsp
http://support.apple.com/kb/HT1338?viewlocale=en_US
@ Darth Gill
soundbarrierpro
10-22-2008, 11:34 AM
Yeh, I too think you have hit on something big here. It's a great idea with a ton of potential, but I pretty much squeak by with what I barely know in the coding world. Making an executable and bundling and such......I have absolutely no clue what that is or how to do it. I'll hope others help jump on board developing to make a complete plugin.
Great work
bollie
10-22-2008, 12:17 PM
Work not for my
I upload folder vbulletin-xml-rpc-server to root of the forum.
Run query in vBulletin Database.
Change permission attributes to 666 for files (sql_error_log
log)
Edit File: open cd.php
source code adapted of vbulletin-desktop-notifie
Run desktop-notifier
There is new Thread on the forum, but no reports on desktop ????
sf.nsuers
10-22-2008, 12:44 PM
Yeh, I too think you have hit on something big here. It's a great idea with a ton of potential, but I pretty much squeak by with what I barely know in the coding world. Making an executable and bundling and such......I have absolutely no clue what that is or how to do it. I'll hope others help jump on board developing to make a complete plugin.
Great work
:-D :-D .. thanks for your positive feedback.. and yeah I'll see what I can do to make things easier. I just need time to work on it.. if other developers give a hand into this I think the community will get maximum benefit sooner.
sf.nsuers
10-22-2008, 12:49 PM
Work not for my
I upload folder vbulletin-xml-rpc-server to root of the forum.
Run query in vBulletin Database.
Change permission attributes to 666 for files (sql_error_log
log)
Edit File: open cd.php
source code adapted of vbulletin-desktop-notifie
Run desktop-notifier
There is new Thread on the forum, but no reports on desktop ????
oh you're close, I'm sure. can u please check following log files:
sql_error_log
error.log (this file is generated if run-time error occurs by vbulletin-desktop-notifier in its installation directory. ex: C:\Program Files\vbulletin-desktop-notifier\error.log )
bollie
10-22-2008, 01:16 PM
oh you're close, I'm sure. can u please check following log files:
sql_error_log
error.log (this file is generated if run-time error occurs by vbulletin-desktop-notifier in its installation directory. ex: C:\Program Files\vbulletin-desktop-notifier\error.log )
sql_error_log = empty
C:\Program Files\vbulletin-desktop-notifier\error.log = error.log do not exist
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
/**
* 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\vbulleti n');
//require_once('C:\xampp\htdocs\nsuers\public_html\v bulletin\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
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 (https://vborg.vbsupport.ru/showpost.php?p=1650095&postcount=23).
bollie
10-22-2008, 03:37 PM
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
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?
ZomgStuff
10-22-2008, 04:30 PM
I've got it figured out, for those who don't use prefix's for their tables here are the two changes
forum.php
<?php
/**
* forum.php
*
* This file contains user relevant functions.
*
* @author Sword^Fish <swordfish@nsuers.com>
* @version 1
* @since Release 1
* @package vbulletin-xml-rpc-server
*
*/
require_once("server.php");
/**
* returns detail of latest thread
*
* @global Database $GLOBALS['DB'] database connection object
* @param string $args[0] token
* @return array
* @todo check usergroup permission
*/
function forum_latest_thread($method_name, $args, $app_data)
{
$obj_token = new Token($args[0]);
/* check: token is assigned to an user */
if($obj_token->userid == null)
{
return array('faultCode' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_TOKEN_INVALID']['code'],
'faultString' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_TOKEN_INVALID']['string']);
}
/* check: token is alive (not expired) */
if($obj_token->is_alive == 0)
{
return array('faultCode' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_TOKEN_EXPIRED']['code'],
'faultString' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_TOKEN_EXPIRED']['string']);
}
/* we shall use this token, so increase usages counter */
$obj_token->update_count($obj_token->token);
/* prepare query string */
$query="SELECT
f.forumid AS forum_id, f.title AS forum_name,
t.threadid AS topic_id, t.title AS topic_title,
p.postid AS post_id, p.dateline AS post_time,
u.userid AS user_id, u.username
FROM thread t, forum f, post p, user u
WHERE t.threadid = p.threadid
AND f.forumid = t.forumid
AND p.postid = t.lastpostid
AND p.userid = u.userid
ORDER BY t.lastpostid DESC LIMIT 1";
/* run query string */
$rows = $GLOBALS['DB']->run($query);
if($rows)
{
return $rows[0];
}
return array('faultCode' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_FAIL']['code'],
'faultString' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_FAIL']['string']);
}
?>
user.php
<?php
/**
* user.php
*
* This file contains user relevant functions.
*
* @author Sword^Fish <swordfish@nsuers.com>
* @version 1
* @since Release 1
* @package vbulletin-xml-rpc-server
*/
require_once("server.php");
/**
* authenticates a user and returns user id
* Check for valid username and password.
* Username must be associated with a registered account in vBulletin database.
* User account must be verified one.
*
* @global Database $GLOBALS['DB'] database connection object
* @param string $args[0] username
* @param string $args[1] password
* @return mixed returns int userid or array on login failure
* @todo check for verified account
* @todo check for banned account
*/
function user_login($method_name, $args, $app_data)
{
//checkpost: valid username
if(_is_valid_username($args[0]) == false)
{
return array('faultCode' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['USER_SERVICE_USERNAME_DNE']['code'],
'faultString' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['USER_SERVICE_USERNAME_DNE']['string']);
}
/* TODO: checkpost: email verified */
/* TODO: checkpost: userid is not in banned group */
/* checkpost: valid password */
$GLOBALS['DB']->set_entity("user"," ");
$resource = $GLOBALS['DB']->fetch(array("userid"),
$filter = array("username LIKE '{$args[0]}'",
" AND ",
"password LIKE MD5(CONCAT(MD5('" . $args[1] . "'), salt))"),
null,
0,
1);
if($resource) /* valid query returned valid user id */
{
/* create token */
$token = $GLOBALS['OBJ_TOKEN']->create($resource[0]['userid']);
if($token) /* return token string */
{
return (string)$token;
} else {
return array('faultCode' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_TOKEN_GENERATION']['code'],
'faultString' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_TOKEN_GENERATION']['string']);
}
} elseif($resource === false) { /* query error */
return array('faultCode' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_FAIL']['code'],
'faultString' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['SERVICE_FAIL']['string']);
}
/* login is invalid */
return array('faultCode' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['USER_SERVICE_LOGIN']['code'],
'faultString' => $GLOBALS['VBULLETIN_XML_RPC_ERROR_DB']['USER_SERVICE_LOGIN']['string']);
}
/**
* verifies userid existence
*
* @global Database $GLOBALS['DB'] database connection object
* @param int $userid userid
* @return boolean
*/
function _is_valid_username($username)
{
$GLOBALS['DB']->set_entity("user"," ");
return $GLOBALS['DB']->check_record($username, 'username');
}
?>
River_rush
10-22-2008, 05:16 PM
Hi, i am getting
com.nsuers.vbulletin_xml_rpc_client.ServiceError
at com.nsuers.vbulletin_xml_rpc_client.VbulletinXmlRp cJClient.require_token(VbulletinXmlRpcJClient.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?
Hi did you see this post please/? I should add that if I put your forum details in it works ok!
ZomgStuff
10-22-2008, 05:32 PM
A recommendation I would add is to display the avatar of the person who made the post in the pop-up.
sf.nsuers
10-22-2008, 05:41 PM
Hi did you see this post please/? I should add that if I put your forum details in it works ok!
yes.. I've updated MOD description and mentioned possible reasons for getting such errors. Please make sure you're running php5 and php is compiled with xmlrpc-epi lib.
sf.nsuers
10-22-2008, 05:42 PM
A recommendation I would add is to display the avatar of the person who made the post in the pop-up.
C00L! Thanks for this idea. added in TODO list.
ZomgStuff
10-22-2008, 05:53 PM
C00L! Thanks for this idea. added in TODO list.
A couple other reommendations here.
1) Forum checking. Currently all people using it will get notifications from any new post in any forum, including those that they do not have access to.
Should be something simple along the lines of
fetch_permissions($row["forumid"]) & $vbulletin->bf_ugp_forumpermissions['canview']
2) Have a link to go directly to the new post in the pop-up, and also having the option to right click the tasktray icon as well...
3) Don't display latest messages made by yourself. After you make your own post it will tell you that there's a new message by you several seconds later.
5) Add support for private-messages
6) Add support for new registrations.
I'd be willing to co-author this mod with you if you would like, I see a lot of potential in this. I'd be able to work more on the back-end of the PHP, SQL, and vBulletin integration than the Java portion. PM me if you'd be interested.
Darkstarproject
10-22-2008, 07:33 PM
Love this mod!
Is there a way you can make it notify for a new PM ?
WarLion
10-22-2008, 08:07 PM
is a shame i dont have php5 i have to unistall
River_rush
10-23-2008, 12:04 AM
yes.. I've updated MOD description and mentioned possible reasons for getting such errors. Please make sure you're running php5 and php is compiled with xmlrpc-epi lib.
I will have to uninstall this then as lunarpages (a major host) is still running PHP Version 4.4.9
sf.nsuers
10-23-2008, 12:05 AM
A couple other reommendations here.
1) Forum checking. Currently all people using it will get notifications from any new post in any forum, including those that they do not have access to.
Should be something simple along the lines of
fetch_permissions($row["forumid"]) & $vbulletin->bf_ugp_forumpermissions['canview']
2) Have a link to go directly to the new post in the pop-up, and also having the option to right click the tasktray icon as well...
3) Don't display latest messages made by yourself. After you make your own post it will tell you that there's a new message by you several seconds later.
5) Add support for private-messages
6) Add support for new registrations.
I'd be willing to co-author this mod with you if you would like, I see a lot of potential in this. I'd be able to work more on the back-end of the PHP, SQL, and vBulletin integration than the Java portion. PM me if you'd be interested.
excellent! I'll PM you about project hosting details by tonight. :-D
sf.nsuers
10-23-2008, 12:17 AM
yes.. notification on new PM is in TODO list :) @ Darkstarproject
ummm.. sometimes PHP4 is set as default php handler even if PHP5 is installed in your server. @ WarLion and River_rush
You can check these URLs:
http://blog.jbwseries.com/index.php/web_hosting?s=addhandler
http://blog.bluefur.com/index.php?s=addhandler
And in next release, this MOD will have PHP4 compatibility.
WarLion
10-23-2008, 12:23 AM
And in next release, this MOD will have PHP4 compatibility.
i will wait for that i really see this mod like a winner thanks sf.nsuers
River_rush
10-23-2008, 12:26 AM
Well I would really like to see this work so I am looking forward to that :) also BIG bonus would be the ability to run it to monitor several boards at once, so those of us admin on more than one board dont have to keep trawling the sites, but let the messages come to us instead! Ace mod. looking forward to being able to use it.
ZomgStuff
10-23-2008, 12:57 AM
excellent! I'll PM you about project hosting details by tonight. :-D
Awesome, I'm currently busy so I should have some free time this Friday evening and Saturday to work on it.
Delphiprogrammi
10-23-2008, 09:16 PM
i believe executable (*.exe) addons are forbidden here ... do correct me if i am wrong
Alfa1
10-23-2008, 09:52 PM
How would you code a desktop program without using an .exe?
MrLovaLove
10-24-2008, 05:48 AM
well, is there limit for the login ?
it seems to me there is no limitation for the tries
i was trying to enter as admin manytimes and the message appears to me
the username and password are not match which mean the username is correct
so i was trying to guess my admin pass then reliszed that im trying to login to your site :S
Ljusya
10-24-2008, 07:44 AM
Greate idea!!!
And in next release, this MOD will have PHP4 compatibility.
Good but how long We will be wait it`s?
Keyser S?ze
10-24-2008, 07:51 AM
this is cool but can u add on the list of options "Read all new posts
sf.nsuers
10-24-2008, 08:11 AM
This MOD is written in pure PHP. EXE is not part of this MOD but implementation only to show this API works :P. from my experience I can tell that forum members would prefer EXE than JAR. @ Delphiprogrammi
no there's no limit for login attempt. and compared to total number of queries running on a single VB page, this is ignorable and would put no pressure on DB server. I gave a thought about caching data in XML files but that makes no sense since we'll be using this application for most frequent updates. but yes caching technique will be used for other API services later @ MrLovaLove
releasing for PHP4 in matter of no time. but i'm heading for working on the features in TODO list. I think I will be able to release next version by end of this month. :) please stay tuned @ Ljusya
okie! (Y) @ Keyser S?ze
soundbarrierpro
10-24-2008, 12:25 PM
Cool, glad you are following through with development. This is real neat. Thanks, I wait for next release.
Darkstarproject
10-25-2008, 01:09 AM
yes.. notification on new PM is in TODO list :) @ Darkstarproject
ummm.. sometimes PHP4 is set as default php handler even if PHP5 is installed in your server. @ WarLion and River_rush
You can check these URLs:
http://blog.jbwseries.com/index.php/web_hosting?s=addhandler
http://blog.bluefur.com/index.php?s=addhandler
And in next release, this MOD will have PHP4 compatibility.
Sweet.. Love this MOD btw.
Are there any FREE program compilers? Install4j is nice, but the nag message sucks :-(
SSJB_7
10-25-2008, 06:47 AM
Marked as installed! anyway it's not possible for me to handle it but i think i will manage to get it in next few days!
Thank you is great!
edermix
10-30-2008, 01:49 PM
What next version?
superjeff
10-30-2008, 07:45 PM
When i receive the new message notification, i get the "text" message and not the message i posted. What is the problem? Tried with your demo.
ExTincTi0N
11-03-2008, 02:32 AM
How do I edite the config.cnf?
sf.nsuers
11-03-2008, 06:00 AM
nothing is wrong! it's designed to popup thread title only @superjeff
any text editor @ ExTincTi0N
--------------------------------
about the next version
--------------------------------
Having many positive feedback, I'm eagerer to invest more time for the development of this MOD. Even though I had plan to release next version at end of last month I could not reach where I wanted to be.
Few hints about next release:
---------------------------------------
I'm rewriting the whole server code in CodeIgniter (http://codeigniter.com/) Framework. Reasons for this move are:
cut dependency on XMLRPC-epi library
cut dependency on PHP5
get more developers to be involved into this project. CodeIgniter (http://codeigniter.com/) is lightweight and standard solution
I wish there is no restriction on developing vBulletin MOD on http://code.google.com .
Please confirm me ASAP.
I'm looking for developers who has experience in following areas:
Google Gadget (http://desktop.google.com/plugins/)
Firefox addon like TwitterFox (https://addons.mozilla.org/en-US/firefox/addon/5081)
vBulletin product package
If you think you can build Google Gadget or Firefox Addon using this MOD please PM me.
For faster implementation of this MOD I need your time.
Thanks for your support and patience :)
Alfa1
11-03-2008, 09:14 AM
I wish there is no restriction on developing vBulletin MOD on http://code.google.com .
Please confirm me ASAP.
Could you please explain what you mean with this?
sf.nsuers
11-03-2008, 09:53 AM
I've plan to involve more coders to contribute in this MOD feature development. code.google.com could be one of the project hosting tools but then this MOD would be publicly available. i.e.: people without valid vBulletin license can download/modify/use this MOD.
so.. is it okay if I do so or it would be violation of vbulletin.com and/or vbulletin.org laws?
ExTincTi0N
11-03-2008, 11:19 PM
Ok I edited the congif.cnf but it still doesn't work for my site. Do I need to upload the config.cnf or something?
sf.nsuers
11-04-2008, 01:11 AM
uhu.. no need to upload config.cnf. Please check requirements, and follow the instruction provided in vbulletin-xml-rpc-server-v1.zip (https://vborg.vbsupport.ru/attachment.php?attachmentid=88393&d=1224605921) .
If it does not work then please go through previous posts; solutions and/or reasons to "does not work" should have been posted earlier.
logicuk
11-13-2008, 07:28 AM
I cant wait for the next version keep up the great work sf.nsuers
logicuk
11-30-2008, 01:15 PM
any updates?
sf.nsuers
11-30-2008, 03:51 PM
yes. next release is ready to fly. but still needs some tweaking.
I think I'll be able to launch it this weekend.
thanks for having patience :)
Triky
12-04-2008, 03:09 PM
so.. is it okay if I do so or it would be violation of vbulletin.com and/or vbulletin.org laws?
I think you should PM a mod or a vB.org admin.
logicuk
12-09-2008, 08:01 AM
yes. next release is ready to fly. but still needs some tweaking.
I think I'll be able to launch it this weekend.
thanks for having patience :)
Kool hope the new release comes soon
Replicators
12-09-2008, 07:53 PM
I get a blank page when trying to do the test, does it mean somethng is wrong or?
sf.nsuers
12-09-2008, 10:38 PM
yes. that means something went wrong in server side.
most likely it happens when config.php is not located in cd.php.
Please make sure there is a trailing slash (/) at end of $vbulletin_path.
Please check Editing files video demonstration and if it does not work pls IM me on MSN/GTalk. (swordfish@nsuers.com).
Ozidoggy
12-10-2008, 12:36 AM
I get this error doing the test:
The XML data receieved was either invalid or not in the correct form for XML-RPC. Turn on debugging to examine the XML data further. Top level XML-RPC element is missing
dvsDave
12-10-2008, 03:32 AM
I get this error doing the test:
The XML data receieved was either invalid or not in the correct form for XML-RPC. Turn on debugging to examine the XML data further. Top level XML-RPC element is missing
I'm getting the same error.
update:
In the system/application/models folder, you need to rename User.php, Token.php, and Forum.php to all lowercase. Try that!
dvsDave
12-10-2008, 04:58 AM
the popups are just text, right?
could they be formatted as a url so that a user could click on the link and their default browser would open a new tab/window to go to the url of the message?
Ozidoggy
12-10-2008, 06:13 AM
Ah thanks!!!.. renaming those files worked
Ozidoggy
12-10-2008, 07:18 AM
I keep box appearing saying:
[B]Server returned error message
"token has expired"
Try again?
sf.nsuers
12-10-2008, 07:49 AM
@dvsDave, yes. The pop-ups are text. Thanks for your idea :)
@Ozidoggy, right! that's a bug. It can be fixed by editing system/application/models/token.php. You need to replace update_count() function with this code:
function update_count()
{
$this->_add_life();
$this->db->set('use_count', 'use_count+1', false);
$this->db->where('value', $this->token);
return $this->db->update('tokens');
}
Ozidoggy
12-10-2008, 08:32 AM
@Ozidoggy, right! that's a bug. It can be fixed by editing system/application/models/token.php. You need to replace update_count() function with this code:
function update_count()
{
$this->_add_life();
$this->db->set('use_count', 'use_count+1', false);
$this->db->where('value', $this->token);
return $this->db->update('tokens');
}
[/QUOTE]
Thanks for that
I more request.. Can you make the login box remember username and password?
todin
12-10-2008, 11:25 AM
Hi,
I get a popup box with the message:
Server returned error message:
"Failed to parse servers response: Expected methodRespones element, got html"
Try again?
How can I fix that?
Regards,
todin
sf.nsuers
12-10-2008, 11:37 AM
@Ozidoggy, okie!
@todin, did your setup passed the Test ?
todin
12-10-2008, 11:50 AM
@todin, did your setup passed the Test ?
Yes it did, I found the bug, in the forum.php there are the db tables name hard coded with the vb_ prefix, I changed that, and now it's working.
Regards,
todin
sf.nsuers
12-10-2008, 12:07 PM
@todin, aw! great! I should have make a note about db prefix too! Thanks!
ercollins
12-10-2008, 12:51 PM
I keep getting this error, read this entire thread.
The XML data receieved was either invalid or not in the correct form for XML-RPC. Turn on debugging to examine the XML data further.
So I turned Debug on: (this is the error i got)
DEBUG - 2008-12-10 06:38:04 --> Config Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Hooks Class Initialized
DEBUG - 2008-12-10 06:38:04 --> URI Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Router Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Output Class Initialized
ERROR - 2008-12-10 06:38:04 --> Severity: Warning --> fopen(/var/www/vhosts/myjeepclub.com/httpdocs/vbulletin-xml-rpc-server/system/cache/ad61ab143223efbc24c7d2583be69251) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied /var/www/vhosts/myjeepclub.com/httpdocs/vbulletin-xml-rpc-server/system/codeigniter/Common.php 56
DEBUG - 2008-12-10 06:38:04 --> Input Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Global POST and COOKIE data sanitized
DEBUG - 2008-12-10 06:38:04 --> Language Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Loader Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Plugin loaded: vbulletin-db_pi
DEBUG - 2008-12-10 06:38:04 --> XML-RPC Class Initialized
DEBUG - 2008-12-10 06:38:04 --> XML-RPC Class Initialized
DEBUG - 2008-12-10 06:38:04 --> XML-RPC Server Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Controller Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Helper loaded: url_helper
DEBUG - 2008-12-10 06:38:04 --> XML-RPC Class Initialized
DEBUG - 2008-12-10 06:38:04 --> XML-RPC Class Initialized
DEBUG - 2008-12-10 06:38:04 --> Final output sent to browser
DEBUG - 2008-12-10 06:38:04 --> Total execution time: 0.3696
Can not figure out why access is denied to that file.
:confused:
Hi,
I get a popup box with the message:
Server returned error message:
"Failed to parse servers response: Expected methodRespones element, got html"
Try again?
How can I fix that?
Regards,
todin
I've got the same error.
@todin: did you just remove the vb_ in
FROM vb_thread t, vb_forum f, vb_post p, vb_user u in upload\vbulletin-xml-rpc-server\system\application\models\Forum.php ?
Cause this don't seem to work for me. I don't have a tableprefix btw.
ercollins
12-10-2008, 01:41 PM
@ray
I was having the same problem and I removed the vb_ in forum.php as well and it repaired mine and I dont have prefixes.
--------------------------------------------------------------------------------------------------------------------
Is there any way i can just select everyone to have all forums selected?
It is annoying when you log into the program and it pops up telling you, you have no forums selected.
Would be nice forum admin to be able to select which forums different Groups gets notifications on, based on their user group.
todin
12-10-2008, 01:46 PM
I've got the same error.
@todin: did you just remove the vb_ in
FROM vb_thread t, vb_forum f, vb_post p, vb_user u in upload\vbulletin-xml-rpc-server\system\application\models\Forum.php ?
Cause this don't seem to work for me. I don't have a tableprefix btw.
Hi,
yes just this 4 times.
Regards.
todin
Thanks for the replies. Guess I got something else wrong then, I'm still getting the error :(
Test on the server went a-ok...
*runs through the install again*
todin
12-10-2008, 01:48 PM
Is there any way i can just select everyone to have all forums selected?
It is annoying when you log into the program and it pops up telling you, you have no forums selected.
Would be nice forum admin to be able to select which forums different Groups gets notifications on, based on their user group.
hi,
you can do it via triggers in the DB, can't you?
Regards,
todin
todin
12-10-2008, 01:50 PM
Thanks for the replies. Guess I got something else wrong then, I'm still getting the error :(
Test on the server went a-ok...
*runs through the install again*
Hi,
are you able to sniff the traffic? Beacuse then you can see the html page, in may cause it showed where the problem was.
Regards,
todin
ercollins
12-10-2008, 02:02 PM
hi,
you can do it via triggers in the DB, can't you?
Regards,
todin
Yeah I could but if I did it for 200+ members that would be a bugger.
Yay, got it working.
After I re-upped the files, I forgot to rename all files in /models/ to lowercase. Silly meh.
Thanks for the help guys.
ercollins
12-11-2008, 01:26 AM
Just curious, I installed it today at work on my xp pro machine, and it works great.
Only small problem, it does not work on Vista Business, so i am guessing it does not work on vista home or premium either.
(I am talking about the pre-packaged client script)
Any ideas?
todin
12-11-2008, 09:28 AM
Only small problem, it does not work on Vista Business, so i am guessing it does not work on vista home or premium either.
Hi,
I have the same problem, the client works on XP but not on Vista Home, it does not rembember the Settings, you can't even edit the config with an editor.
Regards,
todin
sf.nsuers
12-11-2008, 09:46 AM
Windows client is not compatible with Vista at this moment. I myself is not a big fan of vista for many reasons. but.. I'll keep it in mind to provide a solution for Vista users.
todin
12-11-2008, 10:08 AM
Windows client is not compatible with Vista at this moment. I myself is not a big fan of vista for many reasons. but.. I'll keep it in mind to provide a solution for Vista users.
Hi,
do you know where the problem is? Maybe I can fix it.
Regards,
todin
subnet_rx
12-11-2008, 03:11 PM
Does this follow user permissions yet? No way I can put it out there without it doing that even if it's just thread titles.
todin
12-11-2008, 03:34 PM
Does this follow user permissions yet? No way I can put it out there without it doing that even if it's just thread titles.
Hi,
it seems to do that.
Regards,
todin
t.uzuner
12-11-2008, 06:17 PM
my
rename all files in /models/ to lowercase: ok
my software preferencens : ok
cd.php: forum path end / : ok
config php : ok
my error message in the attachment
help me please
todin
12-11-2008, 06:26 PM
my
rename all files in /models/ to lowercase: ok
my software preferencens : ok
cd.php: forum path end / : ok
config php : ok
my error message is attachment help me please
Hi,
does the tables in you DB have a prefix or not? If they do not see the post from me yesterday.
regards.
todin
t.uzuner
12-11-2008, 07:38 PM
Hi,
does the tables in you DB have a prefix or not? If they do not see the post from me yesterday.
regards.
todin
my config.php
line 245
Cookie Related Variables
|--------------------------------------------------------------------------
|
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
|
*/
$config['cookie_prefix'] = "myprefix_";
$config['cookie_domain'] = "http://www.**********.biz/";
$config['cookie_path'] = "/home/domain/public_html/";[/QUOTE]
line 106
$config['subclass_prefix'] = 'myprefix_';
todin is referring to forum.php in /models/
FROM vb_thread t, vb_forum f, vb_post p, vb_user u
Remove the prefixes "vb_" there.
lnxtr
12-11-2008, 08:11 PM
hi,
how i want to this exe edit my site?
t.uzuner
12-11-2008, 08:31 PM
todin is referring to forum.php in /models/
Remove the prefixes "vb_" there.
I removed the prefixes vb_ but the problem still exists
Initially I changed the prefixes in the config.php, but the problem did not changed. Then I removed the vb_ prefixes in forum.php and I redintegrate the config. php, but the problem still exists
sf.nsuers
12-12-2008, 10:04 AM
@subnet_rx, user permission is controlled on the Forum preference page. a user gets list of forums on which s/he has read access.
@t.uzuner, did your setup pass TEST? btw, u do not need to put hands on Cookie settings. if needed feel free to consult me over IM. once we get your problem fixed we shall share the procedure here.
@lnxtr, if you want to do it yourself options are open. download compile the JAVA source code, make jar file. use an executable creator to create EXE from that .JAR.
Submerge
12-12-2008, 04:58 PM
Bookmarking this.
t.uzuner
12-12-2008, 07:52 PM
@subnet_rx, user permission is controlled on the Forum preference page. a user gets list of forums on which s/he has read access.
@t.uzuner, did your setup pass TEST? btw, u do not need to put hands on Cookie settings. if needed feel free to consult me over IM. once we get your problem fixed we shall share the procedure here.
@lnxtr, if you want to do it yourself options are open. download compile the JAVA source code, make jar file. use an executable creator to create EXE from that .JAR.
thanks i send IM
TomJames
12-13-2008, 03:01 AM
Bookmark.
lnxtr
12-13-2008, 07:46 AM
how can I change the seting up of exe with my own website settings?
FiMeTi
12-13-2008, 10:13 AM
Very great hack mate!
Bookmarked this, too and waiting for the avatar and friends online feature.
Also waiting for a VISTA solution.
Then I am about to donate! Add ur PayPal axx to ur account ;)
lnxtr
12-13-2008, 01:00 PM
thanks.
is there any program you know converting .exe from .jar ?
sf.nsuers
12-13-2008, 02:00 PM
@lnxtr, please watch this video for tuning up the EXE (http://nsuers.com/projects/vbxrs/screencasts/client/) for your forum.
I use install4j (http://www.ej-technologies.com/products/install4j/overview.html) for making executable from .jar.
@FiMeTi, thanks! that's very kind of you :)
I will be providing updates time to time. Everyone is requested to TAG this modification. Your ratings and marking 'installed' and donations would encourage me a lot!
todin
12-13-2008, 05:13 PM
Hi,
the Vista "Bug" is easy to fix, the config.cnf does not have the rights to be edit by the normal user. Just change the permissions on the file, and it works.
Regards,
todin
Suicide175
12-15-2008, 02:53 AM
I removed the prefixes vb_ but the problem still exists
Initially I changed the prefixes in the config.php, but the problem did not changed. Then I removed the vb_ prefixes in forum.php and I redintegrate the config. php, but the problem still exists
Try replacing the "vb_" prefix with your own "myprefix_" prefix (if that's the one you are using for vBulletin).
Edit: Yours would then read...
FROM myprefix_thread t, myprefix_forum f, myprefix_post p, myprefix_user u
I hope this fixes the problem you're having.
FiMeTi
12-15-2008, 05:10 PM
Is it possible to use own board icon in tray? :)
nominated!
TomJames
12-16-2008, 05:58 PM
Nice
ForYou
12-25-2008, 01:40 AM
Hello ,
I was try login to user name "Arabic Font " but i can't , I was try to login by user name English font evry thing is ok , and all message by arabic and i can't see it correct ,
is there any way to see onther languge like Arabic Font , and can login by user name in arabic font ,
Regards
edermix
12-31-2008, 05:33 PM
The first time I installed was fine with the test, after giving the issue of:
"Failed to parse servers response: Expected methodRespones element, got html"
I uninstall the mod and installed again and gave the following message:
"The XML data receieved was either invalid or not in the correct form for XML-RPC. Turn on debugging to examine the XML data further. Top-level XML RPC element is missing"
What should I do? How to proceed?
salty
12-31-2008, 08:21 PM
The first time I installed was fine with the test, after giving the issue of:
"Failed to parse servers response: Expected methodRespones element, got html"
I uninstall the mod and installed again and gave the following message:
"The XML data receieved was either invalid or not in the correct form for XML-RPC. Turn on debugging to examine the XML data further. Top-level XML RPC element is missing"
What should I do? How to proceed?
I get the same error when using the test. On /vbulletin-xml-rpc-server/ I get the error
An Error Was Encountered
Unable to locate the model you have specified: user
sf.nsuers
01-01-2009, 01:18 PM
did u guys go through discussions and tried solutions provided by community? if that does not help I'll provide support over IM. feel free to have conversation over gtalk :)
Brandon Sheley
01-01-2009, 02:20 PM
wow, nice idea
I'll check this one out :)
edermix
01-01-2009, 03:20 PM
I applied the Hot Fix and gave everything right. Thank you for the tip sf.nsusers
Helmut71
01-06-2009, 09:44 AM
looks interesting. Is it possible to provide this in other languages - e.g. German?
WarLion
01-06-2009, 09:35 PM
if i made a test i have this log
Did not receive a '200 OK' response from remote server. (HTTP/1.1 404 Not Found)
is that correct?
benstillman
01-13-2009, 04:47 PM
Took me forever to read through the posts fixing each little thing, but I've got it working now. Pretty cool. I'm going to play around with making my own client.
For users just installing:
- make sure you change the file names in ./vbulletin-xml-rpc-server/system/application/models so they're all lowercase
- if using Vista, after installing the client, right click on the c:/program files/vbdn/config.cnf file, click on security, and change your permissions so you can edit it
- edit ./vbulletin-xml-rpc-server/system/application/models/forums.php line 35 to use your db prefix. default for vBulletin is vbb_. in the file it's set to vb_.
- be sure to do this (https://vborg.vbsupport.ru/showpost.php?p=1682216&postcount=94)to keep from getting the token errors
benstillman
01-13-2009, 05:58 PM
My question is how secure is this?
sf.nsuers
01-14-2009, 02:46 AM
@benstillman cool! can't wait to see how your client talks :-D
what security issues you are concerned of?
memomemo
01-15-2009, 08:22 AM
Hello
A Database Error Occurred
Unable to connect to your database server using the provided settings.
http://www.maxbilisim.com/forum/vbulletin-xml-rpc-server/ :S
Please help
DangerousDale
01-15-2009, 02:28 PM
Hi,
When I go to the test page I get this error:
A PHP Error was encountered
Severity: Warning
Message: parse_url(http://) [function.parse-url]: Unable to parse URL
Filename: libraries/Xmlrpc.php
Line Number: 160
Any idea's?
DangerousDale
01-15-2009, 02:46 PM
Forget the above... was being a complete idiot... fixed it now ;)
Windows client is not compatible with Vista at this moment. I myself is not a big fan of vista for many reasons. but.. I'll keep it in mind to provide a solution for Vista users.
Must be kiddin me:( I love this mod but I'm running Vista..
I got it working :) Here's what to do (thanks to Benstillman aswel!):
FILE MODIFICATION / UPLOADS
Step 1) Download this attachment, it has all changes in filenames etc set already, extract the contents to a folder
Step 2) Open 'upload\vbulletin-xml-rpc-server\cd.php', you need to make a change here, I made it a little bit easier for most users, change this part:
$forum_folder = ''; // WITH ending slash, example: forums/
To fit your forums, if your forum is in the root of your hosting, leave it blank, otherwise it will be forum/ or forums/
Step 3) Open 'upload\vbulletin-xml-rpc-server\system\application\models\config.php' and change this:
$config['base_url'] = "http://www.yourlinkto.com/vbulletin-xml-rpc-server/";
To the full URL of the vbulletin-xml-rpc-server url, including the ending slash.
Step 4) Upload all files from the upload directory to your forumroot.
Product Import
Step 1) Go to your admin panel and scroll down to Plugins & Products, choose 'Manage Products' and on the bottom of that page click [Add/Import Product]
Step 2) Select the 'product-vbxrs.xml' file which was extracted from the zipfile and import the product.
Forum Settings
Step 1) In your browser go to the 'vbxrs_preference.php' file (example: http://www.yourforum.com/vbxrs_preference.php)
Step 2) Select the forums you want to receive updates from.
The Client
Step 1) Download the client over at code.google.com: http://code.google.com/p/vbulletin-desktop-notifier/downloads/list
Step 2) Install the client to your PC, if you are using another system than Vista, go to step 6. Vista users also follow Step 3, 4 and 5!
Step 3) Open your explorer and browse to the directory you installed the client in, by default this is: C:\Program Files\vbdn
Step 4) Right click the file: config.cfn and select properties, click the tab 'Security' and click the button Edit.
Step 5) Click on your username and after that click the checkbox 'Full Control' (all checkboxes will be checked). Now click OK, followed by Apply+Ok.
Step 6) Run the client and edit the settings, both the Forum URL and VBXRS Url must have the ending slashes!
Step 7) Apply changes and restart the client, now add your user information in the login box and your vB Notifier is working.
Credits
Credits of course go to sf.nsuers for this great idea, which hopefully will be expanded soon! and to benstillman who got to explain alot of it already in the previous post.
I just packed it all together and perhaps made it a little bit easier for everyone to get this thing up and running!
Some suggestions:
auto-login & auto-start (when windows starts)
qberty
01-27-2009, 08:49 PM
I would Like to Code a NEW and more Improved GUI looking Applications. If sf.nusers Could help me Ill release it Here with Updates, I have enough time to invest into making the application work with This. Since its XML-RPC, All i need is Direct Contact with sf.nusers to Be able to code a whole new app with the same function and mabye more. How shall i contact him?
FiMeTi
01-29-2009, 06:43 PM
I would Like to Code a NEW and more Improved GUI looking Applications. If sf.nusers Could help me Ill release it Here with Updates, I have enough time to invest into making the application work with This. Since its XML-RPC, All i need is Direct Contact with sf.nusers to Be able to code a whole new app with the same function and mabye more. How shall i contact him?
offer him a banana and he will appear rapidly ;)
qberty
01-30-2009, 03:50 AM
Ate my last Banana yesterday :(
mmoore5553
01-30-2009, 06:38 AM
very nice might try this out ..downloading now
Vaupell
01-30-2009, 08:25 AM
Awsome moderator tool.. Thumbs up.. 5 stars .. nominated and what else have we.. :D
qberty
01-30-2009, 11:30 PM
anyone Willing to help me out ? Please? :)
sf.nsuers
02-06-2009, 04:13 AM
oh.. FiMeTi could not help you, qberty, as we do not live in same tree!
you could drop me a private message.
Thanks for stepping ahead :)
the.code
02-09-2009, 10:44 PM
Did not receive a '200 OK' response from remote server. (HTTP/1.1 404 Not Found)
gettin above error i enabled log here it is
DEBUG - 2009-02-10 03:40:32 --> Config Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Hooks Class Initialized
DEBUG - 2009-02-10 03:40:32 --> URI Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Router Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Output Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Input Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Global POST and COOKIE data sanitized
DEBUG - 2009-02-10 03:40:32 --> Language Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Loader Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Plugin loaded: vbulletin-db_pi
DEBUG - 2009-02-10 03:40:32 --> XML-RPC Class Initialized
DEBUG - 2009-02-10 03:40:32 --> XML-RPC Class Initialized
DEBUG - 2009-02-10 03:40:32 --> XML-RPC Server Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Controller Class Initialized
DEBUG - 2009-02-10 03:40:32 --> Helper loaded: url_helper
DEBUG - 2009-02-10 03:40:32 --> XML-RPC Class Initialized
DEBUG - 2009-02-10 03:40:32 --> XML-RPC Class Initialized
DEBUG - 2009-02-10 03:40:33 --> Final output sent to browser
DEBUG - 2009-02-10 03:40:33 --> Total execution time: 0.4509
kindly suggest something thnx
sf.nsuers
02-10-2009, 03:20 AM
@the.code, Please check this useful post https://vborg.vbsupport.ru/showpost.php?p=1718371&postcount=148 watch video demonstration. Also, look for possible solutions throughout this forum topic. You'll be able to setup :) Good Luck!
the.code
02-10-2009, 06:58 AM
@the.code, Please check this useful post https://vborg.vbsupport.ru/showpost.php?p=1718371&postcount=148 watch video demonstration. Also, look for possible solutions throughout this forum topic. You'll be able to setup :) Good Luck!
i have already read whole thread and done everything said in here, i hav watched video also but this is wut m getting cant guess wuts wrong , :confused: suggest smthin
sf.nsuers
02-10-2009, 01:22 PM
@the.code, hmm... you can find me in nick Sword^Fish on irc.nsuers.com after GMT 4P.M. Please have patience if I do not respond immediately.
P.S: To the people who might take a chance, I've posted this IRC address only to help people who needs Online support, not for advertisement purpose. It's dead for 2 years :)
the.code
02-10-2009, 04:21 PM
i am online right now bro can u tell me where i can talk to you ? any yahoo id ? or gmail m not able to access irc.nsuers.com
The connection has timed out
The server at irc.nsuers.com is taking too long to respond
thnx waitin reply
DJ29Joesph
02-11-2009, 12:42 AM
Got error "Did not receive a '200 OK' response from remote server. (HTTP/1.1 404 Not Found)"
how do u enable log?
and I followed all the steps and stuff and still doesn't work..btw my database has vb prefix.
Thanks
I noticed sword^fish that you would be on irc at 4 P.M. GMT...thats 11:00 am for me so I'll be on..I was on earlier "Cold_Assassin" so if you could reply that would be awesome!
movslow
02-27-2009, 09:58 PM
Does this work with 3.8.x ?
:confused:
sf.nsuers
02-28-2009, 12:43 AM
why not? I'm running 3.8.1 :)
the.code
02-28-2009, 01:03 PM
but well no one hear to solve my problem ? Abt 200 OK Error ?
sf.nsuers
02-28-2009, 01:12 PM
I'm online in IRC now and may be I can help you :)
jorge_kai
03-07-2009, 10:34 PM
i still have this error
96095
any idea? :(
sf.nsuers
03-07-2009, 11:57 PM
jorge_kai,
- can you post steps you gone through configuration in detail?
- what does test script say?
- have you got any clue in PHP error_log file?
jorge_kai
03-08-2009, 04:00 PM
hi!
the test script say all is OK
"Server returned: 1236531477
output looks good!"
i follow the steps in the installation doc (version 2)... i'd changed the files in system/application/models and changed the prefix table in forum file
sf.nsuers
03-08-2009, 04:39 PM
cool! what did u set for VBXRS URL in desktop application settings?
jorge_kai
03-08-2009, 05:56 PM
<a href="http://www.elclubdigital.com/foro/vbulletin-xml-rpc-server/" target="_blank">http://www.elclubdigital.com/foro/vb...ml-rpc-server/</a>
sf.nsuers
03-08-2009, 06:20 PM
nice! URI looks okay!
do you see error_log file in vbulletin-xml-rpc-server directory? what does it say?
jorge_kai
03-08-2009, 06:50 PM
i don't find any error_log :(
in which directory exactly?
thanks!
jorge_kai
03-08-2009, 09:24 PM
next that error, another one
96137
jorge_kai
03-08-2009, 09:25 PM
***
jorge_kai
03-10-2009, 08:21 PM
any idea?
qberty
03-18-2009, 03:55 PM
sorry I hadn't been on for while, will there be an update on this? and if so, is that help still open?
uninstall
I like the idea but dosent support arabic
Cipher5
06-22-2009, 08:15 PM
I have read the whole thread over and over and over and watched the videos. Still I cant get this mod to work. I edited the "cd.php" file right I am sure.
• I used this test link example:http://mydomain/vbulletin-xml-rpc-server/test and I get a message: "Server returned: 1245704959
output looks good!"
• After I put my URL in the config.php /vbulletin-xml-rpc-server/system/application/config/ I get this message now: "Did not receive a '200 OK' response from remote server. (HTTP/1.1 404 Not Found)"
• using the default config.php gets the good message, changing the url to mine gets me the error message... I can't figure this out. I have read and tested everything for the last 5= hours and still it will not work.
this website is hosted on a godaddy server running the required apps.
thanks in advance
sf.nsuers
06-23-2009, 04:08 AM
cheykawebdesign, let us have a look at what changes you've made. If you do not want to share them here, please email them to me.
yotsume
08-17-2009, 11:35 AM
Well I followed the below instructions and I get file not found when going to the test.
I try to login with the app and get an error.
I have vbadvanced installed and my index.php file is renamed to forum.php. I set the config to:
$config['index_page'] = "forum.php";
No variations I make work in either the config.php or cd.php file...
So whats next???
I got it working :) Here's what to do (thanks to Benstillman aswel!):
FILE MODIFICATION / UPLOADS
Step 1) Download this attachment, it has all changes in filenames etc set already, extract the contents to a folder
Step 2) Open 'upload\vbulletin-xml-rpc-server\cd.php', you need to make a change here, I made it a little bit easier for most users, change this part:
$forum_folder = ''; // WITH ending slash, example: forums/To fit your forums, if your forum is in the root of your hosting, leave it blank, otherwise it will be forum/ or forums/
Step 3) Open 'upload\vbulletin-xml-rpc-server\system\application\models\config.php' and change this:
$config['base_url'] = "http://www.yourlinkto.com/vbulletin-xml-rpc-server/";To the full URL of the vbulletin-xml-rpc-server url, including the ending slash.
Step 4) Upload all files from the upload directory to your forumroot.
Product Import
Step 1) Go to your admin panel and scroll down to Plugins & Products, choose 'Manage Products' and on the bottom of that page click [Add/Import Product]
Step 2) Select the 'product-vbxrs.xml' file which was extracted from the zipfile and import the product.
Forum Settings
Step 1) In your browser go to the 'vbxrs_preference.php' file (example: http://www.yourforum.com/vbxrs_preference.php)
Step 2) Select the forums you want to receive updates from.
The Client
Step 1) Download the client over at code.google.com: http://code.google.com/p/vbulletin-desktop-notifier/downloads/list
Step 2) Install the client to your PC, if you are using another system than Vista, go to step 6. Vista users also follow Step 3, 4 and 5!
Step 3) Open your explorer and browse to the directory you installed the client in, by default this is: C:\Program Files\vbdn
Step 4) Right click the file: config.cfn and select properties, click the tab 'Security' and click the button Edit.
Step 5) Click on your username and after that click the checkbox 'Full Control' (all checkboxes will be checked). Now click OK, followed by Apply+Ok.
Step 6) Run the client and edit the settings, both the Forum URL and VBXRS Url must have the ending slashes!
Step 7) Apply changes and restart the client, now add your user information in the login box and your vB Notifier is working.
Credits
Credits of course go to sf.nsuers for this great idea, which hopefully will be expanded soon! and to benstillman who got to explain alot of it already in the previous post.
I just packed it all together and perhaps made it a little bit easier for everyone to get this thing up and running!
yotsume
08-18-2009, 06:11 AM
Well I seem to have got this working by using the original forum.php file with the other files listed above. More testing to do! :) The other package seems to not have the db prefix coded right...
softvnzla
08-20-2009, 06:01 AM
Installed and ready to walk the errors of the solutions given here are only a matter of searching ;)
yotsume
08-25-2009, 04:15 AM
UNINSTALLED!
The actual windows program that is used for desktop notifications is PATHETIC as an interface.
This make this whole mod a pure waste of time...
Alfa1
08-26-2009, 10:15 PM
UNINSTALLED!
The actual windows program that is used for desktop notifications is PATHETIC as an interface.
This make this whole mod a pure waste of time...
Suggest code changes to improve this then.
yotsume
08-26-2009, 10:37 PM
Suggest code changes to improve this then.
Agreed... I will come up with suggestion to make that program usable at all. As it stands its a huge waste of time to get this installed, working correctly, and then have such a limited program run on your desktop.
-List recent posts/threads
-List PMs inbox
-list anything would be good...
At some point Ill spend some time and make real details but I have wasted enough on this one already...
squishi
12-02-2009, 01:15 PM
This mod looks great.
Unfortunately, I could not get this to work.
I get the message about problems on the server side.
I have edited all the config files and did all I could.
Very annoying...
Negrosoo
12-04-2009, 05:27 PM
Good :)
But i use old methods xD
P.S: I install it :D , is very very beatifoul :)
sixxkilur
01-26-2010, 12:49 PM
Took me maybe 5 mins to get this addon working, make sure you have PHP 5, and php_xmlrpc extension enabled the restart your web server. then #Editing
--------------------------------------------------------------------------------
> open file `cd.php`
>> search: $vbulletin_path
>>> replace 'C:/wamp/www/vbulletin/' with path to your vBulletin installaion directory
>>>> save and close file.
> open file `system/application/config/config.php`
>> change value of $config['base_url']
##Uploading
--------------------------------------------------------------------------------
> upload files in `upload` directory
-
###Installation
--------------------------------------------------------------------------------
> login as admin in your vBulletin forum
>> scroll down to `Plugins & Products` section and expand it
>>> click `Manage products`
>>>> click `[Add/Import Product]`
>>>>> on `Import Product` section click on `Browse` button.
>>>>>> point to `product-vbxrs.xml` file that comes with this package
>>>>>>> hit `Import` button
>>> search: config defined for package: vbulletin-xml-rpc-server
>>>> in this section set proper values to meet your needs
Rename all files in system/application/models directory into lowercases. i.e:
Forum.php => forum.php
Settings.php => settings.php
Token.php => token.php
User.php => user.php
if you are using a prefix for vbulletin in your sql database you need to make sure the forum.php in www/vbulletin-xml-rpc-server/system/application/models/forum.php
line 35: matches your prefix in your sql database example: FROM vb_thread t, vb_forum f, vb_post p, vb_user u if you are are not using prefix try this :FROM thread t, forum f, post p, user u save your edits and then configure your cnf speed dial file.
sixxkilur
01-26-2010, 12:58 PM
now on to creating a custom notifier or modding this one for my forum, tried creating installer but not much luck there i get a main class error when executin launcher after install
install4j is new ground for me main class is not making since and help file sucks@$$ the box to input main class is blank and no item to search for so really could use some help on that if your not busy. other than that what it is it gets the job done.
using my launcher returns this error
ava.lang.ClassNotFoundException: 1.0
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Cipher5
01-26-2010, 04:57 PM
What are you using to try to program your own notifier client? I might be able to help you out. if you want to work together on this just email: Ed@CheykaWebDesign.com
Thanks.
Alfa1
01-29-2010, 01:21 PM
>>> search: config defined for package: vbulletin-xml-rpc-server
>>>> in this section set proper values to meet your needs
What do you mean by this? Search where?
now on to creating a custom notifier or modding this one for my forum
Are there instructions somewhere on how to customize the client?
It would be great if someone would rework the client, so that the information supplied is of better use.
I'd like to add important links, to the notifier.
Is it possible to have the notifier display all latest PMs, instead of just the last one?
I am not getting notifications about:
Member notifications:
- profile messages awaiting approval
- picture comments awaiting approval
- group messages awaiting approval
Moderator notifications:
- post awaiting approval
- threads awaiting approval
- events awaiting approval
- attachments awaiting approval
- members awaiting approval
- blogs awaiting approval
- blog comments awaiting approval
- profile comments awaiting approval
- group comments awaiting approval
- pictures awaiting approval
- picture comments awaiting approval
What am I doing wrong?
sixxkilur
02-03-2010, 09:42 AM
Are there instructions somewhere on how to customize the client?
The documention included with the package is all I have found on it. This is located in the package in the apidoc directory. It is also located here http://www.nsuers.com/projects/vbxrs/apidoc/
Alfa1
02-03-2010, 08:16 PM
That doesn't help me much. I am afraid. Did anyone else manage to customize the client?
SorentoUltimate
01-24-2011, 12:06 AM
Hi
i installed
i take that error wen i try ...../forum/vbulletin-xml-rpc-server/index.php
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>105</int></value>
</member>
<member>
<name>faultString</name>
<value><string>XML error: Invalid document end at line 1</string></value>
</member>
</struct>
</value>
</fault>
</methodResponse>
also when i try ...../forum/vbulletin-xml-rpc-server/test
i take 404 EROR (Page Not Found)
Here Error Log
DEBUG - 2011-01-23 21:35:06 --> Config Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Hooks Class Initialized
DEBUG - 2011-01-23 21:35:06 --> URI Class Initialized
DEBUG - 2011-01-23 21:35:06 --> No URI present. Default controller set.
DEBUG - 2011-01-23 21:35:06 --> Router Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Output Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Input Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Global POST and COOKIE data sanitized
DEBUG - 2011-01-23 21:35:06 --> Language Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Loader Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Plugin loaded: vbulletin-db_pi
DEBUG - 2011-01-23 21:35:06 --> XML-RPC Class Initialized
DEBUG - 2011-01-23 21:35:06 --> XML-RPC Class Initialized
DEBUG - 2011-01-23 21:35:06 --> XML-RPC Server Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Controller Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Model Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Database Driver Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Model Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Database Driver Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Model Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Database Driver Class Initialized
DEBUG - 2011-01-23 21:35:06 --> XML-RPC Class Initialized
DEBUG - 2011-01-23 21:35:06 --> Final output sent to browser
DEBUG - 2011-01-23 21:35:06 --> Total execution time: 0.1019
Alfa1
01-25-2011, 09:35 PM
XML error: Invalid document end at line 1
Here is line 1:
<?xml version="1.0" encoding="ISO-8859-1"?>
ISO-8859-1 is the latin alphabet. Your site is in Greek. That could be the issue. Im not sure.
I also do not know if this works with vb 3.8.6, which is the version you are running.
Consider to vote for these related functions:
http://tracker.vbulletin.com/browse/VBIV-10106
http://tracker.vbulletin.com/browse/VBIV-9624
SorentoUltimate
01-26-2011, 01:19 AM
Here is line 1:
<?xml version="1.0" encoding="ISO-8859-1"?>ISO-8859-1 is the latin alphabet. Your site is in Greek. That could be the issue. Im not sure.
I also do not know if this works with vb 3.8.6, which is the version you are running.
Consider to vote for these related functions:
http://tracker.vbulletin.com/browse/VBIV-10106
http://tracker.vbulletin.com/browse/VBIV-9624
Thanks for reply,
after a lot of hours of search i find that the problem are the php xmlrpc not enabled on my server i contact with 1and1 and the told me to download it from http://phpxmlrpc.sourceforge.net/.
I download the php xmlrpc from the link they give me.
A lib directory exist (and other files) with some .inc files and .php files, but i don't know how to use them.
some help on that ????
EddyMaxx
01-26-2011, 01:23 AM
Works 100% in 3.8.6 with changes noted in the prior posts.
SorentoUltimate
01-26-2011, 01:25 AM
Works 100% in 3.8.6 with changes noted in the prior posts.
i do all the changes find in posts, as i write before the problem are the php xmlrpc.
can u help me how i can enable it?
EddyMaxx
01-26-2011, 01:59 AM
No prob. Let me try and put together a quick step by step of what I did to get it work in 3.8.6.
EddyMaxx
01-26-2011, 02:06 AM
i do all the changes find in posts, as i write before the problem are the php xmlrpc.
can u help me how i can enable it?
Attached are the files. Backup your other folder and upload this one.
This works on my 3.8.6 with no issues. Try it and let me know if it works.
SorentoUltimate
01-26-2011, 03:04 AM
Attached are the files. Backup your other folder and upload this one.
This works on my 3.8.6 with no issues. Try it and let me know if it works.
Thanks, EddyMaxx,
the zip you attach include all the changes from the post, i allready make that changes but not work, i also use your attachement but the same.
my problem : i'm on share hosting and php_xmlrpc are not enabled, so i have to use the inc files but i don't know how
any advice on that ?????
EddyMaxx
01-26-2011, 03:07 AM
Ahh I see. Who is your host?
SorentoUltimate
01-26-2011, 03:10 AM
Ahh I see. Who is your host?
1and1 (http://www.1and1.com (http://www.1and1.com/))
ARSamo
02-05-2011, 07:19 PM
dear coder,
if possible, plz add arabic user name support
thanx in advance
s810car
03-11-2011, 04:41 AM
I know this modification is probably long forgotten, but I always loved this application, so if anyone is interested, here is an updated product file and vbxrs_preference.php to use this with vBulletin 4. This was tested in 4.1, and only works IF you did all appropriate hotfix changes and meet other requirements of this mod, but no other changes needed to upgrade this to a vB4 version.
Another MAJOR thing you must do if in Vista or Windows 7 is run this the first time as administrator (right click exe file after installing, and select run as Administrator). This is so when you change the website to your own, the change will actually stick.
At some point I'd love to see this mod be brought back from the dead by the owner (or someone else with his permission), but until then I guess I'll have to hack this thing up myself :D GL to all!
mykkal
03-11-2013, 04:12 PM
Does this work on 3.8.7 PL1?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.