vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   add text when creating new post (templates for posts) (https://vborg.vbsupport.ru/showthread.php?t=189644)

kud0gfx 08-31-2008 04:11 PM

add text when creating new post (templates for posts)
 
I have a few templates on my forum, actually they are just txt's that peoples have to copy&paste when creating new thread...

i will like for example, one row of buttons that if you click one, it add a text into the new thread box, it will be very useful...

too it could be a dropdown menu with all the templates I've made... but i guess it will be paying...

Does exist something like this?

could I do it with some mod yet done?

PD: sorry for my english... I try my better

Lynne 08-31-2008 04:54 PM

Perhaps what you want is the Form Hack?

kud0gfx 08-31-2008 05:06 PM

i wasn't searching a "form" plugin, i just want a way to do if you click one button, or check one option in a dropdown menu, a txt like
PHP Code:

[CENTER]
[
IMG]$imagen[/IMG]
:
bar:
:
sinopsis:
$sinopsis
:bar:
:
ripeo:
$info riepo
:bar:
:
reparto:
$reparto
:bar:
:
capitulos:
:
bar:
[
B][SIZE=3]1x0 T?tulo del Capi[/SIZE][/B]
:
megaupload:

:
rapidshare:
$links
:bar:
:
code:
[
spoiler=Ver Codes]
:
megaupload:
[
code]
$links
[/code]

:
rapidshare:
[
code]
$links
[/code][/spoiler]
[/
CENTER

is introduced into the new thread box...

Lynne 08-31-2008 05:08 PM

I'm still unclear on what you want. You want it so if a user clicks some button, then all that code you just posted appears in the thread? There is a stencil hack, but that won't do what you said either.

kud0gfx 08-31-2008 05:13 PM

yes, if you press "the button" all that code i pasted would be "pasted" to the thread box....

Yep! the thread stencil is just what i was searching for, it says it's compatible with 3.6.2 would it be a problem?

https://vborg.vbsupport.ru/showthrea...Thread+Stencil

Lynne 08-31-2008 05:14 PM

Read the thread and see if other users have talked about it working in other versions of vb.

kud0gfx 08-31-2008 05:17 PM

the last version that "worked" is 3.6.9 i'm gonna try this, wish me luck!

Lynne 08-31-2008 07:24 PM

Good luck! If it works on your 3.7 board, you should post in the thread to let people know.

kud0gfx 09-01-2008 01:41 AM

it worked! i've notified it in the thread, thx for all the info ;)


All times are GMT. The time now is 04:14 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.01057 seconds
  • Memory Usage 1,730KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete