vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. (https://vborg.vbsupport.ru/showthread.php?t=66082)

Spinball 05-07-2005 08:50 PM

Erwin, I'm trying to integrate the standard vB posting message box with smilies and BBcode stuff etc.
I've had a stab based on the goings on in newthread.php and the newthread template, and have nearly got it going.
In the template I added $messagearea.
And in my form.php I added
PHP Code:

$phrasegroups = array('threadmanage''posting');
$specialtemplates = array(
    
'bbcodecache'
);
require_once(
'./includes/functions_newpost.php');
require_once(
'./includes/functions_editor.php');
require_once(
'./includes/functions_bigthree.php'); 

near the top and at the bottom
PHP Code:

construct_edit_toolbar($newpost['message'], 0$foruminfo['forumid'], $foruminfo['allowsmilies']); 

just before
PHP Code:

eval('print_output("' fetch_template('form_new') . '");'); 

The only problem is that the buttons (e.g. the B (bold) button) don't highlight when mouse overed and when clicking them, nothing happens.
Submitting the forum works ok using $message.
Can you help at all?

Erwin 05-10-2005 02:31 AM

Quote:

Originally Posted by Spinball
Erwin, I'm trying to integrate the standard vB posting message box with smilies and BBcode stuff etc.
I've had a stab based on the goings on in newthread.php and the newthread template, and have nearly got it going.
In the template I added $messagearea.
And in my form.php I added
PHP Code:

$phrasegroups = array('threadmanage''posting');
$specialtemplates = array(
    
'bbcodecache'
);
require_once(
'./includes/functions_newpost.php');
require_once(
'./includes/functions_editor.php');
require_once(
'./includes/functions_bigthree.php'); 

near the top and at the bottom
PHP Code:

construct_edit_toolbar($newpost['message'], 0$foruminfo['forumid'], $foruminfo['allowsmilies']); 

just before
PHP Code:

eval('print_output("' fetch_template('form_new') . '");'); 

The only problem is that the buttons (e.g. the B (bold) button) don't highlight when mouse overed and when clicking them, nothing happens.
Submitting the forum works ok using $message.
Can you help at all?

Ahhh... :) I wish I had time to look into that, but I don't. It's to do with the javascript files - make sure they are included. And they are being referred to correctly.

Bubble #5 05-13-2005 03:58 AM

We are using the standard form.txt but our submit and reset buttons won't center. No matter what we try to do they stay left aligned :( Is there anyway that we can fix this?

specting 05-18-2005 11:51 AM

Hello Guys:

I'm a starting user that need to instal this hack and have several questions:

- I have add the templates but I don't not How can I applied this templates to one Sub-forum? We have several subjects and each sub-forum has a diferent forms.

- In other hand we have several kinds of users: Administrator, moderator and standar user. We wnat that this form will be only applied to the standar users. How might I configurated the privileges?

Thank you very much fro your help in advance.

Javi.

DogGunn 06-02-2005 09:21 AM

I just get a blank screen.. Help?

Marco van Herwaarden 06-02-2005 12:47 PM

Quote:

Originally Posted by DogGunn
I just get a blank screen.. Help?

Double check your edits and use a good editor.

mustang_lex 06-02-2005 01:33 PM

I think this may be the answer to my questions.

Can this hack incorporate a photo upload requirement as well?

Erwin 06-02-2005 11:29 PM

Quote:

Originally Posted by mustang_lex
I think this may be the answer to my questions.

Can this hack incorporate a photo upload requirement as well?

There is a way to do it where you can add attachments via an edit.

mustang_lex 06-03-2005 09:17 PM

Ok. cool. how? :nervous:

mustang_lex 06-04-2005 01:13 AM

I don't get it i got a blank page. :ermm:


All times are GMT. The time now is 10:56 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.01498 seconds
  • Memory Usage 1,753KB
  • 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
  • (6)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