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)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Clanshosting 11-30-2005 03:22 AM

This is a pretty dumb questoin, but when you say:

2 - Edit the main hook - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully!

Where is this "main hook" ?

Abe1 11-30-2005 03:26 AM

Quote:

Originally Posted by Clanshosting
This is a pretty dumb questoin, but when you say:

2 - Edit the main hook - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully!

Where is this "main hook" ?

There are 2 hooks for this hack. You can find them in admin cp -> Plugin System -> Plugin Manager

Clanshosting 11-30-2005 03:47 AM

Hi, thanks for your reply. Also, I go into edit templates -> form -> and I see:

////////////////////////////////////////////////////////////////////////////////////////////////////
//LONG TEXT AREA INPUT: QUESTION 1 (do not use quotation marks or you will get a parse error)
////////////////////////////////////////////////////////////////////////////////////////////////////

$longquestion1 = "X.";
$longexplain1 = "X.";

$longquestion2 = "X?";
$longexplain2 = "X?";

(I added #2)

Now, at the top,

Code:

// Part 2
$normalanswer1 = $vbulletin->GPC['normalanswer1'];
$radioanswer1 = $vbulletin->GPC['radioanswer1'];
$radioanswer2 = $vbulletin->GPC['radioanswer2'];
$radioanswer3 = $vbulletin->GPC['radioanswer3'];
$radioanswer3other = $vbulletin->GPC['radioanswer3other'];
$answer1 = $vbulletin->GPC['answer1'];
$answer2 = $vbulletin->GPC['answer2'];
$answer3 = $vbulletin->GPC['answer3'];
$answer4 = $vbulletin->GPC['answer4'];
$answer5 = $vbulletin->GPC['answer5'];
$answer6 = $vbulletin->GPC['answer6'];
$answer7 = $vbulletin->GPC['answer7'];
$answer8 = $vbulletin->GPC['answer8'];
$dropdownanswer1 = $vbulletin->GPC['dropdownanswer1'];

There is no, like $$longquestion2 = $vbulletin .... etc.. you get the idea.

Is this correct?

Also, I see,

////////////////////////////////////////////////////////////////////////////////////////////////////
//NORMAL INPUT BOX : QUESTION 1 (do not use quotation marks or you will get a parse error)
////////////////////////////////////////////////////////////////////////////////////////////////////

$normalquestion1 = "test";

I dont really understand that, thanks.

RMS-Chef 11-30-2005 03:56 AM

Quote:

Originally Posted by Abe1
New version released. For now, the text editor only allows standard editor do to a problem. I will try to figure out how I can get the wysiwyg editor working.

Thanks Abe.

I have several very customized forms is use. What would be the best way to upgrade to gain the editor functionality without having to redo my forums and templates?

Clanshosting 11-30-2005 04:33 AM

Hm...

View:

http://forums.roxr.com/t4151-free-we...g-request.html

And:
http://forums.roxr.com/newthread.php?do=form

In my first link, you will see I went down 1 THROUGH 12.

YET, 10 and 11 just are gone. For no reason at all. I have checked my files over and over and I cannot find why.

Is it because it's 10, when there is already a 1? idk.

Clanshosting 11-30-2005 04:57 AM

k, I have now go to:
http://forums.roxr.com/t4155-free-we...g-request.html

But it just copies 12. I have actually gone down to the "dont edit this if you dont know what your doing" and failed, rofl.

Abe1 11-30-2005 11:48 AM

Quote:

Originally Posted by Clanshosting
k, I have now go to:
http://forums.roxr.com/t4155-free-we...g-request.html

But it just copies 12. I have actually gone down to the "dont edit this if you dont know what your doing" and failed, rofl.

It's hard to add more then one long answer now. It would requre a few differant edits in a few differant places.

Abe1 11-30-2005 11:49 AM

Quote:

Originally Posted by RMS-Chef
Thanks Abe.

I have several very customized forms is use. What would be the best way to upgrade to gain the editor functionality without having to redo my forums and templates?

There are about 5 differnt edits for this. I can't realy find them all. You can do a compare with the last version and try to find them.

ShadowOne 11-30-2005 12:39 PM

It Keeps Telling Me:
Invalid Forum specified. If you followed a valid link, please notify the administrator

RMS-Chef 11-30-2005 01:19 PM

Quote:

Originally Posted by Abe1
There are about 5 differnt edits for this. I can't realy find them all. You can do a compare with the last version and try to find them.

Thanks Abe, I will use BeyondCompare and do it that way.


All times are GMT. The time now is 12:37 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.02107 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)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