vb.org Archive

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

gamerscms 01-14-2009 06:53 PM

An other great hack from banana :)

Just a quick question how would i go about changing the colour of the form text from to my own colour.

thanks

jiffylb1 01-14-2009 07:04 PM

awsome just awsome love it...
what a great mod thanks a million needed it so bad

lowey 01-15-2009 08:46 AM

Fantastic Hack, but I can't get attachments to appear in forms output to threads. Is there a way? Thank you! :)

bananalive 01-15-2009 02:42 PM

Quote:

Originally Posted by ssslippy (Post 1712340)
Version 3.8 I get that error when hitting preview. If I hit submit the forms go through but the attachment does not appear. Also note I am using file attachment storage not db storage of attachments. Also I am using xcache not sure if that effects attachments though.

Odd it works fine for me on vb 3.8 :confused:

I'll look into it.

Have you changed any of the templates, if you have revert them.

bananalive 01-15-2009 02:43 PM

Quote:

Originally Posted by gamerscms (Post 1712403)
An other great hack from banana :)

Just a quick question how would i go about changing the colour of the form text from to my own colour.

thanks

It's not that easy atm, I'll make it easier in next version.

To Change Questions Colour
Open plugin: Easy Forms

Find and change this line with bbcode:
PHP Code:

            $formoutput .= "[b]" $formbit['question'] . "[/b]\r\n"

Maybe change to
PHP Code:

            $formoutput .= "[color=red][b]" $formbit['question'] . "[/b][/color]\r\n"

To change the Answer Colour
Open plugin: Easy Forms

Look for and change lines LIKE this with bbcode:
PHP Code:

$formoutput .= "[indent][i]" . ($q_{$formbit[id]} ? " " $q_{$formbit[id]} . " " "-") . "[/i]\r\n"


bananalive 01-15-2009 02:52 PM

1 Attachment(s)
Pre-Release v2.1

- Fixed issue with resizing poll options on edit form
- Form list only shows in navbar/ quick links if user has permission to view form list
- Form list only contains forms user has permission to view (unless user can edit form)
- Create Form link only shows for users with permissions to create forms
- Fixed missing <tr> tabs around Create new form
- Usergroup permissions changed to allow permissions through secondary usergroups
- Change bbcode for questions and answers easily in plugin
- Change null value easily, needed to stop bbcode messing up (default '-' )

gamerscms 01-15-2009 03:03 PM

Thanks for the update m8 :) where do you edit the BBcode?

bananalive 01-15-2009 03:06 PM

Quote:

Originally Posted by gamerscms (Post 1713468)
Thanks for the update m8 :) where do you edit the BBcode?

Plugin: Easy Forms

PHP Code:

$preqbbcode "[INDENT][I]";
        
$postqbbcode "[/I][/INDENT]\r\n"

The \r\n is the syntax for a new line.

gamerscms 01-15-2009 03:10 PM

Ok cool, but there would be a problem you cant use HEX colours only the BB colours.

i need #888888 colour

any ideas.

EDIT: To much code to look for that line as there is a lot of code the same in the plugin, any chance you could add a option to change colour in the admin.

cheers

bananalive 01-15-2009 03:18 PM

Quote:

Originally Posted by gamerscms (Post 1713476)
Ok cool, but there would be a problem you cant use HEX colours only the BB colours.

i need #888888 colour

any ideas.

EDIT: To much code to look for that line as there is a lot of code in the plugin, any chance you could add a option to change colour in the admin.

cheers

Put color tags inside the indent tag

PHP Code:

$preqbbcode "[INDENT][color=#888888][I]";
$postqbbcode "[/I][/color][/INDENT]\r\n"

use ctrl+f to search for line


All times are GMT. The time now is 02:37 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.02262 seconds
  • Memory Usage 1,753KB
  • 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