vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Blog API: Publish to vB Drupal from your Desktop (https://vborg.vbsupport.ru/showthread.php?t=98660)

tamarian 11-16-2005 02:03 AM

Quote:

Originally Posted by Pete
I've been looking around the vbulletin.com forums, sounds like this is going to be a bug. They say admins & moderators are exempt from moderation required rules. I'm posting as admin, and the friends I mentioned with blog permissions are all moderators.

Will try some different desktop clients & settings when I get home tonight.

I'd like to know how you have your forum selection setup. One single forum if for all drupal entries, or a list of forum id's.

@dualboot: This sounds like a problem you had earlier, that was fixed. Do you have a similar problem to this now?

Pete 11-16-2005 02:49 AM

Quote:

Originally Posted by tamarian
I'd like to know how you have your forum selection setup. One single forum if for all drupal entries, or a list of forum id's.

@dualboot: This sounds like a problem you had earlier, that was fixed. Do you have a similar problem to this now?

All drupal content going into the one forum at this time.
Looks like dualboot is using the drupal comment system ;)

jeffj 01-04-2006 11:30 AM

does this require ftp on your server to accept their content or is the done with an xml or rss type of feed or how does the server accept their content and is there any protection against accepting virusus or harmful content?

maximux1 01-23-2006 09:56 PM

Hey tamarian - Thanks for the excellent additions to vB!

I'm working with the blogAPI.module now and I am running into some difficulty with one particular function.

valid_input_data() does not exist within the drupal framework. Obviously this causes the checking of valid xml to break throwing an error back to the client blogging tool.

Am I just overlooking something here? I'd like to use the remote management, but I do not want to remove the two calls to that function.

Code:

  if (!valid_input_data($edit['title'], $edit['body'])) {
    return blogapi_error(t('Terminated request because of suspicious input data.'));
  }

and

  if (!valid_input_data($node->title, $node->body)) {
    return blogapi_error(t('Terminated request because of suspicious input data.'));
  }

I would be very grateful for any assistance you can provide.

Max

maximux1 01-23-2006 10:02 PM

heh, well - I just found my answer...

You'll probably want to read this and update your file above - It wont work for anyone as is.

Quote:

re: "is there a replacement function?"

There is no replacement because the concept of valid_input_data() was flawed. There is no magical check you can perform that will separate safe from unsafe data. It depends on what happens to the data and how it is output.

The guidelines about text handling still stand.


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

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01178 seconds
  • Memory Usage 1,728KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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