vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Mark Threads As 'Solved' (https://vborg.vbsupport.ru/showthread.php?t=149214)

eroan 07-15-2008 03:56 PM

How can I do to make this script work in postbit_legacy ?

I included the following code to add a button directly in the first post. The only problem is that the script is loaded in "showthread_complete" so the data doesn't load in this template :

Code:

<if condition="!$GLOBALS['FIRSTPOSTID'] and THIS_SCRIPT == 'showthread'">
        <if condition="$show['solvedthread']">
        <a href="solved.php?$session[sessionurl]do=marksolved&amp;t=$threadinfo[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" vspace="1" /></a>
        </if>
        <if condition="$show['solvedthread_unsolve']">
        <a href="solved.php?$session[sessionurl]do=markunsolved&amp;t=$threadinfo[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved2.gif" alt="$vbphrase[solvedthread_markunsolved]" vspace="1" /></a>
        </if>
                </if>

$show['solvedthread'] and $show['solvedthread_unsolve'] are empty.

An idea?

eroan 07-16-2008 07:34 PM

Nobody knows?

Please help me to make it work in postbit_legacy !

eroan 07-17-2008 01:45 PM

Please I really need to make it work in postbit_legacy !

Eric 07-18-2008 11:29 PM

I will not be able to continue working on this modification. I no longer have a vB license, therefore no longer have the vB code, nor am I able to do much at all here.

eroan 07-19-2008 04:59 AM

So that's it???

Jase2 07-19-2008 11:37 AM

SecondV, do I have permission to release for 3.7?

-- Jason

intell_iut 07-19-2008 04:32 PM

please release it for 3.7
can i use this mod on 3.7
please tell us time of releasing , i really need this mod on 3.7

intell_iut 07-22-2008 09:22 AM

jase help me tp install this hack and it work great
now how can i add this tools to moderation tools, too many topic must mark as solved and it takes too much time to mark
is there any chance to ad this tools to moderation tools and mark many thread as solved in one step

jesus likes pie 07-26-2008 03:19 AM

uhh...

it's working just fine on 3.7...

jesus likes pie 07-26-2008 03:26 AM

Ah nevermind, seems usergroup permissions are not being taken into effect.


All times are GMT. The time now is 11:38 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.01483 seconds
  • Memory Usage 1,732KB
  • 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)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