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)

jschlosser 08-04-2005 03:50 AM

WOW kvnband, many many thax. i try to change this first.

u know about the search function ???

it's very hard for my to explain all probs in english but i try.

would be wonderful, when someone could't change this bug for the search.

greets sascha

ps. many many many many thanks goes to kvnband !!!!!!!

kvnband 08-04-2005 04:51 AM

Quote:

Originally Posted by jschlosser
WOW kvnband, many many thax. i try to change this first.

u know about the search function ???


it's very hard for my to explain all probs in english but i try.


would be wonderful, when someone could't change this bug for the search.

greets sascha

ps. many many many many thanks goes to kvnband !!!!!!!

I'm sorry, but I have never looked into the search problem (my form created threads are auto pruned after 30 days of inactivity, so there is no reason to bother indexing them).
Kevin

jschlosser 08-04-2005 11:06 AM

hi, ok thats right. i must delete alle the threads also after 30 days. how i can do that automatically.

but i need very urgent the same like you. everybody who make a new thread with this form must write a title of the thread. can u help me with this ??

with the code changes above every thread looks like " THREAD TITLE HERE"

thanks in advance.

greets sascha

kvnband 08-04-2005 12:39 PM

Quote:

Originally Posted by jschlosser
hi, ok thats right. i must delete alle the threads also after 30 days. how i can do that automatically.

but i need very urgent the same like you. everybody who make a new thread with this form must write a title of the thread. can u help me with this ??

with the code changes above every thread looks like " THREAD TITLE HERE"

thanks in advance.

greets sascha

I sent you a PM. You must create an input box in your form callled $threadtitle or something similar. Then put $threadtitle (or whatever you called it) in replacement of 'YOUR THREAD TITLE HERE'
Kevin

kvnband 08-04-2005 12:40 PM

Also, to auto prune threads

https://vborg.vbsupport.ru/showthrea...ght=auto+prune

Antivirus 08-04-2005 08:58 PM

I installed this mod into our vBulliten, and everything works great, however even though we uploaded each template into the two different styles we have, for some reason the styles keep reverting back to default when either loading the form or submitting the form.

Is anyone else having this problem with this mod on their boards whom have custom styles? We could just be experiencing something goofed up in a template on the custom styler somewhere.

Cyricx 08-09-2005 11:49 AM

Any plans to port this hack over to 3.5?

Abe1 08-09-2005 11:53 AM

Quote:

Originally Posted by Cyricx
Any plans to port this hack over to 3.5?

I sent a PM to Erwin asking about if he minding if I worked on this hack for vb3.5. I never got a reply. I'm going to PM him again.

azinwood 08-09-2005 09:11 PM

just installed in our auto for sale section. works great.

thx!

Abe1 08-10-2005 04:58 AM

OK guys, thaks to Erwin permission, I have ported the hack over to vb3.5. https://vborg.vbsupport.ru/showthread.php?t=93970

PKRWUD 08-13-2005 12:17 AM

Quote:

Originally Posted by kvnband
I can try.

Please note that I haven't tested it and honestly have no idea if it works :-)
Kevin

Kevin, You ROCK!!!

I'm still working out some other bugs, but your suggestion worked perfectly! Thank you very much!!!

Take care,
~Chris

PKRWUD 08-13-2005 02:30 AM

Okay, odd problem. I have had this installed for close to a year with no problems, but now I'm trying it a little differently, and I've come across a problem. I am using the form to reply to a thread.

In form.php:
PHP Code:

//ENABLE FORM TO BE POSTED - 1 = yes, 0 = no
$formforum "1";

//FORUM TO POST NEW THREAD IN
$formforumid "";

//ENABLE POLL TO BE CREATED - 1 = yes, 0 = no
$formpoll "0";
$formoption1 "Yes";
$formoption2 "No"

If I leave $formforumid the way it is above, I get a syntax error. If I enter a 0 there, the error goes away, but the post won't redirect to the thread, it redirects to the last post, all by itself. If I enter in the forum ID #, it starts a new thread in that forum.

My question is; what should I enter there?

michaelsilvia 09-10-2005 02:16 AM

