vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Externally adding content to an editbox and Banning from a specific forum (https://vborg.vbsupport.ru/showthread.php?t=69910)

shimi 09-27-2004 04:08 AM

Externally adding content to an editbox and Banning from a specific forum
 
Hi all, I would like help with a couple of things :)

I'm in the phases of migrating to vB after a long work on it, and what really disturbs me are the following things:

First, the vB file attachment interface; I have an interface that I coded in my current forum, and I would like to use it instead;

1) What I did so far was to remove the file attachments system from vB using the CP, and:
2) Modify the templates editpost, newthread & newreply to have a new link to open my external php uploading script (using JS), and:
3) Modified the upload script to interact with vB's global.php, for user authentication etc.

The only problem I sit at now with this is a rather simple one (or, so I thought...), and it is:

How to make my external window add the URL of the uploaded file into the editor window! Before you answer, remember that there are three editors that the user can choose from in vB :)

Second, would anyone know by anychance: if there's a way to let moderators ban users only from their forum (instead of the whole system)? Preferrably, if it would be smart like vB's banning system (i.e. can set expiry time for bans, etc.)

I would be glad for any help about this,
Thanks for any help you can give...

Shimi

shimi 09-28-2004 02:19 PM

I really need this :) Especially the adding to the editor from an external page... :)


All times are GMT. The time now is 12:02 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.01019 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete