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 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.


All times are GMT. The time now is 09:20 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.01300 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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