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)
-   -   New Posting Features - Canned Replies - User Saved Text for Replies, Threads, PMs & Infractions (https://vborg.vbsupport.ru/showthread.php?t=187043)

bananalive 04-08-2009 07:00 AM

Quote:

Originally Posted by Stifmeister2 (Post 1786050)
Still the same problem. :(


Just to make it sure: This probem occurs in every style I have.

http://img11.imageshack.us/img11/1776/image2wnl.jpg

Did you create those canned replied, you'll only see the edit/ delete links on canned replies you've created.

If you click view source, search for ''cannedreplies.php?do=edit'' and see if it's there.

Stifmeister2 04-08-2009 06:58 PM

Quote:

Originally Posted by bananalive (Post 1786397)
Did you create those canned replied, you'll only see the edit/ delete links on canned replies you've created.

If you click view source, search for ''cannedreplies.php?do=edit'' and see if it's there.

Yea I created them all by myself.


I'll check that and report back.

Stifmeister2 04-08-2009 08:58 PM

banana, after unistalling this product I think I have lost my "Delete" phrases from my forums. I don't see that "Delete" word when I try to delete PMs or in quick edit. I took a quick look at the product file you gave me, there is:

Code:

- <phrase name="delete" date="0" username="admin" version="1">
- <![CDATA[ Delete  ]]>

I wonder if that is causing it??

bananalive 04-09-2009 08:14 AM

Quote:

Originally Posted by Stifmeister2 (Post 1786897)
banana, after uninstalling this product I think I have lost my "Delete" phrases from my forums. I don't see that "Delete" word when I try to delete PMs or in quick edit. I took a quick look at the product file you gave me, there is:

Code:

- <phrase name="delete" date="0" username="admin" version="1">
- <![CDATA[ Delete  ]]>

I wonder if that is causing it??

No, That adds a phrase if it doesn't exist. You could try adding the phrase manually.

Stifmeister2 04-09-2009 11:49 AM

Quote:

Originally Posted by bananalive (Post 1787194)
No, That adds a phrase if it doesn't exist. You could try adding the phrase manually.

But does it remove that phrse upon unistalling? Everything worked fine until I uninstalled this product.


Anyway I'll try to add the phrase manually.


This is what I meant btw if I wasn't clear enough:

https://vborg.vbsupport.ru/external/2009/04/115.jpg

https://vborg.vbsupport.ru/external/2009/04/116.jpg


The default vBulletin phrase "Delete" is gone. Can someone try unistalling this product and report if they also get this??

Stifmeister2 04-09-2009 01:35 PM

Ok I have confirmed this now. I added the phrase manually now and it works again. :)

Maybe you should remove that delete phrase from the *.xml, as it seems to remove that (default vBuuletin) phrase when you unistall this product. ;)

Stifmeister2 04-09-2009 01:38 PM

Quote:

Originally Posted by bananalive (Post 1786397)
Did you create those canned replied, you'll only see the edit/ delete links on canned replies you've created.

If you click view source, search for ''cannedreplies.php?do=edit'' and see if it's there.

Did it. There is NO ''cannedreplies.php?do=edit'' or ''cannedreplies.php?do=delete'' in the source code.

bananalive 04-09-2009 02:01 PM

Quote:

Originally Posted by Stifmeister2 (Post 1787351)
Did it. There is NO ''cannedreplies.php?do=edit'' or ''cannedreplies.php?do=delete'' in the source code.

Open template:
Code:

<tbody>
                <tr>
                        <td class="thead" colspan="2">
                        <if condition="$shared"><div style="float: right; width: auto;">$vbphrase[shared_reply]</div></if>
                        <a name="$cr[id]" id="$cr[id]"></a>
                        $cr[title]
                        </td>
                </tr>
                <tr>
                        <td class="alt2 smallfont" colspan="2">
                        $cr[reply]
                        <if condition="$cr[userid] == $vbulletin->userinfo[userid]"><div style="text-align: right;">
                        <a href="cannedreplies.php?do=edit&amp;id=$cr[id]">$vbphrase[edit]</a> &nbsp;
                        <a href="javascript:delCR('$cr[id]', '$cr[title2]');">$vbphrase[delete]</a></div></if>
                        </td>
                        </tr>
                </tbody>

Replace All:
Code:

<tbody>
                <tr>
                        <td class="thead" colspan="2">
                        <if condition="$shared"><div style="float: right; width: auto;">$vbphrase[shared_reply]</div></if>
                        <a name="$cr[id]" id="$cr[id]"></a>
                        $cr[title]
                        </td>
                </tr>
                <tr>
                        <td class="alt2 smallfont" colspan="2">
                        $cr[reply]
                        <div style="text-align: right;">
                        <a href="cannedreplies.php?do=edit&amp;id=$cr[id]">$vbphrase[edit]</a> &nbsp;
                        <a href="javascript:delCR('$cr[id]', '$cr[title2]');">$vbphrase[delete]</a></div>
                        </td>
                        </tr>
                </tbody>


Stifmeister2 04-09-2009 02:43 PM

Quote:

Originally Posted by bananalive (Post 1787366)
Open template:
Code:

<tbody>
                <tr>
                        <td class="thead" colspan="2">
                        <if condition="$shared"><div style="float: right; width: auto;">$vbphrase[shared_reply]</div></if>
                        <a name="$cr[id]" id="$cr[id]"></a>
                        $cr[title]
                        </td>
                </tr>
                <tr>
                        <td class="alt2 smallfont" colspan="2">
                        $cr[reply]
                        <if condition="$cr[userid] == $vbulletin->userinfo[userid]"><div style="text-align: right;">
                        <a href="cannedreplies.php?do=edit&amp;id=$cr[id]">$vbphrase[edit]</a> &nbsp;
                        <a href="javascript:delCR('$cr[id]', '$cr[title2]');">$vbphrase[delete]</a></div></if>
                        </td>
                        </tr>
                </tbody>

Replace All:
Code:

<tbody>
                <tr>
                        <td class="thead" colspan="2">
                        <if condition="$shared"><div style="float: right; width: auto;">$vbphrase[shared_reply]</div></if>
                        <a name="$cr[id]" id="$cr[id]"></a>
                        $cr[title]
                        </td>
                </tr>
                <tr>
                        <td class="alt2 smallfont" colspan="2">
                        $cr[reply]
                        <div style="text-align: right;">
                        <a href="cannedreplies.php?do=edit&amp;id=$cr[id]">$vbphrase[edit]</a> &nbsp;
                        <a href="javascript:delCR('$cr[id]', '$cr[title2]');">$vbphrase[delete]</a></div>
                        </td>
                        </tr>
                </tbody>


Ok that does the trick, thanks. ;)


What was wrong with the current template as I seemed to be the only one with this problem??

bananalive 04-09-2009 02:58 PM

Quote:

Originally Posted by Stifmeister2 (Post 1787403)
Ok that does the trick, thanks. ;)


What was wrong with the current template as I seemed to be the only one with this problem??

kl,

I'm not sure what the problem was


All times are GMT. The time now is 02:47 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.01832 seconds
  • Memory Usage 1,767KB
  • 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
  • (6)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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