The Arcive of vBulletin Modifications Site. |
|
[bug] create issue Details »»
|
|||||||||||||||||||||||||
hi
the radio select of create issue from thread found in 1-thread option 2-search in this thread 3- rate the thread i hope this will be fixed thanks Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Will make ticket for this bug on internal tracker. Should be fixed in next version.
--------------- Added [DATE]1276474038[/DATE] at [TIME]1276474038[/TIME] --------------- A developer is working on it as we speak maybe he can post a work around here for you and others. |
|
#3
|
|||
|
|||
|
thanks
|
|
#4
|
||||
|
||||
|
Plugin: Show Thread: Display moderation option if permitted
Change this line: PHP Code:
PHP Code:
http://www.vbulletin.com/forum/showt...=1#post1983704 |
|
#5
|
|||
|
|||
|
Quote:
thanks PitchouneN64ngc i apply this but the create issue gone so i return back to the original code with bug
|
|
#6
|
|||
|
|||
|
Did you notice that the first box contains 3 lines
Code:
$vbulletin->templatecache['SHOWTHREAD'] = str_replace('<li class="formsubmit">', '<li><label><input type="radio" name="do" value="createptissue" /> ' .
$vbphrase['pt_create_issue'] . '…</label></li><li class="formsubmit">',
$vbulletin->templatecache['SHOWTHREAD']);
|
|
#7
|
|||
|
|||
|
hi we are borg
i replace the 1st code with the PitchouneN64ng`s code the create issue radio button disappear at all so i return back |
|
#8
|
|||
|
|||
|
Quote:
Code:
// TODO: this could have its own permission in moderation for future
$show['createptissue'] = can_moderate($threadinfo['forumid'], 'canmanagethreads') AND can_moderate($threadinfo['forumid'], 'canremoveposts');
$show['adminoptions'] = $show['adminoptions'] OR $show['createptissue'];
// Display the link in showthread
// I hope future vB versions will add a template_hook in this place
// as this code is not completely useful (can slow a page load)
if ($show['createptissue'])
{
$vbulletin->templatecache['SHOWTHREAD'] = str_replace('<form action="postings.php" method="post">
<ul class="popupbody popuphover">', '<form action="postings.php" method="post">
<ul class="popupbody popuphover">
<li><label><input type="radio" name="do" value="createptissue" /> ' . $vbphrase['pt_create_issue'] . '…</label></li>', $vbulletin->templatecache['SHOWTHREAD']);
}
|
|
#9
|
|||
|
|||
|
Quote:
thanks it is fixed now
|
![]() |
|
|