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)

Abe1 08-18-2005 10:08 AM

Quote:

Originally Posted by XdePloppy
With the previcious version I could use parameters using ?param1=lsdkfjkl&param2=blabla

Is it posible to use it in this version?

Yes. Here is an example:

The link would be: newthread.php?do=form&param1=lsdkfjkl&param2=blabl a

In the plugin, you have to add:

PHP Code:

$vbulletin->input->clean_array_gpc('r', array(
'param1' => STR,
'param2' => STR
));

$param1 =& $vbulletin->GPC['param1'];
$param2 =& $vbulletin->GPC['param2']; 


XdePloppy 08-18-2005 04:26 PM

OWSOME, it works smoothhhhhhhhhhhh :), thx m8

Sovereign 08-20-2005 01:25 AM

One issue, the default questions won't go away! The question for "is it yes or no if yes please explain" is still displaying despite my eliminating that code! www.alliancemodding.com/vb/newthread.php?do=rpg

lcryan 08-20-2005 02:47 AM

it completly messes up my forum it throws the header all over the place and the footer all over the place

Abe1 08-21-2005 12:42 AM

Quote:

Originally Posted by Sovereign
One issue, the default questions won't go away! The question for "is it yes or no if yes please explain" is still displaying despite my eliminating that code! www.alliancemodding.com/vb/newthread.php?do=rpg

You have to remove it from the tempate also.

Abe1 08-21-2005 12:43 AM

Quote:

Originally Posted by lcryan
it completly messes up my forum it throws the header all over the place and the footer all over the place

Can you get a screenshot and what did you do to the hack besides installing it?

Abe1 08-21-2005 05:18 AM

version 2.6 released.

fixed bug with posts having to be moderated


WHAT THE CHANGES WERE:

in the plugin,

FIND:
PHP Code:

$foruminfo verify_id('forum'$formforumid01); 

Add after:
PHP Code:

$forumperms fetch_permissions($foruminfo[forumid]); 

FIND:
PHP Code:

$threadinfo verify_id('thread'$formreplythreadid01); 

Add after:
PHP Code:

$forumperms fetch_permissions($threadinfo[forumid]); 


RMS-Chef 08-21-2005 06:15 PM

Thanks for this update. There are a few things I would need to be able to use this though. Is any of the following possible?

Immediate Wish List
-URLs submitted are clickable in the resulting post

Complicated? Wish List
-Have something like $titlefield1, $titlefield2, $titlefield3, etc. that when completed, generates the thread title for a new post or subject line for a sent email, etc. As a generic example say for submitting an auction item: "Title", "Location", and "Cost". The user would fill in something like: "2000 Ford Mustang for sale", "Ebay", and "$12,000". Then the resulting generated thread title would be: "2000 Ford Mustang for sale | Ebay | $12,000"

Zain Jaffer 08-21-2005 09:03 PM

Quote:

Originally Posted by Abe1
Either forum permissions or usergroup permissions. It uses the vb function so it's got to be something in vb that is telling it moderate it.

But then users can also make normal threads in that forum part. What if you don't want users to post in that forum but you do want them to fill in the form?
I mean this for like a news submit system. That would get in the news area...

Sovereign 08-21-2005 11:56 PM

so do I have to make copies of the plugin to make more forms?


All times are GMT. The time now is 12:33 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.01748 seconds
  • Memory Usage 1,748KB
  • 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
  • (5)bbcode_php_printable
  • (4)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