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 - [DBTech] Post Templates v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=277323)

DragonByte Tech 12-11-2013 06:33 PM

Post Templates v1.6.1 Patch Level 1
Fixed: Post Templates would not work correctly on the CMS in vB 4.1.4 and newer

Fillip

bw_van_manen 04-22-2014 09:30 AM

Can this mod also be used to show the users of my forum a template for new posts in a certain category? I want to register feature requests for our software on the forum, but I would like users that create a new feature request to include certain information. It would be great if I could pre-populate the new post page with a feature request template.

DragonByte Tech 04-25-2014 10:10 PM

Quote:

Originally Posted by bw_van_manen (Post 2494115)
Can this mod also be used to show the users of my forum a template for new posts in a certain category? I want to register feature requests for our software on the forum, but I would like users that create a new feature request to include certain information. It would be great if I could pre-populate the new post page with a feature request template.

Unfortunately not, though if you check out our vBForms mod: https://vborg.vbsupport.ru/showthread.php?t=287061 you can create forms for your users to fill out.

The result of which is displayed above the first post, optionally only to allowed usergroups.


Fillip

predi 10-20-2014 03:54 PM

Hi I am trying to display a plugin only in some forums, but that applies more conditional achievement not only displayed in these forums. There anyone who can assist me with this?

The plugin is: https://vborg.vbsupport.ru/showthread.php?t=277323
and conditional that will apply is this:

Option 1
Code:

<vb:if condition="in_array($forum['forumid'], array(58,59,60,62,69))"><li class="popupmenu menubutton fonts nomouseover nohovermenu editormenu" id="{vb:raw editorid}_popup_posttemplate">
        <div class="popupctrl"><div id="{vb:raw editorid}_postemplatefield">{vb:rawphrase post_templates}</div></div>
        <ul class="editorpopupbody popupbody popuphover">
                {vb:raw posttemplates}
        </ul>
</li></vb:if>

Option 2
Code:

<vb:if condition="!in_array($forumid, array(58,59,60,62,69))"><li class="popupmenu menubutton fonts nomouseover nohovermenu editormenu" id="{vb:raw editorid}_popup_posttemplate">
        <div class="popupctrl"><div id="{vb:raw editorid}_postemplatefield">{vb:rawphrase post_templates}</div></div>
        <ul class="editorpopupbody popupbody popuphover">
                {vb:raw posttemplates}
        </ul>
</li>
</vb:if>

Thanks!!!

DragonByte Tech 10-21-2014 04:32 PM

This has been handled @ our site :)


Fillip

MediaSVI 01-26-2015 11:34 AM

Can this plugin be set to only be used in certain Forums?

DragonByte Tech 02-03-2015 06:17 PM

Unfortunately that's not possible at this time, sorry :(


Fillip

Elixar 03-02-2015 02:12 AM

Currently getting a white page error when this is enabled on my forums.

DragonByte Tech 03-03-2015 02:04 PM

Please turn on display_errors in php.ini and make sure SKIP_ALL_ERRORS is not enabled in vB's config.php.

Fillip

Elixar 03-28-2015 02:21 AM

I'm trying to do the manual edits and I don't see editor_toolbar_on.

DragonByte Tech 03-30-2015 02:51 PM

The manual edits are only for vB versions prior to the introduction of the CKEditor.

Fillip

Elixar 11-01-2015 05:45 PM

Permissions are fine and set to yes, and it still will not show in the sidebar of my User CP. I tried to use the link from DBTech and gave me a permission error.

/profile.php?do=posttemplates

muffel 07-18-2016 07:09 PM

Great Add-on! But is there a way so I can use a variable for the username in the PM template texts?

I have already looked at the addon "YOU"
https://vborg.vbsupport.ru/showthread.php?t=254373
But when I use this - in the notification mail for the PM there is just the phrase "[You]" and not the nickname. Is there a way to use the nickname into the PM's as real variable?

DragonByte Tech 07-23-2016 10:47 AM

Quote:

Originally Posted by muffel (Post 2573409)
Great Add-on! But is there a way so I can use a variable for the username in the PM template texts?

I have already looked at the addon "YOU"
https://vborg.vbsupport.ru/showthread.php?t=254373
But when I use this - in the notification mail for the PM there is just the phrase "[You]" and not the nickname. Is there a way to use the nickname into the PM's as real variable?

Unfortunately that's not possible as all this does is fill in the text box, it doesn't submit a post or anything like that.

Sorry :(


Fillip

BadgerDog 02-16-2017 12:01 PM

Quick question for anyone who has installed this ...

We're running vBulletin v4.1.3 pl8 ...

Are required to edit and modify templates to have this mod work properly with our version of vBulletin?

Thanks .. :)

Regards,
Doug

DragonByte Tech 02-16-2017 12:02 PM

Honestly, I don't know. That version of vBulletin is very, very old.

If you don't have the CKEditor interface, you probably need to edit the template. If the template doesn't exist on your system, you don't need to edit it.

Fillip

BadgerDog 02-16-2017 12:07 PM

Quote:

Originally Posted by DragonByte Tech (Post 2582444)
Honestly, I don't know. That version of vBulletin is very, very old.

If you don't have the CKEditor interface, you probably need to edit the template. If the template doesn't exist on your system, you don't need to edit it.


Fillip

Thank you .. :)

Regards,
Doug

BadgerDog 02-16-2017 12:40 PM

Downloaded and installed for testing...

Uploaded files successfully....

Imported XML 1.6.1pl1 successfully ..

Quote:

Located and edited template: editor_toolbar_on

Found:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<vb:if condition="is_browser('ie') AND !is_browser('mac')">
<li>
<img src="{vb:stylevar imgdir_editor}/spelling.png" class="imagebutton" id="{vb:raw editorid}_cmd_spelling" width="20" height="20" alt="{vb:rawphrase check_spelling}" />
</li>
</vb:if>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Added Underneath:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<!-- POST_TEMPLATES -->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Saved template.
Went into create new thread on site ....

Option to use template box doesn't appear as shown in sample images here ..

Checked under settings ... don't see any options here either ...

Checked AdminCP usergroup options and they are ON...

Any ideas?

Regards,
Doug

Edit: Tested.. thanks to the author for developing it... uninstalled as we couldn't get it to work on our site.

MarkFL 04-07-2018 03:27 AM

I have used this product for several years and it works really well for us at MHB. I hadn't found the need to manage any of our post templates since our update to PHP 7 until tonight, and I found I got an "Methods with the same name as their class will not be constructors" error.

The fix was easy; I edited the file "includes/class_dm_posttemplates.php" by changing line 34 to read:

PHP Code:

    function vB_DataManager_PostTemplates_f(&$registry$errtype ERRTYPE_STANDARD

Thanks to DBTech for another useful product. :)

Simon Lloyd 10-27-2018 09:29 AM

When using the post templates on vb4.2.5 the html from the wysiwyg is passed through unparsed, any way around this? It doesn't matter whether its used in quick reply or advanced reply to thread.

josner 12-15-2018 02:36 PM

Gracias instalado en mi foro

saludos, todo bien


All times are GMT. The time now is 04:58 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.01436 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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