Anyway to get this to work on 3.0.8? I tried it, but it is not working.

Mike

mod2000 09-10-2005 08:19 AM

i hope ... damn .. ive done this hack the last 3 days by myself :( didnt see the hack in here.

CnB 09-19-2005 01:23 PM

i dont get the installation !!
add the templates to what ?
i assume form.txt and formanswer.txt are the templates
but where do i add them ?

and does it work on 3.0.9 ?

bendigo-tech 09-22-2005 11:49 PM

Quote:

Originally Posted by CnB
i dont get the installation !!
add the templates to what ?
i assume form.txt and formanswer.txt are the templates
but where do i add them ?

and does it work on 3.0.9 ?

Yes, form and formanswers are the templates. Use the Style Manager in admincp to add them.

I have it working on 3.0.9 with no problems. didn't have to make any modifcations either.

bendigo-tech 09-23-2005 12:43 AM

I have this setup and running nice. However, when filling out the form, I want the option of being able to choose between 3 forums to post the information too. I don't mind if it uses a drop-down menu or even radio buttons. I just need to know how I can set this up.

Any help would be great! Thanks!

hbalagh1 09-28-2005 08:37 PM

great little mod, using it to sign up for a gift exchange we have started :)

hbalagh1 09-28-2005 08:58 PM

Thank you for this :)

Quote:

Originally Posted by KTBleeding
I got unlazy and attempted the conditionals myself and got it working. If anyone else wants to make it so users have to have a certain post count to be able to fill out the form, do this.

In the "form" template..

Find:
HTML Code:

                <tr>
                  <td> $formpurpose </td>
                </tr>
              </table>
              </fieldset></td>
          </tr>
        </table></td>
    </tr>

Add After:
HTML Code:

<if condition="$bbuserinfo[posts] >= 10">
(change 10 to whatever post count you want required)

Now find:
HTML Code:

</form>
Add After:
HTML Code:

<else />
    <tr>
      <td class="alt2" valign="middle">TEXT YOU WANT UNQUALIFIED USERS TO SEE.</td>
    </tr>
  </table>
</td>
</tr>
</table>
</if>


Works great!
[high]* KTBleeding clicks install[/high]


hbalagh1 09-30-2005 08:31 PM

I have a request... I would like to have this pm'd to a user and posted as a reply in a thread....my request is though (if possible) I would like one of the answers not to show up in the tread only the pm...since we are dealing w/ members postal addreses... is this possible???

Thanks
Heather

hbalagh1 10-01-2005 11:28 PM

Quote:

Originally Posted by hbalagh1
I have a request... I would like to have this pm'd to a user and posted as a reply in a thread....my request is though (if possible) I would like one of the answers not to show up in the tread only the pm...since we are dealing w/ members postal addreses... is this possible???

Thanks
Heather

anyone?

speedracer68 11-21-2005 12:37 AM

Quote:

Originally Posted by Erwin
Your background must be black or somethng - modify the "form" template.

I'm sorry I'm a little new. Where in the template can I change the color?

b00k 12-23-2005 08:02 PM

downside of the hack, search feature wont work with it unelss users is redirected to the EDIT function and saves it. Which is silly. Most people have a hard enough time logging in let alone knowing how to post.

Is there any other way to resolve this? Because this hack is def 10/10 if the search feature would work with it.

alqadir 01-04-2006 11:06 AM

Hi Guys,
I was hoping someone out there can help me out with this sql problem. I am thinking it has something to do with " ' " single quotes. Here is the error:
Code:

Database error in vBulletin 3.0.4:

Invalid SQL:
                                INSERT INTO thread(title, lastpost, forumid, open, replycount,
                                postusername, postuserid, lastposter, dateline, iconid, visible, attach)
                                VALUES
                                        ('[Sell]  ADMS 2320 : Statistics for Man't and Econ Edition:6 Keller  ISBN: 0-534-39186-9  $80 ', 1135971661, 70,
                                        1, 0, 'ssrashid', 1383,
                                        'ssrashid', 1135971661, 0, 1,
                                        0)
                       
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 't and Econ Edition:6 Keller  ISBN: 0-534-39186-9  $80 ', 11359

