vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676)

zafrir 09-17-2006 12:16 PM

Can I use the hack to creat a vbulletin.org style threads?

I want to enable a specific usergroup to use the form for the first post of a thread (post a software review in my case in a predefined format) and then enable all other users to reply to that post.

How the edit post is done?? will I be able to use the form to edit posts done with the form.

The-Ensemble 09-17-2006 03:07 PM

Oh and I want to remove the toolbar and stuff from around the message area how would I do that? Because I can't see it anywhere where it says to do that. . .

Limerick 09-17-2006 03:09 PM

Quote:

Originally Posted by Limerick
Hello Abe,

Thank you very much for your hack which will be useful for many of us.

I'd like to know if your hack could be used in a way I've described here, and what changes would it need ?

Note that what I described there was just an idea, but your design seems to be as convenient.

Ok I've installed the hack so I guess it would be possible to reach my goal.
Unfortunately, I think it would be to hard for me.

But, most of all, it would need, IMHO, just one improvement.

It should be possible to call this hack from an existing thread with a special button like "Post Reply" or "New Thread", which could be named "Quote a received e-mail"

Spinball 09-17-2006 03:27 PM

Oh god! Upgraded forum to 3.6.1 and now getting this error when posting the form:
Warning: Cannot use a scalar value as an array in /incoudes/functions_newpost on line 352

The-Ensemble 09-17-2006 03:51 PM

what does it say on 352 of that file?

R.Caldwell 09-17-2006 11:58 PM

Quote:

Originally Posted by camuca
Hi, this is a very good work.

How would I implement a drop down box that would show list of the forums and allow user to post the form to.

//FORUM TO POST NEW THREAD IN
//You CAN make this number a variable. You can have a drop down menu or in the link like do=form&f=1. Make sure you add it the variables list.
$formforumid = "5";


It will be something like $formforumid = Dropdown code that shows all the forums which are then converted to ids, I guess

Any suggestions how this can be implemented

I could use some help with this section of the form as well.

Spinball 09-18-2006 05:28 AM

Quote:

Originally Posted by The-Ensemble
what does it say on 352 of that file?

($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;

Abe1 09-18-2006 12:20 PM

Quote:

Originally Posted by Spinball
Hi Abe,
I have modified the form to allow the attachements, and that works (in that it allows me to add attachments). I have also re-modified the formanswers template from the original, although I don't see any reference to attachments in that.
No attachments are appearing in the preview. What am I doing wrong, please?

Attachments dont show up on the preview but are still there when you click preview.

ctrl-alt-del 09-18-2006 01:43 PM

What an excellent hack!! I'll need to install this and start testing. Thanks!!

The-Ensemble 09-18-2006 02:49 PM

Quote:

Originally Posted by Spinball
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;

Hopefully the coder will know whats wrong with this, because I don't sorry :(

-----
Has their been any idea how any of these can be done?

Quote:

Originally Posted by The-Ensemble
ETA (again): How would I change the navbar in php? I want it so it says
board name - usercp - usercp page - form

Does this (the questions etc.) have to be done in php? can't it be done in the template?

Also How would I make the box's bigger? I've tried in the templates and it doesnt change, how would I do it in php?

any idea?

Thanks


All times are GMT. The time now is 01:53 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.02050 seconds
  • Memory Usage 1,745KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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