vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Easy Forms v4.x - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=234385)

Welshy2008 06-22-2011 05:45 PM

BA,

I would appreciate your help...

When I upgraded to 4.1.3 - my pluggins disappeared (the ones that I did to change the standard reply text to text of my choice).

The other pluggin was to redirect the user to my form which would then be submitted a post in a specified thread.

I have redone the "renaming of the reply tab text" pluggin and that works. BUT, the one that redirects the user to my form (before it submits as a post) is not working.

I am now using vBSEO 3.6.0 too, and I have also tried this with the vBSEO off, but still no joy.

Can you have a look at the code that I am using and possibly tell me where I have gone wrong please?

I have the following:

Code:

Product:  Easy Forms

Hook Location:  newreply_form_start
 
Title:  Easy Forms Reply Button

Execution Order: 5

Plugin PHP Code: 
if (in_array($threadinfo[threadid], array(ThreadID1)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=1') ; 
}
if (in_array($threadinfo[threadid], array(ThreadID2)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=2') ; 
}

Plugin is Active:  Yes


Many Thanks,
Welshy.


PS: All the permissions appear to be set correctly.

HolyKiller 06-23-2011 01:41 PM

Quote:

Originally Posted by David Hodgkins (Post 2211417)
What version of the vBulletin are you using? I'm still holding off installing, as I don't see anywhere above where it says it works now with 4.1.4...

:)

I'm using vB 4.1.4 and i didn't catch any error. :)

bananalive 06-23-2011 02:10 PM

Quote:

Originally Posted by Welshy2008 (Post 2211421)
BA,

I would appreciate your help...

When I upgraded to 4.1.3 - my pluggins disappeared (the ones that I did to change the standard reply text to text of my choice).

The other pluggin was to redirect the user to my form which would then be submitted a post in a specified thread.

I have redone the "renaming of the reply tab text" pluggin and that works. BUT, the one that redirects the user to my form (before it submits as a post) is not working.

I am now using vBSEO 3.6.0 too, and I have also tried this with the vBSEO off, but still no joy.

Can you have a look at the code that I am using and possibly tell me where I have gone wrong please?

I have the following:

Code:

Product:  Easy Forms

Hook Location:  newreply_form_start
 
Title:  Easy Forms Reply Button

Execution Order: 5

Plugin PHP Code: 
if (in_array($threadinfo[threadid], array(ThreadID1)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=1') ; 
}
if (in_array($threadinfo[threadid], array(ThreadID2)))

header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=2') ; 
}

Plugin is Active:  Yes


Many Thanks,
Welshy.


PS: All the permissions appear to be set correctly.

Line:


PHP Code:

if (in_array($threadinfo[threadid], array(ThreadID1))) 

should be


PHP Code:

if (in_array($threadinfo[threadid], array(1))) 


Hendrik83 06-23-2011 03:22 PM

Why is the update not working for some of us?

There is no editor and i updated to the latest version.

David Hodgkins 06-23-2011 08:08 PM

Quote:

Originally Posted by Hendrik83 (Post 2211815)
Why is the update not working for some of us?

There is no editor and i updated to the latest version.

BananaLive, I installed this and haven't tested the editor, but the rest of it appears to be working well. Thanks!

I do have a question though. Is there a way to allow attachments when routing to a post, instead of just to a thread? And is there a way to include the attachments in PM and email routing?

Thanks again. I'll be busy tonight adding forms to my forum!

:)

Crotan 06-23-2011 10:28 PM

Quote:

Originally Posted by Hendrik83 (Post 2211815)
Why is the update not working for some of us?

There is no editor and i updated to the latest version.

I don't think the CKeditor is working for anyone in this mod, those who say it is working are probably just talking about the overall mod

David Hodgkins 06-23-2011 10:46 PM

Quote:

Originally Posted by Crotan (Post 2211959)
I don't think the CKeditor is working for anyone in this mod, those who say it is working are probably just talking about the overall mod

Actually, I just had this installed today and had them apply the patch in post #1372. I can add the editor and have it show up on my form. I'm sorry, I haven't done a full test yet, and might not get to it until this evening. But it does show up after I add it...

HTH, More testing later tonight...

:)

bananalive 06-23-2011 11:23 PM

The ckeditor seems to work for some users but not others, I've not yet found source of error.

dai-kun 06-23-2011 11:52 PM

Loading a page with a form I get this on my error report
PHP Code:

[19:49:56.311n.wrap_x_tags is null http://site.com/forum/clientscript/ckeditor/ckeditor.js?t=A7HG4HT&v=414:136 

The editor doesn't show up, I only see the smilies.
I using v4.2.7

ascroft 06-24-2011 10:03 AM

Hi there - hmmm. This doesn't still seem to work still.

I tried a new test form, linked to a forum and it doesn't seem to launch either.

But then I played around with what plug ins I have for newthread_formstart (think this is what I should be using for this rather than newthreadstart?)

I can launch the test form from the test forum if I have no other plugins using newthread_formstart but I have 4 (3 I need plus the test 1) as I have three different forms be launched from three different array sets of forums.



Mark.


Quote:

Originally Posted by bananalive (Post 2209781)
Put a space after Location:

e.g.

PHP Code:

if (in_array($forumid, array(158,160,161,162,163,165,167,168,169,170,172,174,175,177,179,181,61,182,183 ,184,186,188,190,191,193,56,194,195,197)))
{
  
header('Location: /listings/misc.php?do=form&fid=1'); 





All times are GMT. The time now is 12:01 PM.

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.03044 seconds
  • Memory Usage 1,768KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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