vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Problem tagging thread as admin (https://vborg.vbsupport.ru/showthread.php?t=200882)

zaimbat 01-06-2009 04:43 PM

Problem tagging thread as admin
 
Hi, I don't know if it's a problem or a feature, but on an existent thread, with my Admin account I cannot use the function "edit tags". I get the "Invalid Action Specified" error. With a normal account everything works fine.
There's nothing I can do..?

Thanks

Lynne 01-06-2009 04:59 PM

Is the url of the link different for when you are a regular user vs an admin? Does it work if you use a default style or with your plugins disabled?

Create a new style with no parent - Styles & Templates > Style Manager > Add New Style > no parent - then browse the site using that totally default vbulletin style - do you still have the same problem?

If it is still happening, then try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


zaimbat 01-06-2009 05:12 PM

I already tried disabling my plugins but nothing changed.
But..
..with a plain style it worked!! :o so? omg, now I have to check what I changed on my style that destroyed that function? hints? :(

Lynne 01-06-2009 05:26 PM

I don't know. Find the template for the tags and/or showthread and look at those first.

To find the templates - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

zaimbat 01-06-2009 05:57 PM

Ok I found out the problem.
(How? I opened 2 admin control pannel:
- in the first I was scrolling MY style, in the other the plain one;
- every "red" style I did a diff between the two styles;
- every mod, I tried "edit tags";
.. untill I found out the problem)

This is the code, it was on the top of "postbit_legacy":
Code:

<div id="pmformdiv$post[postid]" style="display:none">
    <form action="private.php?do=insertpm&amp;pmid=$pm[pmid]" method="post" name="vbform" target="_blank">
 
    <table border="0" width="100%" align="center" class="alt1">
    <tr>
        <td align="center">
            <!-- subject field -->
            <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td align="left"><strong>$vbphrase[title]:</strong></td>
                <td align="right"><input type="text" class="bginput" name="title" value="$pm[title]" size="50" maxlength="85" tabindex="1" /></td>
            </tr>
            </table><br />
 
            <!-- message area -->
            <div align="left"><strong>$vbphrase[message]:</strong></div>
            <textarea style="width: 95%" rows="8" name="message" tabindex="1"></textarea>
            <!-- / message area -->
 
        <div style="margin-top:$stylevar[cellpadding]px">
            <input type="hidden" name="s" value="$session[sessionhash]" />
            <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
            <input type="hidden" name="recipients" value="$post[username]" />
            <input type="hidden" name="fbpm" value="yes" />
            <input type="hidden" name="savecopy" value="1" />
            <input type="hidden" name="do" value="insertpm" />
            <input type="submit" class="button" name="sbutton" value="$vbphrase[submit_message]" accesskey="s" tabindex="1" onclick="divwin.hide();" />
            <input type="submit" class="button" value="Preview/Advanced Edit" accesskey="r" name="preview" tabindex="1" onclick="divwin.hide();" />
        </div>
        <!-- Do NOT remove this copyright notice or I will find you and hurt you. :) Thanks! -->
        <div class="smallfont" align="center"><a href="https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=fbpm" target="_blank">Facebook style private messaging</a> by <a href="http://www.robwoelich.com/" target="_blank">Rob Woelich</a></div>
        </td>
    </tr>
    </table>
 
    </form>
</div>

I don't know why it's here. It's from an old release of "Popup Private Messaging". The 1.3 version hasn't this mod in the install guide.. probably it's a problem of the uninstall.

Anyway, THANK YOU! Really! :)


All times are GMT. The time now is 02:25 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.01038 seconds
  • Memory Usage 1,731KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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