mysql error number: 1064

one solution might be to search the string for the invalid character.
is there a try catch routine with php?

alqadir 01-07-2006 11:28 AM

Hi guys,
this is one awesome hack. after a little mucking around one can making this hack become an integral part of their website. I was wondering if anyone has been able to implement an image verification hack into this hack, and if so, can you please share how you did it?

thanks

HBRadio 01-16-2006 06:30 PM

Quote:

Originally Posted by Erwin
INSTALLATION


Easy - takes only a few minutes:

1. Add the 2 templates.

What are the templates o.O

BaconDelight 01-24-2006 02:07 AM

d'oh! Nevermind, just noticed this was a 3.0 hack. Nothing to see here...

HBRadio 01-27-2006 08:14 PM

Can someone help me add this to my forum, I need some help.. PM me please :S

XrayHead 02-12-2006 01:43 PM

I had this working on my server then we upgraded and moved servers as well.

I was at 3.0 and now I am at 3.5.3

I have checked all the code and even added the templates to the other VB default style that we dont use.

Really liked this hack and would love to get it working again.

Xray

PS. Have attached the forms/templates I use. Can someone please have a look.

Karsh 02-13-2006 01:31 PM

I dont get where you add the templates? Like what to i name the forum templates to? PLEASE HELP

Ramsesx 02-13-2006 02:26 PM

Why you don't use the Form Hack from Abe? That's the ported hack for 3.5 and very well supported by Abe.

Wordplay 04-26-2006 12:58 AM

is there anything like this for 3.5?

Red-Level 07-07-2006 02:02 PM

I was just testing the default form to see if it worked, and I get the following error:

Fatal error: Call to undefined function: globalize() in /home/httpd/vhosts/jsx1.net/httpdocs/forums/form.php on line 24

What am I doing wrong, or is there something I need to change?

Mysticales 07-13-2006 05:07 PM

Hey, just a question, if I wanted to use this to take info from a post/thread and insert it to the form for submission. Could it work?

The idea is this, I wanna edit the postbit template to add a icon, similar in idea to the "Report Post" button. Then if clicked, it will take the post you clicked it on, and email the user you need it to.

This way when the user checks their email, it will be a news submitted, showing the thread url, post details and so, this way it makes for us on the forums to get news on the front page faster.

Missing alot of pressing game news when its reported on forums but never gets mentioned to the news dept. Trying to make a easy way for this.

Suggestions on what I should setup? That or how to configure the form to do this kind of stuff? =)

lllll 08-29-2006 09:29 PM

I'm new to this and i don't get how do you upload this. Is it a product uploaded w/ the product manager? Are the "2 templates" automatically uploaded to the rihgt place when you upload them as a product? or is there a different way to upload this?

marlita 10-09-2006 04:21 PM

I hope 3.x.x means that it works with 3.6. .... I'm about to find out! wish me luck! ;)


... nevermind... found the one made for 3.6:
https://vborg.vbsupport.ru/showthread.php?t=126676 <--- there it is.

aisais 10-11-2006 04:57 PM

Very smart mod. I find it very helpful. Thank you

newforum 05-18-2007 07:36 AM

Can anyone tell me where is the 2 files. And what files to be uploaded.
Even though i uploaded form.php and the other 2 files i.e form.txt & formanswers.txt.
Its is not working its giving some global() error.

So can anyone tell me how to install it properly.

dmknights 11-13-2008 12:07 PM

does this work on 3.7?

Zephanor 11-13-2008 07:59 PM

I'm not sure if this works or not with 3.7.x. I installed the newer Form Hack on 3.7.3 PL1 and it's working fine on 3.7.4. I used the old php based hack (the original here) on 3.0.3 but when I upgraded our forums I saw the newer product based hack and pretty much copied and pasted the majority of it over. I had to perform a number of customization but I don't remember how much was involved.


All times are GMT. The time now is 03:11 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.01820 seconds
  • Memory Usage 1,836KB
  • 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
  • (4)bbcode_html_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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