vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - World of Warcraft Guild Recruitment Form (https://vborg.vbsupport.ru/showthread.php?t=198516)

Vackrick 01-20-2009 06:06 AM

dude is there any otehr way without editting the file and can accept the thread application..

slick368 01-20-2009 06:13 AM

Upgraded this product to the latest version... didn't like how it jacked up the forum post, so i uninstalled and reverted back to the prior version. Now, regardless of which version I use (and i have re-tried them all) I get the following error:

Fatal error: Existing data passed is not an array
Called set_existing in [path]/newthread.php(74) : eval()'d code on line 225
Called eval in [path]/newthread.php on line 74
in [path]/includes/class_dm.php on line 235

Any ideas what has gone wrong?

Cyxla 01-25-2009 05:32 AM

Thanks for the add-on sweede.

I like it, easy to edit and looks cool.

I only noticed 1 issue.
The App tool is not working for us when we use Firefox. (Firefox/3.0.5)
We can see the options like "Approved", "Best of" ect.. but whatever we click, we only can select the option that is on top.

When we try to same with IE7 its working like it should be.
But this just for your info, dont think we will use it anyway.

Brak710 01-25-2009 03:20 PM

Thanks for the great work on this addon... I seem to be having another issue (not addon breaking tho)

I seem to get the Apptools drop down menu twice, but only the farthest left works.

It basically the drop down links look like this...

| Apptools \/ \/ | Apptools | Thread tools \/ |

LittleB@ 01-31-2009 09:09 PM

Thnx for this one, really appreciate it =)

As you can see by taking a look at the image I included I've managed to modd the plugin lightly to change questions and layout slightly, however, something I have not been able to change is the layout of the "Questions and Answers" in the preview and ultimately not in the submitted application.

What I would like to see is an addition of a line break after each of them questions somehow but I have been unable to solve the issue.

I do however suspect this part of the code to be the "villain":

PHP Code:

        // While we're here. Lets make a variable in case we're submiting the form for real.
        
$question trim($question);
        
$question_answer = $$q_idx;
        
$question_id $idx;
        eval(
'$guild_app_answer_qa_message .= "' fetch_template('App_Question_Answer') . '";'); 

unfortunately I've got limited php skills to make sure every question/answer is followed by line breaks that are accepted when entering them into the vb-database...

Any help would be greatly appreciated =)

sweede 01-31-2009 10:29 PM

I'm totally confused

In the preivew and the forum post, you want a line break after the answer before the next question?

That's done in the newthread_start plugin.

Look around line 126 in the plugin code
$comment_boxes .= '</td><td valign="top">';

changing it to
$comment_boxes .= '<br /></td><td valign="top">';

may do what you want

I havent figured out a way to template that bit of logic yet, so it's a little.. wonkey.

LittleB@ 01-31-2009 10:40 PM

Quote:

Originally Posted by sweede (Post 1730397)
That's done in the newthread_start plugin.

Look around line 126 in the plugin code
$comment_boxes .= '</td><td valign="top">';

changing it to
$comment_boxes .= '<br /></td><td valign="top">';

Thank you, but what this does is adding a line break only in the form itself and not at the actual preview. Where exactly do you build the questions and answers variable that is ultimately inserted into the database as "the message"?

Edit*
Actually I think I found out something, by editing line 140 to look like this:
PHP Code:

eval('$guild_app_answer_qa_message .= "' fetch_template('App_Question_Answer') . '<br />' '";'); 

I get the preview to print <br /> after each of the answers, the problem now seems to be the fact that in the process of inserting the message into the database the message is stripped of any html code... or something, what do you think? ^^

sweede 01-31-2009 10:55 PM

try adding
$guild_app_answer_aq_message .= "<br />";

after
eval('$guild_app_answer_qa_message .= "' . fetch_template('App_Question_Answer') . '";');

LittleB@ 01-31-2009 11:07 PM

Quote:

Originally Posted by sweede (Post 1730414)
try adding
$guild_app_answer_aq_message .= "<br />";

after
eval('$guild_app_answer_qa_message .= "' . fetch_template('App_Question_Answer') . '";');

nope, not even showing up as <br />

I tried adding several <br /> along with some XX to see if anything got included like this:
$guild_app_answer_aq_message .= "<br />XX<br />XX<br />XX<br />";

but alas... nothing shows up, copare with my previous post where I at least see the <br /> printed in the preview ^^

Edit*
Woot!? XD Problem solved, I ventured into the template fetched at line 140 fetch_template('App_Question_Answer'). By hitting "return" on my keyboard at the end of the template I get the preview to show what I want it to show =)

Thnx for the help ^^

LittleB@ 02-01-2009 04:33 PM

Sorry to bother you again but I've ran into another problem.

Using the "app mover" while browsing the topic in order to Deny or Accept it is not working for me, well, it is partially working: I can assign forums and names for the radio buttons, I see the "Tool" while browsing the application topic and I can move the application, however - I am unable to select any but the first option to move to if you get what I mean?

(a simple grafic presentation of the problem)
*App Mover*
- Accept (this one works)
- Deny (I can't select this)
- Trash (I can't select this)

To work around this I could simply move all apps to the same forum and make sure to reply/change the subject or whatever but if you have the time I'd appreciate if you could have a look at this. The thought of being able to move the app to any destination just like that is thrilling ^^

Edit*
I changed the input type to instead be a checkbox, by doing this I am now able to first click the option I want and then remove the automaticaly selected first option... It's slightly barbaric but it works, perhaps this is a clue that could help you sort this out? (or yes, might just as well be my set-up but if it's related to new changes in vB hope this helps ^^ )


All times are GMT. The time now is 10:48 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.01184 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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